/* ═══════════════════════════════════════════════════════
   GARIX.IO — auth.css
   Etapa 7 del plan de migración a React: reemplaza los `style=` inline
   (y el <style id="lvlPopStyle"> inyectado a mano por JS) que legacy/
   auth.js usaba para el popup de level-up y el de pago exitoso — ver
   ui/react/LevelRewardPopup.jsx y ui/react/PaymentSuccessPopup.jsx. El
   overlay de cuenta baneada NO está acá: usa las clases ya existentes de
   ban.css (ver ui/react/BannedScreen.jsx).
   ═══════════════════════════════════════════════════════ */

/* ── Level Reward Popup ── */
@keyframes lvlPopIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.lvl-reward-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    background: #0e0e14;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 14px;
    padding: 32px 36px;
    min-width: 280px;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
    font-family: var(--font);
    /* Pase de pulido UX/animaciones: es un momento de recompensa (subir de
       nivel), no navegación — se le deja el rebote (--ease-bounce, ver
       base.css) a propósito, a diferencia de los modales estructurales
       (settings/shop/skins/ban), que ahora usan --ease-out sin rebote.
       300ms → 220ms: seguía siendo notorio pero ya no lento. */
    animation: lvlPopIn 0.22s var(--ease-bounce);
}

.lvl-reward-popup__star {
    font-size: 40px;
    margin-bottom: 8px;
}

.lvl-reward-popup__eyebrow {
    font-size: 11px;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.lvl-reward-popup__level {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 16px;
}

.lvl-reward-popup__coins {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}
.lvl-reward-popup__coins--with-boost {
    margin-bottom: 10px;
}

.lvl-reward-popup__coin-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.lvl-reward-popup__coins-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.lvl-reward-popup__boost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(91, 200, 245, 0.1);
    border: 1px solid rgba(91, 200, 245, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 10px;
}

.lvl-reward-popup__boost-icon {
    font-size: 16px;
}

.lvl-reward-popup__boost-text {
    font-size: 13px;
    font-weight: 700;
    color: #5bc8f5;
    font-family: var(--font);
}

.lvl-reward-popup__btn {
    margin-top: 8px;
    background: #ffd700;
    border: none;
    color: #000;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: opacity 0.15s;
}
.lvl-reward-popup__btn:hover {
    opacity: 0.85;
}

/* ── Payment Success Popup ── */
.payment-success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    background: #0e0e14;
    border: 1px solid rgba(68, 255, 136, 0.3);
    border-radius: 14px;
    padding: 32px 36px;
    min-width: 280px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
    font-family: var(--font);
    /* Pase de pulido UX/animaciones: antes sin animación de entrada — a
       diferencia de .lvl-reward-popup (arriba), con la que comparte
       exactamente el mismo centrado/tamaño/registro "momento de
       recompensa". Reusa el mismo @keyframes (lvlPopIn ya hace
       translate(-50%,-50%), el mismo centrado que este popup) en vez de
       definir uno nuevo casi idéntico. */
    animation: lvlPopIn 0.22s var(--ease-bounce);
}

.payment-success-popup__icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.payment-success-popup__title {
    font-size: 17px;
    font-weight: 700;
    color: #44ff88;
    margin-bottom: 8px;
}

.payment-success-popup__desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    line-height: 1.6;
}

.payment-success-popup__btn {
    background: #44ff88;
    border: none;
    color: #000;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: opacity 0.15s;
}
.payment-success-popup__btn:hover {
    opacity: 0.85;
}

/* ── Free boost banner (dentro del modal de shop, #shopContentBoosts) ──
   updateBoostButtons()/activateFreeBoost() en ui/authCore.js siguen
   siendo DOM imperativo (legacy/shop.js, dueño del modal, todavía no
   migró) — pero el CSS que antes era puro `style=` inline vive acá desde
   la Etapa 7 igual que el resto de este archivo. */
.free-boost-banner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-bottom: 8px;
}

.free-boost-banner__title {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font);
    margin-bottom: 2px;
}

.free-boost-banner__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(74, 158, 255, 0.08);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 10px;
}

.free-boost-banner__icon {
    font-size: 16px;
}

.free-boost-banner__label {
    flex: 1;
    font-size: 12px;
    font-weight: 700;
    color: #4a9eff;
    font-family: var(--font);
}

.free-boost-banner__use-btn {
    background: #4a9eff;
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: opacity 0.15s;
}
.free-boost-banner__use-btn:hover {
    opacity: 0.85;
}
