@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #d4af37;
    --accent-color: #16213e;
    --text-color: #eaeaea;
    --light-bg: #0f3460;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: rgba(26, 26, 46, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

.hero {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #b8b8b8;
    margin-bottom: 2rem;
}

.content-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.game-container {
    background: rgba(15, 52, 96, 0.4);
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}

.game-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: rgba(15, 52, 96, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.info-card h3 {
    margin-bottom: 1rem;
}

.notice-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-banner ul {
    list-style: none;
    padding-left: 0;
}

.notice-banner li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.notice-banner li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

footer {
    background: rgba(26, 26, 46, 0.95);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid var(--secondary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.age-modal-content h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #f0c349;
    transform: scale(1.05);
}

.btn-secondary {
    background: #666;
    color: white;
}

.btn-secondary:hover {
    background: #777;
}

.text-content {
    background: rgba(15, 52, 96, 0.3);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 1rem;
}

.text-content ul, .text-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 0;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav li {
        margin: 1rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .game-container iframe {
        height: 500px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
