 
:root {
    --bg-0: #06090d;
    --bg-1: #0c1117;
    --bg-2: #131a24;
    --bg-3: #1a2332;
    --bg-card: rgba(19, 26, 36, 0.7);
    --bg-glass: rgba(19, 26, 36, 0.5);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --red-400: #f87171;
    --red-500: #ef4444;
    --green-400: #4ade80;
    --green-500: #22c55e;

    --text-0: #ffffff;
    --text-1: #e2e8f0;
    --text-2: #94a3b8;
    --text-3: #64748b;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg-0);
    color: var(--text-1);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--orange-500); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--orange-400); }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

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

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(6, 9, 13, 0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s var(--ease);
}
.navbar.scrolled { background: rgba(6, 9, 13, 0.92); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text-0); transition: transform 0.2s var(--ease); }
.nav-logo:hover { color: var(--text-0); transform: scale(1.03); }
.logo-img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.hero-logo-img { width: 200px; height: 200px; object-fit: contain; }
.logo-text { font-weight: 800; font-size: 1.1rem; letter-spacing: 1px; }
.logo-accent { color: var(--purple-400); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    color: var(--text-2); font-size: 0.85rem; font-weight: 500; padding: 6px 12px;
    border-radius: var(--radius-xs); transition: all 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text-0); background: rgba(255,255,255,0.05); }
.nav-cta {
    background: var(--purple-600) !important; color: #fff !important;
    font-weight: 600 !important; padding: 6px 16px !important;
    border-radius: 20px !important;
}
.nav-cta:hover { background: var(--purple-500) !important; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 8px; position: relative; z-index: 101;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-0); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 100px 24px 60px; position: relative; z-index: 1;
    background: radial-gradient(ellipse at 50% 0%, rgba(147, 51, 234, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
                var(--bg-0);
}

.hero-badge-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; }
.hero-badge {
    font-size: 0.7rem; font-weight: 700; padding: 5px 14px; border-radius: 20px;
    letter-spacing: 1.5px; text-transform: uppercase;
}
.badge-green { background: rgba(34, 197, 94, 0.15); color: var(--green-400); border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: var(--red-400); border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-orange { background: rgba(249, 115, 22, 0.15); color: var(--orange-400); border: 1px solid rgba(249, 115, 22, 0.3); }
.badge-purple { background: rgba(168, 85, 247, 0.15); color: var(--purple-400); border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-blue { background: rgba(59, 130, 246, 0.15); color: var(--blue-400); border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-red.hero-badge { animation: pulse-glow 2s ease-in-out infinite; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 16px 4px rgba(239, 68, 68, 0.15); }
}

.hero-cat-icon {
    margin-bottom: 24px;
    filter: drop-shadow(0 0 40px rgba(147, 51, 234, 0.3));
    animation: float-cat 6s ease-in-out infinite;
}

@keyframes float-cat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-title { margin-bottom: 16px; line-height: 0.95; }
.hero-line {
    display: block; font-weight: 900; letter-spacing: 6px;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-line-1 {
    font-size: clamp(3.5rem, 12vw, 7rem);
    background-image: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
}
.hero-line-2 {
    font-size: clamp(4rem, 14vw, 8.5rem);
    background-image: linear-gradient(135deg, var(--purple-400), var(--orange-500));
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem); color: var(--text-2);
    max-width: 550px; margin: 0 auto 36px; min-height: 4.95em;
    font-family: var(--mono); font-size: 0.95rem;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-3); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
    animation: fade-in-up 1s ease 2s both;
}

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer;
    transition: all 0.25s var(--ease); position: relative; overflow: hidden;
}
.btn-glow {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: #fff; box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
}
.btn-glow:hover {
    transform: translateY(-2px); color: #fff;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.35);
}
.btn-glow::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%); transition: transform 0.5s var(--ease);
}
.btn-glow:hover::after { transform: translateX(100%); }

.btn-outline {
    background: transparent; color: var(--text-1);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover { color: #fff; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius); }

.section { padding: 100px 0; position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    color: var(--purple-400); letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 12px; font-family: var(--mono);
}
.section-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--text-0); margin-bottom: 10px; }
.section-desc { color: var(--text-2); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

.stats-section { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.stat-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 24px; text-align: center; position: relative; overflow: hidden;
    backdrop-filter: blur(10px); transition: all 0.3s var(--ease);
}
.stat-card::before {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), transparent);
    opacity: 0; transition: opacity 0.3s var(--ease);
}
.stat-card:hover { border-color: var(--purple-500); transform: translateY(-4px); }
.stat-card:hover::before { opacity: 1; }

.stat-icon { color: var(--purple-400); margin-bottom: 16px; }
.stat-value {
    font-size: 2.8rem; font-weight: 900; font-family: var(--mono);
    background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1.1; margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-1); margin-bottom: 4px; }
.stat-note { font-size: 0.75rem; color: var(--text-3); font-style: italic; }

.weather-section { background: var(--bg-1); }
.weather-dashboard { display: flex; flex-direction: column; gap: 20px; }

.weather-main {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px;
    display: flex; align-items: center; gap: 32px;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, var(--bg-card), rgba(249, 115, 22, 0.03));
}

.sun-animation { width: 80px; height: 80px; position: relative; flex-shrink: 0; }
.sun-core {
    position: absolute; top: 50%; left: 50%; width: 32px; height: 32px;
    background: var(--orange-500); border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5), 0 0 60px rgba(249, 115, 22, 0.2);
}
.sun-ray {
    position: absolute; top: 50%; left: 50%; width: 3px; height: 12px;
    background: var(--orange-400); border-radius: 2px;
    transform-origin: center -12px;
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-24px);
    animation: sun-pulse 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.15s);
}
@keyframes sun-pulse {
    0%, 100% { opacity: 0.6; height: 12px; }
    50% { opacity: 1; height: 16px; }
}

.weather-main-temp { font-size: 2rem; font-weight: 900; color: var(--orange-500); }
.weather-main-desc { color: var(--text-2); margin-top: 4px; }
.weather-main-location { color: var(--text-3); font-size: 0.85rem; margin-top: 8px; font-family: var(--mono); }

.weather-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.weather-tile {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; backdrop-filter: blur(10px); transition: all 0.3s var(--ease);
}
.weather-tile:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.weather-tile-icon { font-size: 2rem; margin-bottom: 12px; }
.weather-tile-label {
    font-size: 0.7rem; font-weight: 700; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
}
.weather-tile-value { font-size: 1.05rem; font-weight: 700; color: var(--text-0); margin-bottom: 4px; }
.weather-tile-sub { font-size: 0.8rem; color: var(--text-3); }

.live-dot {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    font-size: 2rem !important; color: var(--red-400) !important; font-weight: 900; font-family: var(--mono);
}
.live-dot::after {
    content: ''; width: 10px; height: 10px; background: var(--red-500); border-radius: 50%;
    animation: blink-dot 1.2s ease-in-out infinite;
}
@keyframes blink-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }

.ticker-bar {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.06));
    border-top: 1px solid rgba(239, 68, 68, 0.2);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    padding: 14px 0; z-index: 1; position: relative;
}
.ticker-inner { display: flex; align-items: center; gap: 16px; }
.ticker-label {
    display: flex; align-items: center; gap: 8px; font-size: 0.75rem;
    font-weight: 800; color: var(--red-400); letter-spacing: 2px; white-space: nowrap;
    flex-shrink: 0;
}
.ticker-dot {
    width: 8px; height: 8px; background: var(--red-500); border-radius: 50%;
    animation: blink-dot 1s ease-in-out infinite;
}
.ticker-text-wrap { overflow: hidden; flex: 1; }
.ticker-text {
    font-weight: 600; font-size: 0.9rem; color: var(--text-1);
    transition: all 0.4s var(--ease);
}

.map-section {
    background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}
.map-container {
    margin: 0 auto; position: relative;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px 30px 20px;
    backdrop-filter: blur(10px);
}
#d3-map { width: 100%; min-height: 380px; }
#d3-map svg { width: 100%; height: auto; display: block; }

.map-district {
    fill: rgba(168, 85, 247, 0.06); stroke: rgba(168, 85, 247, 0.2);
    stroke-width: 0.4; cursor: pointer; transition: fill 0.3s ease, stroke 0.3s ease, filter 0.3s ease;
}
.map-district:hover {
    fill: rgba(168, 85, 247, 0.3); stroke: var(--purple-400);
    stroke-width: 1;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
}

.map-tooltip {
    position: absolute; background: var(--bg-3); border: 1px solid var(--purple-500);
    border-radius: var(--radius-sm); padding: 14px 18px;
    pointer-events: none; opacity: 0; z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); max-width: 280px;
    transition: opacity 0.2s var(--ease);
}
.map-tooltip.visible { opacity: 1; }
.map-tooltip-title { font-weight: 700; font-size: 0.85rem; color: var(--purple-400); margin-bottom: 4px; }
.map-tooltip-text { font-size: 0.85rem; color: var(--text-2); }

.map-legend {
    display: flex; gap: 24px; justify-content: center; padding-top: 20px;
    border-top: 1px solid var(--border); margin-top: 20px;
}
.map-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-3); }
.map-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.game-section { background: var(--bg-0); }
.game-wrapper { display: flex; flex-direction: column; gap: 20px; }
.game-container {
    position: relative; width: 100%; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}
#flappy-canvas { display: block; }
.game-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(12, 10, 20, 0.85); backdrop-filter: blur(8px); z-index: 2; cursor: pointer;
}
.game-overlay-content { text-align: center; padding: 20px; }
.game-logo-preview { font-size: 3rem; margin-bottom: 10px; }
.game-overlay-content h3 {
    font-size: 1.5rem; font-weight: 800; margin-bottom: 8px;
    background: linear-gradient(135deg, var(--purple-400), var(--orange-500));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.game-overlay-content p { color: var(--text-2); font-size: 0.9rem; }
.game-start-btn {
    display: inline-block; margin-top: 16px; padding: 14px 48px;
    font-size: 1.1rem; font-weight: 800; letter-spacing: 3px;
    color: #fff; border: none; cursor: pointer; border-radius: 50px;
    background: linear-gradient(135deg, var(--purple-500), var(--orange-500));
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 60px rgba(168, 85, 247, 0.15);
    animation: pulse-glow 2s ease-in-out infinite;
    transition: transform 0.2s var(--ease);
}
.game-start-btn:hover { transform: scale(1.08); }
.game-start-btn:active { transform: scale(0.95); }
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 60px rgba(168, 85, 247, 0.15); transform: scale(1); }
    50% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 0 80px rgba(249, 115, 22, 0.3); transform: scale(1.05); }
}
.game-highscore { color: var(--purple-400); font-weight: 700; font-size: 0.85rem; margin-top: 10px; font-family: var(--mono); }
.game-score {
    position: absolute; top: 16px; right: 20px; z-index: 1;
    font-size: 2.5rem; font-weight: 900; color: rgba(255,255,255,0.8);
    font-family: var(--mono); text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    pointer-events: none;
}
.game-info {
    display: flex; flex-direction: row; gap: 16px; flex-wrap: wrap;
}
.game-info-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px 18px; flex: 1; min-width: 200px;
}
.game-info-label {
    display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--purple-400); font-weight: 700; margin-bottom: 4px;
}
.game-info-value { display: block; font-size: 0.85rem; color: var(--text-2); }
.game-select {
    display: block; width: 100%; margin-top: 6px; padding: 8px 12px;
    background: var(--bg-2); color: var(--text-1); border: 1px solid var(--border);
    border-radius: var(--radius-xs); font-family: var(--font); font-size: 0.85rem;
    cursor: pointer; outline: none; transition: border-color 0.2s var(--ease);
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    padding-right: 32px;
}
.game-select:hover { border-color: var(--purple-500); }
.game-select:focus { border-color: var(--purple-400); box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2); }
.game-select option { background: var(--bg-2); color: var(--text-1); }

.news-section { background: var(--bg-1); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.news-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; backdrop-filter: blur(10px); transition: all 0.3s var(--ease);
    display: flex; flex-direction: column;
}
.news-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.news-card-featured { grid-column: 1 / -1; }
.news-card-featured h3 { font-size: 1.5rem; }

.news-card-badge {
    display: inline-block; font-size: 0.65rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px; letter-spacing: 1px;
    margin-bottom: 14px; width: fit-content;
}
.news-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-0); margin-bottom: 10px; line-height: 1.35; }
.news-card p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.news-card-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-3); }
.news-card-read { font-family: var(--mono); font-size: 0.75rem; }

.compare-section { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%); }
.table-wrap {
    overflow-x: auto; border-radius: var(--radius);
    border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
    padding: 16px 22px; text-align: left;
    border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.compare-table thead th {
    background: var(--bg-2); font-weight: 700; color: var(--text-2);
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
}
.compare-table tbody td { color: var(--text-2); }
.compare-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

.col-highlight {
    background: rgba(168, 85, 247, 0.06) !important;
    color: var(--purple-400) !important; font-weight: 600;
}

.badge-inline {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    padding: 2px 8px; border-radius: 4px;
}
.badge-inline.badge-red { background: rgba(239,68,68,0.15); color: var(--red-400); }
.badge-inline.badge-green { background: rgba(34,197,94,0.15); color: var(--green-400); }

.counter-section { background: var(--bg-1); }
.counter-box {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 48px; text-align: center;
    backdrop-filter: blur(10px); max-width: 600px; margin: 0 auto;
}
.counter-label { font-size: 0.85rem; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.counter-value {
    font-size: clamp(5rem, 15vw, 8rem); font-weight: 900; font-family: var(--mono);
    background: linear-gradient(135deg, var(--orange-400), var(--red-500));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1.1; margin: 16px 0;
}
.counter-sub { color: var(--text-3); font-size: 0.85rem; margin-bottom: 24px; }
.counter-bar {
    width: 100%; height: 8px; background: var(--bg-2);
    border-radius: 4px; overflow: hidden;
}
.counter-bar-fill {
    height: 100%; width: 0; border-radius: 4px;
    background: linear-gradient(90deg, var(--orange-500), var(--red-500));
    transition: width 2s var(--ease);
}
.counter-bar-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.75rem; color: var(--text-3); }

.intro-section { background: var(--bg-1); padding: 60px 0; }
.intro-box, .about-box {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 40px; backdrop-filter: blur(10px);
}
.intro-heading, .about-heading {
    font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; color: var(--text-0);
    margin-bottom: 20px; line-height: 1.35;
}
.intro-text p, .about-text p {
    color: var(--text-2); font-size: 0.95rem; margin-bottom: 14px; line-height: 1.75;
}
.intro-text p:last-child, .about-text p:last-child { margin-bottom: 0; }
.intro-text a, .about-text a { color: var(--orange-500); font-weight: 600; }
.intro-text a:hover, .about-text a:hover { color: var(--orange-400); text-decoration: underline; }

.evidence-section { background: var(--bg-0); }
.evidence-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.evidence-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; backdrop-filter: blur(10px); transition: all 0.3s var(--ease);
    display: flex; flex-direction: column;
}
.evidence-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.evidence-card-featured { grid-column: 1 / -1; }
.evidence-card-featured h3 { font-size: 1.4rem; }

.evidence-badge {
    display: inline-block; font-size: 0.65rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px; letter-spacing: 1px;
    margin-bottom: 14px; width: fit-content;
}
.evidence-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-0); margin-bottom: 10px; line-height: 1.35; }
.evidence-card p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 16px; }

.evidence-img-wrap {
    border-radius: var(--radius-sm); overflow: hidden;
    border: 1px solid var(--border); margin-top: auto;
}
.evidence-img {
    width: 100%; height: auto; display: block;
    transition: transform 0.3s var(--ease);
}
.evidence-card:hover .evidence-img { transform: scale(1.02); }

.evidence-note {
    margin-top: 32px; text-align: center;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px 24px;
}
.evidence-note p { color: var(--text-3); font-size: 0.85rem; margin: 0; }
.evidence-note a { color: var(--orange-500); }

@media (max-width: 768px) {
    .evidence-grid { grid-template-columns: 1fr; }
    .evidence-card-featured { grid-column: auto; }
}

.about-section { background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%); padding: 80px 0; }

.cassandra-intro {
    display: flex; align-items: flex-start; gap: 16px;
    background: rgba(168, 85, 247, 0.06); border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px;
    max-width: 650px; margin-left: auto; margin-right: auto; margin-bottom: 32px;
    text-align: left;
}
.cassandra-avatar { font-size: 2.2rem; flex-shrink: 0; line-height: 1; }
.cassandra-bubble { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.cassandra-bubble strong { color: var(--purple-400); font-size: 0.8rem; display: block; margin-bottom: 4px; }
#cassandra-quote { transition: opacity 0.3s var(--ease); }

.cassandra-note { margin-bottom: 16px; }
.cassandra-label {
    font-size: 0.8rem; font-weight: 700; color: var(--purple-400);
    font-family: var(--mono); letter-spacing: 0.5px;
}

.share-section { background: var(--bg-0); padding: 80px 0; }
.share-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(249, 115, 22, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius); padding: 48px;
}
.share-cassandra { font-size: 3rem; margin-bottom: 12px; }
.share-box h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; color: var(--text-0); margin-bottom: 10px; }
.share-box > p { color: var(--text-2); font-size: 0.95rem; max-width: 500px; margin: 0 auto 28px; }
.share-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-btn {
    background: rgba(168, 85, 247, 0.15); color: var(--purple-400);
    border: 1px solid rgba(168, 85, 247, 0.3); cursor: pointer;
}
.share-btn:hover {
    background: rgba(168, 85, 247, 0.25); color: #fff;
    transform: translateY(-2px);
}
.cta-micro { font-size: 0.8rem; color: var(--text-3); margin-top: 16px; font-style: italic; }

.cta-section { background: var(--bg-0); padding: 120px 0; }
.cta-box {
    background: linear-gradient(135deg, var(--bg-2), rgba(147, 51, 234, 0.08));
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: var(--radius); padding: 64px; position: relative; overflow: hidden;
    text-align: center;
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 12px; color: var(--text-0); }
.cta-content p { color: var(--text-2); font-size: 1.1rem; margin-bottom: 32px; }
.text-gradient {
    background: linear-gradient(135deg, var(--purple-400), var(--orange-500));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.cta-visual { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); z-index: 1; }
.aurora-ring {
    width: 250px; height: 250px; border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.15);
    animation: aurora-pulse 4s ease-in-out infinite;
}
.ring-2 {
    position: absolute; top: 30px; left: 30px;
    width: 190px; height: 190px;
    border-color: rgba(249, 115, 22, 0.12);
    animation-delay: 0.5s;
}
.ring-3 {
    position: absolute; top: 60px; left: 60px;
    width: 130px; height: 130px;
    border-color: rgba(34, 197, 94, 0.1);
    animation-delay: 1s;
}
@keyframes aurora-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

.site-footer {
    background: var(--bg-0); border-top: 1px solid var(--border);
    padding: 48px 0 24px; position: relative; z-index: 1;
}
.footer-disclaimer {
    background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-sm); padding: 18px 24px; margin-bottom: 40px;
    font-size: 0.85rem; color: var(--text-2); line-height: 1.6;
}
.footer-disclaimer strong { color: var(--red-400); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-tagline { color: var(--text-3); font-size: 0.9rem; margin-top: 8px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col li a { color: var(--text-3); font-size: 0.85rem; }
.footer-col li a:hover { color: var(--orange-400); }
.footer-col li:not(:has(a)) { color: var(--text-3); font-size: 0.85rem; }

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-3); font-size: 0.8rem; }

.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
    background: var(--bg-2); border: 1px solid var(--purple-500);
    border-radius: var(--radius); padding: 48px; text-align: center;
    max-width: 420px; width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s var(--ease-spring);
}
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
.modal-icon { font-size: 3.5rem; margin-bottom: 16px; }
.modal-box h3 { font-size: 1.8rem; font-weight: 900; color: var(--text-0); margin-bottom: 8px; }
.modal-box p { color: var(--text-2); margin-bottom: 12px; }
.modal-small { font-size: 0.85rem; color: var(--text-3); margin-bottom: 24px !important; }

.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

@keyframes fade-in-up { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .weather-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card-featured { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; top: 60px; left: 0; right: 0;
        background: rgba(6, 9, 13, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 20px 24px; gap: 8px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .hero { min-height: auto; padding: 120px 24px 60px; }
    .hero-scroll-hint { display: none; }

    .weather-main { flex-direction: column; text-align: center; padding: 28px; }
    .weather-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }

    .cta-box { padding: 40px 28px; }
    .cta-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .map-container { padding: 24px 16px 16px; }
    .map-legend { flex-direction: column; align-items: center; gap: 8px; }
    .game-info { flex-direction: column; }
    .game-info-item { min-width: auto; }
    .intro-box, .about-box { padding: 20px 16px; }
    .container { padding: 0 12px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .weather-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .counter-box { padding: 32px 20px; }
    .stat-value { font-size: 2.2rem; }
}

:focus-visible { outline: 2px solid var(--purple-500); outline-offset: 2px; }

::selection { background: var(--purple-600); color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-600); }

.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(10, 10, 26, 0.97); border-top: 1px solid rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(12px); padding: 16px 0;
    animation: cookieSlide 0.4s ease-out;
}
@keyframes cookieSlide { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text strong { color: #a855f7; font-size: 0.95rem; }
.cookie-text p { color: #94a3b8; font-size: 0.82rem; margin-top: 4px; line-height: 1.4; }
.cookie-text a { color: #a855f7; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
    padding: 8px 24px; background: linear-gradient(135deg, #9333ea, #f97316); color: #fff;
    border: none; border-radius: 8px; font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.cookie-accept:hover { opacity: 0.9; }
.cookie-reject {
    padding: 8px 24px; background: transparent; color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 8px; font-size: 0.85rem; cursor: pointer;
}
.cookie-reject:hover { color: #fff; border-color: #a855f7; }
