/* nostrolotto_notif.css — Notificación animada de boleto NostroLotto */

.nostrolotto-notif {
    position: fixed;
    right: 20px;
    bottom: -300px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    animation: nostrolotto-slide-in 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.nostrolotto-notif.cerrando {
    animation: nostrolotto-slide-out 0.6s ease-in forwards;
}

@keyframes nostrolotto-slide-in {
    0% {
        bottom: -300px;
        opacity: 0;
    }
    60% {
        bottom: 30px;
        opacity: 1;
    }
    80% {
        bottom: 16px;
    }
    100% {
        bottom: 20px;
        opacity: 1;
    }
}

@keyframes nostrolotto-slide-out {
    0% {
        bottom: 20px;
        opacity: 1;
    }
    100% {
        bottom: -300px;
        opacity: 0;
    }
}

.nostrolotto-notif-logo {
    width: 216px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    animation: nostrolotto-logo-bounce 0.6s ease 1.2s both;
}

@keyframes nostrolotto-logo-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.nostrolotto-notif-card {
    margin-top: 8px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #f7c600;
    border-radius: 12px;
    padding: 14px 18px;
    min-width: 220px;
    max-width: 280px;
    box-shadow: 0 4px 20px rgba(247, 198, 0, 0.3), 0 0 40px rgba(247, 198, 0, 0.1);
    color: #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
}

.nostrolotto-notif-felicidades {
    font-size: 0.85rem;
    color: #4caf50;
    font-weight: bold;
    margin-bottom: 6px;
}

.nostrolotto-notif-titulo {
    font-weight: bold;
    font-size: 1rem;
    color: #f7c600;
    margin-bottom: 8px;
}

.nostrolotto-notif-dato {
    margin: 4px 0;
    font-size: 0.85rem;
    color: #ccc;
}

.nostrolotto-notif-dato strong {
    color: #fff;
}

.nostrolotto-notif-premio {
    margin-top: 8px;
    font-size: 1.05rem;
    font-weight: bold;
    color: #f7c600;
}

.nostrolotto-notif-enlace {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    background: #f7c600;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: background 0.2s, transform 0.1s;
}

.nostrolotto-notif-enlace:hover {
    background: #ffd740;
    transform: scale(1.03);
}

.nostrolotto-notif-cerrar {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
}

.nostrolotto-notif-cerrar:hover {
    color: #fff;
}

/* Nota residual al pie de pagina (tras auto-cierre) */
.nostrolotto-nota-pie {
    position: relative;
    margin-top: 20px;
    padding: 8px 32px 8px 16px;
    background: transparent;
    border-top: 1px solid #e8d080;
    font-size: 0.8em;
    color: #704214;
    text-align: center;
}

.nostrolotto-nota-pie a {
    color: #b8860b;
    text-decoration: none;
}

.nostrolotto-nota-pie a:hover {
    color: #f7c600;
    text-decoration: underline;
}

.nostrolotto-nota-pie-cerrar {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    color: #b8860b;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
    opacity: 0.7;
}

.nostrolotto-nota-pie-cerrar:hover {
    color: #f7c600;
    opacity: 1;
}
