﻿/* ---------------------------------------
   OVERLAY (smooth fade, no flicker)
---------------------------------------- */
.pick-reveal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

    .pick-reveal-overlay.show {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.35s ease;
    }

/* ---------------------------------------
   CARD (smooth slide + fade)
---------------------------------------- */
.pick-card {
    width: 260px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    color: white;
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: 0 18px 50px rgba(0,0,0,0.45);
    opacity: 0;
    transform: translateY(30px) scale(0.92);
}

.pick-reveal-overlay.show .pick-card {
    animation: cardIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---------------------------------------
   BADGE (premium pop-in)
---------------------------------------- */
.pick-badge {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
    opacity: 0;
    transform: scale(0.6);
}

.pick-reveal-overlay.show .pick-badge {
    animation: popIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

/* ---------------------------------------
   KEYFRAMES
---------------------------------------- */
@keyframes cardIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.92);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    70% {
        opacity: 1;
        transform: scale(1.12);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}
