/* AOSK KAYS - Live Results & Arena Leaderboard Styles */

.live-results-container {
    padding: 1rem 0;
}

/* Canlı Finiş Bildirim Şeridi (Ticker) */
.live-ticker-banner {
    background: linear-gradient(90deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #ecfdf5;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: tickerGlow 3s infinite alternate;
}

@keyframes tickerGlow {
    from { box-shadow: 0 0 10px rgba(16, 185, 129, 0.2); }
    to { box-shadow: 0 0 20px rgba(16, 185, 129, 0.5); }
}

.live-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Stat Cards */
.live-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.live-stat-card:hover {
    transform: translateY(-2px);
}

/* Madalya Rozetleri */
.badge-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    padding: 4px 8px;
}

.badge-silver {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    padding: 4px 8px;
}

.badge-bronze {
    background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    padding: 4px 8px;
}

/* Liderlik Tablosu */
.leaderboard-table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.leaderboard-table tr.leader-row {
    background-color: #f0fdf4 !important;
}

.splits-mini-table {
    font-size: 0.78rem;
    background: #f8fafc;
    border-radius: 6px;
    padding: 8px;
}

.split-pill {
    display: inline-block;
    padding: 2px 6px;
    margin: 2px;
    border-radius: 4px;
    background: #e2e8f0;
    font-family: monospace;
    font-size: 0.75rem;
}

.split-pill.best-split {
    background: #dcfce7;
    color: #166534;
    font-weight: bold;
    border: 1px solid #86efac;
}

/* KIOSK / ARENA PROJEKSİYON MODU */
.arena-kiosk-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #090d16;
    color: #f1f5f9;
    z-index: 99999;
    overflow-y: auto;
    padding: 2rem 3rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.arena-kiosk-header {
    border-bottom: 2px solid #1e293b;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.arena-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #38bdf8;
    text-transform: uppercase;
}

.arena-clock {
    font-size: 2rem;
    font-family: monospace;
    font-weight: bold;
    color: #f59e0b;
}

.arena-category-badge {
    font-size: 1.5rem;
    padding: 6px 18px;
    border-radius: 8px;
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
}

.arena-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.arena-table th {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 12px 16px;
    border-bottom: 1px solid #334155;
}

.arena-table tr.arena-row {
    background: #131b2e;
    transition: transform 0.2s, background 0.2s;
    border-radius: 8px;
}

.arena-table tr.arena-row:hover {
    background: #1e293b;
}

.arena-table tr.arena-row.rank-1 {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.2) 0%, #131b2e 100%);
    border-left: 4px solid #f59e0b;
}

.arena-table tr.arena-row.rank-2 {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.2) 0%, #131b2e 100%);
    border-left: 4px solid #94a3b8;
}

.arena-table tr.arena-row.rank-3 {
    background: linear-gradient(90deg, rgba(180, 83, 9, 0.2) 0%, #131b2e 100%);
    border-left: 4px solid #b45309;
}

.arena-table td {
    padding: 16px;
    font-size: 1.25rem;
    vertical-align: middle;
}

.arena-rank {
    font-size: 1.6rem;
    font-weight: 800;
}

.arena-time {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: #38bdf8;
}

.arena-behind {
    font-family: monospace;
    font-size: 1.2rem;
    color: #94a3b8;
}

.arena-progress-bar {
    height: 4px;
    background: #38bdf8;
    transition: width 1s linear;
}

.cursor-pointer {
    cursor: pointer;
}

.select-none {
    user-select: none;
}
