@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;800&family=Inter:wght@300;400;500&display=swap');

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

:root {
    --space-black: #0a0a1a;
    --deep-purple: #1e1b4b;
    --nebula-pink: #ec4899;
    --cosmic-cyan: #06b6d4;
    --star-white: #f0f9ff;
    --plasma-violet: #8b5cf6;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--space-black);
    color: var(--star-white);
    min-height: 100vh;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
}

a {
    color: var(--cosmic-cyan);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--nebula-pink);
}

.cosmic-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.header-flex {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cosmic-brand {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--cosmic-cyan), var(--nebula-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.burger-btn {
    display: none;
    background: none;
    border: 1px solid var(--cosmic-cyan);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cosmic-cyan);
    margin: 5px 0;
}

.space-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.space-nav a {
    color: var(--star-white);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.space-nav a:hover {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cosmic-cyan);
}

.launch-section {
    padding: 180px 2rem 100px;
    text-align: center;
    background: radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                var(--space-black);
    position: relative;
}

.launch-section::before {
    content: '🚀';
    position: absolute;
    top: 120px;
    left: 8%;
    font-size: 3rem;
    opacity: 0.3;
}

.launch-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--star-white), var(--cosmic-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.launch-section p {
    font-size: 1.15rem;
    color: rgba(240, 249, 255, 0.7);
    max-width: 750px;
    margin: 0 auto;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mission-card {
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.6), rgba(10, 10, 26, 0.8));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cosmic-cyan), var(--nebula-pink));
}

.mission-card .icon-orb {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--deep-purple), var(--plasma-violet));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.mission-card h3 {
    color: var(--cosmic-cyan);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.mission-card p {
    color: rgba(240, 249, 255, 0.6);
    font-size: 0.95rem;
}

.game-dock {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-dock h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--star-white);
}

.dock-frame {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--plasma-violet);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.2);
}

.dock-frame iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.story-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--space-black) 100%);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
}

.story-container h2 {
    font-size: 2rem;
    color: var(--star-white);
    text-align: center;
    margin-bottom: 2rem;
}

.story-container p {
    color: rgba(240, 249, 255, 0.7);
    text-align: center;
    margin-bottom: 1.2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.spec-module {
    background: rgba(10, 10, 26, 0.7);
    border-left: 3px solid var(--cosmic-cyan);
    padding: 2rem;
}

.spec-module h4 {
    color: var(--nebula-pink);
    margin-bottom: 1rem;
}

.spec-module p {
    text-align: left;
    font-size: 0.95rem;
}

.ground-control {
    background: rgba(10, 10, 26, 0.95);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.control-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.control-links {
    margin-bottom: 2rem;
}

.control-links a {
    color: rgba(240, 249, 255, 0.6);
    margin: 0 1rem;
    font-size: 0.9rem;
}

.control-links a:hover {
    color: var(--cosmic-cyan);
}

.support-zone {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.support-zone span {
    display: block;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.support-zone a {
    margin: 0 0.6rem;
    font-size: 0.85rem;
    color: rgba(240, 249, 255, 0.5);
}

.legal-text {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #444;
}

.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 26, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gate-overlay.hidden {
    display: none;
}

.gate-panel {
    background: linear-gradient(145deg, var(--deep-purple), var(--space-black));
    border: 2px solid var(--plasma-violet);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 480px;
    box-shadow: 0 0 100px rgba(139, 92, 246, 0.3);
}

.gate-panel h2 {
    color: var(--star-white);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.gate-panel p {
    color: rgba(240, 249, 255, 0.7);
    margin-bottom: 2rem;
}

.gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.gate-buttons button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-launch {
    background: linear-gradient(135deg, var(--cosmic-cyan), var(--plasma-violet));
    color: var(--space-black);
}

.btn-launch:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.4);
}

.btn-abort {
    background: transparent;
    color: var(--star-white);
    border: 1px solid rgba(240, 249, 255, 0.3) !important;
}

.btn-abort:hover {
    border-color: var(--cosmic-cyan) !important;
}

.page-intro {
    padding: 160px 2rem 60px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
}

.page-intro h1 {
    font-size: 2.5rem;
    color: var(--star-white);
}

.content-block {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-block h2 {
    color: var(--cosmic-cyan);
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
}

.content-block p {
    color: rgba(240, 249, 255, 0.7);
    margin-bottom: 1rem;
}

.content-block ul {
    padding-left: 2rem;
    margin: 1rem 0 1.5rem;
}

.content-block li {
    color: rgba(240, 249, 255, 0.7);
    margin-bottom: 0.5rem;
}

.pilot-guide {
    background: rgba(30, 27, 75, 0.4);
    border-left: 3px solid var(--cosmic-cyan);
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.pilot-guide h3 {
    color: var(--cosmic-cyan);
    margin-bottom: 0.5rem;
}

.pilot-guide p {
    margin: 0;
}

@media (max-width: 768px) {
    .burger-btn {
        display: block;
    }
    
    .space-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.98);
        display: none;
        padding: 1rem;
    }
    
    .space-nav.active {
        display: block;
    }
    
    .space-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .space-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .launch-section h1 {
        font-size: 2.2rem;
    }
    
    .launch-section::before {
        display: none;
    }
    
    .cosmic-brand {
        font-size: 1.4rem;
    }
    
    .dock-frame iframe {
        height: 400px;
    }
    
    .gate-panel {
        margin: 1rem;
        padding: 2rem;
    }
    
    .gate-buttons {
        flex-direction: column;
    }
}
