/* ========== CSS 变量 ========== */
:root {
    /* 夜间模式 — 灰色系 (像之前的 #1a1a1a → #2d2d2d) */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-glass-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #f0ecf5;
    --text-secondary: #b8a9ce;
    --text-muted: #8a8098;
    --accent: #8b6ce6;
    --accent-glow: rgba(139, 108, 230, 0.35);
    --accent-2: #ff6b8a;
    --accent-3: #5eeadb;
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glass-hover: rgba(255, 255, 255, 0.22);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-glass-hover: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(139, 108, 230, 0.18);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --t-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --max-width: 1100px;
}

body.light-theme {
    --bg-primary: #f5f2fb;
    --bg-secondary: #ede7f6;
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-hover: rgba(255, 255, 255, 0.88);
    --text-primary: #1c1828;
    --text-secondary: #4e4260;
    --text-muted: #6e6480;
    --accent: #6c4cb5;
    --accent-glow: rgba(108, 76, 181, 0.15);
    --accent-2: #e8556e;
    --accent-3: #3cc9b8;
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glass-hover: rgba(0, 0, 0, 0.16);
    --shadow-glass: 0 8px 32px rgba(100, 80, 140, 0.08);
    --shadow-glass-hover: 0 16px 48px rgba(100, 80, 140, 0.12);
    --shadow-glow: 0 0 40px rgba(108, 76, 181, 0.08);
}

/* ========== 全局重置 ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    transition: background var(--t-smooth), color var(--t-smooth);
}

/* ========== ReactBits 风格交互式粒子背景 Canvas ========== */
#particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}
body.light-theme #particleCanvas {
    opacity: 0.45;
}
/* 手机端禁用实时粒子画布，避免首屏持续占用 GPU/CPU */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
    #particleCanvas { display: none; }
}

/* Aurora 光晕层（叠加 Canvas 上方） */
.aurora-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    opacity: 0.6;
    transition: opacity 0.8s ease;
}
body.light-theme .aurora-overlay {
    opacity: 0.25;
    mix-blend-mode: multiply;
}

/* ========== 动态渐变背景光晕 (和之前一样) ========== */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(139,108,230,0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(255,107,138,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(94,234,219,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
    animation: bgShift 20s ease-in-out infinite;
}
body.light-theme::before {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(139,108,230,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(255,107,138,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(94,234,219,0.04) 0%, transparent 50%);
}
@keyframes bgShift {
    0%, 100% { opacity: 0.9; }
    33% { opacity: 1; }
    66% { opacity: 0.85; }
}

/* ========== 液态玻璃通用 Mixin ========== */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all var(--t-smooth);
}
.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glass-hover);
}

/* ========== 顶部导航栏 — 液态玻璃 ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 24px; display: flex; align-items: center; justify-content: space-between;
    background: rgba(26,26,26,0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}
body.light-theme .navbar {
    background: rgba(245,242,251,0.78);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.35);
    padding: 8px 24px;
    background: rgba(26,26,26,0.88);
}
body.light-theme .navbar.scrolled {
    box-shadow: 0 4px 30px rgba(100,80,140,0.1);
    background: rgba(245,242,251,0.92);
}
/* 导航栏滚动隐藏/显示 */
.navbar.nav-hidden {
    transform: translateY(-100%);
}
.navbar.nav-visible {
    transform: translateY(0);
}

.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text-primary); text-decoration: none; letter-spacing: -0.3px; }
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-full); transition: all var(--t-fast); display: flex; align-items: center; gap: 5px; }
.nav-link:hover { color: var(--text-primary); background: var(--bg-glass); }

.theme-toggle-btn {
    background: none; border: none; cursor: pointer; padding: 8px; border-radius: 50%;
    color: var(--text-secondary); transition: all var(--t-fast);
    display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
}
.theme-toggle-btn:hover { color: var(--text-primary); background: var(--bg-glass); }
.theme-toggle-btn svg { width: 20px; height: 20px; fill: currentColor; transition: transform var(--t-fast); }
.theme-toggle-btn:hover svg { transform: rotate(25deg); }

/* ========== 主容器 ========== */
.container { text-align: center; padding: 20px; width: 100%; max-width: var(--max-width); margin: 0 auto; box-sizing: border-box; }

/* ========== Hero 区域 ========== */
.hero { padding-top: 80px; padding-bottom: 10px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.logo { width: 90px; height: 90px; border-radius: 22px; box-shadow: 0 12px 40px var(--accent-glow); transition: transform var(--t-smooth), opacity 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.7s ease; object-fit: contain; }
.logo:hover { transform: scale(1.05) rotate(-3deg); }
.hero h1 { font-size: 2.6em; font-weight: 700; letter-spacing: -0.8px; background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0; transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.hero .subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 520px; line-height: 1.6; margin: 0 auto; transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.badge {
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    border-radius: var(--radius-full); padding: 5px 14px; font-size: 0.78rem; font-weight: 500;
    color: var(--text-secondary); display: flex; align-items: center; gap: 5px; transition: all var(--t-fast);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.badge i { font-size: 0.65rem; color: var(--accent); }
.badge:hover { border-color: var(--accent); color: var(--text-primary); background: var(--bg-glass-hover); box-shadow: 0 0 16px var(--accent-glow); }

/* ========== 下载按钮 ========== */
.download-section { margin: 20px auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.download-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
/*
 * Adapted from "Download button with animation" by Danishrehman786,
 * Uiverse.io (MIT License): https://uiverse.io/Danishrehman786/old-cobra-46
 */
.download-button {
    display: flex; align-items: center; gap: 12px; padding: 14px 28px; min-width: 190px;
    border-radius: var(--radius-full); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
    border: 1px solid rgba(255,255,255,0.24); cursor: pointer; position: relative; overflow: hidden;
    isolation: isolate;
}
.download-button::before {
    content: ''; position: absolute; z-index: 0; inset: auto 0 100%;
    border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
    transition: inset 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.download-button:hover::before,
.download-button:focus-visible::before { inset: 0; }
.download-button:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.download-button:active { transform: translateY(-1px) scale(0.98); }
.download-button:focus-visible { outline: 3px solid rgba(255,255,255,0.82); outline-offset: 4px; }
.download-button i, .download-button .button-text { position: relative; z-index: 1; }
.download-button i { font-size: 1.5rem; }
.btn-android { background: linear-gradient(135deg, #3DDC84, #2ab568); box-shadow: 0 4px 20px rgba(61,220,132,0.3); }
.btn-android:hover { box-shadow: 0 8px 35px rgba(61,220,132,0.5), 0 0 40px rgba(61,220,132,0.15); }
.btn-web { background: linear-gradient(135deg, #7c6ff7, #5a4fdb); box-shadow: 0 4px 20px rgba(124,111,247,0.3); }
.btn-web:hover { box-shadow: 0 8px 35px rgba(124,111,247,0.5), 0 0 40px rgba(124,111,247,0.15); }
.button-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.button-text small { font-size: 0.75rem; opacity: 0.85; font-weight: 400; }
.button-text strong { font-size: 1.1rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== 统计模块 — 液态玻璃 ========== */
.download-stats {
    display: flex; justify-content: center; gap: 6px; margin: 18px auto; padding: 6px;
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    max-width: 700px; flex-wrap: wrap;
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,0.04);
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 20px; border-radius: var(--radius-md); transition: all var(--t-fast); cursor: default; flex: 1; min-width: 110px; }
.stat-item:hover { background: var(--bg-glass-hover); transform: translateY(-3px); }
.stat-number { font-size: 1.65em; font-weight: 700; color: var(--text-primary); letter-spacing: -0.5px; opacity: 0; transform: translateY(15px); animation: fadeUpIn 0.6s ease forwards; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; opacity: 0; transform: translateY(15px); animation: fadeUpIn 0.6s ease forwards 0.15s; }
@keyframes fadeUpIn { to { opacity: 1; transform: translateY(0); } }
.stat-item:nth-child(1) .stat-number { animation-delay: 0.1s; }
.stat-item:nth-child(2) .stat-number { animation-delay: 0.3s; }
.stat-item:nth-child(3) .stat-number { animation-delay: 0.5s; }
.stat-item:nth-child(4) .stat-number { animation-delay: 0.7s; }
.stat-item:nth-child(1) .stat-label { animation-delay: 0.25s; }
.stat-item:nth-child(2) .stat-label { animation-delay: 0.45s; }
.stat-item:nth-child(3) .stat-label { animation-delay: 0.65s; }
.stat-item:nth-child(4) .stat-label { animation-delay: 0.85s; }

/* ========== 分区标题 ========== */
.section-title {
    font-size: 1.55em; font-weight: 700; color: var(--text-primary); text-align: center;
    margin: 36px 0 18px; letter-spacing: -0.4px; position: relative;
}
.section-title::after { content: ''; display: block; width: 44px; height: 3px; background: var(--accent); border-radius: 2px; margin: 10px auto 0; opacity: 0.6; }

/* ========== 特性卡片 — 液态玻璃 ========== */
.features { width: 100%; padding: 0 10px; box-sizing: border-box; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 auto; }
.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    transition: all var(--t-smooth);
    position: relative; overflow: hidden; cursor: default;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,0.04);
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: 0; transition: opacity var(--t-smooth); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { background: var(--bg-glass-hover); border-color: var(--border-glass-hover); transform: translateY(-5px); box-shadow: var(--shadow-glass-hover), 0 0 20px var(--accent-glow); }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 14px; background: linear-gradient(135deg, rgba(124,92,191,0.2), rgba(124,92,191,0.05)); color: var(--accent); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, rgba(255,123,156,0.2), rgba(255,123,156,0.05)); color: var(--accent-2); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, rgba(94,234,219,0.2), rgba(94,234,219,0.05)); color: var(--accent-3); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, rgba(255,183,77,0.2), rgba(255,183,77,0.05)); color: #ffb74d; }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, rgba(129,199,132,0.2), rgba(129,199,132,0.05)); color: #81c784; }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, rgba(100,181,246,0.2), rgba(100,181,246,0.05)); color: #64b5f6; }
.feature-card h3 { color: var(--text-primary); font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.2px; }
.feature-card p { color: var(--text-secondary); font-size: 0.86rem; line-height: 1.6; margin: 0; }

/* ========== 轮播图 — 液态玻璃 ========== */
.screenshot-carousel { margin: 26px auto; max-width: 420px; padding: 0 10px; position: relative; }
.carousel-container {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 12px;
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,0.04);
}
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.carousel-slide { flex: 0 0 100%; display: flex; justify-content: center; align-items: center; padding: 0 8px; box-sizing: border-box; }
.carousel-slide img { width: 100%; max-width: 280px; height: auto; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.carousel-button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--t-fast);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 2;
}
.carousel-button:hover { background: var(--bg-glass-hover); border-color: var(--border-glass-hover); }
.carousel-button.prev { left: 6px; }
.carousel-button.next { right: 6px; }
.carousel-button svg { width: 18px; height: 18px; fill: var(--text-primary); }
.carousel-indicators { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--border-glass); cursor: pointer; transition: all var(--t-fast); }
.indicator.active { background: var(--accent); transform: scale(1.4); }

/* ========== 页脚 — 液态玻璃 ========== */
.enhanced-footer {
    width: 100%; margin-top: 3rem;
    background: rgba(26,26,26,0.82);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2rem 1.5rem 1.5rem;
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.35); box-sizing: border-box;
}
body.light-theme .enhanced-footer {
    background: rgba(245,242,251,0.88);
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -10px 40px rgba(100,80,140,0.06);
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; transition: all var(--t-fast); padding: 6px 4px; }
.footer-links a i { font-size: 0.8rem; color: var(--accent); }
.footer-links a:hover { color: var(--text-primary); transform: translateY(-1px); }
.footer-badge {
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    border-radius: var(--radius-full); padding: 10px 28px;
    display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: all var(--t-fast); color: var(--text-secondary); font-weight: 600; font-size: 0.9rem;
}
.footer-badge i.fa-heart { color: var(--accent-2); }
.footer-badge i.fa-sparkle { color: var(--accent); }
.footer-badge:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.icp-beian { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.icp-beian a { color: var(--text-muted); text-decoration: none; transition: color var(--t-fast); }
.icp-beian a:hover { color: var(--accent); }

/* ========== 回到顶部 — 液态玻璃 ========== */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px; width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    opacity: 0; visibility: hidden; transition: all var(--t-fast); z-index: 99;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--bg-glass-hover); border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 24px var(--accent-glow); }
.back-to-top svg { width: 20px; height: 20px; fill: var(--text-primary); }

/* ========== 隐私政策 & 用户协议通用样式 — 液态玻璃 ========== */
.policy-header { text-align: center; padding: 40px 20px; position: relative; }
.policy-content {
    max-width: 800px; margin: 0 auto 40px; padding: 30px; line-height: 1.8;
    background: var(--bg-glass); border-radius: var(--radius-lg);
    backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,0.04);
    color: var(--text-primary);
}
.policy-content section { margin-bottom: 40px; text-align: left; }
.policy-content h2 { color: var(--text-primary); margin-bottom: 20px; font-size: 1.5em; }
.policy-content ul { padding-left: 25px; }
.policy-content li { margin-bottom: 15px; color: var(--text-secondary); }
.policy-content p { margin-bottom: 15px; color: var(--text-secondary); }
.back-button {
    position: absolute; left: 20px; top: 20px; padding: 10px 20px;
    color: var(--text-primary); text-decoration: none;
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: all var(--t-fast);
}
.back-button:hover { background: var(--bg-glass-hover); border-color: var(--accent); transform: translateY(-2px); }
.policy-footer { text-align: center; padding: 20px; margin-top: 40px; color: var(--text-muted); }

/* ========== 响应式适配 ========== */
@media (max-width: 1024px) {
    .feature-cards { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.2em; }
}

@media (max-width: 768px) {
    .container { padding: 12px; }
    .hero { padding-top: 70px; }
    .hero h1 { font-size: 1.9em; }
    .hero .subtitle { font-size: 0.95rem; padding: 0 10px; }
    .logo { width: 72px; height: 72px; border-radius: 18px; }
    .download-buttons { flex-direction: column; align-items: center; width: 90%; max-width: 300px; gap: 12px; }
    .download-button { width: 100%; justify-content: center; min-width: unset; padding: 14px 20px; }
    .feature-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature-card { padding: 16px 14px; }
    .feature-card h3 { font-size: 0.95rem; }
    .feature-card p { font-size: 0.8rem; }
    .download-stats { gap: 4px; padding: 6px; }
    .stat-item { padding: 10px 14px; min-width: 80px; flex: 0 0 45%; }
    .stat-number { font-size: 1.35em; }
    .stat-label { font-size: 0.72rem; }
    .screenshot-carousel { max-width: 340px; }
    .carousel-slide img { max-width: 240px; }
    .navbar { padding: 10px 14px; }
    .nav-link span { display: none; }
    .nav-link { padding: 8px 10px; }
    .back-to-top { bottom: 18px; right: 18px; width: 38px; height: 38px; }
    .policy-content { margin: 20px; padding: 20px; }
    .policy-header h1 { font-size: 1.8em; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.65em; }
    .hero .subtitle { font-size: 0.88rem; }
    .feature-cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 10px; }
    .download-buttons { max-width: 260px; width: 85%; }
    .download-stats { max-width: 92%; }
    .stat-item { flex: 0 0 44%; padding: 10px 8px; }
    .stat-number { font-size: 1.2em; }
    .screenshot-carousel { max-width: 290px; }
    .carousel-slide img { max-width: 210px; }
    .carousel-button { width: 32px; height: 32px; }
    .section-title { font-size: 1.3em; margin: 30px 0 14px; }
    .footer-links { gap: 1rem; }
    .footer-links a { font-size: 0.82rem; }
    .footer-badge { padding: 8px 18px; font-size: 0.8rem; }
}

/* ========== Apple 风格磨砂界面重构 ========== */
:root {
    --apple-glass: rgba(28, 28, 30, 0.68);
    --apple-glass-strong: rgba(28, 28, 30, 0.82);
    --apple-hairline: rgba(255, 255, 255, 0.14);
    --apple-highlight: rgba(255, 255, 255, 0.18);
    --apple-shadow: 0 18px 50px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
body.light-theme {
    --apple-glass: rgba(255, 255, 255, 0.66);
    --apple-glass-strong: rgba(255, 255, 255, 0.82);
    --apple-hairline: rgba(60, 60, 67, 0.16);
    --apple-highlight: rgba(255, 255, 255, 0.72);
    --apple-shadow: 0 18px 50px rgba(74, 58, 104, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.navbar {
    min-height: 76px;
    padding: max(12px, env(safe-area-inset-top)) clamp(16px, 3vw, 48px) 12px;
    background: var(--apple-glass);
    border-bottom: 1px solid var(--apple-hairline);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(30px) saturate(185%);
    -webkit-backdrop-filter: blur(30px) saturate(185%);
}
.navbar::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, rgba(255,255,255,0.1), transparent 32%, rgba(255,255,255,0.035));
}
.navbar.scrolled {
    min-height: 64px; padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: 8px;
    background: var(--apple-glass-strong); box-shadow: var(--apple-shadow);
}
body.light-theme .navbar, body.light-theme .navbar.scrolled { background: var(--apple-glass-strong); }
.nav-brand, .nav-actions { position: relative; z-index: 1; }
.nav-brand { gap: 11px; font-size: 1.08rem; letter-spacing: -0.45px; }
.nav-brand img {
    width: 38px; height: 38px; border-radius: 11px;
    box-shadow: 0 5px 16px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.38);
}
.nav-actions {
    gap: 5px; padding: 4px; border: 1px solid var(--apple-hairline); border-radius: 16px;
    background: rgba(255,255,255,0.035); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
body.light-theme .nav-actions { background: rgba(255,255,255,0.42); }
.nav-link {
    min-height: 38px; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px;
    color: var(--text-secondary); transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}
.nav-link i { color: var(--accent); font-size: .9rem; }
.nav-link:hover, .nav-link:focus-visible {
    color: var(--text-primary); background: var(--apple-highlight); border-color: var(--apple-hairline); transform: translateY(-1px);
}
.theme-toggle-btn {
    width: 38px; height: 38px; padding: 0; border: 1px solid transparent; border-radius: 12px;
    color: var(--text-secondary); background: transparent;
}
.theme-toggle-btn:hover, .theme-toggle-btn:focus-visible { color: var(--text-primary); background: var(--apple-highlight); border-color: var(--apple-hairline); }
.theme-toggle-btn:focus-visible, .nav-link:focus-visible, .back-to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { padding: clamp(16px, 3vw, 32px); }
.hero { padding-top: clamp(106px, 14vw, 142px); padding-bottom: 22px; gap: 15px; }
.logo {
    border: 1px solid rgba(255,255,255,0.35); box-shadow: 0 20px 45px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.5);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.35rem); letter-spacing: -1.6px; }
.hero .subtitle { font-size: clamp(.94rem, 1.8vw, 1.08rem); }
.badge {
    background: var(--apple-glass); border-color: var(--apple-hairline); padding: 7px 13px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); backdrop-filter: blur(18px) saturate(160%);
}
.badge:hover { transform: translateY(-2px); border-color: rgba(139,108,230,.5); }

.download-stats, .feature-card, .carousel-container, .group-card, .channel-card, .download-modal {
    background: var(--apple-glass); border-color: var(--apple-hairline); box-shadow: var(--apple-shadow);
    backdrop-filter: blur(28px) saturate(175%); -webkit-backdrop-filter: blur(28px) saturate(175%);
}
.feature-card, .group-card, .channel-card { border-radius: 22px; }
.feature-card::before { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); }
.feature-card:hover, .group-card:hover, .channel-card:hover {
    transform: translateY(-6px); border-color: rgba(255,255,255,.28); background: var(--apple-glass-strong);
    box-shadow: 0 22px 48px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.17);
}
.feature-icon, .channel-icon {
    border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.back-to-top {
    width: 46px; height: 46px; border-color: var(--apple-hairline); background: var(--apple-glass-strong);
    box-shadow: var(--apple-shadow); backdrop-filter: blur(24px) saturate(180%);
}
.enhanced-footer {
    background: var(--apple-glass); border-top-color: var(--apple-hairline);
    backdrop-filter: blur(28px) saturate(170%); -webkit-backdrop-filter: blur(28px) saturate(170%);
}
body.light-theme .enhanced-footer { background: var(--apple-glass-strong); }

@media (max-width: 680px) {
    .navbar { min-height: 64px; padding: max(8px, env(safe-area-inset-top)) 12px 8px; }
    .nav-brand { gap: 8px; font-size: .98rem; }
    .nav-brand img { width: 34px; height: 34px; border-radius: 10px; }
    .nav-actions { gap: 2px; padding: 2px; border-radius: 13px; }
    .nav-link, .theme-toggle-btn { width: 36px; min-height: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 10px; }
    .nav-link span { display: none; }
    .hero { padding-top: calc(86px + env(safe-area-inset-top)); }
    .feature-cards { grid-template-columns: 1fr; max-width: 480px; }
    .feature-card { min-height: 132px; text-align: left; padding: 20px; }
    .feature-icon { margin-bottom: 10px; }
    .download-stats { max-width: 100%; }
    .enhanced-footer { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
    .nav-brand { font-size: .88rem; }
    .nav-brand img { width: 31px; height: 31px; }
    .nav-link, .theme-toggle-btn { width: 33px; min-height: 33px; height: 33px; }
    .container { padding-inline: 12px; }
    .badge-row { gap: 7px; }
    .badge { font-size: .72rem; padding: 6px 10px; }
}

/* ========== Creative Studio 参考：首屏层次与结构化 CTA ========== */
.hero {
    position: relative; min-height: min(590px, 66svh); justify-content: center;
    isolation: isolate; overflow: hidden;
}
.hero::before { content: none; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted);
    font-size: .69rem; font-weight: 700; letter-spacing: .16em;
    animation: studio-fade-up .6s cubic-bezier(.16, 1, .3, 1) both .05s;
}
.hero-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 12px var(--accent-3); }
.hero .logo { animation: studio-fade-up .7s cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 { animation: studio-fade-up .7s cubic-bezier(.16, 1, .3, 1) both .1s; }
.hero .subtitle { animation: studio-fade-up .7s cubic-bezier(.16, 1, .3, 1) both .18s; }
.hero .badge-row { animation: studio-fade-up .7s cubic-bezier(.16, 1, .3, 1) both .25s; }
@keyframes studio-fade-up { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

.download-section { position: relative; z-index: 2; }
.download-buttons { gap: 12px; }
.download-button {
    min-width: 230px; padding: 6px; gap: 10px; border: 0; background: transparent !important;
    box-shadow: none !important; overflow: visible; isolation: isolate;
}
.download-button::before {
    z-index: -1; inset: 5px; border: 1px solid var(--apple-hairline); border-radius: var(--radius-full);
    background: var(--apple-glass-strong); box-shadow: var(--apple-shadow);
    transition: inset .42s cubic-bezier(.25,.46,.45,.94), background .3s ease;
}
.download-button:hover::before, .download-button:focus-visible::before { inset: 0; background: var(--apple-glass-strong); }
.download-button i {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    margin-left: 1px; border-radius: 50%; color: #fff; font-size: 1.3rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 15px rgba(0,0,0,.18);
    transition: transform .42s cubic-bezier(.25,.46,.45,.94);
}
.btn-android i { background: #37c978; }
.btn-web i { background: #7665e8; }
.download-button .button-text {
    flex: 1; align-items: flex-start; padding: 9px 0; color: var(--text-primary);
}
.button-text small { color: var(--text-muted); opacity: 1; }
.button-text strong { font-size: 1rem; }
.button-arrow {
    display: grid; place-items: center; width: 32px; height: 32px; margin-right: 5px;
    border: 1px solid var(--apple-hairline); border-radius: 50%; color: var(--text-secondary);
    font-size: 1rem; font-weight: 700; transition: transform .42s cubic-bezier(.25,.46,.45,.94), background .25s ease;
}
.download-button:hover { transform: translateY(-3px); }
.download-button:hover i { transform: translateX(-5px) rotate(-7deg); }
.download-button:hover .button-arrow { transform: translateX(-4px); background: var(--apple-highlight); color: var(--text-primary); }
.section-title { position: relative; z-index: 1; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.045em; }
.section-title::before {
    content: attr(data-ghost); position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%,-50%);
    color: rgba(255,255,255,.025); font-size: 3.5em; line-height: 1; letter-spacing: -.09em; white-space: nowrap;
}
body.light-theme .section-title::before { color: rgba(92,66,152,.04); }

@media (max-width: 767px) {
    .hero { min-height: auto; justify-content: flex-start; overflow: visible; }
    .hero-eyebrow { font-size: .62rem; }
    .download-buttons { width: min(100%, 340px); }
    .download-button { min-width: 0; }
    .download-button i { width: 44px; height: 44px; }
    .button-arrow { width: 30px; height: 30px; }
}

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
    body::before {
        animation: none;
        opacity: 0.72;
    }

    .navbar,
    .badge,
    .download-stats,
    .feature-card,
    .carousel-container,
    .carousel-button,
    .enhanced-footer,
    .footer-badge,
    .back-to-top,
    .download-modal-overlay,
    .download-modal,
    .group-card,
    .channel-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .download-stats,
    .feature-card,
    .carousel-container,
    .group-card,
    .channel-card,
    .download-modal {
        box-shadow: 0 8px 24px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.08);
    }

    /* 移动端禁用 backdrop-filter 后，弹窗背景需接近实色以保证可读性 */
    .download-modal {
        background: rgba(18, 16, 26, 0.98);
    }
    body.light-theme .download-modal {
        background: rgba(255, 255, 255, 0.98);
    }
    .download-modal-overlay {
        background: rgba(5, 4, 10, 0.88);
    }
    body.light-theme .download-modal-overlay {
        background: rgba(20, 16, 38, 0.72);
    }

    .navbar,
    .enhanced-footer,
    .back-to-top {
        box-shadow: 0 6px 20px rgba(0,0,0,0.16);
    }

    .hero-eyebrow,
    .hero .logo,
    .hero h1,
    .hero .subtitle,
    .hero .badge-row,
    .stat-number,
    .stat-label {
        animation: none !important;
        filter: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .download-button,
    .feature-card,
    .group-card,
    .channel-card,
    .stat-item,
    .badge,
    .back-to-top {
        transition: background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
    }

    .download-button:hover,
    .download-button:hover i,
    .download-button:hover .button-arrow,
    .feature-card:hover,
    .group-card:hover,
    .channel-card:hover,
    .stat-item:hover,
    .badge:hover,
    .back-to-top:hover {
        transform: none;
    }
}


@media (max-width: 360px) {
    .hero h1 { font-size: 1.45em; }
    .logo { width: 60px; height: 60px; border-radius: 14px; }
    .download-buttons { max-width: 240px; }
    .stat-item { flex: 0 0 100%; }
    .screenshot-carousel { max-width: 250px; }
    .carousel-slide img { max-width: 190px; }
}

/* ========== 下载确认弹窗 ========== */
.download-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(6, 5, 12, 0.82);
    backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--t-fast), visibility 0.3s var(--t-fast);
}
body.light-theme .download-modal-overlay { background: rgba(20, 16, 38, 0.62); }
.download-modal-overlay.active { opacity: 1; visibility: visible; }

.download-modal {
    /* 弹窗专用背景：高不透明度，确保内容清晰可读 */
    background: rgba(22, 20, 32, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 36px 32px 28px;
    max-width: 420px; width: 100%;
    text-align: center;
    backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform var(--t-smooth);
}
body.light-theme .download-modal {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px rgba(100, 80, 140, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.download-modal-overlay.active .download-modal {
    transform: translateY(0) scale(1);
}

/* 关闭按钮 */
.modal-close {
    position: absolute; top: 12px; right: 12px;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--t-fast);
    color: var(--text-secondary);
    z-index: 2;
}
.modal-close svg { width: 15px; height: 15px; fill: currentColor; }
.modal-close:hover {
    border-color: var(--border-glass-hover);
    color: var(--text-primary);
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

/* 图标 */
.modal-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px; color: var(--accent);
    box-shadow: var(--shadow-glass);
}

/* 标题 */
.download-modal h2 {
    font-size: 1.2rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.modal-desc {
    font-size: 0.86rem; color: var(--text-muted); margin-bottom: 20px;
    line-height: 1.5;
}

/* 文件信息 */
.modal-info {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 20px;
}
.modal-info-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    font-size: 0.84rem; color: var(--text-secondary);
    border: 1px solid var(--border-glass);
    transition: border-color var(--t-fast), background var(--t-fast);
}
.modal-info-item:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-glass-hover);
}
.modal-info-item i { color: var(--accent); font-size: 0.82rem; width: 18px; text-align: center; flex-shrink: 0; }

/* 安全检测扫描动画 */
.modal-info-item .scan-icon { transition: color var(--t-fast); }
/* 扫描中：盾牌旋转 + 脉冲色 */
.modal-info-item.scanning .scan-icon {
    animation: scan-spin 1.2s linear infinite, scan-pulse 1s ease-in-out infinite;
    color: var(--accent-3);
}
/* 扫描完成：绿色对勾弹出 */
.modal-info-item.scan-complete .scan-icon {
    color: #37c978;
    animation: scan-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-info-item.scan-complete .scan-icon::before {
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
}
.modal-info-item.scanning { border-color: rgba(94, 234, 219, 0.35); }
.modal-info-item.scan-complete {
    border-color: rgba(55, 201, 120, 0.4);
    background: rgba(55, 201, 120, 0.08);
}
@keyframes scan-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes scan-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes scan-pop {
    0% { transform: scale(0.3); opacity: 0; }
    60% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1); }
}

/* 倒计时 */
.modal-countdown {
    margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.countdown-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--accent);
    color: #fff; font-size: 1.3rem; font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: countPulse 1s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.countdown-text {
    font-size: 0.86rem; color: var(--text-muted);
    font-weight: 500;
}

/* 按钮区 */
.modal-actions {
    display: flex; flex-direction: column; gap: 10px;
}
.modal-download-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px;
    background: var(--accent);
    color: #fff; border-radius: var(--radius-full);
    font-weight: 600; font-size: 1rem; text-decoration: none;
    transition: all var(--t-fast);
    box-shadow: 0 4px 20px var(--accent-glow);
    border: none; cursor: pointer;
}
.modal-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--accent-glow);
    opacity: 0.92;
}
.modal-download-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 14px var(--accent-glow);
}
/* 按钮禁用状态 */
.modal-download-btn.disabled {
    pointer-events: none;
    opacity: 0.45;
    cursor: not-allowed;
}

.modal-cancel-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.86rem; cursor: pointer;
    transition: all var(--t-fast);
    font-weight: 500;
}
.modal-cancel-btn:hover {
    border-color: var(--border-glass-hover);
    color: var(--text-primary);
    background: var(--bg-glass);
}

/* ========== 交流群页面 ========== */
.groups-section { margin: 20px auto 0; max-width: 700px; padding: 0 10px; }
.groups-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.group-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px 20px 22px;
    text-align: center;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: all var(--t-smooth);
    position: relative;
    overflow: hidden;
}
.group-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3));
    opacity: 0; transition: opacity var(--t-smooth);
}
.group-card:hover::before { opacity: 1; }
.group-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glass-hover), 0 0 20px var(--accent-glow);
}

.group-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    font-weight: 700; font-size: 0.88rem;
    padding: 4px 16px; border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.group-card:nth-child(2) .group-card-badge {
    background: linear-gradient(135deg, var(--accent-2), #ff9a56);
}
.group-card:nth-child(3) .group-card-badge {
    background: linear-gradient(135deg, var(--accent-3), #4ecdc4);
}

.group-card-number {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 1.15rem; font-weight: 700; color: var(--text-primary);
    margin-bottom: 18px;
    font-variant-numeric: tabular-nums; letter-spacing: 1px;
    font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}
.group-card-number i { font-size: 1.2rem; color: #12b7f5; }

.group-copy-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 20px;
    background: var(--accent);
    color: #fff; border: none; border-radius: var(--radius-full);
    font-size: 0.84rem; font-weight: 600; cursor: pointer;
    transition: all var(--t-fast);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.group-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--accent-glow);
}
.group-copy-btn:active { transform: translateY(-1px); }
.group-copy-btn.copied {
    background: #4caf50;
    box-shadow: 0 4px 16px rgba(76,175,80,0.35);
}

/* 频道区域 */
.channel-section { margin: 30px auto 10px; max-width: 500px; padding: 0 10px; }
.channel-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: all var(--t-smooth);
}
.channel-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glass-hover);
}

.channel-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(94,234,219,0.25), rgba(94,234,219,0.08));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; font-size: 24px; color: var(--accent-3);
}
.channel-card h2 {
    font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px;
}
.channel-card p {
    font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px;
}
.channel-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #12b7f5, #0d8fd9);
    color: #fff; border-radius: var(--radius-full);
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    transition: all var(--t-fast);
    box-shadow: 0 4px 20px rgba(18,183,245,0.35);
}
.channel-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(18,183,245,0.5);
}
.channel-link:active { transform: translateY(-1px); }

/* 交流群响应式 */
@media (max-width: 600px) {
    .groups-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .group-card { padding: 22px 18px 18px; }
    .group-card-number { font-size: 1.05rem; }
}

/* 弹窗响应式 */
@media (max-width: 480px) {
    .download-modal { padding: 28px 20px 22px; }
    .download-modal h2 { font-size: 1.1rem; }
    .modal-info-item { font-size: 0.8rem; padding: 8px 12px; }
    .modal-icon { width: 56px; height: 56px; font-size: 24px; }
    .countdown-number { width: 36px; height: 36px; font-size: 1.1rem; }
    .modal-download-btn { padding: 12px 20px; font-size: 0.93rem; }
}
