@font-face {
    font-family: "Nunito";
    src: url("/fonts/nunito_variable.ttf") format("truetype");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("/fonts/nunito_bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #070814;
    --bg-mid: #12142a;
    --surface: #171b36;
    --card: #1c2344;
    --purple: #B24BF3;
    --cyan: #00D4FF;
    --verse: #7ad7ff;
    --mint: #5dffc8;
    --gold: #FFD56A;
    --pink: #FF6B9D;
    --orange: #FF9F43;
    --text: #FFFFFF;
    --soft: #E7E9F7;
    --muted: #A7A9C4;
    --line: rgba(122, 215, 255, 0.28);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--soft);
    background: var(--bg);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(1.4px 1.4px at 6% 14%, rgba(255, 255, 255, 0.85) 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 18% 72%, rgba(0, 212, 255, 0.9) 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 28% 22%, #fff 50%, transparent 52%),
        radial-gradient(2px 2px at 42% 8%, rgba(255, 213, 106, 0.95) 50%, transparent 52%),
        radial-gradient(1.3px 1.3px at 63% 18%, rgba(178, 75, 243, 0.95) 50%, transparent 52%),
        radial-gradient(1.5px 1.5px at 74% 64%, #fff 50%, transparent 52%),
        radial-gradient(1.8px 1.8px at 86% 28%, rgba(0, 212, 255, 0.85) 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 92% 78%, rgba(255, 107, 157, 0.9) 50%, transparent 52%),
        radial-gradient(1.4px 1.4px at 12% 46%, rgba(255, 159, 67, 0.8) 50%, transparent 52%),
        radial-gradient(1px 1px at 51% 88%, #fff 50%, transparent 52%),
        radial-gradient(circle at 12% -10%, rgba(178, 75, 243, 0.42), transparent 34%),
        radial-gradient(circle at 88% 0%, rgba(0, 212, 255, 0.28), transparent 30%),
        radial-gradient(circle at 70% 100%, rgba(255, 107, 157, 0.18), transparent 32%),
        linear-gradient(180deg, #070814 0%, #12142c 46%, #0b1024 100%);
}

body > * {
    position: relative;
    z-index: 1;
}

a {
    color: var(--cyan);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--mint);
}

a:focus-visible,
.button:focus-visible,
.button-ghost:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: 16px;
    top: -48px;
    background: var(--cyan);
    color: var(--bg);
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 30;
}

.skip:focus {
    top: 12px;
}

.wrap {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.narrow {
    width: min(800px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(7, 8, 20, 0.78);
    border-bottom: 1px solid rgba(122, 215, 255, 0.18);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.site-header .wrap,
.site-header .narrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand img,
.footer-brand img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #081433;
    box-shadow:
        0 0 0 1px rgba(0, 212, 255, 0.45),
        0 0 22px rgba(178, 75, 243, 0.55);
}

.wordmark {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.wordmark span {
    color: var(--verse);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.nav a {
    color: var(--soft);
    text-decoration: none;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.nav a:hover {
    color: var(--text);
    border-color: rgba(0, 212, 255, 0.45);
    background: rgba(0, 212, 255, 0.08);
}

.hero {
    position: relative;
    padding: 54px 0 20px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 28px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 213, 106, 0.4);
    background: rgba(255, 213, 106, 0.08);
}

h1 {
    color: var(--text);
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    font-weight: 800;
    margin-bottom: 18px;
}

h1 .verse {
    display: block;
    background: linear-gradient(100deg, #7ad7ff 10%, #d7a4ff 45%, #ff8eb8 78%, #ffd56a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    max-width: 38rem;
    font-size: 1.22rem;
    color: var(--soft);
    margin-bottom: 26px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.button,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.button {
    background: linear-gradient(120deg, #ff7ab6 0%, #b24bf3 42%, #00d4ff 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(178, 75, 243, 0.4);
}

.button:hover {
    color: #fff;
    filter: brightness(1.08);
}

.button-ghost {
    color: var(--text);
    border: 1px solid rgba(122, 215, 255, 0.5);
    background: rgba(8, 16, 40, 0.45);
}

.button-ghost:hover {
    color: var(--text);
    background: rgba(0, 212, 255, 0.12);
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pills span {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-stage {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
}

.logo-stage img {
    width: min(460px, 100%);
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: 40px;
    box-shadow:
        0 0 0 1px rgba(122, 215, 255, 0.45),
        0 24px 70px rgba(90, 40, 180, 0.45);
}

.orbit,
.orbit-2,
.glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.glow {
    width: 78%;
    height: 78%;
    background: radial-gradient(circle, rgba(178, 75, 243, 0.45), rgba(0, 212, 255, 0.12) 42%, transparent 70%);
    filter: blur(8px);
}

.orbit {
    width: 92%;
    height: 92%;
    border: 1px dashed rgba(122, 215, 255, 0.45);
    transform: rotate(-18deg);
    animation: spin 36s linear infinite;
}

.orbit-2 {
    width: 72%;
    height: 72%;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        linear-gradient(120deg, #ff9f43, #ff6b9d, #b24bf3, #00d4ff) border-box;
    opacity: 0.85;
    animation: spin 22s linear infinite reverse;
}

.spark {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 12px #fff;
}

.spark.a { top: 12%; left: 18%; background: #ffd56a; }
.spark.b { top: 22%; right: 10%; background: #7ad7ff; }
.spark.c { bottom: 16%; left: 12%; background: #ff6b9d; }
.spark.d { bottom: 24%; right: 16%; background: #5dffc8; }

.ribbon {
    overflow: hidden;
    margin: 18px 0 8px;
    border-block: 1px solid rgba(122, 215, 255, 0.22);
    background: linear-gradient(90deg, rgba(178, 75, 243, 0.28), rgba(0, 212, 255, 0.16), rgba(255, 107, 157, 0.24));
}

.ribbon-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 12px 0;
    animation: ticker 32s linear infinite;
}

.ribbon span {
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: #fff;
    white-space: nowrap;
}

.ribbon i {
    font-style: normal;
    color: var(--gold);
}

.section {
    padding: 42px 0 8px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.kicker {
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 6px;
}

h2 {
    color: var(--text);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.section-head p,
.section > .wrap > p {
    max-width: 36rem;
    color: var(--muted);
}

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

.step {
    padding: 22px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(28, 35, 68, 0.92), rgba(10, 14, 32, 0.92));
    border: 1px solid rgba(122, 215, 255, 0.2);
    box-shadow: var(--shadow);
    min-height: 180px;
}

.step b {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(120deg, #ffd56a, #ff6b9d, #7ad7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.step h3 {
    color: #fff;
    margin-bottom: 6px;
}

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

.card,
.panel,
.prose {
    background: rgba(18, 22, 48, 0.9);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.card {
    padding: 22px 22px 24px;
    background:
        linear-gradient(165deg, rgba(32, 38, 74, 0.95), rgba(12, 16, 36, 0.94)) padding-box,
        linear-gradient(140deg, rgba(178, 75, 243, 0.9), rgba(0, 212, 255, 0.35) 55%, rgba(255, 159, 67, 0.7)) border-box;
    border: 1px solid transparent;
}

.card.pink {
    background:
        linear-gradient(165deg, rgba(48, 24, 48, 0.95), rgba(12, 16, 36, 0.94)) padding-box,
        linear-gradient(140deg, #ff6b9d, #b24bf3) border-box;
}

.card.gold {
    background:
        linear-gradient(165deg, rgba(48, 36, 18, 0.95), rgba(12, 16, 36, 0.94)) padding-box,
        linear-gradient(140deg, #ffd56a, #ff9f43) border-box;
}

.card.mint {
    background:
        linear-gradient(165deg, rgba(16, 42, 40, 0.95), rgba(12, 16, 36, 0.94)) padding-box,
        linear-gradient(140deg, #5dffc8, #00d4ff) border-box;
}

.num {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.card h3,
.panel h3,
.step h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.card p:last-child,
.panel p:last-child,
.step p:last-child {
    margin-bottom: 0;
    color: var(--soft);
}

.schedule {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 16px;
}

.time {
    color: var(--gold);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
}

.support {
    margin-top: 8px;
    padding: 28px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: center;
    background:
        radial-gradient(400px 180px at 0% 0%, rgba(178, 75, 243, 0.35), transparent 70%),
        radial-gradient(320px 180px at 100% 100%, rgba(0, 212, 255, 0.22), transparent 70%),
        rgba(16, 20, 44, 0.92);
}

.support img {
    width: 112px;
    height: 112px;
    border-radius: 28px;
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.4), 0 0 32px rgba(178, 75, 243, 0.45);
}

.site-footer {
    padding: 42px 0 56px;
    color: var(--muted);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
}

.site-footer .links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 12px;
}

.site-footer a {
    font-weight: 800;
}

.prose {
    padding: 32px 28px 40px;
    margin: 28px auto 48px;
}

.prose h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 8px;
    background: none;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
}

.prose h1 .verse,
.prose h2 {
    color: var(--text);
    background: none;
    -webkit-text-fill-color: unset;
}

.prose h2 {
    margin-top: 28px;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.prose h3 {
    color: var(--cyan);
    margin: 18px 0 8px;
    font-size: 1.05rem;
}

.prose p,
.section > p,
.panel p {
    margin-bottom: 14px;
}

.updated {
    color: var(--muted);
    font-style: italic;
    margin-bottom: 22px;
}

.prose ul,
.prose ol {
    margin: 0 0 14px 1.2rem;
}

.prose li {
    margin-bottom: 8px;
}

.prose li strong,
.prose p strong {
    color: var(--text);
}

.contact {
    margin-top: 8px;
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(178, 75, 243, 0.2), rgba(0, 212, 255, 0.16));
    border: 1px solid var(--line);
}

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

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

@media (max-width: 860px) {
    .hero-grid,
    .grid,
    .steps,
    .schedule,
    .support {
        grid-template-columns: 1fr;
    }

    .logo-stage {
        min-height: 320px;
        order: -1;
    }

    .section-head {
        flex-direction: column;
        align-items: start;
    }

    .support img {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 640px) {
    .site-header .wrap,
    .site-header .narrow {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .hero {
        padding-top: 28px;
    }

    .prose,
    .support {
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .orbit,
    .orbit-2,
    .ribbon-track { animation: none; }
}
