﻿.buzzer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
}

.winner-display {
    text-align: center;
    background: var(--bg-surface);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .winner-display.hidden {
        display: none;
    }

    .winner-display h2 {
        margin: 0;
        color: var(--text-main);
        font-size: 1.5rem;
    }

#winnerName {
    color: var(--accent);
    font-weight: 800;
}

.giant-buzzer {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ef4444, #991b1b);
    border: 12px solid #7f1d1d;
    box-shadow: 0 20px 0 #450a0a, 0 25px 20px rgba(0,0,0,0.5), inset 0 10px 20px rgba(255,255,255,0.3);
    cursor: pointer;
    position: relative;
    transition: all 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* Removes blue tap box on mobile */
}

    /* 3D Pressing Effect */
    .giant-buzzer:active:not(:disabled) {
        transform: translateY(15px);
        box-shadow: 0 5px 0 #450a0a, 0 10px 10px rgba(0,0,0,0.5), inset 0 10px 20px rgba(255,255,255,0.3);
    }

    .giant-buzzer:disabled {
        background: radial-gradient(circle at 30% 30%, #475569, #1e293b);
        border-color: #0f172a;
        box-shadow: 0 5px 0 #020617;
        transform: translateY(15px);
        cursor: not-allowed;
    }

.buzzer-text {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
