@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700&family=Space+Grotesk:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --space-black: #0b0d17;
    --eclipse-blue: #1a237e;
    --nebula: #3949ab;
    --star-white: #e8eaf6;
    --corona: #ff7043;
    --glow: #7c4dff;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--space-black);
    color: var(--star-white);
    line-height: 1.65;
    overflow-x: hidden;
}

.topbar {
    background: rgba(11, 13, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 77, 255, 0.3);
}

.topbar-flex {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--star-white);
    text-decoration: none;
    position: relative;
}

.site-logo::before {
    content: '◐';
    margin-right: 0.5rem;
    color: var(--corona);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--star-white);
    font-size: 1.8rem;
    cursor: pointer;
}

.navigation {
    display: flex;
    gap: 0.5rem;
}

.navigation a {
    color: var(--star-white);
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navigation a:hover {
    background: var(--glow);
    color: white;
}

.eclipse-hero {
    margin-top: 70px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center, var(--eclipse-blue) 0%, var(--space-black) 70%);
    position: relative;
}

.eclipse-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 40%, var(--corona) 45%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero-text h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--star-white), var(--corona));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.info-pills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pill {
    background: rgba(124, 77, 255, 0.2);
    border: 1px solid var(--glow);
    color: var(--star-white);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
}

.game-area {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--space-black), var(--eclipse-blue), var(--space-black));
}

.game-area h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--corona);
}

.game-window {
    max-width: 1300px;
    margin: 0 auto;
    background: rgba(26, 35, 126, 0.3);
    border: 2px solid var(--glow);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(124, 77, 255, 0.3);
}

.game-window iframe {
    width: 100%;
    height: 620px;
    border: none;
}

.orbit-section {
    padding: 5rem 2rem;
    background: var(--space-black);
}

.orbit-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.orbit-card {
    background: linear-gradient(135deg, rgba(57, 73, 171, 0.3), rgba(11, 13, 23, 0.8));
    border: 1px solid rgba(124, 77, 255, 0.4);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.orbit-card:hover {
    transform: translateY(-8px);
    border-color: var(--corona);
}

.orbit-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.orbit-card h3 {
    font-family: 'Exo 2', sans-serif;
    color: var(--corona);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-cosmos {
    padding: 5rem 2rem;
    background: radial-gradient(ellipse at bottom, var(--eclipse-blue), var(--space-black));
}

.about-inner {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.about-cosmos h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.4rem;
    color: var(--corona);
    margin-bottom: 2rem;
}

.about-cosmos p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.page-shell {
    margin-top: 70px;
    min-height: calc(100vh - 220px);
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--eclipse-blue), var(--space-black));
}

.page-box {
    max-width: 950px;
    margin: 0 auto;
}

.page-box h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.8rem;
    color: var(--corona);
    margin-bottom: 2rem;
}

.page-box h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    color: var(--glow);
    margin: 2.5rem 0 1rem;
}

.page-box p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    opacity: 0.95;
}

.page-box ul {
    margin: 1rem 0 1.5rem 2rem;
}

.page-box li {
    margin-bottom: 0.7rem;
}

.play-info {
    background: rgba(124, 77, 255, 0.15);
    border-left: 4px solid var(--corona);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.cosmos-footer {
    background: var(--space-black);
    border-top: 1px solid rgba(124, 77, 255, 0.3);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--star-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--corona);
}

.rg-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 77, 255, 0.2);
}

.rg-area h4 {
    color: var(--glow);
    margin-bottom: 1rem;
    font-family: 'Exo 2', sans-serif;
}

.rg-area a {
    color: var(--star-white);
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.7;
}

.rg-area a:hover {
    opacity: 1;
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(11, 13, 23, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.gate-content {
    background: linear-gradient(135deg, var(--eclipse-blue), var(--space-black));
    border: 2px solid var(--glow);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
}

.gate-content h2 {
    font-family: 'Exo 2', sans-serif;
    color: var(--corona);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.gate-content p {
    margin-bottom: 1.5rem;
}

.gate-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.gate-btns button {
    font-family: 'Exo 2', sans-serif;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-enter {
    background: linear-gradient(90deg, var(--corona), var(--glow));
    color: white;
}

.btn-enter:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 112, 67, 0.5);
}

.btn-leave {
    background: transparent;
    border: 2px solid var(--star-white) !important;
    color: var(--star-white);
}

.btn-leave:hover {
    background: var(--star-white);
    color: var(--space-black);
}

.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .orbit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--space-black);
        flex-direction: column;
        padding: 1rem;
        display: none;
        border-bottom: 1px solid var(--glow);
    }

    .navigation.show {
        display: flex;
    }

    .navigation a {
        padding: 1rem;
        border-radius: 8px;
    }

    .eclipse-hero::before {
        width: 200px;
        height: 200px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .orbit-grid {
        grid-template-columns: 1fr;
    }

    .game-window iframe {
        height: 420px;
    }

    .gate-btns {
        flex-direction: column;
    }
}
