/* css/multi.css */

/* Animasyonlar */
.status-pulse {
    animation: pulse-animation 1.5s infinite;
    color: #ffd700;
    font-weight: bold;
    margin-top: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

@keyframes pulse-animation {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Oda Kodu Gösterimi */
.code-display {
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    letter-spacing: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border: 2px solid #ffd700;
    color: #fff;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    text-align: center;
}

/* Gizleme Yardımcısı */
.hidden {
    display: none !important;
}

/* Kontrol Kutusu Hizalama */
.room-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.room-controls p {
    color: #aaa;
    margin-bottom: 10px;
}


/* =========================================
   OYUN SONU SKOR VE SÜRE TABLOSU
   ========================================= */
.final-stats-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 10px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    gap: 15px;
    /* İçeriklerin birbirine yapışmasını engeller */
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    /* İki tarafın da eşit alan kaplamasını garanti eder */
}

.stat-divider {
    width: 1px;
    height: 45px;
    background: rgba(197, 160, 89, 0.3);
}

.stat-label {
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
    white-space: nowrap;
    /* Mobilde daralsa bile yazıyı tek satırda tutar */
}

.stat-val-score {
    color: #ffd700;
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    line-height: 1;
}

.stat-val-time {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    margin-top: 4px;
    /* Rakamların font boyutları farklı olduğu için görsel denge sağlar */
}