body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1f2a44 0%, #0d1117 60%);
}

.card {
    background-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
}

/* Big round microphone button */
.mic-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    font-size: 3rem;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mic-btn:hover { transform: scale(1.05); }
.mic-btn:active { transform: scale(0.97); }

/* Listening state: red + pulsing */
.mic-btn.listening {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    animation: pulse 1.4s infinite;
}

/* Waiting / translating / speaking state */
.mic-btn.busy {
    background: linear-gradient(135deg, #198754, #20c997);
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.4);
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6); }
    70%  { box-shadow: 0 0 0 30px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

#history .small { opacity: 0.75; }
