/* Solara Hub — premium landing */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #020204;
    --bg-2: #06060c;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.08);
    --line-bright: rgba(255, 255, 255, 0.16);
    --violet: #8b5cf6;
    --violet-bright: #a78bfa;
    --cyan: #22d3ee;
    --pink: #f472b6;
    --gold: #fbbf24;
    --green: #4ade80;
    --text: #fafafa;
    --muted: rgba(250, 250, 250, 0.55);
    --dim: rgba(250, 250, 250, 0.32);
    --font-sans: "Geist Sans", system-ui, -apple-system, sans-serif;
    --font-display: var(--font-sans);
    --font-body: var(--font-sans);
    --font-mono: "Geist Mono", ui-monospace, monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
    --header-h: 88px;
    --dock-h: 58px;
    --container: min(1280px, 100% - 3rem);
    --section-pad: clamp(5rem, 12vw, 9rem);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "cv01";
}

body.menu-open { overflow: hidden; }
body.no-cursor * { cursor: auto !important; }

::selection {
    background: rgba(139, 92, 246, 0.4);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

/* Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--violet), var(--cyan), var(--pink));
    z-index: 10001;
    box-shadow: 0 0 20px var(--violet);
    transition: width 0.1s linear;
}

/* Aurora canvas */
#aurora {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, transparent 40%, var(--bg) 100%);
}

/* Cursor */
.cursor-dot,
.cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.35s;
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: var(--cyan);
}

/* ——— Premium floating nav dock ——— */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.85rem 1.25rem 0;
    pointer-events: none;
}

.header-wrap {
    width: min(1320px, 100%);
    pointer-events: auto;
}

.nav-dock {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem 1rem;
    min-height: var(--dock-h);
    padding: 0.4rem 0.4rem 0.4rem 0.55rem;
    border-radius: 20px;
    background: rgba(8, 8, 14, 0.55);
    border: 1px solid var(--line);
    backdrop-filter: blur(32px) saturate(1.6);
    -webkit-backdrop-filter: blur(32px) saturate(1.6);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 20px 50px -12px rgba(0, 0, 0, 0.65);
    transition:
        background 0.55s var(--ease),
        border-color 0.55s var(--ease),
        box-shadow 0.55s var(--ease),
        transform 0.55s var(--ease);
}

.header.scrolled .nav-dock {
    background: rgba(6, 6, 12, 0.82);
    border-color: var(--line-bright);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 24px 60px -16px rgba(0, 0, 0, 0.75),
        0 0 80px -20px rgba(139, 92, 246, 0.15);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    padding: 0.35rem 0.5rem 0.35rem 0.25rem;
    border-radius: 14px;
    transition: opacity 0.35s var(--ease);
    flex-shrink: 0;
}

.brand:hover { opacity: 0.88; }

.brand-mark {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(145deg, var(--violet), #6366f1 45%, var(--cyan));
    box-shadow: 0 0 28px rgba(139, 92, 246, 0.45);
}

.brand-name {
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.03em;
}

.nav-center {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.nav-pill {
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(139, 92, 246, 0.12);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition:
        transform 0.45s var(--ease),
        width 0.45s var(--ease),
        height 0.45s var(--ease),
        opacity 0.35s var(--ease);
    will-change: transform, width, height;
}

.nav-indicator.ready { opacity: 1; }

.nav-list {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 11px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.35s var(--ease);
}

.nav-list a i {
    font-size: 0.65rem;
    opacity: 0.55;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

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

.nav-list a:hover i {
    opacity: 1;
    transform: scale(1.08);
}

.nav-list a.active {
    color: var(--text);
}

.nav-list a.active i {
    opacity: 1;
    color: var(--violet-bright);
}

.nav-end {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav-btn-ghost {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
}

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

.nav-btn-discord {
    color: #fff;
    background: linear-gradient(135deg, #5865f2, #7289da);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
}

.nav-btn-discord:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(88, 101, 242, 0.45);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.btn-magnetic { will-change: transform; }

.btn-primary {
    color: #fff;
    padding: 0.7rem 1.4rem;
    background: linear-gradient(135deg, var(--violet) 0%, #6366f1 50%, var(--cyan) 100%);
    background-size: 200% 200%;
    animation: btnShine 6s ease infinite;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

@keyframes btnShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.btn-ghost {
    color: var(--text);
    padding: 0.7rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    border-color: var(--line-bright);
    background: var(--surface-2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
}

.btn-xl .btn-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.3;
}

.btn-xl .btn-label small {
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.75;
}

.menu-btn {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.5s var(--ease), opacity 0.35s;
}

.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
}

.menu-overlay.open {
    visibility: visible;
    pointer-events: auto;
}

.menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 4, 0.8);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.menu-overlay.open .menu-backdrop { opacity: 1; }

.menu-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 1rem) 1.75rem 2rem;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
    overflow-y: auto;
}

.menu-overlay.open .menu-panel {
    opacity: 1;
    transform: none;
}

.menu-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 1rem;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.menu-link:hover,
.menu-link.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(4px);
}

.menu-link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--violet-bright);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.menu-link-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.menu-link-text strong {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
}

.menu-link-text small {
    font-size: 0.8rem;
    color: var(--dim);
    font-weight: 500;
}

.menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.menu-actions .btn { width: 100%; justify-content: center; }

/* Layout */
main { position: relative; z-index: 2; }

.container {
    width: var(--container);
    margin-inline: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 1.25rem;
}

.section-label::before {
    content: "";
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, var(--violet), transparent);
}

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 16ch;
}

.section-headline .hl {
    background: linear-gradient(120deg, #fff 0%, var(--violet-bright) 40%, var(--cyan) 80%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 42ch;
    line-height: 1.75;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--header-h) + 2rem) 0 0;
    display: flex;
    flex-direction: column;
}

.hero-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: left 0.35s var(--ease-out), top 0.35s var(--ease-out);
}

.hero-grid {
    position: relative;
    z-index: 1;
    width: var(--container);
    margin-inline: auto;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-bottom: 2rem;
}

.hero-copy { max-width: 640px; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(16px);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 2rem;
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
    animation: livePulse 2s ease-in-out infinite;
}

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

.hero-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
    animation: lineUp 1.1s var(--ease) forwards;
}

.hero-title .line:nth-child(1) .word { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) .word { animation-delay: 0.22s; }
.hero-title .line:nth-child(3) .word { animation-delay: 0.34s; }

.hero-title .accent {
    background: linear-gradient(135deg, #fff 20%, var(--violet-bright) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes lineUp {
    to { transform: translateY(0); }
}

.hero-lead {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 38ch;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.5s forwards;
}

.hero-lead strong {
    color: var(--text);
    font-weight: 600;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.65s forwards;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.8s forwards;
}

.hero-stat .num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff, var(--muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat .lbl {
    font-size: 0.7rem;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.35rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
    perspective: 1400px;
    opacity: 0;
    animation: fadeUp 1.2s var(--ease) 0.4s forwards;
}

.visual-frame {
    position: relative;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.6),
        rgba(34, 211, 238, 0.3),
        rgba(244, 114, 182, 0.4),
        rgba(139, 92, 246, 0.6)
    );
    background-size: 300% 300%;
    animation: borderFlow 8s ease infinite;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 40px 100px -20px rgba(0,0,0,0.8),
        0 0 120px -30px rgba(139, 92, 246, 0.35);
    transform-style: preserve-3d;
    transition: transform 0.15s var(--ease-out);
}

@keyframes borderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.visual-inner {
    background: #0a0a12;
    border-radius: 19px;
    overflow: hidden;
}

.visual-bar {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.1rem;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--line);
    gap: 0.75rem;
}

.visual-dots {
    display: flex;
    gap: 6px;
}

.visual-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.visual-dots i:nth-child(1) { background: #ff5f57; }
.visual-dots i:nth-child(2) { background: #febc2e; }
.visual-dots i:nth-child(3) { background: #28c840; }

.visual-bar span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--dim);
}

.visual-body {
    display: flex;
    min-height: 240px;
}

.visual-side {
    width: 52px;
    border-right: 1px solid var(--line);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,0,0,0.3);
}

.visual-side button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--dim);
    font-size: 0.85rem;
    cursor: default;
}

.visual-side button.on {
    background: rgba(139, 92, 246, 0.2);
    color: var(--violet-bright);
}

.visual-code {
    flex: 1;
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.9;
    text-align: left;
}

.c-comment { color: #4b5563; }
.c-kw { color: var(--violet-bright); }
.c-fn { color: var(--cyan); }
.c-str { color: var(--pink); }
.c-cursor {
    color: var(--violet);
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.visual-chips {
    display: flex;
    gap: 0.5rem;
    padding: 0 1.25rem 1.25rem;
    flex-wrap: wrap;
}

.visual-chips span {
    font-size: 0.65rem;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    border: 1px solid var(--line);
    color: var(--muted);
}

.visual-float {
    position: absolute;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: rgba(10, 10, 18, 0.9);
    border: 1px solid var(--line-bright);
    backdrop-filter: blur(20px);
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: floatBadge 5s ease-in-out infinite;
}

.visual-float.f1 { top: -12px; right: -20px; animation-delay: 0s; }
.visual-float.f2 { bottom: 40px; left: -30px; color: var(--cyan); animation-delay: 1.5s; }
.visual-float.f3 { bottom: -10px; right: 20px; color: var(--green); animation-delay: 3s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Marquee */
.marquee-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--line);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
    flex-shrink: 0;
    padding: 0 2rem;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.15);
    white-space: nowrap;
}

.marquee-item strong {
    -webkit-text-stroke: 0;
    color: var(--dim);
    font-weight: 600;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Features bento */
.features {
    padding: var(--section-pad) 0;
}

.features-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.bento-card {
    position: relative;
    padding: 2rem;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.6s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}

.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-bright);
    box-shadow: 0 24px 60px -20px rgba(139, 92, 246, 0.2);
}

.bento-card:hover::before { opacity: 1; }

.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }

.bento-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    background: rgba(139, 92, 246, 0.15);
    color: var(--violet-bright);
}

.bento-icon.cyan { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.bento-icon.pink { background: rgba(244, 114, 182, 0.12); color: var(--pink); }
.bento-icon.green { background: rgba(74, 222, 128, 0.12); color: var(--green); }
.bento-icon.gold { background: rgba(251, 191, 36, 0.12); color: var(--gold); }
.bento-icon.purple { background: rgba(167, 139, 250, 0.12); color: #c4b5fd; }

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.bento-card p {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 40ch;
}

.bento-card.featured {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(2, 2, 4, 0.8));
}

.bento-big-num {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.06em;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.08));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    align-self: flex-end;
}

/* Games */
.games {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.03), transparent);
}

.games-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.games-header .section-headline { margin-inline: auto; max-width: none; }
.games-header .section-desc { margin-inline: auto; }

.games-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    max-width: 1000px;
    margin-inline: auto;
}

.game-pill {
    padding: 0.55rem 1.15rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 100px;
    transition: all 0.45s var(--ease);
    opacity: 0;
    transform: translateY(12px) scale(0.96);
}

.game-pill.visible {
    opacity: 1;
    transform: none;
}

.game-pill:hover {
    color: var(--text);
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.games-status {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--dim);
}

/* Launch / script */
.launch {
    padding: var(--section-pad) 0;
}

.launch-panel {
    position: relative;
    border-radius: 32px;
    padding: clamp(2.5rem, 6vw, 5rem);
    text-align: center;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-2);
}

.launch-panel::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg at 50% 50%, var(--violet), var(--cyan), var(--pink), var(--violet));
    opacity: 0.08;
    animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow { to { transform: rotate(360deg); } }

.launch-inner {
    position: relative;
    z-index: 1;
}

.launch-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    margin-bottom: 1.25rem;
}

.launch-panel h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
}

.launch-panel > .launch-inner > p {
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 50ch;
    margin-inline: auto;
}

.code-block {
    position: relative;
    max-width: 580px;
    margin: 0 auto 2rem;
    padding: 1.5rem 1.75rem;
    text-align: left;
    background: #000;
    border: 1px solid var(--line);
    border-radius: 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.85;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 30px 60px rgba(0,0,0,0.5);
}

.code-block::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: linear-gradient(135deg, var(--violet), transparent, var(--cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.launch-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.launch-perks i { color: var(--green); margin-right: 0.35rem; }

/* FAQ */
.faq {
    padding: var(--section-pad) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.faq-item.open {
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.05);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--violet-bright);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--violet-bright);
    font-size: 0.7rem;
    transition: transform 0.5s var(--ease);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.55s var(--ease);
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner {
    overflow: hidden;
}

.faq-a-inner p {
    padding: 0 1.35rem 1.15rem 2.75rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
}

/* Community */
.community {
    padding: var(--section-pad) 0 6rem;
}

.community-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    padding: clamp(2.5rem, 5vw, 4rem);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.2), rgba(2, 2, 4, 0.95));
}

.community-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 60%);
    pointer-events: none;
}

.community-copy {
    position: relative;
    z-index: 1;
}

.community-copy .section-label { margin-bottom: 1rem; }

.community-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
}

.community-copy p {
    color: var(--muted);
    max-width: 40ch;
    line-height: 1.75;
}

.community-action {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
    max-width: 28ch;
    line-height: 1.7;
}

.socials {
    display: flex;
    gap: 0.6rem;
}

.socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: var(--muted);
    text-decoration: none;
    transition: all 0.4s var(--ease);
}

.socials a:hover {
    color: var(--text);
    border-color: var(--line-bright);
    background: var(--surface-2);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color 0.35s, transform 0.35s var(--ease);
}

.footer-col a:hover {
    color: var(--text);
    transform: translateX(4px);
}

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

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(24px);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 18, 0.95);
    border: 1px solid var(--line-bright);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(24px);
    z-index: 10002;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease), transform 0.55s var(--ease-spring);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast i { color: var(--green); }

/* Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].in-view {
    opacity: 1;
    transform: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 3px;
}

/* Responsive — nav */
@media (max-width: 1280px) {
    .nav-list a {
        padding: 0.45rem 0.55rem;
        font-size: 0.7rem;
    }

    .nav-list a span { max-width: 5.5rem; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 1100px) {
    .nav-center { display: none; }

    .nav-dock {
        grid-template-columns: auto 1fr auto;
        padding: 0.45rem 0.5rem;
    }

    .menu-btn { display: flex; }

    .nav-btn span { display: none; }

    .nav-btn { padding: 0.55rem 0.7rem; }

    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { max-width: none; margin-inline: auto; }
    .hero-lead { margin-inline: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 520px; margin-inline: auto; }
    .bento-card.span-8,
    .bento-card.span-4,
    .bento-card.span-6 { grid-column: span 12; }
    .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .community-card { grid-template-columns: 1fr; text-align: center; }
    .community-action { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
    :root { --header-h: 72px; }

    .header { padding: 0.65rem 0.85rem 0; }

    .brand-name { display: none; }

    .nav-dock { border-radius: 16px; }

    .features-top { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin-inline: auto; }
    .socials { justify-content: center; }
    .visual-float { display: none; }
    .hero-stats { flex-direction: column; gap: 1.5rem; align-items: center; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; width: 100%; max-width: 280px; margin-inline: auto; }
    .hero-cta .btn { width: 100%; }
    .launch-perks { flex-direction: column; align-items: center; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
