.vgn-offer-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.22);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.vgn-offer-popup-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.vgn-offer-popup {
    width: min(370px, 96vw);
    border-radius: 14px;
    background: var(--vgn-popup-bg, #ffffff);
    border: 1px solid #dbe3ef;
    padding: 16px;
    position: relative;
    transform: translateY(10px);
    transition: transform 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vgn-offer-popup-overlay.is-visible .vgn-offer-popup {
    transform: translateY(0);
}

.vgn-offer-popup-close {
    position: absolute;
    right: 10px;
    top: 8px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.vgn-offer-popup-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    margin-bottom: 10px;
}

.vgn-offer-popup-title {
    margin: 0 0 8px;
    color: var(--vgn-popup-title, #0f172a);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
}

.vgn-offer-popup-text {
    margin: 0 0 12px;
    color: var(--vgn-popup-text, #334155);
    font-size: 14px;
    line-height: 1.5;
}

.vgn-offer-popup-code-row {
    margin-bottom: 8px;
}

.vgn-offer-popup-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border-radius: 9px;
    border: 1px dashed #1d4ed8;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vgn-offer-popup-actions {
    display: flex;
    gap: 8px;
}

.vgn-offer-popup-countdown-row {
    margin-bottom: 12px;
}

.vgn-offer-popup-countdown {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.03em;
}

.vgn-offer-popup-apply,
.vgn-offer-popup-copy {
    flex: 1;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 12px;
}

.vgn-offer-popup-apply {
    border-color: var(--vgn-popup-button, #2563eb);
    background: var(--vgn-popup-button, #2563eb);
    color: var(--vgn-popup-button-text, #ffffff);
}

.vgn-offer-popup-apply.is-disabled,
.vgn-offer-popup-copy.is-disabled {
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 600px) {
    .vgn-offer-popup-overlay {
        align-items: flex-end;
        justify-content: center;
        padding: 10px;
    }

    .vgn-offer-popup {
        width: 100%;
    }
}
