:root {
    --ink: #0d0f12;
    --coal: #14171b;
    --gunmetal: #1c2026;
    --steel: #2b313a;
    --ash: #c9c3b8;
    --sand: #f6f1e7;
    --flare: #ff8b3d;
    --ember: #ff4d1f;
    --sky: #7fd1ff;
    --mint: #77f0c8;
    --shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Futura", "Avenir Next", "Franklin Gothic Medium", "Gill Sans", "Trebuchet MS", sans-serif;
    color: var(--sand);
    background: radial-gradient(140% 120% at 20% 0%, #1d2230 0%, #0b0d11 55%, #050607 100%);
    min-height: 100vh;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(transparent 92%, rgba(255, 255, 255, 0.04) 93%),
        linear-gradient(90deg, transparent 92%, rgba(255, 255, 255, 0.04) 93%);
    background-size: 80px 80px;
    opacity: 0.4;
    pointer-events: none;
}

.bg-comet {
    position: fixed;
    width: 640px;
    height: 640px;
    top: -160px;
    right: -220px;
    background: radial-gradient(circle, rgba(255, 139, 61, 0.4) 0%, rgba(255, 77, 31, 0.2) 40%, transparent 70%);
    filter: blur(2px);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 6vw;
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.6) 80%, transparent 100%);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-mark {
    display: grid;
    gap: 6px;
}

.brand-mark span {
    display: block;
    width: 32px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--flare), var(--ember));
}

.brand-text {
    line-height: 1.1;
}

.brand-eyebrow {
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin: 0;
}

.brand-sub {
    font-size: 0.8rem;
    margin: 0;
    color: var(--ash);
}

.site-nav {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
}

.site-nav a {
    position: relative;
    padding-bottom: 4px;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--flare);
    transition: width 0.3s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 60px;
    padding: 60px 6vw 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    margin: 12px 0 20px;
    line-height: 1.05;
}

.hero-copy h1 span {
    display: block;
    color: var(--sky);
}

.tag {
    display: inline-block;
    background: rgba(255, 139, 61, 0.15);
    color: var(--flare);
    padding: 8px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    font-size: 0.75rem;
}

.lede {
    font-size: 1.1rem;
    color: var(--ash);
    max-width: 520px;
}

.cta-row {
    display: flex;
    gap: 16px;
    margin: 24px 0 18px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    border: 1px solid transparent;
    background: transparent;
    color: var(--sand);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta.primary {
    background: linear-gradient(120deg, var(--flare), var(--ember));
    color: var(--ink);
    box-shadow: 0 18px 30px rgba(255, 139, 61, 0.3);
}

.cta.ghost {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: var(--sand);
}

.cta:hover {
    transform: translateY(-2px);
}

.meta {
    display: flex;
    gap: 18px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.hero-panel {
    background: linear-gradient(160deg, rgba(38, 43, 54, 0.9), rgba(13, 15, 19, 0.95));
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-grid {
    display: grid;
    gap: 20px;
}

.panel {
    background: rgba(11, 12, 16, 0.7);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-title {
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 0.75rem;
    color: var(--ash);
}

.panel-body {
    margin-top: 12px;
}

.shot {
    position: relative;
    height: 120px;
    background: linear-gradient(180deg, #0b0d11 0%, #151a22 100%);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
}

.terrain {
    position: absolute;
    bottom: -10px;
    left: -30px;
    right: -30px;
    height: 70px;
    background: linear-gradient(180deg, #2c3545 0%, #151922 100%);
    clip-path: polygon(0% 60%, 20% 40%, 40% 55%, 60% 30%, 80% 45%, 100% 20%, 100% 100%, 0 100%);
}

.arc {
    position: absolute;
    width: 130px;
    height: 80px;
    border: 2px dashed rgba(127, 209, 255, 0.6);
    border-bottom: none;
    border-radius: 100% 100% 0 0;
    top: 18px;
    left: 40px;
}

.blast {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, var(--flare) 40%, transparent 70%);
    top: 40px;
    right: 50px;
    box-shadow: 0 0 20px rgba(255, 139, 61, 0.7);
    animation: pulse 2s infinite;
}

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

.label {
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.5);
}

.value {
    font-size: 1rem;
    margin: 4px 0 0;
}

.panel.micro {
    display: grid;
    gap: 10px;
}

.mini-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.energy .bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin: 6px 0;
}

.energy .bar span {
    display: block;
    width: 72%;
    height: 100%;
    background: linear-gradient(90deg, var(--mint), var(--sky));
}

.section {
    padding: 70px 6vw;
}

.section-title p {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.75rem;
    color: var(--flare);
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    margin: 0 0 24px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step {
    background: rgba(15, 18, 23, 0.8);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.step span {
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    color: var(--sky);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 12px;
    color: var(--ash);
}

.bullet-list li::before {
    content: "▸";
    color: var(--flare);
    margin-right: 10px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip-row span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(127, 209, 255, 0.15);
    color: var(--sky);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
}

.system-card {
    background: rgba(17, 20, 25, 0.9);
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.dna {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.dna span {
    font-size: 0.65rem;
    letter-spacing: 0.18rem;
    color: var(--ash);
}

.dna strong {
    display: block;
    font-size: 1rem;
}

.note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.economy .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(12, 15, 20, 0.85);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.raid {
    margin-top: 30px;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(255, 139, 61, 0.12), rgba(127, 209, 255, 0.1));
    display: grid;
    gap: 16px;
}

.raid-math {
    display: grid;
    gap: 6px;
    font-family: "Courier New", "Nimbus Mono", monospace;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.join {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 30px;
    align-items: center;
    background: rgba(12, 14, 18, 0.7);
    border-radius: 30px;
    margin: 0 6vw 80px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.join-card {
    background: rgba(10, 12, 16, 0.9);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 14px;
}

.join-title {
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    margin: 0;
}

.join-note {
    color: var(--ash);
    margin: 0;
}

.site-footer {
    padding: 40px 6vw 60px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

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

    .join {
        grid-template-columns: 1fr;
        margin: 0 6vw 60px;
    }

    .site-nav {
        display: none;
    }

    .meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero {
        padding-top: 30px;
    }
}
