@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 25%, #330066 50%, #6600cc 75%, #9900ff 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated neon background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
    animation: neonPulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes neonPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid #ff00ff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
}

.header-content {
    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: 3rem;
    font-weight: 900;
    color: #ff00ff;
    text-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff, 0 0 60px #ff00ff;
    text-decoration: none;
    letter-spacing: 5px;
    position: relative;
    animation: logoFlicker 2s ease-in-out infinite alternate;
}

@keyframes logoFlicker {
    0% { 
        text-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff, 0 0 60px #ff00ff;
        color: #ff00ff;
    }
    100% { 
        text-shadow: 0 0 30px #ff00ff, 0 0 60px #ff00ff, 0 0 90px #ff00ff, 0 0 120px #ff00ff;
        color: #ffffff;
    }
}

.logo::after {
    content: '⚡';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    animation: lightning 1.5s ease-in-out infinite;
}

@keyframes lightning {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(1.2); }
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 35px;
    height: 4px;
    background: #ff00ff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 15px #ff00ff;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -10px);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.nav a:hover {
    color: #ff00ff;
    background: rgba(255, 0, 255, 0.1);
    border-color: #ff00ff;
    text-shadow: 0 0 15px #ff00ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 255, 0.4);
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    margin-bottom: 3rem;
    border: 3px solid #ff00ff;
    box-shadow: 0 0 60px rgba(255, 0, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%),
        radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    animation: energyRotate 15s linear infinite;
    z-index: -1;
}

@keyframes energyRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 900;
    color: #ff00ff;
    text-shadow: 0 0 30px #ff00ff, 0 0 60px #ff00ff, 0 0 90px #ff00ff;
    margin-bottom: 1.5rem;
    letter-spacing: 6px;
    position: relative;
    animation: titleEnergy 3s ease-in-out infinite;
}

@keyframes titleEnergy {
    0%, 100% { transform: scale(1); text-shadow: 0 0 30px #ff00ff, 0 0 60px #ff00ff, 0 0 90px #ff00ff; }
    50% { transform: scale(1.05); text-shadow: 0 0 40px #ff00ff, 0 0 80px #ff00ff, 0 0 120px #ff00ff; }
}

.hero-title::before {
    content: '⚡';
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    animation: energyBolt 2s ease-in-out infinite;
}

@keyframes energyBolt {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: 1; }
    50% { transform: translateY(-50%) translateX(20px); opacity: 0.7; }
}

.hero-title::after {
    content: '💥';
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    animation: explosion 3s ease-in-out infinite;
}

@keyframes explosion {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.3); opacity: 0.8; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

.notice-banner {
    background: linear-gradient(45deg, #ff0066, #ff3366);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(255, 0, 102, 0.5);
    border: 3px solid #ff0066;
    font-size: 1.2rem;
    animation: bannerFlash 2s ease-in-out infinite;
}

@keyframes bannerFlash {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 0, 102, 0.5); }
    50% { transform: scale(1.02); box-shadow: 0 0 40px rgba(255, 0, 102, 0.7); }
}

.game-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    padding: 3rem;
    margin: 2rem 0;
    border: 4px solid #ff00ff;
    box-shadow: 0 0 50px rgba(255, 0, 255, 0.4);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    border-radius: 29px;
    z-index: -1;
    animation: borderEnergy 4s ease-in-out infinite;
}

@keyframes borderEnergy {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    color: #ff00ff;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 25px #ff00ff, 0 0 50px #ff00ff;
    animation: gameTitlePulse 2s ease-in-out infinite alternate;
}

@keyframes gameTitlePulse {
    0% { text-shadow: 0 0 25px #ff00ff, 0 0 50px #ff00ff; }
    100% { text-shadow: 0 0 35px #ff00ff, 0 0 70px #ff00ff, 0 0 100px #ff00ff; }
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 20px;
    background: #000;
    box-shadow: inset 0 0 40px rgba(255, 0, 255, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.feature-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 25px;
    border: 3px solid #ff00ff;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: #00ffff;
    box-shadow: 0 25px 50px rgba(0, 255, 255, 0.4);
}

.feature-icon {
    font-size: 5rem;
    color: #ff00ff;
    margin-bottom: 2rem;
    text-shadow: 0 0 25px #ff00ff;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

.feature-description {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 400;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 3px solid #ff00ff;
    padding: 3rem 0;
    margin-top: 4rem;
    box-shadow: 0 -5px 30px rgba(255, 0, 255, 0.4);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: #ff00ff;
    border-color: #ff00ff;
    text-shadow: 0 0 15px #ff00ff;
    box-shadow: 0 8px 20px rgba(255, 0, 255, 0.4);
}

.footer-text {
    color: #cccccc;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Age verification modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    backdrop-filter: blur(15px);
}

.age-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(51, 0, 102, 0.8));
    padding: 4rem;
    border-radius: 30px;
    border: 4px solid #ff00ff;
    text-align: center;
    max-width: 650px;
    width: 90%;
    box-shadow: 0 0 60px rgba(255, 0, 255, 0.6);
}

.age-modal h2 {
    font-family: 'Orbitron', monospace;
    color: #ff00ff;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 25px #ff00ff, 0 0 50px #ff00ff;
}

.age-modal p {
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.2rem;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.age-btn {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 15px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 4px solid transparent;
}

.age-btn.yes {
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #000;
    border-color: #00ff88;
}

.age-btn.yes:hover {
    background: linear-gradient(45deg, #00cc66, #00ff88);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.5);
    text-shadow: 0 0 10px #000;
}

.age-btn.no {
    background: linear-gradient(45deg, #ff4444, #cc0000);
    color: #fff;
    border-color: #ff4444;
}

.age-btn.no:hover {
    background: linear-gradient(45deg, #cc0000, #ff4444);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.5);
    text-shadow: 0 0 10px #fff;
}

/* Responsive design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 2rem;
        border-top: 3px solid #ff00ff;
        box-shadow: 0 5px 30px rgba(255, 0, 255, 0.4);
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-title::before,
    .hero-title::after {
        display: none;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .age-modal-content {
        padding: 3rem;
        margin: 1rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 2.5rem;
    }
}