/* simulation.css */

/* ─── CSS Custom Properties ─────────────────────────────────────────── */
        :root {
            --color-bg-primary: #061A24;
            --color-bg-secondary: #061A24;
            --color-bg-surface: rgba(255, 255, 255, 0.03);
            --color-accent-primary: #00C4A1;
            --color-accent-light: #00C4A1;
            --color-accent-mist: #E8F9F6;
            --color-cta-orange: #00C4A1;
            --color-cta-amber: #00C4A1;
            --color-text-primary: #F0EDE6;
            --color-text-secondary: #F0EDE6;
            --color-text-muted: rgba(240, 237, 230, 0.6);
            --color-border: rgba(255, 255, 255, 0.08);
            --font-display: 'Editorial New', 'Fraunces', serif;
            --font-mono: 'DM Sans', sans-serif;
            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
        }

        html[data-theme="light"] {
            --color-bg-primary: #F7F4EE;
            --color-bg-secondary: #F7F4EE;
            --color-bg-surface: rgba(26, 42, 47, 0.05);
            --color-accent-primary: #0E6B5E;
            --color-accent-light: #0E6B5E;
            --color-accent-mist: #E8F9F6;
            --color-cta-orange: #0E6B5E;
            --color-cta-amber: #0E6B5E;
            --color-text-primary: #1A2A2F;
            --color-text-secondary: #1A2A2F;
            --color-text-muted: rgba(26, 42, 47, 0.7);
            --color-border: rgba(26, 42, 47, 0.08);
            color-scheme: light;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            background: var(--color-bg-primary);
            color: var(--color-text-primary);
            font-family: 'DM Sans', sans-serif;
            overflow-x: hidden;
            cursor: none;
        }

        h1,
        h2,
        h3,
        h4,
        .logo,
        .section-title,
        .hero-title,
        .hero-tagline {
            font-family: var(--font-display);
            font-weight: 300;
        }

        ::selection {
            background: var(--color-accent-primary);
            color: #000;
        }

        /* ─── Custom Cursor ──────────────────────────────────────────────────── */
        #cursor {
            position: fixed;
            top: 0;
            left: 0;
            width: 24px;
            height: 24px;
            pointer-events: none;
            z-index: 99999;
            transform: translate(-50%, -50%);
            transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
        }

        #cursor svg {
            width: 100%;
            height: 100%;
        }

        #cursor.boat-mode {
            width: 40px;
            height: 40px;
        }

        #cursor-trail {
            position: fixed;
            top: 0;
            left: 0;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--color-accent-primary);
            pointer-events: none;
            z-index: 99998;
            transform: translate(-50%, -50%);
            opacity: 0.5;
            transition: transform 0.15s var(--ease-out-expo);
        }

        /* ─── Scroll Progress Bar ────────────────────────────────────────────── */
        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            width: 0%;
            background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-light));
            z-index: 9999;
            transition: width 0.1s linear;
            box-shadow: 0 0 10px var(--color-accent-primary);
        }

        /* ─── Navigation ─────────────────────────────────────────────────────── */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            height: 90px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 50px;
            z-index: 1000;
            backdrop-filter: blur(12px);
            background: rgba(6, 26, 36, 0.85);
            border-bottom: 1px solid var(--color-border);
            transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
        }

        .logo {
            font-size: 1.6rem;
            color: var(--color-text-primary);
            text-decoration: none;
            font-family: var(--font-display);
            font-weight: 300;
            letter-spacing: -0.02em;
        }

        .nav-links {
            display: flex;
            gap: 40px;
            list-style: none;
            margin: 0;
            padding: 0;
            align-items: center;
        }

        .nav-links a {
            color: var(--color-text-muted);
            font-size: 0.95rem;
            transition: color 0.3s;
            position: relative;
            text-decoration: none;
            font-weight: 300;
            font-family: 'DM Sans', sans-serif;
        }

        .nav-links a:hover {
            color: var(--color-text-primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--color-accent-primary);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.4s ease;
        }

        .nav-links a:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

        .nav-cta {
            display: none;
        }

        .theme-toggle {
            background: transparent;
            border: 1px solid var(--color-border);
            color: var(--color-text-primary);
            padding: 6px 16px;
            border-radius: 40px;
            font-family: inherit;
            cursor: pointer;
            font-size: 0.85rem;
            transition: all 0.3s;
        }

        .theme-toggle:hover {
            background: var(--color-text-primary);
            color: var(--color-bg-primary);
        }

        .hamburger-btn {
            display: flex;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 2000;
            padding: 10px;
        }

        .hamburger-btn span {
            display: block;
            width: 25px;
            height: 2px;
            background: var(--color-text-primary);
            transition: 0.3s;
        }

        .side-drawer {
            position: fixed;
            top: 0;
            right: -320px;
            width: 320px;
            height: 100vh;
            background: var(--color-bg-primary);
            border-left: 1px solid var(--color-border);
            z-index: 1500;
            transition: right 0.4s ease;
            display: flex;
            flex-direction: column;
            padding: 100px 40px;
            gap: 30px;
        }

        .side-drawer.open {
            right: 0;
        }

        .side-drawer a {
            font-size: 1.4rem;
            color: var(--color-text-primary);
            text-decoration: none;
            font-family: var(--font-display);
            transition: color 0.3s;
        }

        .side-drawer a:hover {
            color: var(--color-accent-primary);
        }

        /* Disable normal nav-links if hamburger is here, or keep both? Let's hide nav-links on smaller screens and show hamburger */
        @media(max-width: 1024px) {
            .nav-links {
                display: none;
            }
        }


        /* ─── Hero Section ───────────────────────────────────────────────────── */
        #hero {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #pond-canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
        }

        #caustics-overlay {
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: radial-gradient(ellipse 60% 40% at 30% 40%, rgba(0, 196, 161, 0.05) 0%, transparent 70%),
                radial-gradient(ellipse 40% 30% at 70% 60%, rgba(0, 212, 170, 0.04) 0%, transparent 70%);
            animation: causticsDrift 8s ease-in-out infinite alternate;
        }

        @keyframes causticsDrift {
            from {
                opacity: 0.6;
                transform: scale(1) translate(0, 0);
            }

            to {
                opacity: 1;
                transform: scale(1.05) translate(2%, 1%);
            }
        }

        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 0 2rem;
        }

        .hero-badge {
            display: inline-block;
            border: 1px solid var(--color-border);
            background: rgba(0, 196, 161, 0.08);
            backdrop-filter: blur(8px);
            padding: 0.4rem 1.2rem;
            border-radius: 100px;
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: var(--color-accent-light);
            letter-spacing: 0.1em;
            margin-bottom: 1.5rem;
            animation: fadeInDown 0.8s var(--ease-out-expo) 0.3s both;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-title {
            font-size: clamp(4rem, 12vw, 9rem);
            font-weight: 800;
            letter-spacing: 0.15em;
            line-height: 0.9;
            text-shadow: 0 2px 40px rgba(0, 196, 161, 0.3);
            margin-bottom: 1rem;
            animation: fadeInUp 1s var(--ease-out-expo) 0.5s both;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-tagline {
            font-size: clamp(1.1rem, 3vw, 1.6rem);
            color: var(--color-text-secondary);
            font-weight: 600;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            display: flex;
            gap: 0.8rem;
            justify-content: center;
            margin-bottom: 2.5rem;
        }

        .tagline-word {
            opacity: 0;
            animation: wordFadeIn 0.6s var(--ease-out-expo) forwards;
        }

        .tagline-word:nth-child(1) {
            animation-delay: 1s;
        }

        .tagline-word:nth-child(2) {
            animation-delay: 1.3s;
        }

        .tagline-word:nth-child(3) {
            animation-delay: 1.6s;
        }

        @keyframes wordFadeIn {
            from {
                opacity: 0;
                transform: translateY(12px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-divider {
            color: var(--color-accent-primary);
            opacity: 0.5;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 1s var(--ease-out-expo) 1.8s both;
        }

        .btn-primary {
            background: var(--color-accent-primary);
            color: #000;
            padding: 0.85rem 2rem;
            border-radius: 6px;
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.06em;
            text-decoration: none;
            cursor: none;
            transition: all 0.3s ease;
            box-shadow: 0 0 30px rgba(0, 196, 161, 0.4);
        }

        .btn-primary:hover {
            background: var(--color-accent-light);
            box-shadow: 0 0 50px rgba(0, 196, 161, 0.7);
            transform: translateY(-2px);
        }

        .btn-outline {
            border: 1px solid var(--color-border);
            color: var(--color-text-secondary);
            padding: 0.85rem 2rem;
            border-radius: 6px;
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.06em;
            text-decoration: none;
            cursor: none;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(8px);
        }

        .btn-outline:hover {
            border-color: var(--color-accent-primary);
            color: #fff;
            background: rgba(0, 196, 161, 0.08);
            transform: translateY(-2px);
        }

        .hero-scroll-hint {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            animation: fadeInUp 1s var(--ease-out-expo) 2.2s both;
        }

        .hero-scroll-hint span {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--color-text-muted);
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        .scroll-arrow {
            width: 1px;
            height: 40px;
            background: linear-gradient(to bottom, var(--color-accent-primary), transparent);
            animation: scrollPulse 2s ease-in-out infinite;
        }

        @keyframes scrollPulse {

            0%,
            100% {
                opacity: 0.3;
                transform: scaleY(1);
            }

            50% {
                opacity: 1;
                transform: scaleY(1.1);
            }
        }

        /* ─── Boat Tooltip ────────────────────────────────────────────── */
        #boat-tooltip {
            position: fixed;
            z-index: 500;
            pointer-events: none;
            background: rgba(13, 51, 71, 0.95);
            backdrop-filter: blur(16px);
            border: 1px solid var(--color-border);
            border-radius: 8px;
            padding: 0.8rem 1rem;
            min-width: 160px;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        #boat-tooltip h4 {
            font-size: 0.8rem;
            color: var(--color-accent-light);
            font-family: var(--font-mono);
            margin-bottom: 0.4rem;
        }

        .tooltip-row {
            display: flex;
            justify-content: space-between;
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: var(--color-text-muted);
            margin-top: 0.2rem;
        }

        .tooltip-row span:last-child {
            color: var(--color-cta-orange);
        }

        /* ─── Section Common ─────────────────────────────────────────────────── */
        section {
            padding: 6rem 2rem;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-label {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--color-accent-primary);
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1.5rem;
        }

        .section-sub {
            color: var(--color-text-muted);
            font-size: 1.05rem;
            max-width: 560px;
            line-height: 1.7;
        }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ─── How It Works ───────────────────────────────────────────────────── */
        #how-it-works {
            background: var(--color-bg-primary);
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 4rem;
        }

        /* Boat-shaped card using clip-path */
        .step-card {
            position: relative;
            background: linear-gradient(160deg, rgba(14, 95, 107, 0.35) 0%, rgba(13, 51, 71, 0.6) 100%);
            border: 1px solid var(--color-border);
            border-radius: 28px 28px 40px 40px;
            padding: 0 0 2rem;
            text-align: center;
            transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
            backdrop-filter: blur(12px);
            overflow: hidden;
        }

        .step-card::before {
            /* hull stripe at bottom */
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 6px;
            border-radius: 0 0 40px 40px;
        }

        .step-card:nth-child(1)::before {
            background: #FF6B35;
            box-shadow: 0 0 20px #FF6B3555;
        }

        .step-card:nth-child(2)::before {
            background: #00C4A1;
            box-shadow: 0 0 20px #00C4A155;
        }

        .step-card:nth-child(3)::before {
            background: #FFB347;
            box-shadow: 0 0 20px #FFB34755;
        }

        .step-card:hover {
            transform: translateY(-10px);
            border-color: var(--color-accent-primary);
            box-shadow: 0 30px 80px rgba(0, 196, 161, 0.2), 0 0 0 1px rgba(0, 196, 161, 0.1);
        }

        /* Boat SVG header area */
        .step-boat-header {
            position: relative;
            width: 100%;
            height: 130px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, rgba(6, 26, 36, 0.6) 0%, transparent 100%);
            margin-bottom: 0.5rem;
        }

        .step-boat-svg {
            filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
        }

        .step-num {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--color-accent-primary);
            letter-spacing: 0.2em;
            margin: 0 0 0.5rem;
            padding: 0 2rem;
        }

        .step-title {
            font-size: 1.15rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
            padding: 0 1.5rem;
        }

        .step-desc {
            font-size: 0.83rem;
            color: var(--color-text-muted);
            line-height: 1.65;
            padding: 0 1.5rem;
        }

        .step-connector {
            display: none;
        }

        /* hidden — grid gap replaces it */
        .connector-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--color-accent-primary);
            box-shadow: 0 0 10px var(--color-accent-primary);
            animation: dotPulse 2s ease-in-out infinite;
        }

        @keyframes dotPulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.5);
                opacity: 0.6;
            }
        }

        /* ─── Live Dashboard ─────────────────────────────────────────────────── */
        #dashboard {
            background: var(--color-bg-secondary);
            position: relative;
            overflow: hidden;
        }

        #dashboard::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 196, 161, 0.04) 0%, transparent 70%);
            pointer-events: none;
        }

        .dashboard-card {
            background: rgba(6, 26, 36, 0.8);
            border: 1px solid var(--color-border);
            border-radius: 16px;
            overflow: hidden;
            backdrop-filter: blur(16px);
            box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
        }

        .dash-header {
            background: rgba(0, 196, 161, 0.06);
            border-bottom: 1px solid var(--color-border);
            padding: 1rem 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .dash-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .dash-dot.red {
            background: #ff5f57;
        }

        .dash-dot.yellow {
            background: #febc2e;
        }

        .dash-dot.green {
            background: #28c840;
        }

        .dash-title {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            color: var(--color-text-muted);
            margin-left: auto;
            letter-spacing: 0.1em;
        }

        .live-badge {
            background: rgba(255, 107, 53, 0.15);
            border: 1px solid rgba(255, 107, 53, 0.4);
            padding: 0.15rem 0.6rem;
            border-radius: 100px;
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--color-cta-orange);
            letter-spacing: 0.1em;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .live-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--color-cta-orange);
            animation: livePulse 1s ease-in-out infinite;
        }

        @keyframes livePulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.3;
            }
        }

        .dash-body {
            padding: 1.5rem;
        }

        .telemetry-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .tele-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--color-border);
            border-radius: 10px;
            padding: 1rem;
        }

        .tele-label {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--color-text-muted);
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .tele-value {
            font-family: var(--font-mono);
            font-size: 1.4rem;
            font-weight: 500;
            color: var(--color-accent-light);
        }

        .tele-value.orange {
            color: var(--color-cta-orange);
        }

        .tele-value.green {
            color: var(--color-accent-primary);
        }

        .tele-unit {
            font-size: 0.7rem;
            color: var(--color-text-muted);
            margin-left: 0.2rem;
        }

        .race-table {
            width: 100%;
            border-collapse: collapse;
        }

        .race-table th {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--color-text-muted);
            text-align: left;
            padding: 0.6rem 0.8rem;
            border-bottom: 1px solid var(--color-border);
        }

        .race-table td {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            padding: 0.75rem 0.8rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            color: var(--color-text-secondary);
        }

        .race-table tr:last-child td {
            border-bottom: none;
        }

        .boat-color-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 0.5rem;
        }

        .rank-badge {
            background: rgba(0, 196, 161, 0.1);
            border: 1px solid rgba(0, 196, 161, 0.3);
            border-radius: 4px;
            padding: 0.1rem 0.4rem;
            font-size: 0.65rem;
            color: var(--color-accent-primary);
        }

        .rank-badge.first {
            background: rgba(255, 179, 71, 0.1);
            border-color: rgba(255, 179, 71, 0.3);
            color: var(--color-cta-amber);
        }

        /* ─── Tokenomics ─────────────────────────────────────────────────────── */
        #tokenomics {
            background: var(--color-bg-primary);
        }

        .tokenomics-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
            margin-top: 4rem;
        }

        .donut-wrap {
            position: relative;
            width: 300px;
            height: 300px;
            margin: 0 auto;
        }

        #donut-canvas {
            width: 300px;
            height: 300px;
        }

        .donut-center {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .donut-center-label {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--color-text-muted);
            letter-spacing: 0.1em;
        }

        .donut-center-value {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
        }

        .token-legend {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .legend-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .legend-info {
            flex: 1;
        }

        .legend-name {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.1rem;
        }

        .legend-pct {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: var(--color-text-muted);
        }

        .legend-bar-wrap {
            height: 4px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 2px;
            flex: 1;
        }

        .legend-bar {
            height: 100%;
            border-radius: 2px;
            width: 0;
            transition: width 1.5s var(--ease-out-expo);
        }

        .token-details {
            margin-top: 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .token-stat {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--color-border);
            border-radius: 10px;
            padding: 1rem;
        }

        .token-stat-label {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--color-text-muted);
            letter-spacing: 0.1em;
            margin-bottom: 0.4rem;
        }

        .token-stat-val {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--color-accent-light);
        }

        /* ─── Roadmap ────────────────────────────────────────────────────────── */
        #roadmap {
            background: var(--color-bg-secondary);
        }

        .timeline {
            position: relative;
            max-width: 800px;
            margin: 4rem auto 0;
            padding-left: 3rem;
        }

        .timeline-line {
            position: absolute;
            left: 0.75rem;
            top: 0;
            bottom: 0;
            width: 2px;
            background: rgba(255, 255, 255, 0.05);
        }

        .timeline-fill {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 0;
            background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-light));
            transition: height 0.1s linear;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 3rem;
        }

        .timeline-dot {
            position: absolute;
            left: -2.45rem;
            top: 0.3rem;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--color-bg-secondary);
            border: 2px solid rgba(255, 255, 255, 0.1);
            transition: border-color 0.5s ease, box-shadow 0.5s ease;
        }

        .timeline-dot.active {
            border-color: var(--color-accent-primary);
            box-shadow: 0 0 15px var(--color-accent-primary);
            background: var(--color-accent-primary);
        }

        .timeline-phase {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--color-accent-primary);
            letter-spacing: 0.15em;
            margin-bottom: 0.5rem;
        }

        .timeline-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }

        .timeline-items-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .timeline-items-list li {
            background: rgba(0, 196, 161, 0.06);
            border: 1px solid var(--color-border);
            border-radius: 100px;
            padding: 0.25rem 0.9rem;
            font-size: 0.8rem;
            color: var(--color-text-muted);
        }

        .timeline-items-list li.done {
            color: var(--color-accent-light);
            border-color: rgba(0, 196, 161, 0.4);
        }

        /* ─── CTA Section — removed, keeping stub for nav anchor ─── */

        /* ─── Footer ─────────────────────────────────────────────────────────── */
        footer {
            background: var(--color-bg-primary);
            border-top: 1px solid var(--color-border);
            padding: 3rem 2rem;
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .footer-logo {
            font-size: 1.2rem;
            font-weight: 800;
            letter-spacing: 0.15em;
        }

        .footer-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .footer-links a {
            color: var(--color-text-muted);
            text-decoration: none;
            font-size: 0.8rem;
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: var(--color-accent-light);
        }

        .footer-copy {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: var(--color-text-muted);
        }

        /* ─── Responsive ─────────────────────────────────────────────────────── */
        @media (max-width: 1024px) {
            .steps-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1.25rem;
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 1rem 1.5rem;
            }

            .nav-links {
                display: none;
            }

            .steps-grid {
                grid-template-columns: 1fr;
                max-width: 420px;
                margin-left: auto;
                margin-right: auto;
            }

            .telemetry-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .tokenomics-layout {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .footer-inner {
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                justify-content: center;
                flex-wrap: wrap;
                gap: 1rem;
            }

            .dash-title {
                display: none;
            }

            .race-table th:nth-child(4),
            .race-table td:nth-child(4),
            .race-table th:nth-child(5),
            .race-table td:nth-child(5) {
                display: none;
            }

            section {
                padding: 4.5rem 1.25rem;
            }
        }

        @media (max-width: 480px) {
            .telemetry-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .hero-title {
                font-size: 3.5rem;
            }

            .hero-tagline {
                font-size: 1rem;
                gap: 0.5rem;
            }

            .hero-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .btn-primary,
            .btn-outline {
                text-align: center;
            }

            .token-details {
                grid-template-columns: 1fr 1fr;
            }

            .footer-links {
                gap: 0.75rem;
                flex-wrap: wrap;
                justify-content: center;
            }

            section {
                padding: 3.5rem 1rem;
            }

            .donut-wrap {
                width: 240px;
                height: 240px;
            }

            #donut-canvas {
                width: 240px !important;
                height: 240px !important;
            }
        }

/* Remaining Extractions */

/* Loader states - mapped to vy- prefix classes from shared.css */
        /* Legacy loader kept for existing simulation JS */
        #loader {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            z-index: 9999; pointer-events: none;
            display: flex; align-items: center; justify-content: center;
        }
        #loader-top, #loader-bottom {
            position: absolute; left: 0; width: 100%; height: 50vh;
            background: #000;
            transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
        }
        #loader-top { top: 0; }
        #loader-bottom { bottom: 0; }
        #loader-content {
            position: relative; z-index: 10001;
            display: flex; flex-direction: column; align-items: center;
            opacity: 0; transition: opacity 0.3s ease;
        }
        #loader-logo {
            font-family: var(--color-bg-primary), 'Fraunces', serif;
            font-size: 32px; color: #fff; letter-spacing: 0.08em;
            margin-bottom: 20px; font-style: italic; font-weight: 300;
        }
        #loader-line-wrapper { width: 120px; height: 2px; background: rgba(255,255,255,0.1); overflow: hidden; }
        #loader-line { width: 0%; height: 100%; background: #00C4A1; transition: width 0.6s ease; }

        body.loading > *:not(#loader) { opacity: 0 !important; transform: translateY(12px); }
        body > *:not(#loader) { transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s; }
        body.loaded #loader-top { transform: translateY(-100%); }
        body.loaded #loader-bottom { transform: translateY(100%); }
        body.loaded #loader-content { opacity: 0; }
        body.navigating #loader-top, body.navigating #loader-bottom { transform: translateY(0); }
        body.navigating > *:not(#loader) { opacity: 0 !important; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }

.fleet-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .fleet-card {
            background: rgba(6, 26, 36, 0.8);
            border: 1px solid var(--color-border);
            border-radius: 12px;
            overflow: hidden;
            backdrop-filter: blur(8px);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .fleet-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 196, 161, 0.2);
            border-color: var(--color-accent-primary);
        }

        .fleet-img {
            height: 180px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at center, rgba(0, 196, 161, 0.08), transparent);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .fleet-img img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
        }

        .fleet-info {
            padding: 1.25rem;
        }

        .fleet-info h3 {
            font-size: 1.1rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 0.8rem;
            letter-spacing: 0.05em;
        }

        .fleet-specs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.8rem;
            font-size: 0.75rem;
            font-family: var(--font-mono);
            color: var(--color-text-secondary);
        }

        .fleet-specs strong {
            display: block;
            font-size: 0.6rem;
            color: var(--color-text-muted);
            margin-bottom: 0.15rem;
            letter-spacing: 0.05em;
        }

@keyframes pulse-bg {
                    0% {
                        opacity: 0.4;
                        transform: scale(1);
                    }

                    100% {
                        opacity: 1;
                        transform: scale(1.1);
                    }
                }

                @keyframes blink {

                    0%,
                    100% {
                        opacity: 1;
                    }

                    50% {
                        opacity: 0.3;
                    }
                }