@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a0f0f 25%, #2d1b1b 50%, #1a0f0f 75%, #0c0c0c 100%);
    color: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Elegant background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(160, 82, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(101, 67, 33, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Floating gold particles */
.gold-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.gold-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    animation: goldFloat 8s infinite linear;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}

@keyframes goldFloat {
    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(26, 15, 15, 0.9));
    backdrop-filter: blur(15px);
    border-bottom: 3px solid #8b4513;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.logo:hover {
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
}

/* Mobile hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border: 2px solid #8b4513;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.3);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.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: #f5f5f5;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

.nav-menu a:hover {
    color: #ffd700;
    border-color: #8b4513;
    background: rgba(139, 69, 19, 0.1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Main content */
.main-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(160, 82, 45, 0.1));
    border-radius: 25px;
    margin-bottom: 4rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 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, 215, 0, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #d4af37;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.notice-banner {
    background: linear-gradient(45deg, #8b4513, #a0522d);
    color: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    border: 2px solid #ffd700;
    position: relative;
    z-index: 1;
}

.game-container {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 15, 15, 0.8));
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 3px solid #8b4513;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #8b4513, #ffd700);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    background: #000;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 15, 15, 0.95));
    border-top: 3px solid #8b4513;
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffd700;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 5px;
}

.footer-links a:hover {
    color: #fff;
    border-color: #8b4513;
    background: rgba(139, 69, 19, 0.2);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 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, #1a0f0f, #2d1b1b);
    padding: 4rem;
    border-radius: 25px;
    text-align: center;
    border: 3px solid #8b4513;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    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, #ffd700, #8b4513, #ffd700);
    border-radius: 25px;
    z-index: -1;
}

.age-modal h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-family: 'Cinzel', serif;
}

.age-modal p {
    margin-bottom: 2.5rem;
    color: #f5f5f5;
    font-size: 1.1rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-yes {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border: 2px solid #8b4513;
}

.age-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.age-no {
    background: linear-gradient(45deg, #8b4513, #a0522d);
    color: #fff;
    border: 2px solid #ffd700;
}

.age-no:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.4);
}

/* 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(26, 15, 15, 0.95));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 3rem 0;
        backdrop-filter: blur(15px);
        border-top: 2px solid #8b4513;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .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: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .logo {
        font-size: 2rem;
    }
}