.welcome-popup-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1200;
    display: none;
}

.welcome-popup {
    --welcome-popup-bottom: 108px;
    position: fixed;
    right: 16px;
    bottom: var(--welcome-popup-bottom);
    width: min(470px, calc(100vw - 20px));
    max-height: calc(100vh - 136px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid #ffd6af;
    background: linear-gradient(180deg, #ffffff 0%, #fff8ee 100%);
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.22);
    padding: 20px 20px 18px;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 1210;
    animation: popupFloatIn 0.26s ease-out;
}

@keyframes popupFloatIn {
    from {
        transform: translateY(14px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.welcome-popup button#close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.welcome-popup button#close:hover {
    color: #374151;
}

.popup-kicker {
    width: fit-content;
    border-radius: 999px;
    border: 1px solid #fdba74;
    background: #fff2df;
    color: #9a3412;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 5px 10px;
}

.popup-kicker i {
    color: #ea580c;
}

.bienvenido_popup {
    color: #111827;
    font-size: clamp(1.16rem, 1rem + 0.9vw, 1.56rem);
    font-weight: 800;
    line-height: 1.24;
    margin: 0;
    padding-right: 24px;
}

.mibban_popup {
    color: #f59e0b;
    font-weight: 900;
}

.x_popup {
    color: #ef4444;
    font-weight: 900;
}

.p_popup {
    margin: 0;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.45;
}

.popup-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.popup-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
}

.popup-benefits li::before {
    content: "\\2022";
    color: #f97316;
    font-size: 1rem;
    line-height: 1;
    margin-top: 1px;
}

.popup-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popup-trust span {
    border-radius: 999px;
    border: 1px solid #fed7aa;
    background: #fffaf3;
    color: #92400e;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 10px;
}

.popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.registrarse_popup {
    flex: 1 1 212px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(135deg, #ff8f1f, #f97316);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.26);
}

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

.popup-secondary {
    flex: 1 1 160px;
    min-height: 43px;
    border-radius: 999px;
    border: 1px solid #fdba74;
    background: #ffffff;
    color: #9a3412;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.popup-secondary:hover {
    background: #fff4e5;
}

@media (max-width: 860px) {
    .welcome-popup {
        right: 12px;
        bottom: calc(var(--welcome-popup-bottom) - 10px);
        width: calc(100vw - 24px);
        max-height: calc(100vh - 114px);
    }
}

@media (max-width: 640px) {
    .welcome-popup {
        right: 10px;
        bottom: 86px;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 104px);
        padding: 16px 14px 14px;
        border-radius: 14px;
        gap: 10px;
    }

    .popup-actions {
        flex-direction: column;
    }

    .registrarse_popup,
    .popup-secondary {
        flex: 1 1 100%;
    }
}