/* Budha ADT — Age Verification popup */

html.budha-adt-locking,
html.budha-adt-locking body,
html.budha-adt-locked,
html.budha-adt-locked body {
    overflow: hidden !important;
    height: 100vh !important;
}

.budha-adt-age-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--budha-font);
    color: var(--budha-text, #fff);
}

.budha-adt-age-gate__overlay {
    position: absolute;
    inset: 0;
    background: var(--budha-bg-primary, #0b0b0b);
    opacity: var(--budha-overlay, 0.96);
}
/* Apply the heavy GPU blur only AFTER the popup has painted. Avoids
   first-paint jank, especially on mobile. */
html.budha-adt-locked .budha-adt-age-gate__overlay {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.budha-adt-age-gate__modal {
    position: relative;
    max-width: 480px;
    width: calc(100% - 32px);
    padding: 44px 36px 32px;
    background: var(--modal-bg, var(--budha-bg-surface, #151515));
    border: 1px solid var(--budha-border, rgba(255, 255, 255, 0.10));
    border-radius: var(--budha-radius-lg, 22px);
    box-shadow: var(--budha-shadow-lg, 0 24px 60px rgba(0, 0, 0, 0.55));
    text-align: center;
    animation: budha-adt-pop 280ms var(--budha-ease, cubic-bezier(.2, .8, .2, 1));
}

@keyframes budha-adt-pop {
    from { opacity: 0; transform: translateY(14px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.budha-adt-age-gate__logo {
    display: block;
    max-width: 170px;
    max-height: 130px;
    margin: 0 auto 22px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.budha-adt-age-gate__title {
    margin: 0 0 14px;
    font-family: var(--budha-font);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--modal-text, var(--budha-text, #fff));
}

.budha-adt-age-gate__body {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--modal-text, var(--budha-text, #fff));
}

.budha-adt-age-gate__body p           { margin: 0 0 10px; opacity: 0.78; }
.budha-adt-age-gate__body p:last-child{ margin: 0; }

.budha-adt-age-gate__age {
    font-weight: 600;
    font-size: 16px;
    opacity: 1 !important;
}

.budha-adt-age-gate__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.budha-adt-age-gate__btn {
    flex: 1 1 auto;
    min-width: 150px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: var(--budha-radius-pill, 9999px);
    font-family: var(--budha-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform var(--budha-dur-fast, 160ms) var(--budha-ease),
                filter    var(--budha-dur-fast, 160ms) var(--budha-ease),
                background var(--budha-dur-fast, 160ms) var(--budha-ease);
    -webkit-appearance: none;
    appearance: none;
}
.budha-adt-age-gate__btn:hover  { transform: translateY(-1px); }
.budha-adt-age-gate__btn:active { transform: translateY(0); }
.budha-adt-age-gate__btn:focus-visible {
    outline: 2px solid var(--budha-accent, #7cc04a);
    outline-offset: 3px;
}

.budha-adt-age-gate__btn--yes {
    background: var(--modal-accent, var(--budha-accent, #7cc04a));
    color: var(--budha-text-on-accent, #0b0b0b);
}
.budha-adt-age-gate__btn--yes:hover { filter: brightness(1.08); }

.budha-adt-age-gate__btn--no {
    background: transparent;
    color: var(--modal-text, var(--budha-text, #fff));
    border-color: var(--budha-border-strong, rgba(255, 255, 255, 0.22));
}
.budha-adt-age-gate__btn--no:hover { background: rgba(255, 255, 255, 0.06); }

@media (max-width: 480px) {
    .budha-adt-age-gate__modal { padding: 34px 22px 26px; border-radius: var(--budha-radius-md, 14px); }
    .budha-adt-age-gate__title { font-size: 24px; }
    .budha-adt-age-gate__btn   { min-width: 100%; }
}
