/* ============================
   Custom fonts
   ============================ */
@font-face {
    font-family: 'Nasalization';
    src: url('assets/nasalization-rg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --bg: #000;
    --bg-soft: #0a0a0a;
    --surface: rgba(255, 255, 255, 0.025);
    --surface-strong: rgba(255, 255, 255, 0.045);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #fafafa;
    --text-dim: rgba(250, 250, 250, 0.82);
    --text-faint: rgba(250, 250, 250, 0.58);
    --accent: #d8e6ff;
    --accent-soft: rgba(216, 230, 255, 0.5);
    --hairline: rgba(255, 255, 255, 0.06);
    --radius: 14px;
    --radius-lg: 22px;

    --font-sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
    --font-display: 'Nasalization', 'Inter Tight', sans-serif;
    --font-serif: 'Instrument Serif', 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    position: relative;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 60%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(216, 230, 255, 0.025), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

#stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.nebula { display: none; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

/* ============================
   Typography helpers
   ============================ */
.gradient-text {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.02em;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    margin-bottom: 24px;
}

.eyebrow::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.eyebrow .dot-rec {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 8px rgba(255, 59, 59, 0.7);
    animation: rec-blink 1.6s ease-in-out infinite;
    margin-right: 2px;
}

@keyframes rec-blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75%      { opacity: 0.25; }
}

.serif-italic {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* ============================
   Glass surfaces
   ============================ */
.glass {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    transition: border-color 0.5s ease, transform 0.5s ease, background 0.5s ease;
}

.glass:hover {
    border-color: var(--border-strong);
    background: var(--surface-strong);
    transform: translateY(-3px);
}

.glass-strong {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #fff;
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 60px -10px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 24px 70px -10px rgba(255, 255, 255, 0.25);
}

.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================
   Header / Nav
   ============================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    will-change: backdrop-filter;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity 0.3s ease;
}

.logo:hover { opacity: 0.85; }

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    color: var(--text);
    opacity: 0.78;
    transition: opacity 0.3s;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-links a:hover { opacity: 1; }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width 0.3s;
}

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

.nav-cta { padding: 10px 22px; font-size: 13px; }

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    position: relative;
    z-index: 110;
}

.burger span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
    display: block;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
    opacity: 0;
}
.burger.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile-cta { display: none; }

/* ============================
   Hero
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 130px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-inner {
    text-align: center;
    max-width: 980px;
}

.hero-logo-wrap {
    margin: 12px auto 36px;
    max-width: 880px;
    width: 100%;
    position: relative;
    filter: drop-shadow(0 10px 60px rgba(255, 255, 255, 0.08));
    animation: hero-logo-in 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-logo {
    width: 100%;
    height: auto;
    display: block;
}

.hero-logo-wrap::after {
    content: '';
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: -12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

@keyframes hero-logo-in {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-sub {
    font-size: clamp(15px, 1.5vw, 19px);
    color: var(--text-dim);
    max-width: 580px;
    margin: 0 auto 44px;
    line-height: 1.55;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 96px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    padding-top: 50px;
    border-top: 1px solid var(--hairline);
    max-width: 720px;
    margin: 0 auto;
}

.stat-num {
    font-family: var(--font-sans);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

/* ============================
   Parts catalog (sub-block of About)
   ============================ */
.parts-block {
    margin-top: 120px;
}

.parts-block-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 60px;
    align-items: center;
}

.parts-text {
    position: sticky;
    top: 100px;
    text-align: right;
}

.parts-text .parts-desc,
.parts-text .parts-extra {
    margin-left: auto;
}

.parts-subtitle {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: var(--text-dim);
}

.parts-num {
    display: block;
    font-size: clamp(38px, 5.5vw, 60px);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 0;
    background: linear-gradient(180deg, #fff 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.parts-desc {
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 420px;
}

.parts-extra {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    max-width: 360px;
}


.parts-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.part-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 12px 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.5s ease, border-color 0.5s ease, background 0.5s ease;
    margin: 0;
    position: relative;
}

.part-tile:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    background: var(--surface-strong);
}

.part-tile img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.12));
}

.part-tile:hover img {
    transform: scale(1.1) rotate(-3deg);
}

.part-tile figcaption {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s;
}

.part-tile:hover figcaption {
    color: var(--text);
}

.part-tile-more {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    border-color: rgba(255, 255, 255, 0.18);
    border-style: dashed;
}

.part-tile-more span {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    color: var(--text);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.04em;
}

.part-tile-more figcaption {
    color: var(--text);
}

@media (max-width: 1080px) {
    .parts-block-grid { grid-template-columns: 1fr; gap: 32px; }
    /* On mobile, show "130+ Unique Parts" headline first, then the icon grid below */
    .parts-text { position: static; text-align: center; order: -1; }
    .parts-grid-full { order: 1; }
    .parts-desc, .parts-extra { margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
    .parts-grid-full { gap: 10px; }
    .part-tile { padding: 20px 10px 14px; }
    .part-tile img { width: 48px; height: 48px; }
}

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

/* ============================
   Telemetry strip
   ============================ */
.telemetry {
    position: relative;
    z-index: 2;
    padding: 18px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.telemetry-track {
    display: flex;
    width: max-content;
    animation: ticker 80s linear infinite;
}

.telemetry-row {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 22px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.t-label {
    color: var(--text-faint);
    text-transform: uppercase;
}

.t-val {
    color: var(--text);
    margin-left: -16px;
    font-weight: 500;
}

.t-sep {
    width: 4px;
    height: 4px;
    background: var(--text-faint);
    border-radius: 50%;
    opacity: 0.5;
}

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

/* ============================
   Sections
   ============================ */
section { padding: 140px 0; position: relative; }

.section-head {
    text-align: center;
    margin-bottom: 80px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.section-head .section-sub {
    max-width: 640px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(38px, 5.5vw, 60px);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-title em {
    font-style: normal;
    font-family: inherit;
    color: inherit;
}

.section-sub {
    color: var(--text-dim);
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 300;
}

/* ============================
   About
   ============================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 28px;
}

.about-text .lead {
    font-size: 18px;
    color: var(--text);
    font-weight: 300;
    line-height: 1.55;
    margin-bottom: 20px;
}

.about-text > p {
    color: var(--text-dim);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

.audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
}

.audience-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.audience-num {
    font-family: var(--font-display);
    font-size: 50px;
    line-height: 0.9;
    color: var(--text);
    flex-shrink: 0;
    width: 60px;
    letter-spacing: 0.02em;
}

.audience-item p {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 300;
    line-height: 1.5;
}

/* ============================
   Solar system map (About)
   ============================ */
.solar-system {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    max-width: 720px;
    margin: 0 auto;
}

.ss-orbits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Trail behind each planet — JS splits each trail into N short back-to-back segments,
   each with its own stroke-opacity (set inline). Together they form a smooth gradient
   that's brightest at the planet and fades into the dark behind it. */
.ss-orbits .orbit-trail {
    fill: none;
    stroke-width: 1.6;
    transition: opacity 0.4s ease;
}

/* Per-planet trail colors — match the planet's real-world hue */
.ss-orbits .trail-mercury { stroke: #c2a584; }
.ss-orbits .trail-venus   { stroke: #ead5a0; }
.ss-orbits .trail-earth   { stroke: #5fa9e6; }
.ss-orbits .trail-mars    { stroke: #db7351; }
.ss-orbits .trail-jupiter { stroke: #d4a166; }
.ss-orbits .trail-saturn  { stroke: #e6cf91; }
.ss-orbits .trail-uranus  { stroke: #9bd6da; }
.ss-orbits .trail-neptune { stroke: #5778d4; }

.ss-planet {
    position: absolute;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.35s ease;
    z-index: 2;
}

.ss-planet img {
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(circle, #000 48%, transparent 52%);
            mask-image: radial-gradient(circle, #000 48%, transparent 52%);
    transition: filter 0.35s ease;
    pointer-events: none;
    display: block;
}

.ss-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    white-space: nowrap;
    transition: color 0.3s ease;
    pointer-events: none;
}

.ss-planet:hover {
    transform: translate(-50%, -50%) scale(1.18);
    z-index: 5;
}

.ss-planet:hover .ss-label,
.ss-planet.is-active .ss-label {
    color: var(--text);
}

.ss-planet.is-active img {
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.4));
}

.ss-planet.is-active::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

/* Sun — soft diffuse glow, no defined edge */
.ss-sun { z-index: 3; }

.ss-sun-body {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
        #ffffff 0%,
        rgba(255, 248, 210, 0.95) 5%,
        rgba(255, 220, 140, 0.7) 14%,
        rgba(255, 180, 80, 0.35) 28%,
        rgba(255, 150, 50, 0.14) 50%,
        rgba(255, 130, 40, 0.04) 75%,
        transparent 100%);
    animation: ss-sun-pulse 3.5s ease-in-out infinite;
}

@keyframes ss-sun-pulse {
    0%, 100% { opacity: 1;    transform: scale(1); }
    50%      { opacity: 0.88; transform: scale(1.05); }
}

/* Gas giants — softer edges, subtle glow */
.ss-jupiter img,
.ss-saturn img,
.ss-uranus img,
.ss-neptune img {
    -webkit-mask-image: radial-gradient(circle, #000 38%, rgba(0, 0, 0, 0.7) 48%, transparent 60%);
            mask-image: radial-gradient(circle, #000 38%, rgba(0, 0, 0, 0.7) 48%, transparent 60%);
}

.ss-jupiter img {
    filter: drop-shadow(0 0 10px rgba(220, 150, 90, 0.5));
}

.ss-saturn img {
    filter: drop-shadow(0 0 9px rgba(230, 200, 130, 0.45));
}

.ss-uranus img {
    filter: drop-shadow(0 0 9px rgba(150, 220, 230, 0.4));
}

.ss-neptune img {
    filter: drop-shadow(0 0 9px rgba(80, 130, 230, 0.5));
}

/* Planet positions and sizes */
.ss-sun     { left: 50%;  top: 50%;  width: 80px; height: 80px; }
.ss-mercury { left: 56%;  top: 53%;  width: 16px; }
.ss-venus   { left: 43%;  top: 60%;  width: 20px; }
.ss-earth   { left: 62%;  top: 65%;  width: 22px; }
.ss-mars    { left: 32%;  top: 36%;  width: 18px; }
.ss-jupiter { left: 78%;  top: 25%;  width: 40px; }
.ss-saturn  { left: 22%;  top: 75%;  width: 38px; }
.ss-uranus  { left: 10%;  top: 50%;  width: 30px; }
.ss-neptune { left: 92%;  top: 52%;  width: 30px; }

/* Info card */
.ss-info {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 420px;
    padding: 16px 22px;
    border-radius: 14px;
    background: rgba(8, 12, 26, 0.72);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    text-align: center;
    z-index: 4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ss-info.is-swapping {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
}

.ss-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 4px;
}

.ss-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.ss-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.55;
    font-weight: 300;
}

@media (max-width: 640px) {
    /* Slight side breathing room so the outer planets (Neptune ~97% of container)
       don't kiss or overflow the screen edge on small phones. */
    .about-visual { padding: 0 14px; }
    .solar-system { aspect-ratio: 4 / 3; }
    /* Sun is a CSS gradient div, so width AND height must both update — otherwise
       it stretches into an ellipse on mobile. */
    .ss-sun     { width: 48px; height: 48px; }
    .ss-mercury { width: 12px; }
    .ss-venus   { width: 16px; }
    .ss-earth   { width: 18px; }
    .ss-mars    { width: 14px; }
    .ss-jupiter, .ss-saturn { width: 30px; }
    .ss-uranus, .ss-neptune { width: 24px; }
    .ss-label { font-size: 8px; }
}

/* Planet cycler in About (legacy — kept for other pages) */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.planet-cycler {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background:
        radial-gradient(circle, rgba(110, 200, 255, 0.18) 0%, transparent 50%),
        radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}

/* Stage with prev/center/next planets */
.pc-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.pc-stage.is-dragging { cursor: grabbing; }
.pc-stage img { pointer-events: none; -webkit-user-drag: none; }

/* Main centered planet */
.pc-main {
    position: relative;
    width: 78%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.pc-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(circle at center, #000 49%, transparent 50%);
            mask-image: radial-gradient(circle at center, #000 49%, transparent 50%);
    animation: pc-float 9s ease-in-out infinite;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

@keyframes pc-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.planet-cycler.is-swapping .pc-img {
    opacity: 0;
    transform: scale(0.94);
}

.planet-cycler.is-swapping .pc-side { opacity: 0; }

/* Side peeks (prev / next) */
.pc-side {
    position: absolute;
    width: 38%;
    aspect-ratio: 1;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(circle at center, #000 49%, transparent 50%);
            mask-image: radial-gradient(circle at center, #000 49%, transparent 50%);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.pc-side-prev { left: -8%; top: 50%; transform: translateY(-50%) scale(0.8); }
.pc-side-next { right: -8%; top: 50%; transform: translateY(-50%) scale(0.8); }


/* Glass info cards floating around the planet */
.pc-card {
    position: absolute;
    z-index: 4;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(8, 12, 26, 0.7);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Card 1: name + tag — top-right */
.pc-card-meta {
    top: 10%;
    right: 4%;
    text-align: right;
    transform: translateX(0);
}

/* Card 2: description — bottom-left */
.pc-card-desc {
    bottom: 8%;
    left: 4%;
    max-width: 64%;
    text-align: left;
    transform: translateX(0);
}

.planet-cycler.is-swapping .pc-card-meta {
    opacity: 0;
    transform: translateX(12px);
}

.planet-cycler.is-swapping .pc-card-desc {
    opacity: 0;
    transform: translateX(-12px);
}

.pc-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 6px;
}

.pc-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 4px;
}

.pc-desc {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 300;
}

/* Arrows on outer left/right */
.pc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-strong);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 200;
}

.pc-arrow svg { width: 16px; height: 16px; }

.pc-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.06);
}

.pc-prev { left: -6px; }
.pc-next { right: -6px; }

.pc-counter {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--text-faint);
    text-transform: uppercase;
    z-index: 5;
}

.pc-current { color: var(--text); font-weight: 500; }

/* Legacy earth styles kept for fallback (unused) */
.earth-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earth-glow {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle, rgba(110, 200, 255, 0.18) 0%, transparent 55%),
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

.earth-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    -webkit-mask-image: radial-gradient(circle at center, #000 44%, rgba(0, 0, 0, 0.85) 50%, transparent 62%);
            mask-image: radial-gradient(circle at center, #000 44%, rgba(0, 0, 0, 0.85) 50%, transparent 62%);
    filter: drop-shadow(0 20px 60px rgba(110, 200, 255, 0.4));
    animation: earth-float 10s ease-in-out infinite;
}

@keyframes earth-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.earth-css { display: none; }

/* Moon orbit around Earth — flat 2D rotation with size pulse */
.moon-orbit-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
}

.moon-orbit-rotor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    animation: moon-orbit 55s linear infinite;
    transform-origin: center;
}

@keyframes moon-orbit {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.moon-body {
    position: absolute;
    top: -260px;
    left: -22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, #ececec, #9a9a9a 55%, #4a4a4a 85%, #1a1a1a);
    box-shadow:
        inset -7px -7px 14px rgba(0, 0, 0, 0.55),
        inset 4px 4px 8px rgba(255, 255, 255, 0.1),
        0 0 16px rgba(255, 255, 255, 0.2),
        0 0 6px rgba(255, 255, 255, 0.4);
    animation: moon-pulse 55s ease-in-out infinite;
}

.moon-body::before {
    content: '';
    position: absolute;
    top: 28%;
    left: 24%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    box-shadow:
        9px 6px 0 -1px rgba(0, 0, 0, 0.22),
        -3px 12px 0 -1px rgba(0, 0, 0, 0.22),
        16px 14px 0 -2px rgba(0, 0, 0, 0.2);
}

@keyframes moon-pulse {
    0%, 100% { transform: scale(1);    opacity: 0.85; }
    25%      { transform: scale(1.4);  opacity: 1; }
    50%      { transform: scale(1);    opacity: 0.85; }
    75%      { transform: scale(0.65); opacity: 0.55; }
}

.earth-meta {
    position: absolute;
    right: -8px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 190px;
}

.meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    gap: 12px;
}

.meta-line span { color: var(--text-faint); }
.meta-line strong { color: var(--text); font-weight: 500; }

/* Mission patch (legacy unused but kept for reference) */
.about-visual-legacy {
    display: flex;
    justify-content: center;
}

.mission-patch {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at 50% 35%, #1a1a1a, #050505 70%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6), 0 30px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.mission-patch::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.18);
}

.mission-patch::after {
    content: '';
    position: absolute;
    inset: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.patch-ring {
    position: absolute;
    inset: 0;
    animation: patch-rotate 40s linear infinite;
}

.patch-ring span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.32em;
    color: var(--text-dim);
    white-space: nowrap;
}

.patch-ring span:nth-child(1) { transform: rotate(-90deg) translate(-72px, -136px); }
.patch-ring span:nth-child(2) { transform: rotate(0deg) translate(8px, -136px); }
.patch-ring span:nth-child(3) { transform: rotate(90deg) translate(-66px, -136px); }
.patch-ring span:nth-child(4) { transform: rotate(180deg) translate(8px, -136px); }

@keyframes patch-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.patch-inner {
    position: absolute;
    inset: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, #2a2a2a, #0a0a0a 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    overflow: hidden;
}

.patch-rocket {
    width: 70%;
    height: 70%;
    color: #f5f5f5;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.patch-stars {
    position: absolute;
    inset: 0;
}

.patch-stars span {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 4px #fff;
}

.patch-stars span:nth-child(1) { top: 20%; left: 15%; }
.patch-stars span:nth-child(2) { top: 30%; right: 20%; }
.patch-stars span:nth-child(3) { top: 70%; left: 22%; }
.patch-stars span:nth-child(4) { top: 75%; right: 15%; }
.patch-stars span:nth-child(5) { top: 50%; left: 50%; }

/* ============================
   Science cards
   ============================ */
.science-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 100px;
}

.sci-card {
    padding: 28px;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sci-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.sci-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.sci-kid {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 14px;
    font-weight: 400;
}

.sci-deep {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.55;
    font-weight: 300;
    margin-bottom: 22px;
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
    flex: 1;
}

.sci-deep span {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-faint);
    display: block;
    margin-bottom: 6px;
}

.sci-diagram {
    margin-top: auto;
    height: 110px;
    position: relative;
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Staging diagram */
.stage {
    width: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--border-strong);
    border-radius: 3px;
    animation: stage-fall 4s ease-in-out infinite;
}

.stage.s1 { height: 18px; animation-delay: 0s; }
.stage.s2 { height: 28px; animation-delay: 0.5s; background: rgba(255, 255, 255, 0.25); }
.stage.s3 { height: 42px; animation-delay: 1s; background: rgba(255, 255, 255, 0.4); }

@keyframes stage-fall {
    0%, 70%   { opacity: 1; transform: translateY(0); }
    85%       { opacity: 0; transform: translateY(20px); }
    100%      { opacity: 1; transform: translateY(0); }
}

/* Orbital diagram */
.orbit-ring {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
}

.orbit-body {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #888, #222);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
}

.orbit-craft {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px #fff;
    top: 50%;
    left: 50%;
    transform-origin: 0 32px;
    animation: orbit-spin 6s linear infinite;
}

@keyframes orbit-spin {
    from { transform: translate(-50%, -45%) rotate(0deg) translateY(-32px); }
    to   { transform: translate(-50%, -45%) rotate(360deg) translateY(-32px); }
}

/* ISP bars */
.sci-diagram:has(.isp-bar) {
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    justify-content: center;
}

.isp-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hairline);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.isp-fill {
    height: 100%;
    width: var(--w);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.5));
    animation: isp-grow 2s ease-out;
}

.isp-bar span {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.2em;
    color: var(--text);
    z-index: 1;
}

@keyframes isp-grow {
    from { width: 0; }
    to   { width: var(--w); }
}

/* Aero icon — game's aerodynamic surface with arrows */
.aero-icon {
    position: absolute;
    top: 58%;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%) rotate(-90deg) scaleX(-1) rotate(180deg);
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

/* Aerodynamic airflow curves around the icon */
.aero-flows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.aero-flow-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 0.7;
    stroke-linecap: round;
    stroke-dasharray: 4 6;
    animation: aero-flow 2.5s linear infinite;
}

.aero-flow-path:nth-child(2) { animation-delay: 0.4s; }
.aero-flow-path:nth-child(3) { animation-delay: 0.2s; opacity: 0.65; }
.aero-flow-path:nth-child(4) { animation-delay: 0.6s; opacity: 0.65; }

@keyframes aero-flow {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: 10; }
}

/* ============================
   Vision (legacy, unused)
   ============================ */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.vision-card {
    padding: 40px 32px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.vision-card.featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border-color: var(--border-strong);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.vision-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    margin-bottom: 28px;
}

.vision-icon svg { width: 22px; height: 22px; }

.vision-card h3 {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.vision-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
}

/* ============================
   Features
   ============================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 140px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 20px;
}

.feature-text h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.feature-text > p {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 300;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 1px;
    background: var(--text-faint);
}

.feature-list li::after { display: none; }

/* Feature visuals */
.feature-visual { position: relative; }

.parts-card, .crew-card, .reentry-card {
    padding: 32px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Parts inventory grid */
.parts-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    text-transform: uppercase;
}

.parts-count {
    color: var(--text);
    font-weight: 500;
}

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

.part-cell {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.3s;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.part-cell img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.4s ease;
    mix-blend-mode: screen;
}

.part-cell::after {
    content: attr(data-label);
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    color: var(--text);
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
    background: rgba(0, 0, 0, 0.7);
    padding: 3px 7px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
    z-index: 2;
    white-space: nowrap;
}

.part-cell:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-strong);
}

.part-cell:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.part-cell:hover::after { opacity: 1; }

.part-cell.more {
    background: transparent;
    border-style: dashed;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
}

.part-cell.more span {
    color: var(--text);
}

/* Crew */
.crew-card { gap: 12px; justify-content: flex-start; }

.crew-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--hairline);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    text-transform: uppercase;
}

.status-tag {
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    padding: 3px 10px;
    font-size: 9px;
    letter-spacing: 0.15em;
    background: rgba(255, 255, 255, 0.04);
}

.crew-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--hairline);
    border-radius: 12px;
}

.crew-row > div:nth-child(2) { flex: 1; }
.crew-row strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.crew-row span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.avatar.a1 { background: radial-gradient(circle at 30% 30%, #f5f5f5, #888 70%, #444); }
.avatar.a2 { background: radial-gradient(circle at 30% 30%, #d8d8d8, #6a6a6a 70%, #2a2a2a); }
.avatar.a3 { background: radial-gradient(circle at 30% 30%, #e8e8e8, #777 70%, #333); }

.status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status.online { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
.status.away   { background: rgba(255, 255, 255, 0.35); }

/* Reentry */
.reentry-card {
    padding: 0;
    overflow: hidden;
}

.planet {
    position: absolute;
    bottom: -42%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a2a2a, #0e0e0e 60%, #050505);
    box-shadow: inset -20px -20px 60px rgba(0, 0, 0, 0.6), 0 0 100px rgba(255, 255, 255, 0.08);
}

.planet::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(255, 255, 255, 0.18), transparent 70%);
}

.trajectory {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60%;
    height: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-bottom: none;
    border-right: none;
    border-radius: 50% 0 0 0;
    transform: rotate(-15deg);
}

.capsule {
    position: absolute;
    top: 25%;
    right: 22%;
    color: #fff;
    font-size: 22px;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.7);
    animation: capsule-trail 4s ease-in infinite;
}

@keyframes capsule-trail {
    0%   { top: 15%; right: 15%; opacity: 1; }
    70%  { top: 50%; right: 50%; opacity: 1; }
    100% { top: 60%; right: 55%; opacity: 0; }
}

.reentry-readout {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--text);
    text-transform: uppercase;
    text-align: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--hairline);
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

/* ============================
   Destinations
   ============================ */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.dest-card {
    padding: 22px 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dest-card.featured-dest {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border-color: var(--border-strong);
}

.planet-img {
    width: 110px;
    height: 110px;
    margin: -4px auto 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planet-img img,
.planet-img .planet-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.08));
}

.dest-card:hover .planet-img img,
.dest-card:hover .planet-img .planet-svg {
    transform: scale(1.08);
}

.planet-art {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 22px;
    box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.6), 0 8px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.planet-art::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse 60% 30% at 30% 20%, rgba(255, 255, 255, 0.25), transparent 70%);
}

.p-earth { background: radial-gradient(circle at 30% 30%, #4d7fb5, #1d3d6b 50%, #0a1d3a); }
.p-earth::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 25% 8% at 60% 35%, rgba(120, 180, 120, 0.5), transparent 70%),
        radial-gradient(ellipse 18% 10% at 30% 60%, rgba(120, 180, 120, 0.4), transparent 70%),
        radial-gradient(ellipse 30% 6% at 70% 70%, rgba(255, 255, 255, 0.3), transparent 70%);
}

.p-moon { background: radial-gradient(circle at 30% 30%, #c8c8c8, #6a6a6a 60%, #2a2a2a); }
.p-moon::after {
    content: '';
    position: absolute;
    top: 30%; left: 25%;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    box-shadow:
        18px 8px 0 -3px rgba(0, 0, 0, 0.25),
        6px 28px 0 -2px rgba(0, 0, 0, 0.2),
        -6px 14px 0 -4px rgba(0, 0, 0, 0.2);
}

.p-mars { background: radial-gradient(circle at 30% 30%, #d36e3e, #8b3a1a 55%, #3a1208); }
.p-mars::after {
    content: '';
    position: absolute;
    top: 20%; left: 30%;
    width: 16px; height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    box-shadow:
        20px 14px 0 -1px rgba(0, 0, 0, 0.18),
        -4px 24px 0 -2px rgba(0, 0, 0, 0.15);
}

.p-venus { background: radial-gradient(circle at 30% 30%, #f0d49a, #b88840 60%, #5a3d18); }

.p-mercury { background: radial-gradient(circle at 30% 30%, #b8b8b8, #6a5a4a 60%, #2a2018); }
.p-mercury::after {
    content: '';
    position: absolute;
    top: 25%; left: 28%;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    box-shadow:
        15px 6px 0 -2px rgba(0, 0, 0, 0.25),
        4px 22px 0 -3px rgba(0, 0, 0, 0.2);
}

.p-jupiter {
    background:
        linear-gradient(180deg,
            #b88a6a 0%, #b88a6a 18%,
            #d8b890 18%, #d8b890 28%,
            #8b5a3a 28%, #8b5a3a 36%,
            #c89870 36%, #c89870 50%,
            #8b5a3a 50%, #8b5a3a 58%,
            #d8b890 58%, #d8b890 70%,
            #b88a6a 70%, #b88a6a 80%,
            #8b5a3a 80%);
}
.p-jupiter::after {
    content: '';
    position: absolute;
    top: 55%; left: 60%;
    width: 12px; height: 5px;
    border-radius: 50%;
    background: #a83a1a;
    box-shadow: 0 0 6px rgba(168, 58, 26, 0.6);
}

.p-saturn { background: radial-gradient(circle at 30% 30%, #e8d4a8, #b89858 55%, #5a4828); }
.p-saturn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 14px;
    border: 1px solid rgba(232, 212, 168, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
    background: linear-gradient(90deg, transparent, rgba(232, 212, 168, 0.3), transparent);
}

.p-deep {
    background:
        radial-gradient(circle at 30% 30%, #1a1a3a, #050514 60%, #000),
        radial-gradient(circle, #fff 1px, transparent 1px) 0 0/12px 12px;
    background-blend-mode: screen;
}
.p-deep::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
    background-size: 14px 14px, 22px 22px;
    background-position: 2px 4px, 8px 12px;
    opacity: 0.7;
}

/* Sun */
.p-sun {
    background: radial-gradient(circle at 50% 50%, #fff5b8, #ffaa3a 35%, #c95a18 70%, #6a2a08);
    box-shadow: inset -8px -8px 24px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 170, 60, 0.5), 0 0 24px rgba(255, 220, 100, 0.6);
    animation: sun-pulse 4s ease-in-out infinite;
}
.p-sun::after {
    content: '';
    position: absolute;
    inset: -15%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 80, 0.3), transparent 60%);
    z-index: -1;
}
@keyframes sun-pulse {
    0%, 100% { box-shadow: inset -8px -8px 24px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 170, 60, 0.5), 0 0 24px rgba(255, 220, 100, 0.6); }
    50%      { box-shadow: inset -8px -8px 24px rgba(0, 0, 0, 0.3), 0 0 80px rgba(255, 170, 60, 0.65), 0 0 36px rgba(255, 220, 100, 0.7); }
}

/* Uranus */
.p-uranus { background: radial-gradient(circle at 30% 30%, #b8e6e0, #5ea59a 50%, #1e4a48 85%); }
.p-uranus::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 6px;
    border: 1px solid rgba(184, 230, 224, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(75deg);
    background: linear-gradient(90deg, transparent, rgba(184, 230, 224, 0.2), transparent);
}

/* Neptune */
.p-neptune {
    background:
        linear-gradient(180deg,
            #4a78c8 0%, #4a78c8 30%,
            #2e5a9e 30%, #2e5a9e 50%,
            #4a78c8 50%, #4a78c8 65%,
            #1d3d6b 65%, #1d3d6b 80%,
            #2e5a9e 80%);
    background-blend-mode: multiply;
}
.p-neptune::after {
    content: '';
    position: absolute;
    top: 45%; left: 40%;
    width: 18px; height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
}

/* Ceres */
.p-ceres { background: radial-gradient(circle at 30% 30%, #b8a890, #8a785a 60%, #2a2418); }
.p-ceres::after {
    content: '';
    position: absolute;
    top: 30%; left: 40%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow:
        12px 8px 0 -2px rgba(255, 255, 255, 0.3),
        -8px 16px 0 -3px rgba(255, 255, 255, 0.2);
}

/* Pluto */
.p-pluto { background: radial-gradient(circle at 30% 30%, #c8a890, #8a6850 55%, #3a2818); }
.p-pluto::after {
    content: '';
    position: absolute;
    top: 35%; left: 25%;
    width: 28px; height: 22px;
    border-radius: 50%;
    background: rgba(180, 140, 110, 0.6);
    transform: rotate(-15deg);
}

/* ============================
   Missions Archive
   ============================ */
.missions {
    padding-bottom: 100px;
}

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

.patch-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 10px 14px;
    border-radius: 16px;
    border: 1px solid var(--hairline);
    background: rgba(255, 255, 255, 0.015);
    transition: all 0.4s ease;
    position: relative;
}

.patch-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.06), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.patch-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.035);
}

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

.patch-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.6s ease;
}

.patch-card:hover img {
    opacity: 1;
    transform: scale(1.06) rotate(2deg);
}

.patch-card figcaption {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.3;
}

.missions-foot {
    text-align: center;
    margin-top: 50px;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ============================
   Carousel
   ============================ */
.carousel {
    position: relative;
    margin-top: 30px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-strong);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.carousel-btn svg { width: 20px; height: 20px; }

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

.dest-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.dest-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.moon-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    text-transform: uppercase;
}

.dest-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-faint);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dest-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.55;
    font-weight: 300;
    flex: 1;
}

/* ============================
   Release card
   ============================ */
.release-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 36px 44px 44px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.release-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 60%);
    pointer-events: none;
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 26px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--hairline);
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.release-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.release-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.release-body {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.release-title {
    margin-bottom: 18px !important;
}

.release-info {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
}

.release-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}

/* Store badges */
.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.store-badge img {
    height: 60px;
    width: auto;
    display: block;
}

.store-badge.dimmed {
    filter: brightness(0.55) saturate(0);
    cursor: default;
}

.store-badge:not(.dimmed):hover {
    transform: translateY(-3px) scale(1.03);
}

/* ============================
   Screenshots gallery (coverflow)
   ============================ */
.screenshots { padding-bottom: 100px; }

.screenshots-track-wrap {
    position: relative;
    margin-top: 20px;
}

.screenshots-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 40px calc(50% - 165px) 60px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    perspective: 1200px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.screenshots-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.screenshots-track.is-dragging .shot {
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.screenshots-track::-webkit-scrollbar { display: none; }

.shot {
    flex: 0 0 auto;
    width: 330px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition:
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.5s ease;
    transform-origin: center center;
    will-change: transform, opacity;
    cursor: pointer;
}

.shot img {
    pointer-events: none;
}

.shot:not(.is-active) { cursor: pointer; }
.shot.is-active img { cursor: zoom-in; }

/* Video shot — first slide */
.shot-video .shot-thumb {
    position: relative;
    width: 100%;
    height: 780px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.shot-video .shot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
}

.shot-video.is-active .shot-thumb { cursor: pointer; }

.shot-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

.shot-video.is-active:hover .shot-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}

.shot-play svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

@media (max-width: 640px) {
    .shot-video .shot-thumb { height: 470px; border-radius: 18px; }
    .shot-play { width: 62px; height: 62px; }
    .shot-play svg { width: 24px; height: 24px; }
}

.shot img {
    width: 100%;
    height: 780px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: border-color 0.4s, box-shadow 0.4s;
    display: block;
}

.shot.is-active img {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 80px rgba(110, 200, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.shot figcaption {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--text);
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 8px;
    opacity: 0.95;
}

/* ============================
   Lightbox
   ============================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    cursor: zoom-out;
}

.lightbox[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
}

.lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 100%;
    max-height: 100%;
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lightbox[data-open="true"] .lightbox-figure {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 180px);
    width: auto;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    cursor: default;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    text-align: center;
    cursor: default;
    max-width: 80vw;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close svg,
.lightbox-nav svg {
    width: 20px;
    height: 20px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .lightbox { padding: 20px; }
    .lightbox-close { top: 12px; right: 12px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close, .lightbox-nav { width: 40px; height: 40px; }
}

/* Carousel dots indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.carousel-dot {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.85);
    width: 36px;
}

/* ============================
   FAQ
   ============================ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.faq-item:hover {
    border-color: var(--border-strong);
}

.faq-item[open] {
    background: var(--surface-strong);
    border-color: var(--border-strong);
}

.faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-item summary::after {
    content: '';
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background:
        linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
        linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
    color: var(--text-faint);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(135deg);
    color: var(--text);
}

.faq-item[open] summary { color: var(--text); }

.faq-item p {
    padding: 0 28px 24px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    animation: faq-open 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes faq-open {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   Community
   ============================ */
.community-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.community-video {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.community-video:hover .video-frame img {
    transform: scale(1.04);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.community-video:hover .video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}

.video-play svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
}

.community-video {
    cursor: pointer;
    overflow: hidden;
}

.video-meta {
    padding: 22px 28px 26px;
    border-top: 1px solid var(--hairline);
}

.video-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 10px;
}

.video-meta h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}

.community-channels {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    color: var(--text);
    transition: all 0.3s;
    position: relative;
    flex: 1;
    min-height: 86px;
}

.channel-card:hover {
    transform: translateX(4px);
}

.channel-card:hover .channel-arrow {
    transform: translateX(4px);
    color: var(--text);
}

.channel-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.channel-icon svg { width: 18px; height: 18px; }

.channel-info { flex: 1; }

.channel-info h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.channel-count {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    text-transform: uppercase;
}

.channel-info p {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 300;
    line-height: 1.4;
}

/* Big stat number — used in section titles for impact */
.big-stat-num {
    display: block;
    font-size: clamp(56px, 8vw, 110px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #fff 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.channel-arrow {
    font-size: 20px;
    color: var(--text-faint);
    transition: all 0.3s;
    flex-shrink: 0;
}

/* ============================
   Footer
   ============================ */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--hairline);
    margin-top: 80px;
    position: relative;
    z-index: 5;
    background: #000;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-by {
    color: var(--text);
    opacity: 0.85;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.footer-logo {
    height: 36px;
    width: auto;
    display: block;
    opacity: 0.95;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

/* ============================
   Reveal animation
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

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

/* ============================
   Responsive
   ============================ */
/* Tablet — 1080px */
@media (max-width: 1080px) {
    .science-grid { grid-template-columns: repeat(2, 1fr); }
    .destinations-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .community-grid { grid-template-columns: 1fr; }
    .earth-meta { right: 4px; }
    .release-platforms { grid-template-columns: repeat(3, 1fr); }
    section { padding: 110px 0; }
}

/* Tablet portrait — 960px */
@media (max-width: 960px) {
    .nav-cta { display: none; }
    .burger { display: flex; }

    /* Mobile menu overlay */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        max-width: 420px;
        background: rgba(0, 0, 0, 0.94);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--hairline);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        padding: 80px 32px;
        margin: 0;
        list-style: none;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }

    body.menu-open .nav-links { transform: translateX(0); }
    body.menu-open { overflow: hidden; }

    .nav-links a {
        font-family: var(--font-display);
        font-size: 26px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text);
        opacity: 1;
    }

    .nav-mobile-cta { display: block; margin-top: 20px; }
    .nav-mobile-cta .btn-primary {
        font-family: var(--font-sans);
        font-size: 14px;
        text-transform: none;
        letter-spacing: 0.01em;
        color: #000;
    }

    .platforms-grid,
    .store-badges { gap: 12px; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-text .section-title { text-align: center; }
    .audience { max-width: 600px; margin-left: auto; margin-right: auto; }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 90px;
    }
    .feature-row.reverse .feature-text,
    .feature-row.reverse .feature-visual { order: 0; }

    .feature-visual { max-width: 480px; margin: 0 auto; width: 100%; }

    .hero-stats { gap: 50px; padding-top: 40px; }

    section { padding: 90px 0; }

    .container { padding: 0 20px; }

    .planet-img { width: 120px; height: 120px; }

    .release-card { padding: 32px 28px 36px; }
    .video-meta { padding: 18px 22px 22px; }
    .video-meta h3 { font-size: 16px; }
}

/* Mobile — 640px */
@media (max-width: 640px) {
    .science-grid { grid-template-columns: 1fr; }
    .destinations-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .audience { grid-template-columns: 1fr; gap: 24px; }
    .carousel-btn { width: 40px; height: 40px; }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
    .earth-meta { position: static; margin: -32px auto 0; }
    .earth-wrap { max-width: 360px; }

    .shot { width: 260px; }
    .shot img { height: 470px; border-radius: 18px; }
    .screenshots-track { padding: 32px calc(50% - 130px) 50px; }

    .hero-stats { gap: 32px; }
    .stat-num { font-size: 32px; }

    .telemetry-row { gap: 14px; }

    .feature-list { gap: 10px; }

    .dest-card { padding: 22px; }
    .dest-card h3 { font-size: 16px; }
    .moon-tag { font-size: 9px; }
    .planet-img { width: 100px; height: 100px; }

    .faq-item summary { padding: 18px 22px; font-size: 15px; }
    .faq-item p { padding: 0 22px 22px; font-size: 14px; }

    .store-badges { flex-direction: column; gap: 12px; }
    .store-badge img { height: 56px; }

    .channel-card { padding: 14px 18px; gap: 14px; min-height: auto; }
    .channel-icon { width: 38px; height: 38px; }
    .channel-info p { font-size: 12px; }

    .release-platforms { grid-template-columns: 1fr; }

    .video-play { width: 56px; height: 56px; }
    .video-play svg { width: 22px; height: 22px; }
}

/* Phone — 480px */
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .footer-inner { justify-content: center; text-align: center; flex-direction: column; gap: 16px; }
    .footer-meta { align-items: center; text-align: center; }
    .destinations-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .nav { padding: 0 16px; }
    section { padding: 70px 0; }
    .section-head { margin-bottom: 50px; }
    .hero { padding: 110px 0 60px; }
}
