@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-color: #4B0082;
    --secondary-color: #8B008B;
    --accent-color: #DC143C;
    --dark-bg: #0a0a0a;
    --medium-bg: #1a1a1a;
    --light-text: #e0e0e0;
    --highlight: #9370DB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--light-text);
    background-color: var(--dark-bg);
    line-height: 1.7;
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--primary-color), var(--medium-bg));
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    box-shadow: 4px 0 15px rgba(75, 0, 130, 0.3);
    z-index: 1000;
    transition: left 0.3s ease;
}

.sidebar-header {
    padding: 0 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.logo-sidebar {
    text-decoration: none;
    display: block;
}

.logo-sidebar svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.logo-sidebar h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--highlight);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin: 0;
}

.sidebar nav ul li a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar nav ul li a:hover {
    background: rgba(147, 112, 219, 0.2);
    border-left-color: var(--accent-color);
    color: var(--highlight);
}

.hamburger-sidebar {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10001;
    background: var(--primary-color);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-sidebar span {
    width: 25px;
    height: 3px;
    background: var(--highlight);
}

/* Main Content Area */
.main-wrapper {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 3rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.4);
}

.page-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--highlight);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(147, 112, 219, 0.6);
}

.page-header p {
    font-size: 1.3rem;
    color: var(--light-text);
    max-width: 900px;
    margin: 0 auto;
}

.warning-banner {
    background: linear-gradient(45deg, var(--accent-color), #8B0000);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
}

.warning-banner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.warning-banner ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.warning-banner li {
    margin: 0.7rem 0;
    font-weight: 600;
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-box {
    background: var(--medium-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}

.feature-box:hover {
    border-color: var(--highlight);
    box-shadow: 0 0 25px rgba(147, 112, 219, 0.3);
    transform: translateY(-5px);
}

.feature-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.game-section {
    background: var(--medium-bg);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.game-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--highlight);
    margin-bottom: 2rem;
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 10px;
    background: #000;
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--medium-bg), var(--primary-color));
    padding: 2.5rem;
    margin-top: auto;
    border-top: 3px solid var(--highlight);
}

.footer-content {
    text-align: center;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.responsible-links a {
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.responsible-links a:hover {
    color: var(--accent-color);
}

/* Age Verification Modal */
.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    justify-content: center;
    align-items: center;
}

.age-verification.show {
    display: flex;
}

.age-box {
    background: linear-gradient(135deg, var(--medium-bg), var(--primary-color));
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 3px solid var(--highlight);
    box-shadow: 0 0 50px rgba(147, 112, 219, 0.5);
}

.age-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(147, 112, 219, 0.5);
}

.age-box p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-actions button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Open Sans', sans-serif;
}

.btn-confirm {
    background: var(--highlight);
    color: var(--dark-bg);
}

.btn-confirm:hover {
    background: var(--secondary-color);
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.6);
}

.btn-decline {
    background: var(--accent-color);
    color: white;
}

.btn-decline:hover {
    background: #8B0000;
}

/* Content Pages */
.content-section {
    background: var(--medium-bg);
    padding: 3rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--primary-color);
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 1rem;
}

.content-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--highlight);
    margin: 2.5rem 0 1rem 0;
}

.content-section p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.content-section ul {
    margin: 1rem 0 1rem 2rem;
}

.content-section li {
    margin: 0.7rem 0;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .sidebar {
        left: -280px;
    }

    .sidebar.active {
        left: 0;
    }

    .hamburger-sidebar {
        display: flex;
    }

    .main-wrapper {
        margin-left: 0;
    }

    main {
        padding: 5rem 1.5rem 1.5rem 1.5rem;
    }

    .page-header {
        padding: 2rem;
    }

    .page-header h2 {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .age-box {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-actions {
        flex-direction: column;
    }

    .content-section {
        padding: 2rem;
    }
}
