/* Verify18 – Age Gate | Akaeid Hasan */
.verify18-gate,
.verify18-gate * {
    box-sizing: border-box;
}

.verify18-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: clamp(12px, 3vw, 28px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-family: inherit;
    isolation: isolate;
}

html.verify18-pending .verify18-gate,
html.verify18-rejected-current .verify18-gate {
    display: flex;
}

html.verify18-verified .verify18-gate {
    display: none !important;
}

.verify18-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--verify18-overlay, #080808) 82%, transparent);
    backdrop-filter: blur(16px) saturate(.72);
    -webkit-backdrop-filter: blur(16px) saturate(.72);
    transition: background-color .22s ease, backdrop-filter .22s ease;
}

.verify18-card {
    position: relative;
    width: min(100%, 560px);
    max-width: calc(100vw - 24px);
    margin: auto;
    padding: clamp(28px, 5vw, 46px);
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 3%, rgba(245,166,35,.16), transparent 30%),
        linear-gradient(145deg, var(--verify18-card, #fff) 0%, #fff 64%, rgba(245,166,35,.08) 100%);
    color: var(--verify18-text, #18181A);
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(0,0,0,.34), 0 2px 0 rgba(255,255,255,.72) inset;
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}

.verify18-glow {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
    opacity: .2;
}

.verify18-glow-a {
    top: -110px;
    right: -90px;
    background: var(--verify18-accent, #F5A623);
}

.verify18-glow-b {
    bottom: -130px;
    left: -120px;
    background: #FBC303;
}

.verify18-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
}

.verify18-brandrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    margin-bottom: 18px;
}

.verify18-logo {
    display: block;
    width: auto;
    max-width: min(118px, 36vw);
    height: 64px;
    object-fit: contain;
}

.verify18-agebadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 58px;
    height: 58px;
    padding: 0 10px;
    color: #fff;
    background: var(--verify18-accent, #F5A623);
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(245,166,35,.22);
}

.verify18-eyebrow {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 12px;
    padding: 9px 13px;
    color: var(--verify18-accent-hover, #E89610);
    background: rgba(245,166,35,.12);
    border: 1px solid rgba(245,166,35,.12);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1;
    text-align: center;
    white-space: normal;
}

.verify18-title {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: var(--verify18-text, #18181A) !important;
    font-size: clamp(32px, 5vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -.035em;
    text-align: center;
    overflow-wrap: anywhere;
}

.verify18-copy {
    max-width: 460px;
    margin: 0 auto 26px !important;
    padding: 0 !important;
    color: var(--verify18-muted, #737373) !important;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.7 !important;
    text-align: center;
    overflow-wrap: anywhere;
}

.verify18-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.verify18-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 1px solid transparent !important;
    border-radius: 13px !important;
    font: inherit;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
    box-shadow: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.verify18-btn:focus-visible {
    outline: 3px solid rgba(245,166,35,.28) !important;
    outline-offset: 3px;
}

.verify18-btn-primary {
    color: #fff !important;
    background: var(--verify18-accent, #F5A623) !important;
    border-color: var(--verify18-accent, #F5A623) !important;
    box-shadow: 0 10px 22px rgba(245,166,35,.20) !important;
}

.verify18-btn-primary:hover {
    color: #fff !important;
    background: var(--verify18-accent-hover, #E89610) !important;
    border-color: var(--verify18-accent-hover, #E89610) !important;
    transform: translateY(-1px);
}

.verify18-btn-secondary {
    color: var(--verify18-text, #18181A) !important;
    background: rgba(255,255,255,.86) !important;
    border-color: rgba(24,24,26,.14) !important;
}

.verify18-btn-secondary:hover {
    color: var(--verify18-text, #18181A) !important;
    background: #fff !important;
    border-color: rgba(24,24,26,.24) !important;
    transform: translateY(-1px);
}

.verify18-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
    font-size: 13px;
    line-height: 1;
}

.verify18-note {
    margin: 14px 0 0 !important;
    padding: 0 !important;
    color: #929292 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    text-align: center;
}

/* Under 18: close the card but keep a strong blocking/blur layer. Nothing is persisted. */
html.verify18-rejected-current .verify18-gate {
    cursor: not-allowed;
}

html.verify18-rejected-current .verify18-backdrop {
    z-index: 1;
    background: rgba(8,8,8,.90);
    backdrop-filter: blur(26px) saturate(.45);
    -webkit-backdrop-filter: blur(26px) saturate(.45);
    pointer-events: auto;
}

html.verify18-rejected-current .verify18-card,
.verify18-gate.is-rejected .verify18-card {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(.985);
}

/* Prevent inner scrollbars / overflow. Only the full-screen overlay may scroll on very short screens. */
.verify18-card,
.verify18-panel,
.verify18-actions,
.verify18-brandrow {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 600px) {
    .verify18-gate {
        align-items: center;
        padding: 12px;
    }

    .verify18-card {
        width: 100%;
        max-width: calc(100vw - 24px);
        padding: 28px 18px 22px;
        border-radius: 22px;
    }

    .verify18-brandrow {
        gap: 10px;
        margin-bottom: 15px;
    }

    .verify18-logo {
        height: 52px;
        max-width: 105px;
    }

    .verify18-agebadge {
        min-width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 16px;
    }

    .verify18-title {
        font-size: clamp(29px, 9vw, 38px) !important;
    }

    .verify18-copy {
        margin-bottom: 20px !important;
        font-size: 14px !important;
        line-height: 1.62 !important;
    }

    .verify18-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .verify18-btn {
        min-height: 50px;
    }
}

@media (max-height: 560px) {
    .verify18-gate {
        align-items: flex-start;
    }

    .verify18-card {
        margin-top: 8px;
        margin-bottom: 8px;
        padding-top: 22px;
        padding-bottom: 18px;
    }

    .verify18-brandrow {
        margin-bottom: 10px;
    }

    .verify18-logo {
        height: 44px;
    }

    .verify18-agebadge {
        min-width: 44px;
        height: 44px;
    }

    .verify18-eyebrow {
        margin-bottom: 8px;
    }

    .verify18-title {
        margin-bottom: 8px !important;
        font-size: clamp(26px, 7vw, 36px) !important;
    }

    .verify18-copy {
        margin-bottom: 14px !important;
        line-height: 1.45 !important;
    }

    .verify18-note {
        margin-top: 10px !important;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .verify18-backdrop {
        background: rgba(8,8,8,.92);
    }
}
