.calculate-wins {
    position: absolute;
    width: var(--width);
    height: var(--height);
    left: var(--left);
    top: var(--top);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
    transition: all 0.3s ease-in-out;
}

.calculate-wins .title {
    font-size: 95%;
    margin-bottom: 25%;
}

.calculate-wins .value {
    font-size: 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    transition: all 0.3s ease-in-out;
}

.calculate-wins .card-count {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.calculate-wins.winner-pulse {
    animation: winnerPulse 1s ease-in-out infinite;
}

.calculate-wins.winner-pulse .value {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.calculate-wins.winner-pulse .title {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.tie-indicator {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 15%;
    animation: tieFlash 0.5s ease-in-out infinite alternate;
}

@keyframes winnerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

@keyframes tieFlash {
    0% {
        background: #ff6b6b;
    }
    100% {
        background: #ff9999;
    }
}

/* Legacy support for existing classes */
.player-title, .banker-title {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-weight: bold;
    color: white;
}