@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Open+Sans:wght@300;400;600&display=swap');

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

:root {
    --primary-blue: #1E3A8A;
    --secondary-blue: #3B82F6;
    --accent-purple: #7C3AED;
    --light-blue: #DBEAFE;
    --dark-navy: #0F172A;
    --text-white: #FFFFFF;
    --text-gray: #64748B;
    --bg-gradient: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-white);
    line-height: 1.7;
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: rgba(30, 58, 138, 0.2);
    backdrop-filter: blur(10px);
    border-right: 2px solid var(--secondary-blue);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-blue);
    text-align: center;
    margin-bottom: 3rem;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.sidebar nav {
    flex: 1;
}

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

.sidebar nav li {
    margin: 0;
}

.sidebar nav a {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar nav a:hover {
    background: rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--secondary-blue);
    color: var(--text-white);
}

.sidebar-footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.mobile-header {
    display: none;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--secondary-blue);
}

.mobile-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-blue);
    text-decoration: none;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu span {
    width: 28px;
    height: 3px;
    background: var(--secondary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.8);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--accent-purple);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--light-blue);
    margin-bottom: 1rem;
}

.card ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.card li {
    margin-bottom: 0.7rem;
    color: var(--light-blue);
    font-size: 1.05rem;
}

.alert-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(124, 58, 237, 0.2));
    border: 2px solid var(--accent-purple);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.alert-box strong {
    color: var(--secondary-blue);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 1rem;
}

.game-wrapper {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid var(--secondary-blue);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.game-wrapper h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.game-wrapper iframe {
    width: 100%;
    max-width: 950px;
    height: 650px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 2px solid var(--secondary-blue);
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

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

.footer-links a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-purple);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-verification.show {
    display: flex;
}

.age-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border: 3px solid var(--secondary-blue);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.6);
}

.age-box h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.age-box p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-button {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.age-button.confirm {
    background: var(--secondary-blue);
    color: var(--dark-navy);
}

.age-button.confirm:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.5);
}

.age-button.decline {
    background: #DC2626;
    color: var(--text-white);
}

.age-button.decline:hover {
    background: #991B1B;
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        margin-top: 70px;
        padding: 1.5rem;
    }

    .page-header {
        padding: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .game-wrapper iframe {
        height: 450px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-box {
        margin: 1rem;
        padding: 2rem;
    }

    .age-actions {
        flex-direction: column;
    }
}
