@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cosmic-purple: #6b2fb5;
    --deep-space: #0f0326;
    --nebula-blue: #3d5af1;
    --star-white: #f0f4ff;
    --moon-glow: #a78bfa;
    --accent-cyan: #22d3ee;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: var(--deep-space);
    color: var(--star-white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, #1a0b3f 0%, var(--deep-space) 60%);
    z-index: -1;
}

/* Starfield Effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Top Navigation */
.top-nav {
    background: rgba(15, 3, 38, 0.95);
    border-bottom: 2px solid var(--cosmic-purple);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--moon-glow), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--star-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(107, 47, 181, 0.3);
    border-color: var(--cosmic-purple);
    color: var(--accent-cyan);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: var(--cosmic-purple);
    border: none;
    padding: 0.7rem;
    cursor: pointer;
    border-radius: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--star-white);
    margin: 4px 0;
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--moon-glow), var(--accent-cyan), var(--nebula-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--moon-glow);
    font-weight: 400;
}

/* Content Boxes */
.cosmic-box {
    background: linear-gradient(135deg, rgba(107, 47, 181, 0.2), rgba(61, 90, 241, 0.1));
    border: 2px solid var(--cosmic-purple);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(107, 47, 181, 0.3);
    backdrop-filter: blur(10px);
}

.cosmic-box h2 {
    color: var(--accent-cyan);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cosmic-box h3 {
    color: var(--moon-glow);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.cosmic-box p {
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Alert Box */
.alert-box {
    background: rgba(34, 211, 238, 0.1);
    border: 2px solid var(--accent-cyan);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.alert-box h3 {
    color: var(--accent-cyan);
    margin-top: 0;
    margin-bottom: 1rem;
}

.alert-box ul {
    list-style-position: inside;
}

.alert-box li {
    margin: 0.5rem 0;
}

/* Game Section */
.game-section {
    background: rgba(15, 3, 38, 0.8);
    border: 3px solid var(--nebula-blue);
    border-radius: 25px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 0 50px rgba(61, 90, 241, 0.4);
}

.game-section h2 {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.game-iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background: rgba(61, 90, 241, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--nebula-blue);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(61, 90, 241, 0.4);
}

/* Footer */
.space-footer {
    background: rgba(15, 3, 38, 0.95);
    border-top: 3px solid var(--cosmic-purple);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.space-footer h3 {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.resource-links a {
    color: var(--star-white);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--cosmic-purple);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(107, 47, 181, 0.2);
}

.resource-links a:hover {
    background: var(--cosmic-purple);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(107, 47, 181, 0.5);
}

/* Age Verification Modal */
.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 3, 38, 0.98);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.age-verification.show {
    display: flex;
}

.verification-panel {
    background: linear-gradient(135deg, #1a0b3f, #0f0326);
    border: 3px solid var(--cosmic-purple);
    border-radius: 25px;
    padding: 3rem;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 0 80px rgba(107, 47, 181, 0.6);
}

.verification-panel h2 {
    color: var(--accent-cyan);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.verification-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.verify-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.verify-btn {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.verify-btn.confirm {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--nebula-blue));
    color: var(--star-white);
}

.verify-btn.confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(107, 47, 181, 0.6);
}

.verify-btn.decline {
    background: rgba(239, 68, 68, 0.8);
    color: white;
}

.verify-btn.decline:hover {
    background: rgb(220, 38, 38);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 3, 38, 0.98);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--cosmic-purple);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .resource-links {
        flex-direction: column;
    }
    
    .verification-panel {
        margin: 1rem;
        padding: 2rem;
    }
    
    .verify-buttons {
        flex-direction: column;
    }
}
