/* Pot Win Animation */
.pot-animating {
    transition:
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.8s ease-in !important;
    z-index: 200 !important;
    pointer-events: none;
}

/* Winner Popup Interface */
#winner-pop-up {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 300;
}

#winner-pop-up.hidden {
    display: none !important;
}

.winner-popup-content {
    background: linear-gradient(135deg, #1a1a1a, #000);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    min-width: 350px;
    max-width: 450px;
    word-wrap: break-word;
}

.winner-hand-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
}

.winner-pots-detail {
    font-size: 13px;
    color: #d4af37;
    margin-bottom: 2px;
}

.winner-chips-total {
    font-size: 16px;
    font-weight: bold;
    color: #4caf50;
}

/* Winner Cards Display Layout */
#winner-cards-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px;
}

/* Individual Card Style in Popup */
.popup-real-card {
    width: 50px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.popup-real-card.winning-glow {
    box-shadow: 0 0 15px 4px #00d2ff !important;
    transform: scale(1.05);
    z-index: 10;
}

/* Winner Identity & Hand Info */
.winner-header {
    font-size: 18px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.winner-player-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.winner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #d4af37;
    background-size: cover;
    background-position: center;
    background-color: #333;
    flex-shrink: 0;
}

.winner-name {
    font-size: 22px;
    font-weight: bold;
}

.winner-hand-desc {
    font-size: 16px;
    color: #ccc;
}
