/* ============================================
   球场风云 - 游戏官网样式
   ============================================ */

/* === CSS 变量 === */
:root {
    --primary: #00c853;
    --primary-dark: #009624;
    --primary-light: #69f0ae;
    --accent: #ffd600;
    --accent-dark: #ffab00;
    --bg-dark: #0a0e17;
    --bg-darker: #060910;
    --bg-card: #111827;
    --bg-card-hover: #1a2235;
    --text-primary: #ffffff;
    --text-secondary: #b0b8c8;
    --text-muted: #6b7280;
    --border: #1f2937;
    --border-light: #374151;
    --gradient-1: linear-gradient(135deg, #00c853, #69f0ae);
    --gradient-2: linear-gradient(135deg, #0a0e17, #1a2235);
    --gradient-3: linear-gradient(135deg, #ffd600, #ffab00);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(0,200,83,0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === 无障碍跳过导航 === */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: #000;
    padding: 12px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* === 打印样式 (SEO友好) === */
@media print {
    .navbar, .mobile-menu, .hamburger, .back-to-top,
    .scroll-indicator, .lightbox, .hero-bg, .download-btns {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 14px;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    .hero-title {
        font-size: 28px;
        color: #000;
        -webkit-text-fill-color: #000;
    }

    .hero-subtitle {
        -webkit-text-fill-color: #333;
    }

    .hero-desc, .section-desc, .feature-card p, .welfare-card p {
        color: #333;
    }

    section {
        padding: 24px 0;
        page-break-inside: avoid;
    }

    img {
        max-width: 300px;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === 导航栏 === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 200, 83, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition);
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 9, 16, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding-top: 100px;
}

.mobile-menu.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-menu a {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* === Hero 首屏 === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: visible;
}

.hero-bg {
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.4);
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 14, 23, 0.7) 0%,
        rgba(10, 14, 23, 0.5) 50%,
        rgba(10, 14, 23, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    width: 100%;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 200, 83, 0.15);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hero-subtitle {
    display: block;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 600;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 8px;
}

.hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* 首屏下载按钮二维码悬浮框 */
.btn-download-wrapper {
    position: relative;
    display: inline-block;
}

.qrcode-popup {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    transform: translateX(-50%) translateY(8px);
}

.qrcode-popup.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.qrcode-popup-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qrcode-popup-inner .qrcode-img {
    width: 140px;
    height: 140px;
}

.qrcode-popup-inner .qrcode-img img,
.qrcode-popup-inner .qrcode-img canvas {
    width: 140px;
    height: 140px;
    display: block;
}

.qrcode-popup-inner span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* 悬浮框小三角箭头 */
.qrcode-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-1);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 200, 83, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* === 倒计时区域 === */
.countdown-section {
    position: relative;
    z-index: 2;
    margin-top: -60px;
    padding-bottom: 40px;
}

.countdown-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    box-shadow: var(--shadow-lg);
}

.countdown-icon {
    font-size: 48px;
    animation: bounce 2s infinite;
}

.countdown-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.countdown-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-darker);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    min-width: 70px;
}

.time-num {
    font-size: 28px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.time-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.time-divider {
    font-size: 24px;
    color: var(--text-muted);
    font-weight: 300;
}

.countdown-status {
    padding: 8px 20px;
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

/* === 通用 Section === */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: var(--text-primary);
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}

.section-tag::before {
    right: calc(100% + 12px);
}

.section-tag::after {
    left: calc(100% + 12px);
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

/* === 游戏特色 === */
.features {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 0 0 4px 4px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    width: 80%;
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 200, 83, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 200, 83, 0.2);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === 球星展示 === */
.stars-section {
    background: var(--bg-dark);
    padding: 100px 0;
}

.stars-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.stars-slider::-webkit-scrollbar {
    height: 6px;
}

.stars-slider::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 3px;
}

.stars-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.star-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 200px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    aspect-ratio: 3/4;
}

.star-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.star-card:hover img {
    transform: scale(1.1);
}

.star-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transition: var(--transition);
}

.star-card:hover .star-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    padding-bottom: 28px;
}

.star-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.star-pos {
    font-size: 13px;
    color: var(--primary-light);
    font-weight: 500;
}

/* === 截图展示 === */
.screenshots {
    background: var(--bg-darker);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.screenshot-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    border: 1px solid var(--border);
    transition: var(--transition);
    margin: 0;
}

.screenshot-item:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

.screenshot-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.screenshot-item:hover .screenshot-zoom {
    opacity: 1;
    transform: scale(1);
}

/* === 上线福利 === */
.welfare {
    background: var(--bg-dark);
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.welfare-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.welfare-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: 0 8px 30px rgba(255, 214, 0, 0.15);
}

.welfare-card.featured {
    border-color: rgba(0, 200, 83, 0.3);
    background: linear-gradient(135deg, var(--bg-card), rgba(0, 200, 83, 0.05));
}

.welfare-card.highlight {
    border-color: rgba(255, 171, 0, 0.4);
    background: linear-gradient(135deg, var(--bg-card), rgba(255, 171, 0, 0.08));
}

.welfare-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.welfare-card.highlight .welfare-badge {
    background: var(--gradient-3);
}

.welfare-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.welfare-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.welfare-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === 游戏信息 === */
.game-info {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* === 下载区域 === */
.download {
    background: var(--bg-darker);
    padding: 100px 0;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, #0d1525, #111a2e);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.download-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.download-content .section-header {
    text-align: left;
    margin-bottom: 32px;
}

.download-content .section-tag::before,
.download-content .section-tag::after {
    display: none;
}

.download-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    min-width: 180px;
}

.btn-download.ios {
    background: #fff;
    color: #000;
}

.btn-download.android {
    background: var(--primary);
    color: #000;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-download small {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
}

.btn-download span {
    font-size: 18px;
    font-weight: 700;
}


.download-visual {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.download-visual .qrcode-img {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.download-visual .qrcode-img img,
.download-visual .qrcode-img canvas {
    width: 200px;
    height: 200px;
    display: block;
}

.download-qrcode-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* === 页脚 === */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

/* 友情链接 */
.footer-friends {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    padding-bottom: 24px;
    text-align: center;
}

.footer-friends h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.friends-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.friends-links a {
    display: inline-block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: var(--transition);
}

.friends-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === 图片预览弹窗 === */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 2001;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.1);
}

/* === 回到顶部 === */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* === 动画 === */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .download-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 28px;
    }

    .download-content .section-header {
        text-align: center;
    }

    .download-btns {
        justify-content: center;
    }

    .download-visual .qrcode-img {
        width: 160px;
        height: 160px;
    }

    .download-visual .qrcode-img img,
    .download-visual .qrcode-img canvas {
        width: 160px;
        height: 160px;
    }

    .countdown-card {
        gap: 20px;
        padding: 24px;
    }

    .star-card {
        flex: 0 0 calc(25% - 15px);
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 64px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-download-wrapper,
    .btn-primary,
    .btn-outline {
        justify-content: center;
        width: 100%;
    }

    .countdown-section {
        margin-top: -40px;
    }

    .countdown-card {
        flex-direction: column;
        text-align: center;
    }

    .countdown-timer {
        justify-content: center;
    }

    .time-block {
        min-width: 56px;
        padding: 8px 12px;
    }

    .time-num {
        font-size: 22px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .star-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 140px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr 1fr;
    }

    .welfare-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .star-card {
        flex: 0 0 calc(80% - 10px);
        min-width: 160px;
    }

    .download-card {
        padding: 32px 20px;
    }

    .download-btns {
        flex-direction: column;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        gap: 4px;
    }

    .time-block {
        min-width: 48px;
        padding: 6px 8px;
    }

    .time-num {
        font-size: 18px;
    }

    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}
