html.jdp-lock,
html.jdp-lock body {
    overflow: hidden !important;
}

html.jdp-blur body > *:not(#jdp-overlay) {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
}

.jdp-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jdp-overlay.jdp-visible {
    display: flex;
}

.jdp-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 33, 79, .22), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 33, 79, .16), transparent 34%),
        linear-gradient(135deg, rgba(0, 0, 0, .88), rgba(7, 7, 10, .97));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.jdp-card {
    position: relative;
    width: min(100%, 560px);
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)),
        var(--jdp-card, #111116);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .08);
    text-align: center;
    overflow: hidden;
    animation: jdp-card-in .38s ease-out both;
}

@keyframes jdp-card-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.jdp-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: var(--jdp-primary, #ff214f);
    opacity: .16;
    filter: blur(46px);
    pointer-events: none;
}

.jdp-glow-one {
    top: -90px;
    left: -80px;
}

.jdp-glow-two {
    right: -110px;
    bottom: -120px;
}

.jdp-logo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.jdp-logo {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #050508;
    color: #fff;
    font-weight: 900;
    letter-spacing: -.06em;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .45), 0 0 0 5px rgba(255, 33, 79, .09);
}

.jdp-age-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 33, 79, .12);
    border: 1px solid rgba(255, 33, 79, .42);
    color: #fff;
    font-weight: 900;
    letter-spacing: .04em;
}

.jdp-card h2 {
    position: relative;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1;
    letter-spacing: -.05em;
    font-weight: 950;
}

.jdp-subtitle {
    position: relative;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.5;
}

.jdp-message {
    position: relative;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 460px;
}

.jdp-message p {
    margin: 0 0 10px;
}

.jdp-message p:last-child {
    margin-bottom: 0;
}

.jdp-actions {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.jdp-btn {
    appearance: none;
    border: 0;
    border-radius: 16px;
    min-height: 52px;
    padding: 14px 18px;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.jdp-btn:hover {
    transform: translateY(-1px);
}

.jdp-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .9);
    outline-offset: 3px;
}

.jdp-btn-primary {
    background: linear-gradient(135deg, var(--jdp-primary, #ff214f), #ff5b78);
    color: #fff;
    box-shadow: 0 14px 35px rgba(255, 33, 79, .28);
}

.jdp-btn-primary:hover {
    box-shadow: 0 18px 44px rgba(255, 33, 79, .38);
}

.jdp-btn-secondary {
    color: rgba(255, 255, 255, .84);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
}

.jdp-btn-secondary:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .20);
}

.jdp-footer-note {
    position: relative;
    margin: 18px auto 0;
    max-width: 480px;
    color: rgba(255, 255, 255, .48);
    font-size: 12.5px;
    line-height: 1.55;
}

@media (max-width: 560px) {
    .jdp-overlay {
        padding: 14px;
        align-items: flex-end;
    }

    .jdp-card {
        padding: 26px 18px 20px;
        border-radius: 24px;
    }

    .jdp-actions {
        grid-template-columns: 1fr;
    }

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

@media (prefers-reduced-motion: reduce) {
    .jdp-card,
    .jdp-btn {
        animation: none;
        transition: none;
    }
}

.jdp-logo-img {
    width: var(--jdp-logo-size, 72px);
    max-width: 160px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(5, 5, 8, .72);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .45), 0 0 0 5px rgba(255, 33, 79, .09);
}
