/* Prevent text selection in age gate modal */
.age-gate {
    user-select: none;
}

/* Age gate modal (shown on page load) */
.age-gate {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--nav-background);
    z-index: 2000; /* Above all content */
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Show age gate when active */
.age-gate.show {
    display: flex;
}

/* Age gate content box */
.age-gate-content {
    background: var(--background-primary);
    padding: 2rem;
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    max-width: 90%;
    box-shadow: 0 1px 12px var(--element-shadow);
}

/* Age gate heading */
.age-gate-content h2 {
    font: 700 1.5rem 'Montserrat', Arial, sans-serif;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px var(--text-shadow);
}

/* Age gate paragraph */
.age-gate-content p {
    font: 1rem 'Open Sans', Arial, sans-serif;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px var(--text-shadow);
}

/* Age gate buttons */
.age-gate-content button {
    background: var(--accent-primary);
    color: var(--background-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    font: 700 1rem 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    border-radius: 5px;
    margin: 0.5rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 3px 3px 6px var(--element-shadow);
}

/* Age gate button hover state */
.age-gate-content button:hover {
    background: var(--accent-hover);
    box-shadow: 4px 4px 8px var(--element-shadow-hover);
}

/* Media Query 5: Larger Screens (≥ 1024px) */
@media (min-width: 1024px) {
    /* Larger age gate heading */
    .age-gate-content h2 {
        font-size: 2rem;
    }

    /* Larger age gate text */
    .age-gate-content p {
        font-size: 1.2rem;
    }
}