﻿/* ============================================================
   WIA ONLINE — Modern Dark Gaming UI  v2.0
   ============================================================ */

:root {
    --gold:    #f0b940;
    --gold2:   #ffd166;
    --blue:    #00d4ff;
    --blue2:   #38bdf8;
    --purple:  #a855f7;
    --accent:  #7c3aed;
    --red:     #ef4444;
    --bg:      #04070f;
    --bg2:     #080d1a;
    --bg3:     #0d1424;
    --surface: rgba(255,255,255,0.04);
    --border:  rgba(255,255,255,0.08);
    --border2: rgba(0,212,255,0.2);
    --muted:   #64748b;
    --text:    #e2e8f0;
    --text2:   #94a3b8;
    --glow-blue: 0 0 40px rgba(0,212,255,0.15);
    --glow-gold: 0 0 40px rgba(240,185,64,0.2);
    --radius:  14px;
    --radius-lg: 20px;
    --nav-h:   70px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    /* legacy compat */
    --bg-light: var(--bg);
    --surface-compat: var(--bg3);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ── 方向键花纹水印 ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.038;
    mix-blend-mode: screen;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cpath d='M42 18 L35 32 L38.5 32 L38.5 40 L45.5 40 L45.5 32 L49 32 Z' fill='%2300d4ff'/%3E%3Cpath d='M222 55 L208 48 L208 51.5 L200 51.5 L200 58.5 L208 58.5 L208 62 Z' fill='%23a855f7'/%3E%3Cpath d='M310 41 L303 27 L306.5 27 L306.5 19 L313.5 19 L313.5 27 L317 27 Z' fill='%23f0b940'/%3E%3Cpath d='M130 110 L144 103 L144 106.5 L152 106.5 L152 113.5 L144 113.5 L144 117 Z' fill='%2300d4ff'/%3E%3Cg transform='translate(260,95) rotate(45)'%3E%3Cpath d='M0 -14 L-7 0 L-3.5 0 L-3.5 8 L3.5 8 L3.5 0 L7 0 Z' fill='%23f0b940'/%3E%3C/g%3E%3Cg transform='translate(75,195) rotate(225)'%3E%3Cpath d='M0 -12 L-6 0 L-3 0 L-3 7 L3 7 L3 0 L6 0 Z' fill='%23a855f7'/%3E%3C/g%3E%3Cg transform='translate(170,250) rotate(135)'%3E%3Cpath d='M0 -13 L-6.5 0 L-3.5 0 L-3.5 7.5 L3.5 7.5 L3.5 0 L6.5 0 Z' fill='%2300d4ff'/%3E%3C/g%3E%3Cg transform='translate(320,200) rotate(315)'%3E%3Cpath d='M0 -11 L-5.5 0 L-3 0 L-3 6.5 L3 6.5 L3 0 L5.5 0 Z' fill='%23f0b940'/%3E%3C/g%3E%3Cpath d='M100 290 L94 303 L97 303 L97 310 L103 310 L103 303 L106 303 Z' fill='%23a855f7'/%3E%3Cpath d='M255 310 L239 302 L239 306 L230 306 L230 314 L239 314 L239 318 Z' fill='%2300d4ff'/%3E%3Cg transform='translate(30,330) rotate(45)'%3E%3Cpath d='M0 -10 L-5 0 L-2.5 0 L-2.5 6 L2.5 6 L2.5 0 L5 0 Z' fill='%23f0b940'/%3E%3C/g%3E%3Cpath d='M190 167 L184 153 L187 153 L187 145 L193 145 L193 153 L196 153 Z' fill='%2300d4ff'/%3E%3Cpath d='M340 270 L354 263 L354 266.5 L362 266.5 L362 273.5 L354 273.5 L354 277 Z' fill='%23a855f7'/%3E%3C/svg%3E");
    background-size: 360px 360px;
    background-repeat: repeat;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue),var(--purple)); border-radius: 99px; }
::selection { background: rgba(0,212,255,0.2); color: #fff; }

/* ── Navigation ── */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h); z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    background: rgba(4,7,15,0.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), border-color var(--transition);
}
nav.scrolled { background: rgba(4,7,15,0.97); border-bottom-color: var(--border2); }
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;

    text-decoration: none;
}

.logo img {
    display: block;

    width: auto;
    height: 44px;

    max-width: 190px;
    object-fit: contain;

    filter:
        drop-shadow(0 0 10px rgba(0, 212, 255, 0.28))
        drop-shadow(0 0 4px rgba(240, 185, 64, 0.18));
}
nav ul { display: flex; list-style: none; align-items: center; padding: 0; margin: 0; gap: 4px; }
nav ul li a {
    text-decoration: none; color: var(--text2); font-size: 14px; font-weight: 500;
    padding: 8px 14px; border-radius: 8px; white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}
nav ul li a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.btn-refill {
    background: linear-gradient(135deg, var(--gold), #e09000) !important;
    color: #000 !important; font-weight: 700 !important;
    padding: 8px 18px !important; border-radius: 99px !important;
    box-shadow: 0 4px 20px rgba(240,185,64,0.3);
    transition: transform var(--transition), box-shadow var(--transition) !important;
}
.btn-refill:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,185,64,0.45) !important; }
.nav-toggle {
    display: none; background: transparent; border: 1px solid var(--border);
    color: var(--text); font-size: 18px; padding: 8px 12px; border-radius: 8px; cursor: pointer;
    transition: border-color var(--transition), color var(--transition); align-items: center;
}
.nav-toggle:hover { border-color: var(--blue); color: var(--blue); }

/* ── Hero ── */
.hero {
    position: relative; width: 100%; min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    overflow: hidden; padding-bottom: 100px;
    isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('../img/apps_bg.jpg?v=3');
    background-repeat: no-repeat; background-position: center top; background-size: cover;
    filter: brightness(0.5) saturate(1.15);
    transform-origin: center top; will-change: transform;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(4,7,15,0.45) 0%, rgba(4,7,15,0) 35%, rgba(4,7,15,0) 60%, rgba(4,7,15,0.92) 100%);
}
.particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; transition: opacity 0.5s ease; }
.hero-content {
    position: relative; z-index: 5; text-align: center; padding: 0 20px;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    animation: heroIn 0.9s ease both; animation-delay: 0.2s;
}
@keyframes heroIn { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25);
    color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    padding: 6px 16px; border-radius: 99px;
}
.hero-title {
    font-size: clamp(28px, 6vw, 64px); font-weight: 900; line-height: 1.1; letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, var(--blue2) 50%, var(--gold2) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Hero Slogan Image (顶部固定) ── */
.hero-slogan-top {
    position: absolute;
    top: 95px;
    left: 7%;
    transform: none;
    z-index: 6;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding-top: 0;

    animation: sloganInLeft 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}
@keyframes sloganInLeft {
    0% {
        opacity: 0;
        transform: scale(0.82) translateY(-20px);
        filter: blur(12px);
    }

    60% {
        opacity: 1;
        filter: blur(0);
    }

    80% {
        transform: scale(1.03) translateY(2px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}.hero-slogan-img {
    position: relative;
    z-index: 2;

    max-width: 300px;
    width: 100%;
    height: auto;

    filter:
        drop-shadow(0 0 18px rgba(0, 212, 255, 0.55))
        drop-shadow(0 0 6px rgba(240, 185, 64, 0.3));

    animation: sloganFloat 4s ease-in-out infinite;
    animation-delay: 1.2s;
}
@keyframes sloganFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-7px); }
}
.hero-slogan-glow {
    position: absolute; inset: -30px -40px;
    background: radial-gradient(ellipse 80% 55% at 50% 50%, rgba(0,212,255,0.18), rgba(168,85,247,0.1) 55%, transparent 75%);
    filter: blur(18px);
    animation: sloganGlowPulse 3.5s ease-in-out infinite;
    pointer-events: none; z-index: 1;
}
@keyframes sloganGlowPulse {
    0%,100% { opacity:0.7; transform:scale(1); }
    50%     { opacity:1;   transform:scale(1.08); }
}

/* ── Waveform behind slogan ── */
.waveform {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);

    width: min(430px, 42vw);
    height: 75px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;

    z-index: 1;
    pointer-events: none;
}
.waveform span {
    display: block;
    width: 6px;
    border-radius: 99px;
    background: linear-gradient(180deg, rgba(0,212,255,0.7), rgba(168,85,247,0.45));
    animation: waveBar 1.4s ease-in-out infinite;
    transform-origin: bottom;
    box-shadow: 0 0 8px rgba(0,212,255,0.4);
}
/* 每根柱子用不同延迟+高度，营造自然波形感 */
.waveform span:nth-child(1)  { height:22px; animation-delay:0.00s; }
.waveform span:nth-child(2)  { height:36px; animation-delay:0.07s; }
.waveform span:nth-child(3)  { height:52px; animation-delay:0.14s; }
.waveform span:nth-child(4)  { height:34px; animation-delay:0.21s; }
.waveform span:nth-child(5)  { height:64px; animation-delay:0.28s; }
.waveform span:nth-child(6)  { height:46px; animation-delay:0.05s; }
.waveform span:nth-child(7)  { height:76px; animation-delay:0.12s; }
.waveform span:nth-child(8)  { height:58px; animation-delay:0.19s; }
.waveform span:nth-child(9)  { height:82px; animation-delay:0.26s; }
.waveform span:nth-child(10) { height:70px; animation-delay:0.33s; }
.waveform span:nth-child(11) { height:90px; animation-delay:0.40s; }
.waveform span:nth-child(12) { height:74px; animation-delay:0.08s; }
.waveform span:nth-child(13) { height:86px; animation-delay:0.15s; }
.waveform span:nth-child(14) { height:68px; animation-delay:0.22s; }
.waveform span:nth-child(15) { height:90px; animation-delay:0.29s; }
.waveform span:nth-child(16) { height:72px; animation-delay:0.36s; }
.waveform span:nth-child(17) { height:84px; animation-delay:0.11s; }
.waveform span:nth-child(18) { height:62px; animation-delay:0.18s; }
.waveform span:nth-child(19) { height:78px; animation-delay:0.25s; }
.waveform span:nth-child(20) { height:54px; animation-delay:0.32s; }
.waveform span:nth-child(21) { height:68px; animation-delay:0.39s; }
.waveform span:nth-child(22) { height:44px; animation-delay:0.06s; }
.waveform span:nth-child(23) { height:58px; animation-delay:0.13s; }
.waveform span:nth-child(24) { height:34px; animation-delay:0.20s; }
.waveform span:nth-child(25) { height:50px; animation-delay:0.27s; }
.waveform span:nth-child(26) { height:28px; animation-delay:0.34s; }
.waveform span:nth-child(27) { height:40px; animation-delay:0.41s; }
.waveform span:nth-child(28) { height:24px; animation-delay:0.09s; }
.waveform span:nth-child(29) { height:34px; animation-delay:0.16s; }
.waveform span:nth-child(30) { height:18px; animation-delay:0.23s; }
@keyframes waveBar {
    0%,100% { transform: scaleY(1);   opacity: 0.65; }
    50%      { transform: scaleY(1.7); opacity: 1;    }
}
.hero-sub { font-size: clamp(14px, 2vw, 16px); color: var(--text2); max-width: 480px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

/* CTA buttons */
.btn-start {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 36px; border-radius: 99px; font-size: 16px; font-weight: 700;
    color: #fff; text-decoration: none; border: none; cursor: pointer; overflow: hidden;
    background: linear-gradient(135deg, var(--blue), var(--accent));
    box-shadow: 0 0 0 0 rgba(0,212,255,0.35), 0 12px 40px rgba(0,212,255,0.22);
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn-start::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.btn-start:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 0 0 7px rgba(0,212,255,0.1), 0 20px 60px rgba(0,212,255,0.35); }
.btn-start:hover::before { opacity: 1; }
.btn-version { font-size: 11px; background: rgba(0,0,0,0.25); padding: 4px 8px; border-radius: 6px; color: rgba(255,255,255,0.7); font-weight: 400; }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 99px; font-size: 15px; font-weight: 600;
    color: var(--text); text-decoration: none;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: rgba(0,212,255,0.06); transform: translateY(-2px); }

/* Scroll hint */
.hero-scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.3); font-size: 11px; letter-spacing: 1px;
    animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce { 0%,100% { transform:translateX(-50%) translateY(0); } 50% { transform:translateX(-50%) translateY(6px); } }
.hero-scroll i { font-size: 16px; }

/* ── Stats Bar ── */
.stats-bar {
    position: relative; z-index: 10;
    background: rgba(8,13,26,0.9); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 5%;
    display: flex; justify-content: space-around; flex-wrap: wrap;
}
.stat-item { flex: 1; min-width: 140px; text-align: center; padding: 28px 20px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 30px; font-weight: 800; line-height: 1; margin-bottom: 6px;
    background: linear-gradient(135deg, var(--blue), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; }

/* ── Section Common ── */
.section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 12px; }
.section-title {
    display: flex; align-items: center; gap: 12px;
    font-size: 24px; font-weight: 700; color: #fff;
}
.section-title::before {
    content: ''; width: 4px; height: 28px; border-radius: 2px; flex-shrink: 0;
    background: linear-gradient(var(--blue), var(--purple));
}
.section-more {
    font-size: 13px; color: var(--blue); text-decoration: none;
    display: flex; align-items: center; gap: 6px; opacity: 0.8;
    transition: gap var(--transition), opacity var(--transition);
}
.section-more:hover { gap: 10px; opacity: 1; }

/* ── News Cards ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.news-card {
    position: relative; background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius-lg); text-decoration: none; color: var(--text);
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; transform: translateY(16px); animation: cardIn 0.55s ease forwards;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
@keyframes cardIn { to { opacity:1; transform:translateY(0); } }
.news-card:hover { transform: translateY(-6px); border-color: var(--border2); box-shadow: 0 20px 60px rgba(0,212,255,0.1); }
/* 缩略图 */
.news-thumb { width: 100%; aspect-ratio: 16/7; overflow: hidden; background: var(--bg2); flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg3), var(--bg2)); color: rgba(255,255,255,0.1); font-size: 36px; }
/* 内容区 */
.news-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-tag {
    display: inline-flex; align-items: center; gap: 5px; width: fit-content;
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 6px;
    background: rgba(0,212,255,0.12); color: var(--blue); border: 1px solid rgba(0,212,255,0.2);
}
.news-tag.tag-gold   { background: rgba(240,185,64,0.12);  color: var(--gold); border-color: rgba(240,185,64,0.25); }
.news-tag.tag-red    { background: rgba(239,68,68,0.12);   color: #f87171;     border-color: rgba(239,68,68,0.25); }
.news-tag.tag-purple { background: rgba(139,92,246,0.12);  color: #a78bfa;     border-color: rgba(139,92,246,0.25); }
.news-meta { font-size: 12px; color: var(--muted); }
.news-card h3 { font-size: 16px; font-weight: 600; color: #fff; line-height: 1.45; transition: color var(--transition); }
.news-card:hover h3 { color: var(--blue2); }
.news-card p { font-size: 13px; color: var(--text2); line-height: 1.65; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-footer {
    font-size: 12px; color: var(--blue); display: flex; align-items: center; gap: 5px; margin-top: 4px;
    opacity: 0; transform: translateX(-4px); transition: opacity var(--transition), transform var(--transition);
}
.news-card:hover .news-card-footer { opacity: 1; transform: translateX(0); }

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-card {
    background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 30px 24px; text-align: center; overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border2); }
.feature-icon {
    width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.1));
    border: 1px solid rgba(0,212,255,0.15); color: var(--blue);
}
.feature-card:nth-child(2) .feature-icon { color: var(--gold); background: linear-gradient(135deg,rgba(240,185,64,0.15),rgba(239,68,68,0.1)); border-color: rgba(240,185,64,0.2); }
.feature-card:nth-child(3) .feature-icon { color: var(--purple); background: linear-gradient(135deg,rgba(168,85,247,0.15),rgba(0,212,255,0.1)); border-color: rgba(168,85,247,0.2); }
.feature-card:nth-child(4) .feature-icon { color: #f87171; background: linear-gradient(135deg,rgba(239,68,68,0.15),rgba(168,85,247,0.1)); border-color: rgba(239,68,68,0.2); }
.feature-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── Divider ── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0 5%; }

/* ── Modal ── */
.modal {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(4,7,15,0.82); backdrop-filter: blur(10px);
    justify-content: center; align-items: center; padding: 20px;
}
.modal-content {
    background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-lg);
    padding: 40px 36px; width: 100%; max-width: 500px; text-align: center; position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6), var(--glow-blue);
    animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes modalIn { from { opacity:0; transform:scale(0.9) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
.modal-close {
    position: absolute; top: 14px; right: 14px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    color: var(--text2); width: 32px; height: 32px; border-radius: 8px;
    cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.modal-close:hover { background: rgba(239,68,68,0.15); color: #f87171; border-color: rgba(239,68,68,0.3); }
.modal-content h2 {
    font-size: 26px; font-weight: 800; margin-bottom: 6px;
    background: linear-gradient(135deg, var(--blue), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.modal-sub { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.download-options { display: flex; flex-direction: column; gap: 14px; }
.dl-link {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; border-radius: var(--radius); text-decoration: none;
    font-weight: 600; font-size: 15px; color: #fff;
    border: 1px solid transparent; text-align: left;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.dl-link i { font-size: 20px; flex-shrink: 0; }
.dl-link:hover { transform: translateY(-2px); }
.dl-link-meta { display: flex; flex-direction: column; gap: 2px; }
.dl-link-meta small { font-size: 11px; opacity: 0.65; font-weight: 400; }
.dl-link.dl-cn { background: linear-gradient(135deg, #1d4ed8, #2563eb); box-shadow: 0 6px 24px rgba(29,78,216,0.3); }
.dl-link.dl-cn:hover { box-shadow: 0 12px 40px rgba(29,78,216,0.5); border-color: rgba(96,165,250,0.3); }
.dl-link.dl-gd { background: linear-gradient(135deg, #b91c1c, #dc2626); box-shadow: 0 6px 24px rgba(185,28,28,0.3); }
.dl-link.dl-gd:hover { box-shadow: 0 12px 40px rgba(185,28,28,0.5); border-color: rgba(248,113,113,0.3); }

/* ── Footer ── */
footer {
    background: var(--bg2); border-top: 1px solid var(--border);
    text-align: center; padding: 48px 5%; color: var(--muted); font-size: 13px; line-height: 2;
}
.footer-logo {
    display: block; font-size: 20px; font-weight: 800; letter-spacing: 2px; margin-bottom: 12px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--blue); }
.footer-copy { font-size: 12px; opacity: 0.55; margin-top: 6px; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .hero-slogan-top {
        top: 82px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        padding-top: 0;
    }

    .hero-slogan-img {
        max-width: 260px;
    }

    .waveform {
        width: min(420px, 90vw);
        bottom: 35px;
    }

    .nav-toggle { display: flex; }
    nav ul {
        display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
        background: rgba(4,7,15,0.97); backdrop-filter: blur(20px);
        flex-direction: column; padding: 12px 0 20px;
        border-bottom: 1px solid var(--border); gap: 4px; z-index: 999;
    }
    nav ul.show { display: flex; animation: slideDown 0.22s ease; }
    @keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
    nav ul li { width: 100%; }
    nav ul li a { display: block; padding: 12px 24px; border-radius: 0; }
    .btn-refill { margin: 8px 16px 0 !important; display: block !important; text-align: center; border-radius: 8px !important; }

    .hero { padding-bottom: 110px; }
    .hero-bg { background-image: url('../img/apps_bg_mobile.jpg?v=3'); background-size: cover; background-position: center; }

    .stats-inner { gap: 0; }
    .stat-item { min-width: 50%; border-bottom: 1px solid var(--border); }
    .stat-item:nth-child(odd)  { border-right: 1px solid var(--border); }
    .stat-item:nth-child(even) { border-right: none; }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }

    .section { padding: 60px 5%; }
    .modal-content { padding: 30px 22px; }
    .modal-content h2 { font-size: 22px; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-start, .btn-ghost { justify-content: center; }
    .features-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Language Switcher (mobile override) ── */
@media (max-width: 768px) {
    #lang-switcher { order: -1; width: 100%; padding: 8px 24px 0; }
    #lang-btn { width: 100%; justify-content: center; border-radius: 8px; }
    #lang-dropdown { position: static; margin-top: 6px; border-radius: 8px; display: none; }
    #lang-switcher.open #lang-dropdown { display: block; }
    .lang-option { justify-content: flex-start; }
}

/* ── AU WORLD Navigation Logo ── */
.hero-slogan-top,
.waveform,
.hero-slogan-glow {
    display: none;
}

@media (max-width: 768px) {
    .logo img {
        height: 38px;
        max-width: 155px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 34px;
        max-width: 140px;
    }
}
