@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(180deg, #1a0a0a 0%, #2d0a0a 50%, #1a0a0a 100%);
    color: #ffebcd;
    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% 20%, rgba(255, 69, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 99, 71, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Animated flames background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(4px 4px at 30px 40px, rgba(255, 69, 0, 0.4), transparent),
        radial-gradient(3px 3px at 70px 90px, rgba(255, 140, 0, 0.5), transparent),
        radial-gradient(2px 2px at 140px 50px, rgba(255, 99, 71, 0.3), transparent),
        radial-gradient(4px 4px at 200px 80px, rgba(255, 69, 0, 0.2), transparent);
    background-repeat: repeat;
    background-size: 300px 150px;
    animation: flameFlicker 3s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes flameFlicker {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    25% { opacity: 0.6; transform: scale(1.1); }
    50% { opacity: 0.8; transform: scale(0.9); }
    75% { opacity: 0.5; transform: scale(1.05); }
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2d0a0a 0%, #3d0a0a 50%, #2d0a0a 100%);
    border-bottom: 4px solid #ff4500;
    box-shadow: 0 4px 40px rgba(255, 69, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Creepster', cursive;
    font-size: 3.8rem;
    color: #ff4500;
    text-shadow: 0 0 40px rgba(255, 69, 0, 0.9);
    text-decoration: none;
    transition: all 0.7s ease;
    position: relative;
}

.logo::after {
    content: '🔥';
    position: absolute;
    right: -50px;
    top: -10px;
    font-size: 2.2rem;
    animation: fireDance 3s ease-in-out infinite;
}

@keyframes fireDance {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    50% { transform: rotate(-5deg) scale(0.9); }
    75% { transform: rotate(3deg) scale(1.05); }
}

.logo:hover {
    text-shadow: 0 0 50px rgba(255, 69, 0, 1);
    transform: scale(1.15);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 35px;
    height: 4px;
    background: #ff4500;
    margin: 5px 0;
    transition: 0.5s;
    border-radius: 3px;
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
}

.hamburger.active:nth-child(1) {
    transform: rotate(-45deg) translate(-9px, 10px);
}

.hamburger.active:nth-child(2) {
    opacity: 0;
}

.hamburger.active:nth-child(3) {
    transform: rotate(45deg) translate(-9px, -10px);
}

.nav {
    display: flex;
    list-style: none;
    gap: 4rem;
}

.nav a {
    color: #ffebcd;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.7s ease;
    position: relative;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    border-radius: 15px;
    transition: width 0.7s ease;
    z-index: -1;
}

.nav a:hover::before {
    width: 100%;
}

.nav a:hover {
    color: #2d0a0a;
    text-shadow: 0 0 30px rgba(255, 69, 0, 1);
    transform: translateY(-5px);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.25) 0%, rgba(255, 140, 0, 0.25) 100%);
    border-radius: 40px;
    margin-bottom: 6rem;
    border: 5px solid rgba(255, 69, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.25) 0%, transparent 70%);
    animation: rotate 35s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1 {
    font-family: 'Creepster', cursive;
    font-size: 5.5rem;
    color: #ff4500;
    text-shadow: 0 0 70px rgba(255, 69, 0, 1);
    margin-bottom: 3rem;
    animation: pulse 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { 
        text-shadow: 0 0 70px rgba(255, 69, 0, 1);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 90px rgba(255, 69, 0, 1), 0 0 110px rgba(255, 69, 0, 0.8);
        transform: scale(1.05);
    }
}

.hero p {
    font-size: 1.6rem;
    color: #ffd700;
    max-width: 1000px;
    margin: 0 auto 4rem;
    line-height: 2;
    position: relative;
    z-index: 1;
}

/* Game Container */
.game-container {
    background: linear-gradient(135deg, #2d0a0a 0%, #3d0a0a 100%);
    border-radius: 35px;
    padding: 5rem;
    margin: 5rem 0;
    border: 6px solid #ff4500;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff4500, #ff8c00, #ff4500);
    border-radius: 35px;
    z-index: -1;
    animation: borderGlow 6s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.game-container h2 {
    color: #ff4500;
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 3rem;
    text-shadow: 0 0 35px rgba(255, 69, 0, 0.9);
}

.game-frame {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 30px;
    background: #000;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

/* Notices */
.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    margin: 8rem 0;
}

.notice {
    background: linear-gradient(135deg, #2d0a0a 0%, #3d0a0a 100%);
    padding: 5rem;
    border-radius: 35px;
    border-left: 12px solid #ff4500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: all 0.7s ease;
    position: relative;
    overflow: hidden;
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.12) 0%, rgba(255, 140, 0, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.7s ease;
}

.notice:hover::before {
    opacity: 1;
}

.notice:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(255, 69, 0, 0.5);
}

.notice h3 {
    color: #ff4500;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.notice p {
    color: #ffd700;
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a0a0a 0%, #2d0a0a 100%);
    border-top: 6px solid #ff4500;
    padding: 6rem 0;
    margin-top: 10rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, #ff4500 50%, transparent 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.6s ease;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
}

.footer-links a:hover {
    color: #ff4500;
    background: rgba(255, 69, 0, 0.2);
    text-shadow: 0 0 25px rgba(255, 69, 0, 0.9);
}

.footer p {
    color: #ffa500;
    font-size: 1.2rem;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(30px);
}

.age-modal-content {
    background: linear-gradient(135deg, #2d0a0a 0%, #3d0a0a 100%);
    margin: 15% auto;
    padding: 7rem;
    border: 6px solid #ff4500;
    border-radius: 40px;
    width: 90%;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.25) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.age-modal h2 {
    color: #ff4500;
    margin-bottom: 3.5rem;
    font-size: 3rem;
    text-shadow: 0 0 40px rgba(255, 69, 0, 0.9);
    position: relative;
    z-index: 1;
}

.age-modal p {
    color: #ffebcd;
    margin-bottom: 4.5rem;
    line-height: 2;
    position: relative;
    z-index: 1;
}

.age-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.age-btn {
    padding: 2.5rem 5rem;
    border: none;
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.7s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
}

.age-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.age-btn:hover::before {
    left: 100%;
}

.age-btn.yes {
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    color: #2d0a0a;
    box-shadow: 0 12px 35px rgba(255, 69, 0, 0.7);
}

.age-btn.yes:hover {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    transform: scale(1.15);
    box-shadow: 0 18px 45px rgba(255, 69, 0, 0.9);
}

.age-btn.no {
    background: linear-gradient(135deg, #666, #888);
    color: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.age-btn.no:hover {
    background: linear-gradient(135deg, #888, #666);
    transform: scale(1.15);
}

/* 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, #2d0a0a 0%, #3d0a0a 100%);
        flex-direction: column;
        padding: 3rem;
        border-top: 6px solid #ff4500;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav li {
        margin: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .game-frame {
        height: 600px;
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3rem;
    }
    
    .age-modal-content {
        margin: 20% auto;
        padding: 5rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 3.2rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .game-frame {
        height: 500px;
    }
}