@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nebula-purple: #6a0dad;
    --cosmic-blue: #0066cc;
    --star-white: #ffffff;
    --space-black: #0a0a12;
    --meteor-orange: #ff6b35;
    --galaxy-dark: #12121f;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--space-black);
    color: var(--star-white);
    line-height: 1.75;
}

h1, h2, h3, h4 {
    font-family: 'Audiowide', cursive;
    color: var(--star-white);
}

a {
    color: var(--meteor-orange);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--cosmic-blue);
    text-shadow: 0 0 10px var(--cosmic-blue);
}

.space-header {
    background: linear-gradient(180deg, rgba(106, 13, 173, 0.3) 0%, transparent 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--nebula-purple);
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ship-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ship-logo svg {
    width: 48px;
    height: 48px;
}

.ship-logo span {
    font-family: 'Audiowide', cursive;
    font-size: 1.6rem;
    color: var(--star-white);
    text-shadow: 0 0 15px var(--nebula-purple);
}

.space-nav {
    display: flex;
    gap: 2.5rem;
}

.space-nav a {
    color: var(--star-white);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.space-nav a:hover {
    color: var(--meteor-orange);
}

.launch-btn {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.launch-btn div {
    width: 28px;
    height: 3px;
    background: var(--meteor-orange);
    margin: 6px 0;
    border-radius: 2px;
}

.warp-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--galaxy-dark);
    z-index: 1001;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.4s;
    border-left: 2px solid var(--nebula-purple);
}

.warp-menu.engaged {
    right: 0;
}

.warp-menu a {
    font-family: 'Audiowide', cursive;
    font-size: 1.2rem;
    color: var(--star-white);
}

.warp-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--meteor-orange);
}

.mission-content {
    padding-top: 85px;
}

.cosmic-hero {
    background: radial-gradient(ellipse at center, var(--nebula-purple) 0%, var(--space-black) 70%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cosmic-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='white' fill-opacity='0.3'/%3E%3Ccircle cx='20' cy='30' r='0.5' fill='white' fill-opacity='0.5'/%3E%3Ccircle cx='80' cy='70' r='0.7' fill='white' fill-opacity='0.4'/%3E%3C/svg%3E");
}

.cosmic-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px var(--nebula-purple);
    position: relative;
    z-index: 1;
}

.cosmic-hero p {
    max-width: 750px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.orbit-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--meteor-orange) 0%, #cc4400 100%);
    color: var(--star-white);
    padding: 1.1rem 3rem;
    font-family: 'Audiowide', cursive;
    font-size: 1rem;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.orbit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
    color: var(--star-white);
}

.warning-signals {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.signal {
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid var(--meteor-orange);
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
}

.cockpit-section {
    padding: 4rem 2rem;
    background: var(--space-black);
}

.cockpit-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px var(--cosmic-blue);
}

.viewport {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--galaxy-dark);
    border: 2px solid var(--cosmic-blue);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 102, 204, 0.3);
}

.viewport iframe {
    width: 100%;
    height: 640px;
    border: none;
    display: block;
}

.stations-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--space-black) 0%, var(--galaxy-dark) 100%);
}

.stations-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.station-card {
    background: rgba(106, 13, 173, 0.2);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--nebula-purple);
    transition: all 0.3s;
}

.station-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.4);
}

.station-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.station-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--meteor-orange);
}

.station-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.logs-section {
    padding: 5rem 2rem;
    background: var(--space-black);
}

.logs-inner {
    max-width: 950px;
    margin: 0 auto;
}

.logs-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.logs-section p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.docs-section {
    padding: 4rem 2rem;
    background: var(--space-black);
}

.docs-inner {
    max-width: 900px;
    margin: 0 auto;
}

.docs-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.docs-section h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    color: var(--meteor-orange);
}

.docs-section p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.docs-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.docs-section li {
    margin-bottom: 0.6rem;
}

.docking-footer {
    background: var(--galaxy-dark);
    padding: 3rem 2rem;
    border-top: 1px solid var(--nebula-purple);
}

.footer-core {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    margin: 0 1.2rem;
    font-weight: 600;
}

.support-section {
    margin-bottom: 1.5rem;
}

.support-section p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.support-section a {
    margin: 0 0.8rem;
    font-size: 0.85rem;
}

.transmission-copy {
    font-size: 0.8rem;
    opacity: 0.5;
}

.airlock-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.97);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.airlock-modal.depressurized {
    display: none;
}

.airlock-panel {
    background: var(--galaxy-dark);
    border: 2px solid var(--cosmic-blue);
    border-radius: 10px;
    padding: 3rem;
    max-width: 520px;
    margin: 1rem;
    text-align: center;
}

.airlock-panel h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--meteor-orange);
}

.airlock-panel p {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.airlock-controls {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.airlock-btn {
    padding: 1rem 2.5rem;
    font-family: 'Audiowide', cursive;
    font-size: 0.95rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.airlock-btn.authorize {
    background: var(--meteor-orange);
    color: var(--star-white);
}

.airlock-btn.deny {
    background: transparent;
    border: 2px solid var(--star-white);
    color: var(--star-white);
}

.airlock-btn:hover {
    transform: scale(1.05);
}

.denied-panel {
    display: none;
    text-align: center;
}

.denied-panel h2 {
    color: #ff4444;
}

@media (max-width: 768px) {
    .space-nav {
        display: none;
    }
    
    .launch-btn {
        display: block;
    }
    
    .cosmic-hero h1 {
        font-size: 2.2rem;
    }
    
    .viewport iframe {
        height: 400px;
    }
    
    .airlock-controls {
        flex-direction: column;
    }
}
