/* Age Gate Modal Styles */

.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 31, 34, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.age-gate-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-gate-content {
    background: rgba(39, 44, 48, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.125);
    border-radius: 4px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.5);
    animation: ageGateSlideIn 0.5s ease;
}

@keyframes ageGateSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-gate-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.age-gate-logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 1.5rem rgba(200, 164, 90, 0.3));
}

.age-gate-title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.age-gate-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.age-gate-buttons .button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: normal;
    line-height: 1.5;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate-buttons .button.primary {
    background-color: #ffffff;
    color: #1b1f22;
    border: 0;
}

.age-gate-buttons .button.primary:hover {
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 1rem 0 rgba(255, 255, 255, 0.5);
}

.age-gate-buttons .button:not(.primary) {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.125);
}

.age-gate-buttons .button:not(.primary):hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.age-gate-warning {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Responsive Design */
@media screen and (max-width: 736px) {
    .age-gate-content {
        padding: 2rem 1.5rem;
    }

    .age-gate-title {
        font-size: 1.5rem;
    }

    .age-gate-text {
        font-size: 0.9rem;
    }

    .age-gate-buttons .button {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .age-gate-content {
        padding: 1.5rem 1rem;
    }

    .age-gate-logo img {
        max-width: 150px;
    }

    .age-gate-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .age-gate-text {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .age-gate-warning {
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .age-gate-overlay,
    .age-gate-content {
        animation: none;
        transition: none;
    }
}

/* Block scrolling when age gate is active */
body.age-gate-active {
    overflow: hidden;
}

body.age-gate-active #wrapper {
    filter: blur(5px);
}
