@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700;800&family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 25%, #2d1b69 50%, #1a1a3e 75%, #0f0f23 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated neon grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating neon particles */
.neon-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.neon-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffff;
    border-radius: 50%;
    animation: neonFloat 6s infinite linear;
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

@keyframes neonFloat {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(15, 15, 35, 0.9));
    backdrop-filter: blur(20px);
    border-bottom: 3px solid #00ffff;
    padding: 1.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 255, 255, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 3px;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
    }
    to {
        text-shadow: 0 0 30px #00ffff, 0 0 60px #00ffff, 0 0 80px #00ffff;
    }
}

.logo:hover {
    transform: scale(1.1);
    animation: logoPulse 0.5s ease-in-out infinite alternate;
}

@keyframes logoPulse {
    from { transform: scale(1.1); }
    to { transform: scale(1.15); }
}

/* Mobile hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border: 2px solid #00ffff;
    border-radius: 8px;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 5px #00ffff;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 25px;
    background: rgba(0, 255, 255, 0.1);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before {
    opacity: 0.2;
}

.nav-menu a:hover {
    color: #00ffff;
    border-color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Main content */
.main-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 30px;
    margin-bottom: 4rem;
    border: 3px solid #00ffff;
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #00ffff;
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.notice-banner {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
    color: #000;
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.4);
    border: 3px solid #ffffff;
    position: relative;
    z-index: 1;
    animation: bannerGlow 2s ease-in-out infinite alternate;
}

@keyframes bannerGlow {
    from {
        box-shadow: 0 8px 25px rgba(255, 0, 255, 0.4);
    }
    to {
        box-shadow: 0 8px 35px rgba(255, 0, 255, 0.6), 0 0 20px rgba(0, 255, 255, 0.3);
    }
}

.game-container {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(15, 15, 35, 0.8));
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem 0;
    border: 3px solid #00ffff;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 20px;
    background: #000;
    box-shadow: inset 0 0 30px rgba(0, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(15, 15, 35, 0.95));
    border-top: 3px solid #00ffff;
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
    box-shadow: 0 -15px 40px rgba(0, 255, 255, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #00ffff;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border: 2px solid #00ffff;
    border-radius: 25px;
    background: rgba(0, 255, 255, 0.1);
}

.footer-links a:hover {
    color: #000;
    background: #00ffff;
    text-shadow: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.4);
}

/* Age verification modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.age-modal-content {
    background: linear-gradient(135deg, #0f0f23, #1a1a3e);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    border: 3px solid #00ffff;
    box-shadow: 0 25px 70px rgba(0, 255, 255, 0.4);
    max-width: 600px;
    width: 90%;
    position: relative;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
}

.age-modal h2 {
    color: #00ffff;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px #00ffff;
}

.age-modal p {
    margin-bottom: 3rem;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.age-btn {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 25px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-yes {
    background: linear-gradient(45deg, #00ffff, #00ccff);
    color: #000;
    border: 3px solid #ffffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.age-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.age-no {
    background: linear-gradient(45deg, #ff00ff, #cc00cc);
    color: #ffffff;
    border: 3px solid #00ffff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.age-no:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}

/* Responsive design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(15, 15, 35, 0.95));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 3rem 0;
        backdrop-filter: blur(20px);
        border-top: 3px solid #00ffff;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .age-modal-content {
        padding: 3rem 2rem;
        margin: 1rem;
    }
    
    .age-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .logo {
        font-size: 2.2rem;
    }
}