@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a0a 100%);
    color: #e0e0e0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(139, 0, 139, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header Styles */
.header {
    background: linear-gradient(90deg, #1a0a1a 0%, #2a0a2a 50%, #1a0a1a 100%);
    border-bottom: 2px solid #8b008b;
    box-shadow: 0 4px 20px rgba(139, 0, 139, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.8);
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #ff6b6b;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active:nth-child(2) {
    opacity: 0;
}

.hamburger.active:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #ff6b6b, #8b008b);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 0, 139, 0.1) 0%, rgba(255, 0, 0, 0.1) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(139, 0, 139, 0.3);
}

.hero h1 {
    font-family: 'Creepster', cursive;
    font-size: 3.5rem;
    color: #ff6b6b;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.7);
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 30px rgba(255, 107, 107, 0.7); }
    to { text-shadow: 0 0 40px rgba(255, 107, 107, 1), 0 0 60px rgba(255, 107, 107, 0.5); }
}

.hero p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Game Container */
.game-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a2a 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid #8b008b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-container h2 {
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background: #000;
}

/* Notices */
.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.notice {
    background: linear-gradient(135deg, #2a1a2a 0%, #3a2a3a 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.notice:hover {
    transform: translateY(-5px);
}

.notice h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.notice p {
    color: #d0d0d0;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #0a0a0a 0%, #1a0a1a 100%);
    border-top: 2px solid #8b008b;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b6b;
}

.footer p {
    color: #808080;
    font-size: 0.9rem;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: linear-gradient(135deg, #1a0a1a 0%, #2a0a2a 100%);
    margin: 15% auto;
    padding: 3rem;
    border: 2px solid #8b008b;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.age-modal h2 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.age-modal p {
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-btn.yes {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: #000;
}

.age-btn.yes:hover {
    background: linear-gradient(135deg, #ff8e8e, #ff6b6b);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.age-btn.no {
    background: linear-gradient(135deg, #666, #888);
    color: #fff;
}

.age-btn.no:hover {
    background: linear-gradient(135deg, #888, #666);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1a0a1a 0%, #2a0a2a 100%);
        flex-direction: column;
        padding: 1rem;
        border-top: 2px solid #8b008b;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav li {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .age-modal-content {
        margin: 20% auto;
        padding: 2rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .game-frame {
        height: 300px;
    }
}