@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B3A8B;
    --secondary: #6B2D6B;
    --accent: #D946EF;
    --text: #2D2D2D;
    --light: #F5F5F5;
    --border: #E0E0E0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text);
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #2D1B4E 0%, #1A0F2E 100%);
    padding: 2rem 0;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar.closed {
    transform: translateX(-280px);
}

.logo-section {
    padding: 0 2rem 2rem;
    border-bottom: 2px solid rgba(217, 70, 239, 0.3);
    margin-bottom: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #D946EF 0%, #8B3A8B 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.nav-menu {
    list-style: none;
    padding: 0 1rem;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    color: #B8A6D9;
    text-decoration: none;
    padding: 1rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(217, 70, 239, 0.2);
    color: #D946EF;
    transform: translateX(5px);
}

.hamburger {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1001;
    background: linear-gradient(135deg, #D946EF 0%, #8B3A8B 100%);
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 3rem;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.main-content.expanded {
    margin-left: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #8B3A8B 0%, #D946EF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 2rem 0 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #4A4A4A;
}

.notice-box {
    background: linear-gradient(135deg, #FFF5F7 0%, #F0E6FF 100%);
    border-left: 5px solid var(--accent);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(139, 58, 139, 0.1);
}

.notice-box h3 {
    color: var(--accent);
    margin-top: 0;
}

.notice-box ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.notice-box li {
    margin-bottom: 0.8rem;
    color: #4A4A4A;
}

.game-container {
    margin: 3rem 0;
    text-align: center;
    background: linear-gradient(135deg, #F8F9FF 0%, #FFF5F7 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.game-container iframe {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-width: 100%;
}

.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 2px solid var(--border);
    text-align: center;
}

.footer h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links 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.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-modal-content h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-no {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-no:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .sidebar {
        transform: translateX(-280px);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    .container {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .game-container iframe {
        width: 100%;
        height: 400px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
