@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e4e4e4;
    min-height: 100vh;
}

/* Header Navigation */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #d4af37;
    z-index: 150;
    padding: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5b8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.header-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-logo:hover {
    color: #f4e5b8;
}

.header-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.header-menu a {
    color: #e4e4e4;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.header-menu a:hover,
.header-menu a.active {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

.header-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.header-toggle span {
    width: 25px;
    height: 3px;
    background: #d4af37;
    transition: all 0.3s ease;
}

/* Adjust main content for header */
.main-content {
    margin-top: 80px;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(15, 15, 30, 0.95);
    border-right: 2px solid #d4af37;
    padding: 2rem 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar.mobile-hidden {
    transform: translateX(-100%);
}

.logo-section {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    text-decoration: none;
    display: block;
}

.logo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5b8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
}

nav ul {
    list-style: none;
    padding: 0 1rem;
}

nav li {
    margin-bottom: 0.5rem;
}

nav a {
    display: block;
    padding: 0.9rem 1.2rem;
    color: #e4e4e4;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

nav a:hover, nav a.active {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    transform: translateX(5px);
}

.hamburger {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 200;
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-content {
    margin-left: 280px;
    padding: 3rem;
}

.hero-section {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

.notice-box {
    background: rgba(244, 67, 54, 0.15);
    border-left: 4px solid #f44336;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-box h3 {
    color: #ff6b6b;
    margin-bottom: 0.8rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
}

.game-container {
    margin: 3rem 0;
    text-align: center;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 700px;
    border: 3px solid #d4af37;
    border-radius: 15px;
    margin: 2rem auto;
    background: #000;
}

footer {
    background: rgba(15, 15, 30, 0.95);
    border-top: 2px solid #d4af37;
    padding: 2.5rem 3rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f4e5b8;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 3rem;
    border-radius: 15px;
    border: 3px solid #d4af37;
    text-align: center;
    max-width: 500px;
}

.age-modal h2 {
    margin-bottom: 1.5rem;
}

.age-modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-modal button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-yes {
    background: #d4af37;
    color: #1a1a2e;
}

.btn-yes:hover {
    background: #f4e5b8;
    transform: scale(1.05);
}

.btn-no {
    background: #f44336;
    color: white;
}

.btn-no:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

.content-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #c4c4c4;
}

.content-section ul, .content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #c4c4c4;
}

@media (max-width: 968px) {
    .header-menu {
        display: none;
    }
    
    .header-toggle {
        display: flex;
    }
    
    .header-content {
        padding: 1rem 1.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-visible {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .game-frame {
        height: 500px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}