/**
 * Shared game effects: toasts, confetti, winner modal.
 */

#games-effects-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
}

.games-toast {
    background: #ffffff;
    color: #173344;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(23, 51, 68, 0.25);
    border-left: 4px solid #85ad86;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.games-toast.notice-error {
    border-left-color: #c0392b;
}

.games-toast.notice-info {
    border-left-color: #173344;
}

.games-toast.notice-success {
    border-left-color: #27ae60;
}

.games-toast-out {
    opacity: 0;
    transform: translateX(20px);
}

.games-confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1050;
}

.games-winner {
    text-align: center;
    padding: 1rem 0;
}

.games-winner-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #173344;
    color: #e2eded;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
}

.games-winner h2 {
    color: #173344;
    margin: 0 0 0.5rem 0;
}

.games-winner p {
    color: #173344;
    font-size: 1.1rem;
    margin: 0 0 1.5rem 0;
}
