@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #8b5cf6;
    --secondary: #7c3aed;
    --accent: #a78bfa;
    --bg-light: #faf5ff;
    --bg-dark: #f3e8ff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border: #e9d5ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-dark) 100%);
    color: var(--text-dark);
    min-height: 100vh;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.1);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    font-size: 2.5rem;
}

.brand h1 {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand .tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.hamburger {
    display: none;
    background: var(--primary);
    border: none;
    color: white;
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.hamburger:active {
    transform: scale(0.95);
}

/* Navigation */
nav {
    background: white;
    border-bottom: 3px solid var(--border);
    padding: 0;
}

nav ul {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 0;
}

nav li {
    flex: 1;
    text-align: center;
}

nav a {
    display: block;
    padding: 1.25rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    background: var(--bg-light);
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Main Container - Centered */
.main-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Box */
.content-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 25px rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border);
}

.content-box h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.content-box h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-box p {
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.content-box ul {
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.9;
    color: var(--text-light);
}

.content-box ul li {
    margin: 0.75rem 0;
}

/* Notice Panel */
.notice-panel {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3);
}

.notice-panel h2 {
    color: white;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.notice-grid {
    display: grid;
    gap: 1.5rem;
}

.notice-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    color: white;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notice-item .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notice-item .text {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Game Section */
.game-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

.game-section h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 15px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    border-top: 3px solid var(--border);
}

footer h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 92, 246, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-content {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin: 1rem;
}

.age-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.age-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-yes {
    background: var(--primary);
    color: white;
}

.btn-no {
    background: #ef4444;
    color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        padding: 2rem 0;
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        text-align: left;
    }

    nav a {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border);
    }

    .main-container {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .content-box {
        padding: 1.75rem;
    }

    .content-box h2 {
        font-size: 1.75rem;
    }

    .game-frame {
        height: 450px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
}
