.voap-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(25, 10, 16, .68);
    backdrop-filter: blur(5px);
    animation: voap-overlay-in .25s ease both;
}

.voap-modal {
    position: relative;
    width: min(500px, 100%);
    max-height: 90vh;
    overflow: auto;
    border: 1px solid rgba(117, 31, 61, .12);
    border-radius: var(--gg-radius, 14px);
    background: #fff;
    box-shadow: var(--gg-shadow-lg, 0 20px 60px rgba(0, 0, 0, .3));
    animation: voap-modal-pop .35s var(--gg-spring, cubic-bezier(.34, 1.56, .64, 1)) both;
}

.voap-modal-leaving { opacity: 0; transition: opacity .18s ease; }

.voap-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 24px 18px;
    border-bottom: 1px solid #ece8e9;
    background: radial-gradient(circle at 50% 0, #fff3d5 0, #fff 72%);
}

.voap-modal .voap-modal-header h2 {
    margin: 0;
    color: #751f3d;
    font-size: 23px;
    font-weight: 800;
    text-align: center;
}

.voap-modal-body { padding: 24px; }
.voap-modal-body p { margin: 0 0 14px; color: #333; font-size: 16px; line-height: 1.65; }
.voap-modal-body p:last-child { margin-bottom: 0; }
.voap-modal-body strong { color: #751f3d; }

.voap-modal-info {
    padding: 11px 14px;
    border-radius: var(--gg-radius-sm, 10px);
    background: #f5f0f1;
}

.voap-streak-guide { margin-top: 18px; padding: 14px; border-radius: 10px; background: #f8f4f0;
    color: #660C1B !important}
.voap-streak-guide summary { cursor: pointer; }
.voap-streak-guide summary strong, .voap-streak-guide summary span { display: block; }
.voap-streak-guide summary span { margin-top: 5px; font-size: 13px; line-height: 1.45; }
.voap-streak-guide ul { margin: 14px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.45; }
.voap-streak-guide li + li { margin-top: 6px; }

.voap-price { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.voap-price .gg-coin { width: 1.35em; height: 1.35em; }

.voap-modal-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid #ece8e9;
}

.voap-btn {
    min-width: 130px;
    padding: 11px 24px;
    border: 0;
    border-radius: var(--gg-radius-pill, 999px);
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.voap-btn:focus-visible, .voap-modal-close:focus-visible { outline: 3px solid #f4b942; outline-offset: 3px; }
.voap-btn:disabled { opacity: .55; cursor: wait; }
.voap-btn-primary { color: #fff; background: #751f3d; box-shadow: 0 4px 14px rgba(117, 31, 61, .28); }
.voap-btn-primary:hover:not(:disabled) { transform: translateY(-2px); background: #9d2d5a; }
.voap-btn-primary .gg-coin { width: 1.25em; height: 1.25em; vertical-align: -.25em; }
.voap-btn-secondary { color: #751f3d; border: 2px solid rgba(117, 31, 61, .35); background: transparent; }
.voap-btn-secondary:hover:not(:disabled) { border-color: #751f3d; background: rgba(117, 31, 61, .05); }

.voap-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #751f3d;
    background: rgba(255, 255, 255, .85);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.voap-multiplier-upgrade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 20px;
    font-size: 29px;
    font-weight: 800;
}

.voap-multiplier-upgrade span { color: #90868a; text-decoration: line-through; }
.voap-multiplier-upgrade b { color: #f4b942; }
.voap-multiplier-upgrade strong { color: #751f3d; font-size: 42px; animation: voap-upgrade-pulse .7s .25s ease both; }
.voap-upgrade-icons { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; }
.voap-upgrade-icons .gg-coin { width: 48px; height: 48px; }

.voap-confetti { position: absolute; inset: 0; z-index: 100001; overflow: hidden; pointer-events: none; }
.voap-confetti i {
    position: absolute;
    top: -16px;
    left: var(--x);
    width: 8px;
    height: 14px;
    border-radius: 2px;
    animation: voap-confetti-fall 1.8s var(--delay) cubic-bezier(.18, .75, .4, 1) both;
}

@keyframes voap-overlay-in { from { opacity: 0; } }
@keyframes voap-modal-pop { from { opacity: 0; transform: scale(.9) translateY(12px); } }
@keyframes voap-upgrade-pulse { 50% { transform: scale(1.2) rotate(-3deg); } }
@keyframes voap-confetti-fall { to { transform: translate3d(0, 105vh, 0) rotate(var(--turn)); } }

@media (max-width: 600px) {
    .voap-modal .voap-modal-header h2 { font-size: 20px; }
    .voap-modal-body { padding: 20px; }
    .voap-modal-footer { flex-direction: column; }
    .voap-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .voap-modal-overlay, .voap-modal, .voap-multiplier-upgrade strong, .voap-confetti i, .voap-btn {
        animation: none;
        transition: none;
        transform: none;
    }
    .voap-confetti { display: none; }
}
