/* ============================================================
   EarthStatus — Design System & Styles
   iOS-inspired glassmorphism, warm neutrals, no blue/purple/green gradients
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Base palette — deep warm black */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.10);
    --bg-card-featured: rgba(255, 255, 255, 0.08);
    --bg-nav: rgba(20, 20, 20, 0.65);

    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(255, 255, 255, 0.22);
    --glass-blur: 60px;
    --glass-saturate: 2.0;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text-primary: #f5f5f7;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-tertiary: rgba(255, 255, 255, 0.3);
    --text-value: #ffffff;

    /* Accent colors — warm, no blue/purple/green */
    --accent-primary: #ff9f0a;       /* iOS orange */
    --accent-primary-dim: rgba(255, 159, 10, 0.12);
    --accent-primary-glow: rgba(255, 159, 10, 0.06);

    --accent-warm: #ff6b6b;          /* soft coral */
    --accent-warm-dim: rgba(255, 107, 107, 0.12);

    --accent-gold: #ffd60a;          /* iOS yellow */
    --accent-gold-dim: rgba(255, 214, 10, 0.12);

    --accent-rose: #ff375f;          /* iOS red */
    --accent-rose-dim: rgba(255, 55, 95, 0.12);

    --accent-peach: #ff9f7f;
    --accent-peach-dim: rgba(255, 159, 127, 0.12);

    --accent-sand: #c4a882;
    --accent-sand-dim: rgba(196, 168, 130, 0.12);

    --accent-silver: #98989d;
    --accent-silver-dim: rgba(152, 152, 157, 0.12);

    --accent-cream: #e8d5b7;
    --accent-cream-dim: rgba(232, 213, 183, 0.12);

    /* Trend colors — warm tones only */
    --trend-up: #ffb340;
    --trend-down: #ff453a;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    /* Sizing */
    --nav-height: 52px;
    --max-width: 1280px;
    --section-gap: 80px;
    --card-radius: 12px;
    --card-padding: 10px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light mode */
[data-theme="light"] {
    --bg-primary: #f2f1f6;
    --bg-secondary: #e5e5ea;
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-card-hover: rgba(255, 255, 255, 0.8);
    --bg-card-featured: rgba(255, 255, 255, 0.72);
    --bg-nav: rgba(242, 241, 246, 0.72);

    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(0, 0, 0, 0.1);

    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-hover: rgba(0, 0, 0, 0.1);

    --text-primary: #1c1c1e;
    --text-secondary: rgba(0, 0, 0, 0.5);
    --text-tertiary: rgba(0, 0, 0, 0.28);
    --text-value: #000000;
}


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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
    font-family: var(--font-primary);
    background: #050510;
    background-image: url('galaxy-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ---- Ambient Background — dark overlay for readability over galaxy ---- */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: rgba(5, 5, 16, 0.4);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    animation: orbFloat 25s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ff9f0a 0%, transparent 65%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
    opacity: 0;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff6b6b 0%, transparent 65%);
    top: 25%;
    right: -8%;
    animation-delay: -6s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #ffd60a 0%, transparent 65%);
    bottom: 20%;
    left: 5%;
    animation-delay: -12s;
}

.orb-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ff375f 0%, transparent 65%);
    bottom: -5%;
    right: 15%;
    animation-delay: -18s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(25px, -35px) scale(1.04); }
    50% { transform: translate(-18px, 18px) scale(0.96); }
    75% { transform: translate(35px, 25px) scale(1.02); }
}


/* ---- Navigation ---- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

#main-nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--text-primary);
}

.brand-badge {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--accent-rose);
    background: var(--accent-rose-dim);
    padding: 2px 6px;
    border-radius: 4px;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

.nav-link {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.1px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--accent-primary);
    background: var(--accent-primary-dim);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.clock {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    color: var(--text-primary);
    border-color: var(--glass-border-hover);
    background: rgba(255, 255, 255, 0.08);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all var(--transition-base);
}


/* ---- Hero Section ---- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-primary);
    background: var(--accent-primary-dim);
    border: 1px solid rgba(255, 159, 10, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 0.2px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0;
    animation: pulseRing 2s ease-in-out infinite;
}

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

@keyframes pulseRing {
    0% { opacity: 0.35; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.8); }
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, #ff9f0a 0%, #ff6b6b 50%, #ffd60a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 40px;
    line-height: 1.65;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-mono);
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 600;
    color: var(--text-value);
    letter-spacing: -0.5px;
    margin-bottom: 3px;
}

.hero-stat-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-subtle);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    background: var(--accent-primary);
    padding: 11px 26px;
    border-radius: 14px;
    text-decoration: none;
    transition: all var(--transition-base);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    box-shadow: 0 2px 16px rgba(255, 159, 10, 0.2);
}

.hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 159, 10, 0.3);
}

.hero-cta svg {
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Globe */
.hero-globe {
    position: absolute;
    width: 364px;
    height: 364px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ---- Section Layout ---- */
.stat-section {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px var(--section-gap);
}

/* Section accent glows — give backdrop-filter something to blur */
.stat-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
}

.stat-section[data-accent="blue"]::before {
    background: #ff9f0a;
    top: -80px;
    left: -60px;
}

.stat-section[data-accent="green"]::before {
    background: #ffd60a;
    top: -60px;
    right: -40px;
    left: auto;
}

.stat-section[data-accent="amber"]::before {
    background: #ff9f7f;
    top: -80px;
    left: 20%;
}

.stat-section[data-accent="red"]::before {
    background: #ff375f;
    top: -60px;
    right: 10%;
    left: auto;
}

.stat-section[data-accent="cyan"]::before {
    background: #c4a882;
    top: -80px;
    left: -40px;
}

.stat-section[data-accent="purple"]::before {
    background: #ff9f0a;
    top: -60px;
    right: -20px;
    left: auto;
}

.stat-section[data-accent="emerald"]::before {
    background: #ffd60a;
    top: -80px;
    left: 30%;
}

.stat-section[data-accent="pink"]::before {
    background: #ff6b6b;
    top: -60px;
    right: 20%;
    left: auto;
}

.stat-section:first-of-type {
    padding-top: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-primary-dim);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 159, 10, 0.1);
}

.section-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-primary);
}

/* Section-specific icon colors */
.section-icon.icon-green { background: var(--accent-gold-dim); border-color: rgba(255, 214, 10, 0.1); }
.section-icon.icon-green svg { stroke: var(--accent-gold); }
.section-icon.icon-amber { background: var(--accent-peach-dim); border-color: rgba(255, 159, 127, 0.1); }
.section-icon.icon-amber svg { stroke: var(--accent-peach); }
.section-icon.icon-red { background: var(--accent-rose-dim); border-color: rgba(255, 55, 95, 0.1); }
.section-icon.icon-red svg { stroke: var(--accent-rose); }
.section-icon.icon-cyan { background: var(--accent-sand-dim); border-color: rgba(196, 168, 130, 0.1); }
.section-icon.icon-cyan svg { stroke: var(--accent-sand); }
.section-icon.icon-purple { background: var(--accent-silver-dim); border-color: rgba(152, 152, 157, 0.1); }
.section-icon.icon-purple svg { stroke: var(--accent-silver); }
.section-icon.icon-emerald { background: var(--accent-cream-dim); border-color: rgba(232, 213, 183, 0.1); }
.section-icon.icon-emerald svg { stroke: var(--accent-cream); }
.section-icon.icon-pink { background: var(--accent-warm-dim); border-color: rgba(255, 107, 107, 0.1); }
.section-icon.icon-pink svg { stroke: var(--accent-warm); }

.section-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 1px;
}


/* ---- Stats Grid ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
}


/* ---- Stat Card — iOS Glassmorphism ---- */
.stat-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    transition: all var(--transition-base);
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    box-shadow:
        0 2px 16px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.stat-card.visible:hover {
    transform: translateY(-2px);
}

/* Top inner highlight — frosted glass shine */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 100%);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    pointer-events: none;
}

/* Subtle noise texture overlay for true glass feel */
.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.stat-card-featured {
    grid-column: span 2;
    background: var(--bg-card-featured);
}

.stat-card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.06;
    filter: blur(50px);
    pointer-events: none;
    transition: opacity var(--transition-slow);
    z-index: -1;
}

.stat-card:hover .stat-card-glow {
    opacity: 0.12;
}

.glow-green { background: var(--accent-gold); }
.glow-amber { background: var(--accent-peach); }
.glow-red { background: var(--accent-rose); }
.glow-cyan { background: var(--accent-sand); }
.glow-purple { background: var(--accent-silver); }
.glow-emerald { background: var(--accent-cream); }
.glow-pink { background: var(--accent-warm); }

.stat-label {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-value);
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 2px;
    transition: color var(--transition-fast);
}

.stat-card-featured .stat-value {
    font-size: 20px;
}

.trend-up-color { color: var(--trend-up) !important; }
.trend-down-color { color: var(--trend-down) !important; }

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 3px;
}

.stat-trend.trend-up {
    color: var(--trend-up);
}

.stat-trend.trend-down {
    color: var(--trend-down);
}

.stat-sub {
    font-size: 9px;
    color: var(--text-tertiary);
}

.stat-source {
    font-size: 8px;
    color: var(--text-tertiary);
    opacity: 0.65;
    margin-top: 2px;
}


/* ---- Counter Flash Effect ---- */
.counter-flash {
    animation: flashValue 0.3s ease-out;
}

@keyframes flashValue {
    0% { text-shadow: 0 0 10px rgba(255, 159, 10, 0.3); }
    100% { text-shadow: none; }
}


/* ---- Footer ---- */
#main-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 20px 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 3px 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 10px;
    color: var(--text-tertiary);
    line-height: 1.8;
}

.footer-disclaimer {
    font-style: italic;
    opacity: 0.6;
}


/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
        -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 10px;
        gap: 2px;
        display: none;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-hamburger {
        display: flex;
    }

    .stat-card-featured {
        grid-column: span 1;
    }

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

    .hero-stat-divider {
        width: 32px;
        height: 1px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 48px;
        --card-padding: 18px;
        --card-radius: 16px;
    }

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

    .stat-value {
        font-size: 22px;
    }

    .stat-card-featured .stat-value {
        font-size: 26px;
    }

    .hero-title {
        letter-spacing: -1.2px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .clock {
        display: none;
    }
}

@media (max-width: 480px) {
    .stat-value {
        font-size: 20px;
    }

    .stat-card-featured .stat-value {
        font-size: 22px;
    }

    .section-title {
        font-size: 18px;
    }
}


/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.14);
}


/* ---- Selection ---- */
::selection {
    background: rgba(255, 159, 10, 0.25);
    color: #fff;
}
