* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #0c111c;
    --bg2: #141e2c;
    --bg3: #1f2f42;
    --border: #24364a;
    --border-hover: #304e66;
    --text: #eaf0f8;
    --text2: #b8cce0;
    --text3: #7090b0;
    --gold: #f5c518;
    --gold-dark: #c49a10;
    --gold-glow: rgba(245,197,24,0.15);
    --green: #4ade80;
    --red: #f87171;
    --blue: #60a5fa;
    --radius: 12px;
    --radius-sm: 8px;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    background-image:
        /* 暖色光晕 */
        radial-gradient(ellipse at 20% 50%, rgba(245,197,24,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245,197,24,0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(74,222,128,0.015) 0%, transparent 50%),
        /* 纵向纹理 */
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.008) 40px, rgba(255,255,255,0.008) 41px);
}

/* Layout */
.container { max-width: 820px; margin: 0 auto; padding: 0 16px; }

/* Header */
header {
    text-align: center;
    padding: 40px 16px 24px;
    background: linear-gradient(135deg, #0a0e17 0%, #141f2e 50%, #0f1a22 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(245,197,24,0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(96,165,250,0.04) 0%, transparent 50%);
    animation: headerGlow 8s ease-in-out infinite alternate;
}
@keyframes headerGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10px, -10px); }
}
header .logo {
    position: relative;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), #f08a1a, var(--gold));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    animation: logoShimmer 4s ease-in-out infinite;
}
@keyframes logoShimmer {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
header .sub { position: relative; color: var(--text3); font-size: 13px; margin-top: 6px; }
header .sub span { color: var(--text2); }
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

/* Top Nav */
.top-nav {
    display: flex;
    gap: 4px;
    justify-content: center;
    padding: 12px 16px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.top-nav a {
    color: var(--text3);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.2s;
}
.top-nav a:hover, .top-nav a.active {
    color: var(--text);
    background: var(--bg3);
}
.top-nav a.active { color: var(--gold); }

/* Countdown */
.countdown {
    background: linear-gradient(135deg, var(--bg3) 0%, #0d1a2a 100%);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid rgba(245,197,24,0.2);
    position: relative;
    overflow: hidden;
}
.countdown::before {
    content: '🏆';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 60px;
    opacity: 0.08;
    transform: rotate(15deg);
}
.countdown::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.countdown .label { color: var(--text3); font-size: 13px; letter-spacing: 2px; }
.countdown .number {
    color: var(--gold);
    font-size: 48px;
    font-weight: 800;
    margin: 4px 0;
    line-height: 1;
    text-shadow: 0 0 30px rgba(245,197,24,0.2);
}
.countdown .sub-text { color: var(--text3); font-size: 12px; }

/* Quick Nav */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}
.quick-nav a {
    background: linear-gradient(145deg, var(--bg2) 0%, #0f1722 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text2);
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.quick-nav a:hover {
    background: var(--bg3);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.quick-nav .icon { font-size: 24px; display: block; margin-bottom: 6px; }

/* Section Title */
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    letter-spacing: 0.5px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: var(--gold);
    border-radius: 2px;
}
.section-title .more {
    margin-left: auto;
    font-size: 13px;
    color: var(--text3);
    font-weight: 400;
    text-decoration: none;
}
.section-title .more:hover { color: var(--gold); }

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.filter-bar select, .filter-bar input {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 16px;
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--gold); }

/* Match Card */
.match-card {
    background: linear-gradient(145deg, var(--bg2) 0%, #0f1722 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.match-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-dark), transparent);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.match-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.match-card:hover::before { opacity: 1; }
.match-card .top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
}
.match-card .badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}
.badge-green { background: rgba(74,222,128,0.1); color: var(--green); border: 1px solid rgba(74,222,128,0.2); }
.badge-red { background: rgba(248,113,113,0.1); color: var(--red); border: 1px solid rgba(248,113,113,0.2); animation: pulse 1.5s infinite; }
.badge-gray { background: rgba(106,138,170,0.08); color: var(--text3); }
.badge-gold { background: rgba(245,197,24,0.1); color: var(--gold); border: 1px solid rgba(245,197,24,0.2); }
.badge-blue { background: rgba(96,165,250,0.1); color: var(--blue); border: 1px solid rgba(96,165,250,0.2); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

.match-card .match-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 0;
}
.match-card .team {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}
.match-card .team.right { text-align: right; }
.match-card .score {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    min-width: 50px;
    text-align: center;
}
.match-card .vs { font-size: 13px; color: #4a6a8a; min-width: 36px; text-align: center; font-weight: 500; }

.match-card .meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text3);
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(30,48,68,0.4);
}
.match-card .meta-row .time { color: var(--text); font-weight: 500; }
.match-card .meta-row .tag {
    background: rgba(10,14,23,0.5);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    border: 1px solid rgba(30,48,68,0.3);
}
.match-card .btn-group { display: flex; gap: 6px; margin-left: auto; }
.match-card .btn-sm {
    border: 1px solid var(--border);
    background: rgba(10,14,23,0.4);
    color: var(--text2);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}
.match-card .btn-sm:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,197,24,0.08); }
.match-card .btn-sm.btn-gold { border-color: var(--gold-dark); color: var(--gold); background: rgba(245,197,24,0.06); }
.match-card .btn-sm.btn-gold:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* Analysis Card */
.analysis-card {
    background: linear-gradient(145deg, var(--bg2) 0%, #0f1722 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
.analysis-card:hover { border-color: var(--border-hover); }
.analysis-card .header {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.analysis-card .header .vs-gold { color: var(--gold); margin: 0 6px; }
.analysis-card .meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.analysis-card .meta span { background: var(--bg); padding: 2px 10px; border-radius: 20px; }
.analysis-card .body {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
}
.analysis-card .body .hl { color: var(--gold); font-weight: 600; }

/* Stream Guide */
.stream-section {
    background: linear-gradient(135deg, var(--bg3), #0f1f2f);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
}
.stream-section h3 { font-size: 16px; margin-bottom: 12px; }
.stream-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.stream-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    transition: all 0.2s;
}
.stream-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.stream-card .price { color: var(--gold); font-weight: 700; font-size: 15px; margin-top: 4px; }
.stream-card .free { color: var(--green); }

/* Standings Table */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 24px;
}
.standings-table th {
    background: var(--bg3);
    color: var(--text3);
    font-weight: 500;
    font-size: 12px;
    padding: 8px 6px;
    text-align: center;
    border-bottom: 2px solid var(--border);
}
.standings-table td {
    padding: 10px 6px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.standings-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.standings-table tbody tr:hover { background: rgba(245,197,24,0.04); }
.standings-table .team-name { text-align: left; font-weight: 600; }
.standings-table .rank { color: var(--text3); width: 24px; }
.standings-table .qualified { color: var(--green); font-size: 11px; }

/* Watch Page */
.platform-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.platform-card .info { flex: 1; }
.platform-card .info h3 { font-size: 16px; margin-bottom: 4px; }
.platform-card .info p { color: var(--text3); font-size: 13px; }
.platform-card .info .features { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.platform-card .info .features span {
    background: var(--bg);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--text2);
}
.platform-card .action { text-align: center; min-width: 80px; }
.platform-card .action .price-tag { font-size: 20px; font-weight: 800; color: var(--gold); }
.platform-card .action .sub-tag { font-size: 11px; color: var(--text3); }
.platform-card .action .btn-cta {
    display: inline-block;
    margin-top: 8px;
    background: var(--gold);
    color: var(--bg);
    padding: 6px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.platform-card .action .btn-cta:hover { background: var(--gold-dark); }

/* Alert */
.alert {
    background: #1a2a1a;
    border: 1px solid #2a4a2a;
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 13px;
    color: var(--green);
    margin-bottom: 16px;
}

/* 推广海报卡片 */
.poster-card {
    display: block; background: linear-gradient(145deg, #0f1a2e 0%, #0a0f1a 50%, #141428 100%);
    border: 1px solid rgba(245,197,24,0.2); border-radius: var(--radius);
    padding: 22px 22px 18px; margin-bottom: 20px; position: relative; overflow: hidden;
    text-decoration: none; transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.poster-card:hover {
    border-color: rgba(245,197,24,0.35); transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245,197,24,0.08);
}
.poster-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #f5c518, rgba(245,197,24,0.3), transparent);
    pointer-events: none;
}
.poster-card::after {
    content: '🏆'; position: absolute; bottom: -6px; right: 8px;
    font-size: 52px; opacity: 0.08; pointer-events: none; transform: rotate(15deg);
}
.poster-card-badge {
    display: inline-block; background: linear-gradient(135deg, rgba(245,197,24,0.15), rgba(245,197,24,0.06));
    color: #f5c518; padding: 3px 16px; border-radius: 20px; font-size: 11px; font-weight: 600;
    border: 1px solid rgba(245,197,24,0.15); margin-bottom: 10px; letter-spacing: 1px;
}
.poster-card-title { font-size: 26px; font-weight: 900; color: #eaf0f8; margin-bottom: 10px; line-height: 1.2; }
.poster-card-title span { color: #f5c518; }
.poster-card-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.poster-card-features span {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px; padding: 4px 12px; font-size: 12px; color: #9ab0c8;
    transition: background 0.2s;
}
.poster-card:hover .poster-card-features span {
    background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12);
}
.poster-card-footer { color: #5a7a9a; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.poster-card-footer::before {
    content: '→'; color: #f5c518; font-weight: 700; font-size: 14px;
    transition: transform 0.2s;
}
.poster-card:hover .poster-card-footer::before {
    transform: translateX(4px);
}

/* Group Box */
.group-box {
    background: linear-gradient(145deg, var(--bg2) 0%, #0f1722 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.group-box:hover { border-color: var(--border-hover); }
.group-box .group-header {
    background: linear-gradient(135deg, var(--bg3) 0%, #0f1a2a 100%);
    padding: 12px 16px;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}
.group-box .group-header span { color: var(--gold); margin-right: 8px; }
.group-box .match-row {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: background 0.2s;
}
.group-box .match-row:last-child { border-bottom: none; }
.group-box .match-row:hover { background: var(--bg); }
.group-box .match-row .teams { flex: 1; }
.group-box .match-row .teams .vs-symbol { color: var(--text3); margin: 0 6px; }
.group-box .match-row .datetime { color: var(--text3); font-size: 12px; min-width: 100px; }
.group-box .match-row .result { font-weight: 700; color: var(--gold); min-width: 50px; text-align: center; }
.group-box .match-row .result.pending { color: var(--text3); font-weight: 400; }

/* Footer */
footer {
    text-align: center;
    padding: 40px 16px;
    color: var(--text3);
    font-size: 13px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}
footer a { color: var(--text2); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    text-align: center;
    max-width: 90vw;
}
.toast.show { opacity: 1; }

/* Page Title */
.page-title {
    font-size: 22px;
    font-weight: 800;
    margin: 24px 0 4px;
}
.page-subtitle { color: var(--text3); font-size: 14px; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 600px) {
    .quick-nav { grid-template-columns: repeat(2, 1fr); }
    .match-card .team { font-size: 14px; }
    .match-card .meta-row { gap: 8px; }
    .match-card .btn-group { margin-left: 0; width: 100%; margin-top: 8px; }
    .match-card .btn-group { justify-content: flex-end; }
    .stream-grid { grid-template-columns: 1fr; }
    .platform-card { flex-direction: column; }
    .platform-card .action { width: 100%; }
    .countdown .number { font-size: 30px; }
    header .logo { font-size: 22px; }
    .group-box .match-row { flex-wrap: wrap; }
    .group-box .match-row .datetime { min-width: 80px; }
    .page-title { font-size: 18px; }
}

/* ========== Animations ========== */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }
@keyframes goldPulse { 0%,100% { text-shadow: 0 0 4px rgba(245,197,24,0.3); } 50% { text-shadow: 0 0 12px rgba(245,197,24,0.6); } }
@keyframes glow { 0%,100% { box-shadow: 0 0 4px rgba(245,197,24,0.1); } 50% { box-shadow: 0 0 16px rgba(245,197,24,0.2); } }
@keyframes countdownPop { 0% { transform: scale(0.8); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

html { scroll-behavior: smooth; }
body { animation: fadeIn 0.4s ease; }

.container > * { animation: slideUp 0.5s ease both; }
.container > *:nth-child(1) { animation-delay: 0s; }
.container > *:nth-child(2) { animation-delay: 0.05s; }
.container > *:nth-child(3) { animation-delay: 0.1s; }
.container > *:nth-child(4) { animation-delay: 0.15s; }
.container > *:nth-child(5) { animation-delay: 0.2s; }
.container > *:nth-child(6) { animation-delay: 0.25s; }

.match-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.match-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.match-card { animation: slideUp 0.4s ease both; }
.match-card:nth-child(1) { animation-delay: 0.02s; }
.match-card:nth-child(2) { animation-delay: 0.05s; }
.match-card:nth-child(3) { animation-delay: 0.08s; }
.match-card:nth-child(4) { animation-delay: 0.11s; }
.match-card:nth-child(5) { animation-delay: 0.14s; }
.match-card:nth-child(6) { animation-delay: 0.17s; }
.match-card:nth-child(7) { animation-delay: 0.2s; }
.match-card:nth-child(8) { animation-delay: 0.23s; }
.match-card:nth-child(9) { animation-delay: 0.26s; }
.match-card:nth-child(10) { animation-delay: 0.29s; }

.group-box { animation: slideUp 0.5s ease both; }
.group-box:nth-child(1) { animation-delay: 0.02s; }
.group-box:nth-child(2) { animation-delay: 0.06s; }
.group-box:nth-child(3) { animation-delay: 0.1s; }
.group-box:nth-child(4) { animation-delay: 0.14s; }
.group-box:nth-child(5) { animation-delay: 0.18s; }
.group-box:nth-child(6) { animation-delay: 0.22s; }
.group-box:nth-child(7) { animation-delay: 0.26s; }
.group-box:nth-child(8) { animation-delay: 0.3s; }
.group-box:nth-child(9) { animation-delay: 0.34s; }
.group-box:nth-child(10) { animation-delay: 0.38s; }

.countdown .number { animation: countdownPop 0.6s ease 0.2s both; }

.badge-gold { animation: glow 2s infinite; }

.analysis-card { animation: slideUp 0.5s ease both; }
.analysis-card:nth-child(1) { animation-delay: 0.05s; }
.analysis-card:nth-child(2) { animation-delay: 0.1s; }
.analysis-card:nth-child(3) { animation-delay: 0.15s; }
.analysis-card:nth-child(4) { animation-delay: 0.2s; }

.btn-sm, .btn-cta { transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-sm:active, .btn-cta:active { transform: scale(0.95); }

.shimmer { background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%); background-size: 200px 100%; animation: shimmer 1.5s infinite; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg);
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(245,197,24,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(245,197,24,0.5); }

/* Bottom nav for mobile */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    z-index: 998;
    justify-content: space-around;
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text3);
    font-size: 10px;
    gap: 2px;
    padding: 2px 8px;
    transition: color 0.2s;
}
.bottom-nav a .nav-icon { font-size: 18px; }
.bottom-nav a.active { color: var(--gold); }

@media (max-width: 600px) {
    .bottom-nav { display: flex; }
    body { padding-bottom: 60px; }
    .back-to-top { bottom: 70px; }
}
