/* ==========================================================================
   Ponderosa Research — Age Verification Gate
   ========================================================================== */

.pr-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

/* Subtle radial glow behind the card */
.pr-age-gate::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0, 255, 157, 0.12) 0%,
        rgba(0, 255, 157, 0.04) 40%,
        transparent 70%
    );
    pointer-events: none;
}

.pr-age-gate__card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 420px;
    width: calc(100% - 40px);
    padding: 48px 32px;
}

.pr-age-gate__logo {
    display: block;
    width: clamp(100px, 22vw, 160px);
    height: auto;
    margin: 0 auto 32px;
    filter: invert(1) sepia(1) saturate(20) hue-rotate(90deg) brightness(0.85)
           drop-shadow(0 0 18px rgba(0, 255, 157, 0.35))
           drop-shadow(0 0 50px rgba(0, 255, 157, 0.15));
}

.pr-age-gate__title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 4vw, 28px);
    color: #fff;
    letter-spacing: 1px;
    margin: 0 0 8px;
}

.pr-age-gate__subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 36px;
    line-height: 1.5;
}

.pr-age-gate__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.pr-age-gate__btn {
    display: block;
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
    border: none;
}

/* Confirm — green accent */
.pr-age-gate__btn--confirm {
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.4);
}

.pr-age-gate__btn--confirm:hover {
    background: rgba(0, 255, 157, 0.25);
    color: #fff;
    border-color: #00ff9d;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.15);
}

/* Deny — muted */
.pr-age-gate__btn--deny {
    background: transparent;
    color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-age-gate__btn--deny:hover {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
}

.pr-age-gate__disclaimer {
    margin-top: 28px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.5;
}

/* Hidden state */
.pr-age-gate--hidden {
    display: none;
}

/* Prevent scrolling behind the gate */
body.pr-age-gate-active {
    overflow: hidden !important;
}

@media (max-height: 500px) {
    .pr-age-gate__card {
        padding: 24px 20px;
    }

    .pr-age-gate__logo {
        width: 80px;
        margin-bottom: 16px;
    }

    .pr-age-gate__subtitle {
        margin-bottom: 20px;
    }
}
