@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Space+Grotesk:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.site-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--bg-white);
    border-right: 1px solid var(--border);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 2rem;
    margin-bottom: 3rem;
    text-decoration: none;
    color: var(--text-dark);
}

.sidebar-logo svg {
    width: 50px;
    height: 50px;
}

.sidebar-logo span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar nav a:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar nav a .icon {
    font-size: 1.3rem;
}

.hamburger {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: var(--bg-white);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
}

.top-bar {
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.top-bar h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    padding: 4rem 3rem;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.notice-box {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    border-left: 5px solid var(--accent);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.notice-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.notice-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.notice-item .emoji {
    font-size: 2rem;
}

.notice-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.game-container {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

footer {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
    border-top: 3px solid var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-popup.hidden {
    display: none;
}

.age-popup-content {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.age-popup-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.age-popup-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-button.yes {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.age-button.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.age-button.no {
    background: var(--bg-light);
    color: var(--text-dark);
}

.age-button.no:hover {
    background: var(--border);
}

.content-page {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.content-page h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.content-page h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-page p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-page li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: var(--text-gray);
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        padding: 5rem 1rem 1rem;
    }
    
    .hero-section {
        padding: 3rem 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .age-popup-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
