@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Poppins:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a148c;
    --secondary-color: #7b1fa2;
    --accent-color: #ce93d8;
    --dark-bg: #1a0033;
    --card-bg: #2d1b4e;
    --text-light: #f3e5f5;
    --sidebar-width: 280px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0d001a 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem 0;
    box-shadow: 4px 0 20px rgba(74, 20, 140, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo-container {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.logo svg {
    width: 100%;
    height: 100%;
}

.site-name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(206, 147, 216, 0.5);
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
    padding-left: 2.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary-color);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 3rem;
}

.hero-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(206, 147, 216, 0.2);
}

.hero-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(206, 147, 216, 0.4);
}

.hero-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.notice-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 193, 7, 0.1));
    border-left: 4px solid #ffa726;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-box h3 {
    color: #ffa726;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.notice-box li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #ffa726;
}

.game-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.game-container h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.game-frame {
    width: 100%;
    max-width: 800px;
    height: 650px;
    border: none;
    border-radius: 12px;
    background: #000;
    margin: 0 auto;
    display: block;
}

.content-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.content-section ul,
.content-section ol {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

footer {
    background: var(--primary-color);
    padding: 2rem;
    text-align: center;
    margin-left: var(--sidebar-width);
    border-top: 2px solid var(--accent-color);
}

footer h4 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* 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: 2000;
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--card-bg), var(--primary-color));
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 40px rgba(206, 147, 216, 0.5);
}

.age-modal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-modal-content p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.age-btn.yes {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.age-btn.yes:hover {
    background: #ba68c8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 147, 216, 0.4);
}

.age-btn.no {
    background: #666;
    color: #fff;
}

.age-btn.no:hover {
    background: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    footer {
        margin-left: 0;
    }

    .hero-section {
        padding: 2rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .game-frame {
        height: 500px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
