@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Scheherazade+New:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Amiri', serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e8d5b7;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(45deg, #2c1810, #8b4513);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Scheherazade New', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #d4af37;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #e8d5b7;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 80%;
}

/* Main Content */
.main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.hero {
    text-align: center;
    padding: 3rem 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-family: 'Scheherazade New', serif;
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.3rem;
    color: #e8d5b7;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.notice-banner {
    background: linear-gradient(45deg, #8b4513, #a0522d);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid #d4af37;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.notice-banner h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.notice-banner ul {
    list-style: none;
    text-align: center;
}

.notice-banner li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #e8d5b7;
}

.game-container {
    background: linear-gradient(135deg, #2c1810, #3d2817);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 3px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-container h2 {
    text-align: center;
    color: #d4af37;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'Scheherazade New', serif;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid #d4af37;
}

.footer-content {
    text-align: center;
}

.footer h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Scheherazade New', serif;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #e8d5b7;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

.footer p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #2c1810, #3d2817);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #d4af37;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    max-width: 500px;
    width: 90%;
}

.age-modal h2 {
    color: #d4af37;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Scheherazade New', serif;
}

.age-modal p {
    color: #e8d5b7;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Amiri', serif;
    font-weight: 700;
    min-width: 120px;
}

.age-btn.yes {
    background: linear-gradient(45deg, #d4af37, #f4d03f);
    color: #2c1810;
}

.age-btn.yes:hover {
    background: linear-gradient(45deg, #f4d03f, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.age-btn.no {
    background: linear-gradient(45deg, #8b4513, #a0522d);
    color: #e8d5b7;
}

.age-btn.no:hover {
    background: linear-gradient(45deg, #a0522d, #8b4513);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(45deg, #2c1810, #8b4513);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .age-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .age-modal h2 {
        font-size: 2rem;
    }
    
    .age-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .container {
        padding: 0 10px;
    }
}