@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --accent: #60a5fa;
    --dark: #1e293b;
    --light: #f8fafc;
    --text: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    width: 280px;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo {
    text-align: center;
    padding: 0 2rem 2rem;
    border-bottom: 2px solid var(--accent);
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.logo p {
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.8;
}

nav {
    padding: 2rem 0;
}

nav ul {
    list-style: none;
}

nav li {
    margin: 0.5rem 0;
}

nav a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

nav a:hover, nav a.active {
    background: var(--accent);
    color: white;
    border-left-color: var(--primary);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 1rem 2rem;
    min-height: 100vh;
}

header {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.content-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.content-card h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.content-card h3 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.content-card p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-card ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.notice-box {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    font-weight: 600;
    width: 100%;
}

.notice-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.game-container {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.game-container h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.game-frame {
    width: 100%;
    max-width: 1200px;
    height: 700px;
    border: none;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 15px;
    text-align: center;
    width: 100%;
}

footer h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

footer a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent);
}

/* 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.active {
    display: flex;
}

.age-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-content h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-yes {
    background: var(--primary);
    color: white;
}

.btn-no {
    background: #dc2626;
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10001;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        padding: 1.5rem;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    header h1 {
        font-size: 1.75rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    footer .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .game-frame {
        height: 400px;
    }

    .age-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
