@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: #6b2c91;
    --secondary: #d4a574;
    --dark: #1a0a2e;
    --light: #f8f5ff;
    --accent: #9d50bb;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    min-height: 100vh;
    color: var(--light);
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: rgba(26, 10, 46, 0.95);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    border-right: 3px solid var(--secondary);
    overflow-y: auto;
}

.logo {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 2px solid var(--accent);
}

.logo h1 {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 2rem 0;
}

nav ul li {
    margin: 0.5rem 0;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    padding: 1rem 2rem;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 4px solid transparent;
}

nav ul li a:hover {
    background: var(--accent);
    border-left-color: var(--secondary);
    padding-left: 2.5rem;
}

nav ul li a.active {
    background: var(--accent);
    border-left-color: var(--secondary);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.hero-section h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.notice-box {
    background: linear-gradient(135deg, rgba(157, 80, 187, 0.2), rgba(107, 44, 145, 0.2));
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid var(--secondary);
}

.notice-box h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.notice-box ul li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.game-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    text-align: center;
}

.game-container h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.game-container iframe {
    border: 4px solid var(--secondary);
    border-radius: 15px;
    width: 100%;
    max-width: 750px;
    height: 600px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.info-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

footer {
    background: rgba(26, 10, 46, 0.95);
    padding: 2rem;
    margin-top: 3rem;
    border-top: 3px solid var(--secondary);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light);
}

/* 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: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--secondary);
}

.age-modal-content h2 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: var(--secondary);
    color: var(--dark);
}

.btn-yes:hover {
    background: var(--light);
    transform: scale(1.05);
}

.btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.btn-no:hover {
    background: rgba(255, 0, 0, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10001;
    background: var(--secondary);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    display: block;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1rem 1rem;
    }

    .hero-section {
        padding: 1.5rem;
    }

    .hero-section h2 {
        font-size: 1.8rem;
    }

    .game-container {
        padding: 1rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

.content-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.content-section h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-section h3 {
    color: var(--accent);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul, .content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin: 0.5rem 0;
    line-height: 1.6;
}
