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

:root {
    --bg-deep: #020617;
    --bg-primary: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.4);
    --bg-card-hover: rgba(51, 65, 85, 0.4);
    --text-primary: #e8ecf4;
    --text-secondary: #8e9ab8;
    --text-muted: #5a6a8a;
    --accent-blue: #6366f1;
    --accent-purple: #9933ff;
    --accent-gold: #ffcc00;
    --accent-green: #4dff88;
    --accent-red: #ff4d4d;
    --accent-pink: #ff69b4;
    --tier-starter: #9ca3af;
    --tier-basic: #60a5fa;
    --tier-advanced: #4ade80;
    --tier-elite: #fbbf24;
    --tier-superior: #fb923c;
    --tier-legendary: #c084fc;
    --tier-ultimate: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    min-height: 100vh;
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
}

/* ── Starfield ── */
.starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: white;
}

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ── Nav ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-brand span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 6px 16px;
    border-radius: 10px;
    background: var(--accent-blue);
    color: white !important;
    transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 14, 36, 0.97);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 600;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--accent-blue);
}

.mobile-menu-cta {
    padding: 12px 32px;
    border-radius: 14px;
    background: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

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

    .mobile-menu-btn {
        display: block;
    }
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-visual {
    flex: 0 0 300px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero h1 .gradient-text {
    color: var(--accent-blue);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 0 40px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
        flex: 0 0 auto;
        width: 260px;
    }

    .hero p {
        margin: 0 auto 40px;
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.25);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.hero-proof {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-phone {
    display: none;
}

/* ── Inline CTA ── */
.inline-cta {
    text-align: center;
    margin-top: 48px;
}

/* ── Staggered fade-in ── */
.fade-in-stagger>* {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in-stagger.visible>*:nth-child(1) {
    transition-delay: 0s;
}

.fade-in-stagger.visible>*:nth-child(2) {
    transition-delay: 0.07s;
}

.fade-in-stagger.visible>*:nth-child(3) {
    transition-delay: 0.14s;
}

.fade-in-stagger.visible>*:nth-child(4) {
    transition-delay: 0.21s;
}

.fade-in-stagger.visible>*:nth-child(5) {
    transition-delay: 0.28s;
}

.fade-in-stagger.visible>*:nth-child(6) {
    transition-delay: 0.35s;
}

.fade-in-stagger.visible>*:nth-child(7) {
    transition-delay: 0.42s;
}

.fade-in-stagger.visible>*:nth-child(8) {
    transition-delay: 0.49s;
}

.fade-in-stagger.visible>*:nth-child(9) {
    transition-delay: 0.56s;
}

.fade-in-stagger.visible>*:nth-child(10) {
    transition-delay: 0.63s;
}

.fade-in-stagger.visible>*:nth-child(11) {
    transition-delay: 0.7s;
}

.fade-in-stagger.visible>* {
    opacity: 1;
}

/* ── Ship tooltips ── */
.ship-item {
    position: relative;
}

.ship-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    background: rgba(8, 14, 36, 0.9);
    padding: 3px 8px;
    border-radius: 6px;
}

.ship-item:hover .ship-tooltip {
    opacity: 1;
}

/* ── Comparison section ── */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px 24px;
}

.comparison-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-card.highlight {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(30, 41, 59, 0.55);
    box-shadow: 0 12px 32px -10px rgba(99, 102, 241, 0.2);
}

.comparison-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.comparison-row .icon {
    flex-shrink: 0;
    margin-top: 2px;
}

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

/* ── FAQ section ── */
.faq-list {
    max-width: 640px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-bottom: 20px;
}

/* ── Hero planets ── */
.hero-planet {
    position: absolute;
    pointer-events: none;
    opacity: 0.18;
    z-index: 1;
}

.hero-planet img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-planet-1 {
    width: 140px;
    height: 140px;
    top: 12%;
    left: 4%;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.hero-planet-2 {
    width: 90px;
    height: 90px;
    top: 22%;
    right: 8%;
    animation: float 5s ease-in-out 1s infinite;
    will-change: transform;
}

.hero-planet-3 {
    width: 110px;
    height: 110px;
    bottom: 18%;
    left: 8%;
    animation: float 7s ease-in-out 2s infinite;
    will-change: transform;
}

.hero-planet-4 {
    width: 70px;
    height: 70px;
    bottom: 28%;
    right: 5%;
    animation: float 5.5s ease-in-out 0.5s infinite;
    will-change: transform;
}

.hero-planet-5 {
    width: 60px;
    height: 60px;
    top: 45%;
    left: 2%;
    animation: float 6.5s ease-in-out 3s infinite;
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-planet {
        opacity: 0.1;
    }

    .hero-planet-1 {
        width: 80px;
        height: 80px;
    }

    .hero-planet-2 {
        width: 60px;
        height: 60px;
    }

    .hero-planet-3 {
        width: 70px;
        height: 70px;
    }

    .hero-planet-4,
    .hero-planet-5 {
        display: none;
    }
}

/* ── Stats row ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    margin-top: -40px;
    margin-bottom: 60px;
}

.stat-item {
    padding: 32px 20px;
    text-align: center;
    background: rgba(20, 35, 75, 0.6);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

/* ── Section headers ── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ── How it works ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    background: rgba(51, 65, 85, 0.5);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(99, 102, 241, 0.15);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

/* ── Rules / features ── */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rule-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.rule-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.rule-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rule-icon-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.rule-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* ── Galaxy cards ── */
.galaxy-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 12px 4px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.galaxy-scroll::-webkit-scrollbar {
    height: 4px;
}

.galaxy-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.galaxy-scroll::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

.galaxy-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, background 0.3s;
    border-top: 3px solid var(--gc, transparent);
}

.galaxy-card:hover {
    border-color: var(--gc, rgba(99, 102, 241, 0.4));
    background: rgba(30, 41, 59, 0.65);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px -10px var(--gc, rgba(99, 102, 241, 0.2));
}

.galaxy-planet {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galaxy-planet img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.galaxy-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.galaxy-card .galaxy-tier {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.galaxy-card .galaxy-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.galaxy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
}

/* ── Ships showcase ── */
.ships-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px 20px;
    row-gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 12px 4px;
}

.ship-item {
    width: 96px;
    height: 96px;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, background 0.3s;
    padding: 14px;
    position: relative;
}

.ship-item:hover {
    transform: scale(1.08) translateY(-4px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 16px 32px -10px var(--sc, rgba(99, 102, 241, 0.3));
}

.ship-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(45deg);
}

.ship-tier-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ship-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tier-badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Collections ── */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.collection-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    transition: border-color 0.3s;
}

.collection-card:hover {
    border-color: rgba(78, 103, 168, 0.35);
}

.collection-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.collection-item-preview {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-item-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.collection-card h3 {
    font-size: 15px;
    font-weight: 600;
}

.collection-card .collection-items {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.collection-card .collection-reward {
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

/* ── Packs ── */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.pack-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px 24px;
    transition: border-color 0.3s, transform 0.2s;
}

.pack-card:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 103, 168, 0.4);
}

.pack-accent {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.pack-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pack-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.pack-items-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pack-item-thumb {
    width: 64px;
    height: 64px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.pack-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(45deg);
}

.pack-item-thumb.trail-thumb {
    width: 40px;
    height: 40px;
    padding: 6px;
    border-radius: 8px;
}

.pack-screenshot {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.pack-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.pack-meta {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.pack-meta span {
    color: var(--text-secondary);
}

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

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

/* ── Progression ── */
.progression-track {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    padding: 20px 0;
    overflow-x: auto;
    justify-content: center;
}

.progression-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    width: 100px;
}

.node-ship {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-ship img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(45deg);
}

.progression-node::before {
    content: '';
    position: absolute;
    top: 66px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: rgba(77, 166, 255, 0.2);
}

.progression-node:first-child::before {
    display: none;
}

.node-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.node-label {
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
}

/* ── Titles ── */
.titles-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.title-tag {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ── CTA / Email ── */
.cta-section {
    text-align: center;
    padding: 80px 0 120px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(77, 166, 255, 0.2);
    border-radius: 24px;
    padding: 56px 40px;
    max-width: 600px;
    margin: 0 auto;
    animation: ctaPulse 3s ease-in-out infinite;
}

.cta-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.email-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
}

.email-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 6, 23, 0.6);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.email-form input::placeholder {
    color: var(--text-muted);
}

.email-form input:focus {
    border-color: var(--accent-blue);
}

.email-form button {
    padding: 12px 24px;
    border-radius: 14px;
    border: none;
    background: var(--accent-blue);
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    white-space: nowrap;
}

.email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

@media (max-width: 480px) {
    .email-form {
        flex-direction: column;
    }

    .cta-card {
        padding: 40px 24px;
    }
}

/* ── Footer ── */
footer {
    text-align: center;
    padding: 24px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    margin: 0 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
    will-change: transform;
}

.float-anim-delay {
    animation: float 4s ease-in-out 1s infinite;
    will-change: transform;
}

.float-anim-delay2 {
    animation: float 4s ease-in-out 2s infinite;
    will-change: transform;
}

/* ── Cosmetics (auras & trails) ── */
.cosmetics-intro {
    text-align: center;
    margin-top: 64px;
    margin-bottom: 32px;
}

.cosmetics-intro h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cosmetics-intro p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

.cosmetics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.cosmetic-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
}

.cosmetic-block h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cosmetic-block p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.screenshot-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    overflow: hidden;
}

.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

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

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

/* ── App carousel ── */
.carousel-section {
    display: none;
}

.carousel {
    position: relative;
    width: 100%;
}

.carousel-track {
    overflow: hidden;
    border-radius: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 6, 23, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(77, 166, 255, 0.08);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slides img {
    width: 100%;
    flex-shrink: 0;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(77, 166, 255, 0.4);
}

.carousel-btn--prev {
    left: -18px;
}

.carousel-btn--next {
    right: -18px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
    background: var(--accent-blue);
    transform: scale(1.3);
}

/* ── Nebula blobs ── */
.nebula-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

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

/* ── Hero stagger ── */
.hero-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.6s ease forwards;
}

.hero-stagger>*:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-stagger>*:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-stagger>*:nth-child(3) {
    animation-delay: 0.35s;
}

.hero-stagger>*:nth-child(4) {
    animation-delay: 0.5s;
}

.hero-stagger>*:nth-child(5) {
    animation-delay: 0.65s;
}

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

/* ── Shooting stars ── */
.shooting-star {
    position: fixed;
    width: 80px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: rotate(35deg);
}

@keyframes shootingStar {
    0% {
        translate: 0 0;
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        translate: 300px 210px;
        opacity: 0;
    }
}

/* ── CTA pulse glow ── */
@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(77, 166, 255, 0.08), 0 0 60px rgba(77, 166, 255, 0.04);
    }

    50% {
        box-shadow: 0 0 30px rgba(77, 166, 255, 0.18), 0 0 80px rgba(77, 166, 255, 0.08);
    }
}

/* ── Atmosphere slider ── */
.atmosphere-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 101;
}

.atmosphere-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.atmosphere-btn:hover {
    background: #334155;
}

.atmosphere-btn svg {
    pointer-events: none;
}

.atmosphere-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 180px;
    border-radius: 22px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 22px 0;
}

.atmosphere-track.open {
    display: flex;
}

.atmosphere-rail {
    position: relative;
    width: 4px;
    flex: 1;
    border-radius: 2px;
    background: linear-gradient(180deg, #6366f1, #3b82f6, #0f172a);
}

.atmosphere-thumb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: none;
}

.atmosphere-thumb:active {
    cursor: grabbing;
}

@media (max-width: 480px) {
    .atmosphere-widget {
        bottom: 16px;
        left: 16px;
    }
}

/* ── Orbit demo ── */
.orbit-demo {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.orbit-scene {
    position: relative;
    width: 300px;
    height: 300px;
}

.orbit-planet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
}

.orbit-planet img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.orbit-ship-anchor {
    position: absolute;
    inset: 0;
    animation: orbitSpin 20s linear infinite;
}

.orbit-ship {
    position: absolute;
    top: -16px;
    left: 50%;
    width: 70px;
    height: 70px;
    transform: translateX(-50%) rotate(90deg);
}

.orbit-ship img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

/* ── Scattered background planets ── */
.bg-planet {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
    z-index: 0;
}

.bg-planet img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .bg-planet {
        opacity: 0.07;
    }
}