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

:root {
    --primary-teal: #14B8A6;
    --accent-coral: #FB7185;
    --dark-navy: #0F172A;
    --light-cream: #FFFBEB;
    --card-shadow: rgba(20, 184, 166, 0.2);
}

body {
    font-family: 'Merriweather', serif;
    background: var(--light-cream);
    color: var(--dark-navy);
    min-height: 100vh;
    line-height: 1.8;
    display: flex;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-teal) 0%, #0D9488 100%);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
}

.sidebar.mobile-hidden {
    left: -280px;
}

.logo-container {
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light-cream);
    text-decoration: none;
    letter-spacing: 1px;
    display: block;
    text-align: center;
}

.logo-subtitle {
    font-size: 0.75rem;
    text-align: center;
    color: rgba(255, 251, 235, 0.8);
    margin-top: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 1rem 2rem;
    color: var(--light-cream);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: background 0.3s, padding-left 0.3s;
    border-left: 4px solid transparent;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 2.5rem;
    border-left-color: var(--accent-coral);
}

.hamburger-btn {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary-teal);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--light-cream);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

.page-header {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-coral));
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 24px var(--card-shadow);
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-coral);
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 2;
    max-width: 900px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-teal);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-box:nth-child(2) {
    border-top-color: var(--accent-coral);
}

.info-box:nth-child(3) {
    border-top-color: #0D9488;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.info-box p {
    color: #475569;
    line-height: 1.8;
}

.game-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    margin: 3rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.game-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 650px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
    background: #f8fafc;
}

.content-block {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.content-block p {
    margin-bottom: 1.5rem;
    color: #475569;
    font-size: 1.05rem;
}

.content-block ul {
    margin: 1.5rem 0 1.5rem 2rem;
    color: #475569;
}

.content-block li {
    margin-bottom: 1rem;
}

footer {
    background: var(--dark-navy);
    color: var(--light-cream);
    padding: 3rem;
    text-align: center;
    margin-left: -3rem;
    margin-right: -3rem;
    margin-bottom: -3rem;
    margin-top: 4rem;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
}

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

.footer-links a {
    color: var(--accent-coral);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-teal);
}

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

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

.age-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-box h2 {
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
}

.age-box p {
    color: #475569;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

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

.age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.age-btn-confirm {
    background: var(--primary-teal);
    color: white;
}

.age-btn-deny {
    background: #E2E8F0;
    color: var(--dark-navy);
}

.age-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 968px) {
    .sidebar {
        left: -280px;
    }

    .sidebar.mobile-visible {
        left: 0;
    }

    .hamburger-btn {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .page-header {
        padding: 2rem 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .content-block {
        padding: 2rem 1.5rem;
    }

    footer {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding: 2rem 1.5rem;
    }

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

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

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