/* --- Result Overlays --- */
.result-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    font-weight: bold;
    text-shadow: 0 0 20px currentColor;
    z-index: 50000;
    /* Increased Z-index to cover everything in zone */
    background: rgba(0, 0, 0, 0.3);
    /* backdrop-filter: blur(2px); */
    transition: opacity 0.3s;
    cursor: pointer;
}

.result-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.result-overlay.win {
    color: var(--neon-green);
    background: rgba(0, 0, 0, 0.5);
}

.result-overlay.lose {
    color: var(--neon-pink);
    color: #ff4757;
    background: rgba(0, 0, 0, 0.5);
    /* Increased transparency (Lower alpha) */
}

.result-overlay.draw {
    color: var(--neon-yellow);
    background: rgba(0, 0, 0, 0.5);
}

.result-detail-text {
    font-size: 2rem;
    color: white;
    margin-top: 20px;
    text-shadow: 0 0 5px black;
}