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

:root {
    --space-black: #050510;
    --deep-blue: #0c1445;
    --electric-blue: #3b82f6;
    --neon-blue: #60a5fa;
    --cosmic-purple: #7c3aed;
    --white: #ffffff;
    --gray-light: #c4d3e8;
    --gray-dim: #7891b5;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--space-black);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Starfield Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, var(--neon-blue), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--white), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--gray-light), transparent),
        radial-gradient(2px 2px at 160px 120px, var(--neon-blue), transparent),
        radial-gradient(1px 1px at 230px 80px, var(--white), transparent),
        radial-gradient(2px 2px at 300px 150px, var(--cosmic-purple), transparent),
        radial-gradient(1px 1px at 400px 60px, var(--white), transparent);
    background-size: 420px 200px;
    animation: stars 60s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.full-container {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Navigation */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(5, 5, 16, 0.95) 0%, rgba(5, 5, 16, 0.7) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-link svg {
    width: 50px;
    height: 50px;
}

.logo-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--cosmic-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-blue), var(--cosmic-purple));
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--electric-blue);
    margin: 6px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero */
.hero-zone {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
}

.hero-zone h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--white) 0%, var(--neon-blue) 50%, var(--cosmic-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-zone .tagline {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 700px;
    margin-bottom: 45px;
}

.status-chips {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.chip {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Game Zone */
.game-zone {
    padding: 40px 0 80px;
}

.game-frame-outer {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: 4px;
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.2);
}

.game-frame-inner {
    background: var(--deep-blue);
    border-radius: 20px;
    overflow: hidden;
}

.game-frame-inner iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

/* Feature Blocks */
.feature-blocks {
    padding: 100px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-block {
    background: rgba(12, 20, 69, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
}

.feature-block:hover {
    border-color: var(--electric-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.feature-block .icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.feature-block h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--neon-blue);
}

.feature-block p {
    color: var(--gray-dim);
    font-size: 0.92rem;
}

/* Info Panels */
.info-panel {
    background: linear-gradient(135deg, rgba(12, 20, 69, 0.8) 0%, rgba(5, 5, 16, 0.8) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    padding: 60px;
    margin: 60px 0;
}

.info-panel h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--neon-blue);
}

.info-panel p {
    color: var(--gray-light);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

/* Page Layouts */
.page-intro {
    padding: 150px 0 70px;
    text-align: center;
}

.page-intro h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.6rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-intro p {
    color: var(--gray-dim);
    margin-top: 15px;
}

.page-body {
    padding: 60px 0;
}

.content-panel {
    background: rgba(12, 20, 69, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    padding: 60px;
}

.content-panel h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--neon-blue);
    margin: 35px 0 15px;
}

.content-panel h2:first-child {
    margin-top: 0;
}

.content-panel p {
    color: var(--gray-light);
    margin-bottom: 15px;
}

.content-panel ul {
    list-style: none;
    margin: 20px 0;
}

.content-panel li {
    color: var(--gray-light);
    padding: 10px 0 10px 30px;
    position: relative;
}

.content-panel li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--electric-blue);
}

/* Footer */
.site-footer {
    background: var(--deep-blue);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 70px 50px 35px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-about .logo-name {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--gray-dim);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-blue);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray-dim);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 7px 0;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--electric-blue);
}

.footer-copy {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--gray-dim);
    font-size: 0.85rem;
}

/* Age Popup */
.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 16, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-popup.closed {
    display: none;
}

.age-popup-box {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--space-black) 100%);
    border: 2px solid var(--electric-blue);
    border-radius: 24px;
    padding: 55px;
    text-align: center;
    max-width: 480px;
    margin: 20px;
    box-shadow: 0 0 100px rgba(59, 130, 246, 0.3);
}

.age-popup-box h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--white) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.age-popup-box p {
    color: var(--gray-light);
    margin-bottom: 35px;
}

.age-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.age-actions button {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-enter {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--cosmic-purple) 100%);
    color: white;
}

.btn-enter:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

.btn-exit {
    background: transparent;
    border: 2px solid var(--gray-dim) !important;
    color: var(--gray-dim);
}

.btn-exit:hover {
    border-color: var(--electric-blue) !important;
    color: var(--electric-blue);
}

/* Responsive */
@media (max-width: 1200px) {
    .feature-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 86px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(20px);
        padding: 30px;
        transform: translateY(-150%);
        transition: transform 0.3s;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .nav-menu.show {
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .hero-zone h1 {
        font-size: 2.2rem;
    }
    
    .hero-zone .tagline {
        font-size: 1rem;
    }
    
    .feature-blocks {
        grid-template-columns: 1fr;
        padding: 60px 0;
    }
    
    .game-frame-inner iframe {
        height: 400px;
    }
    
    .info-panel, .content-panel {
        padding: 40px 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .header-content, .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .full-container {
        padding: 0 20px;
    }
    
    .age-popup-box {
        padding: 40px 25px;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
