.wcvfp-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(11, 4, 8, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}

.wcvfp-overlay.wcvfp-visible {
    opacity: 1;
    visibility: visible;
}

.wcvfp-popup {
    position: relative;
    width: min(94vw, 670px);
    min-height: 590px;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 15% 12%, rgba(255,255,255,.18), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(255,255,255,.14), transparent 24%),
        radial-gradient(circle at 16% 100%, rgba(255,205,120,.16), transparent 30%),
        linear-gradient(145deg, #920014 0%, #c1001c 26%, #ff1740 58%, #8f0017 100%);
    box-shadow: 0 34px 110px rgba(0, 0, 0, .5);
    color: #fff;
    transform: scale(.96) translateY(12px);
    transition: transform .33s cubic-bezier(.2, .8, .2, 1);
    isolation: isolate;
}

.wcvfp-overlay.wcvfp-visible .wcvfp-popup {
    transform: scale(1) translateY(0);
}

.wcvfp-popup::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.22);
    pointer-events: none;
}

.wcvfp-popup::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 24%);
    pointer-events: none;
}

.wcvfp-content {
    position: relative;
    z-index: 3;
    min-height: 590px;
    padding: 60px 42px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wcvfp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    margin-bottom: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.13);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.wcvfp-content h2 {
    margin: 0;
    font-size: clamp(44px, 7vw, 78px);
    line-height: .94;
    font-weight: 900;
    letter-spacing: -.05em;
    text-transform: uppercase;
    text-shadow: 0 6px 20px rgba(88, 0, 16, .28);
}

.wcvfp-discount-wrap {
    position: relative;
    margin-top: 14px;
}

.wcvfp-discount-shadow,
.wcvfp-discount {
    font-size: clamp(92px, 18vw, 156px);
    line-height: .88;
    font-weight: 1000;
    letter-spacing: -.08em;
}

.wcvfp-discount-shadow {
    position: absolute;
    inset: 8px auto auto 10px;
    color: rgba(114, 0, 18, .46);
    z-index: 1;
}

.wcvfp-discount {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #fff0a5 0%, #ffd348 32%, #ffbf1f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 18px rgba(78, 0, 13, .2));
}

.wcvfp-separator {
    width: 92px;
    height: 5px;
    margin: 24px 0 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.95), rgba(255,255,255,.15));
}

.wcvfp-code-label {
    margin-bottom: 14px;
    font-size: clamp(18px, 3.4vw, 26px);
    font-weight: 800;
}

.wcvfp-code-button {
    position: relative;
    min-width: min(100%, 335px);
    padding: 18px 26px 16px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbf3ef 100%);
    color: #b2001a;
    box-shadow:
        0 18px 40px rgba(70, 0, 12, .24),
        inset 0 1px 0 rgba(255,255,255,.95);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.wcvfp-code-button:hover,
.wcvfp-code-button:focus-visible {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 24px 46px rgba(70, 0, 12, .28),
        inset 0 1px 0 rgba(255,255,255,.95);
    outline: none;
}

.wcvfp-code-button.is-applied {
    background: linear-gradient(180deg, #fffef7 0%, #fff0c6 100%);
}

.wcvfp-code-text {
    display: block;
    font-size: clamp(30px, 5.5vw, 44px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: .06em;
}

.wcvfp-code-cta {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #6a0011;
    opacity: .88;
}

.wcvfp-subtext {
    max-width: 450px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,.92);
}

.wcvfp-status {
    min-height: 24px;
    margin-top: 16px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
}

.wcvfp-status.is-success {
    color: #fff1a2;
}

.wcvfp-status.is-error {
    color: #ffffff;
}

.wcvfp-close {
    position: absolute;
    z-index: 10;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(88, 0, 17, .22);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.wcvfp-close:hover,
.wcvfp-close:focus-visible {
    transform: rotate(8deg) scale(1.06);
    background: rgba(88, 0, 17, .38);
    outline: none;
}

.wcvfp-glow {
    position: absolute;
    left: 50%;
    bottom: 114px;
    width: 72%;
    height: 120px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255,211,88,.20) 0%, rgba(255,211,88,0) 72%);
    filter: blur(10px);
    z-index: 1;
    pointer-events: none;
}

.wcvfp-shape,
.wcvfp-spark {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.wcvfp-shape {
    border-radius: 50%;
}

.wcvfp-shape-one {
    width: 230px;
    height: 230px;
    left: -112px;
    bottom: -92px;
    border: 42px solid rgba(255, 193, 89, .22);
}

.wcvfp-shape-two {
    width: 200px;
    height: 200px;
    right: -84px;
    top: -72px;
    border: 35px solid rgba(255,255,255,.11);
}

.wcvfp-spark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,231,153,.75);
    box-shadow: 0 0 18px rgba(255,231,153,.52);
}

.wcvfp-spark-one {
    top: 88px;
    right: 100px;
}

.wcvfp-spark-two {
    bottom: 140px;
    left: 88px;
    width: 8px;
    height: 8px;
}

body.wcvfp-no-scroll {
    overflow: hidden !important;
}

@media (max-width: 640px) {
    .wcvfp-overlay {
        padding: 14px;
    }

    .wcvfp-popup {
        width: 100%;
        min-height: 520px;
        border-radius: 24px;
    }

    .wcvfp-content {
        min-height: 520px;
        padding: 56px 20px 38px;
    }

    .wcvfp-code-button {
        min-width: 100%;
    }

    .wcvfp-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 30px;
    }
}

@media (max-height: 560px) and (orientation: landscape) {
    .wcvfp-popup,
    .wcvfp-content {
        min-height: 0;
    }

    .wcvfp-content {
        padding: 40px 24px 28px;
    }

    .wcvfp-discount-shadow,
    .wcvfp-discount {
        font-size: 78px;
    }

    .wcvfp-separator {
        margin: 14px 0;
    }
}
