@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0e27;
    --secondary-bg: #1a1f3a;
    --accent: #4a9eff;
    --accent-hover: #6bb3ff;
    --text: #e8eaf6;
    --text-muted: #9fa8da;
    --border: #2a3f5f;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #0f1534 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: var(--secondary-bg);
    border-right: 2px solid var(--border);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.logo {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--accent);
    text-align: center;
    letter-spacing: 2px;
}

.logo-symbol {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #7c4dff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

nav ul {
    list-style: none;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(74, 158, 255, 0.1);
    border-left-color: var(--accent);
    color: var(--accent);
}

.hamburger {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--secondary-bg);
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    width: 45px;
    height: 45px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 3rem;
}

.hero {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(124, 77, 255, 0.1) 100%);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.hero h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.notice-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.notice-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.game-container {
    background: var(--secondary-bg);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.game-container h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    text-align: center;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    background: #000;
}

.content-section {
    background: var(--secondary-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: var(--accent);
    margin: 1.5rem 0 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

footer {
    background: var(--secondary-bg);
    border-top: 2px solid var(--border);
    padding: 2rem 3rem;
    margin-left: 280px;
}

.footer-content {
    max-width: 1200px;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.footer-links a {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 2rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: var(--secondary-bg);
    border: 2px solid var(--accent);
    border-radius: 15px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(74, 158, 255, 0.3);
}

.age-modal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.btn-yes {
    background: var(--accent);
    color: white;
}

.btn-yes:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.btn-no {
    background: #666;
    color: white;
}

.btn-no:hover {
    background: #777;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    footer {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .notices {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .game-frame {
        height: 350px;
    }

    .age-buttons {
        flex-direction: column;
    }
}