/* RACEDAY TV EKRANI ÖZEL STİLLERİ */

/* Telemetri Panelleri */
.rd-tel-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.rd-tel-header {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--brand-red);
    padding-bottom: 10px;
    letter-spacing: 1px;
}

/* Sıralama Tablosu */
.rd-table-container {
    max-height: 60vh;
    overflow: hidden;
}
.rd-tel-table {
    width: 100%;
    border-collapse: collapse;
}
.rd-tel-table th {
    text-align: left;
    padding: 10px;
    color: #888;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.rd-tel-table td {
    padding: 12px 10px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Bayrak Kutusu */
.rd-flag-box {
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.rd-flag-box.green { background: #27ae60; box-shadow: 0 0 40px rgba(39, 174, 96, 0.6); }
.rd-flag-box.yellow { background: #f1c40f; color: black; box-shadow: 0 0 40px rgba(241, 196, 15, 0.6); text-shadow: none; animation: pulseYellow 1s infinite; }
.rd-flag-box.red { background: #e74c3c; box-shadow: 0 0 40px rgba(231, 76, 60, 0.6); animation: pulseRed 1s infinite; }

/* Olaylar (Race Control) */
.rd-events-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    color: #ccc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* IŞIKLAR SÖNÜYOR (Animasyon) */
.rd-lights-overlay {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: #111;
    border-radius: 20px;
    margin: 0 auto 40px auto;
    border: 5px solid #333;
}
.rd-light {
    width: 80px;
    height: 80px;
    background: #333;
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    transition: background 0.1s;
}

/* Soru (Trivia) Elementleri */
.rd-question-text {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
    line-height: 1.3;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.rd-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.rd-option {
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.2);
    padding: 25px;
    border-radius: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-align: left;
    backdrop-filter: blur(5px);
}
.rd-opt-letter {
    color: var(--brand-red);
    margin-right: 15px;
    font-family: 'Oswald', sans-serif;
    background: white;
    padding: 5px 15px;
    border-radius: 10px;
}

/* RPM Sayaç */
.rd-rpm-container {
    height: 30px;
    background: rgba(0,0,0,0.5);
    border: 3px solid #333;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
}
.rd-rpm-bar {
    height: 100%;
    width: 100%;
    background: #27ae60;
}

/* Animasyonlar */
@keyframes pulseRed { 0% { box-shadow: 0 0 20px #e74c3c; } 50% { box-shadow: 0 0 60px #e74c3c; } 100% { box-shadow: 0 0 20px #e74c3c; } }
@keyframes pulseYellow { 0% { box-shadow: 0 0 20px #f1c40f; } 50% { box-shadow: 0 0 60px #f1c40f; } 100% { box-shadow: 0 0 20px #f1c40f; } }
@keyframes zoomIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }