/**
 * Bilardo Rapor Sayfası - Modern Renk Paleti ve Stiller
 * Primary: #1a2236 (Koyu Lacivert)
 * Accent: #e74c3c (Canlı Kırmızı)
 * Success: #27ae60 (Yeşil)
 * Warning: #f1c40f (Altın Sarısı)
 * Info: #3498db (Mavi)
 * Light: #f8f9fa (Açık Gri)
 * Dark: #2c3e50 (Koyu Gri)
 */

/* Değişkenler yalnızca .bilardo-report-root altında geçerli (kabuk / global :root ile çakışmaz). */
.bilardo-report-root {
    --primary: #1a2236;
    --primary-light: #2c3e50;
    --primary-dark: #0f1419;
    --accent: #e74c3c;
    --accent-light: #ec7063;
    --success: #27ae60;
    --success-light: #2ecc71;
    --warning: #f1c40f;
    --warning-light: #f4d03f;
    --info: #3498db;
    --info-light: #5dade2;
    --light: #f8f9fa;
    --light-gray: #e9ecef;
    --dark: #2c3e50;
    --text-muted: #6c757d;
    --gold: #f1c40f;
    --silver: #95a5a6;
    --bronze: #cd7f32;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --transition: all 0.2s ease;
}

/* ═══════════════════════════════════════════════════════════════
   TURNUVA KARTLARI
   ═══════════════════════════════════════════════════════════════ */
.tv-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tv-panel.aktif {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.t-kart {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
    border: 1px solid var(--light-gray);
}

.t-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 20px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: 3px solid var(--accent);
}

.t-kart.aktif .t-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   ETAP PANELERİ
   ═══════════════════════════════════════════════════════════════ */
.etap-panel {
    display: none !important;
    animation: slideDown 0.3s ease;
}

.etap-panel.goster {
    display: block !important;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.grup-panel {
    display: none !important;
}

.grup-panel.goster {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

.etap-baslik {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.etap-baslik i {
    color: var(--accent);
}

.grup-sep {
    background: linear-gradient(90deg, var(--light) 0%, var(--light-gray) 100%);
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--primary);
    border-left: 4px solid var(--info);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   TABLOLAR
   ═══════════════════════════════════════════════════════════════ */
.table-scrollable {
    max-height: 500px;
    overflow-y: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.table-scrollable thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.table-scrollable.table-dark thead th {
    background: var(--dark);
}

.table-scrollable .bg-primary thead th {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Sıralama Renkleri */
.rank-1 td {
    background: linear-gradient(90deg, rgba(241, 196, 15, 0.15) 0%, rgba(241, 196, 15, 0.05) 100%) !important;
    border-left: 3px solid var(--gold);
}

.rank-2 td {
    background: linear-gradient(90deg, rgba(149, 165, 166, 0.15) 0%, rgba(149, 165, 166, 0.05) 100%) !important;
    border-left: 3px solid var(--silver);
}

.rank-3 td {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.05) 100%) !important;
    border-left: 3px solid var(--bronze);
}

/* Tablo Başlık Sıralama */
thead th[data-col] {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

thead th[data-col]:hover {
    filter: brightness(1.1);
    background: rgba(255,255,255,0.1);
}

thead th.sort-asc::after,
thead th.sort-desc::after {
    content: ' ▲';
    font-size: 0.65rem;
    opacity: 0.9;
    margin-left: 4px;
}

thead th.sort-desc::after {
    content: ' ▼';
}

thead th.sort-asc,
thead th.sort-desc {
    box-shadow: inset 0 -3px 0 var(--warning);
}

/* Kazanan/Mağlup Satırları */
.kazanan-row {
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.1) 0%, transparent 100%);
    font-weight: 700;
}

.kayip-row {
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.05) 0%, transparent 100%);
}

/* ═══════════════════════════════════════════════════════════════
   DOĞUM GÜNÜ KARTLARI
   ═══════════════════════════════════════════════════════════════ */
.bday-card {
    background: linear-gradient(135deg, #FF512F 0%, #DD2476 50%, #93291E 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.bday-card::before {
    content: '🎂';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.2;
}

.yaklasan-bday {
    background: #fff;
    border-radius: var(--radius);
    border-left: 5px solid var(--accent);
    box-shadow: var(--shadow);
}

/* ═══════════════════════════════════════════════════════════════
   ÖDÜL BANNER
   ═══════════════════════════════════════════════════════════════ */
.odul-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    border-left: 5px solid var(--info);
    box-shadow: var(--shadow-sm);
}

.odul-banner .fw-bold {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════
   MAÇ DETAYLARI
   ═══════════════════════════════════════════════════════════════ */
.mac-detay-wrap {
    margin-top: 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.mac-detay-wrap summary {
    background: var(--light);
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mac-detay-wrap summary:hover {
    background: var(--light-gray);
}

.mac-detay-wrap[open] summary {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-bottom: 1px solid var(--light-gray);
}

.mac-detay-outer {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.mac-detay-scroll {
    max-height: 400px;
    overflow-y: auto;
}

/* ═══════════════════════════════════════════════════════════════
   BEKLEYEN MAÇLAR
   ═══════════════════════════════════════════════════════════════ */
.bekleyen-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.bekleyen-item {
    background: linear-gradient(135deg, #fff 0%, var(--light) 100%);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-gray);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.bekleyen-item .vs {
    color: var(--accent);
    font-weight: 700;
    margin: 0 8px;
}

/* ═══════════════════════════════════════════════════════════════
   SEÇİCİLER VE KONTROLLER
   ═══════════════════════════════════════════════════════════════ */
.secici-container {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.secici-container .form-select {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.secici-container .form-select:focus {
    border-color: var(--info);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .t-header {
        padding: 16px;
        font-size: 1rem;
    }
    
    .etap-baslik {
        font-size: 1rem;
        margin: 16px 0 12px;
    }
    
    .table-scrollable {
        max-height: 350px;
    }
    
    .grup-sep {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .secici-container {
        padding: 12px 16px;
    }
}

@media (max-width: 576px) {
    .t-header {
        font-size: 0.9rem;
    }
    
    .table-scrollable {
        max-height: 300px;
    }
    
    .bekleyen-item {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SCOREBOARD MODAL
   ═══════════════════════════════════════════════════════════════ */
.scoreboard-modal .modal-dialog {
    max-width: 1100px;
}

.scoreboard-modal .modal-content {
    background: transparent;
    border: none;
}

.scoreboard-wrap {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Scoreboard Header */
.scoreboard-top {
    background: linear-gradient(90deg, #f3efe4 0%, #e8e0d0 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 4px solid var(--gold);
}

.turnuva-baslik {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scoreboard Mid Section - Oyuncular ve Skor */
.scoreboard-mid {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    align-items: stretch;
    min-height: 400px;
}

/* Oyuncu Alanları */
.scoreboard-player {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    position: relative;
}

/* Avatar Container */
.sb-avatar-wrap {
    position: relative;
    width: 200px;
    height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--gold);
    background: linear-gradient(135deg, #2c3e50 0%, #1a2236 100%);
}

/* Profil Resmi */
.sb-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sb-avatar-wrap:hover img {
    transform: scale(1.05);
}

/* İsim Harfleri Avatar (Resim Yoksa) */
.sb-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
}

.sb-avatar-initials .initials {
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sb-avatar-initials .full-name {
    font-size: 0.85rem;
    margin-top: 12px;
    opacity: 0.8;
    text-align: center;
    padding: 0 16px;
    font-weight: 600;
}

/* Oyuncu İsmi Altta */
.sb-player-name {
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Scoreboard Center - Skor Alanı */
.scoreboard-center {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #1a2236 0%, var(--primary) 100%);
}

/* İstatistikler */
.scoreboard-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: #a0aec0;
}

.scoreboard-stats b {
    font-size: 1.8rem;
    color: #fff;
    display: block;
    text-align: center;
    margin-top: 4px;
}

/* Skor Göstergesi */
.scoreboard-score-row {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;
    gap: 20px;
}

.scorebox {
    background: linear-gradient(145deg, #f6f2e8 0%, #e8e0d0 100%);
    color: var(--primary);
    border-radius: var(--radius);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    font-weight: 800;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.scorebox.right {
    background: linear-gradient(145deg, #f2c27e 0%, #e8a838 100%);
    color: #1a1a1a;
}

.scoreboard-vs {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Alt Bilgi Bar */
.scoreboard-bottom {
    background: linear-gradient(90deg, var(--gold) 0%, #e8a838 100%);
    color: var(--primary);
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 16px;
    align-items: center;
    padding: 16px 24px;
}

.scoreboard-name {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scoreboard-name.left {
    text-align: left;
}

.scoreboard-name.right {
    text-align: right;
}

.scoreboard-mini {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 1rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.scoreboard-mini span b {
    font-size: 1.4rem;
    display: block;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   BADGES VE ETIKETLER
   ═══════════════════════════════════════════════════════════════ */
.badge.bg-success {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%) !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, var(--text-muted) 0%, var(--silver) 100%) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--info) 0%, var(--info-light) 100%) !important;
}

/* ═══════════════════════════════════════════════════════════════
   YÜKLEME VE BOŞ DURUMLAR
   ═══════════════════════════════════════════════════════════════ */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.alert-empty {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7dd 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--info);
    padding: 16px 20px;
}

.alert-empty i {
    color: var(--info);
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   PROFİL GÖRSELLERİ
   ═══════════════════════════════════════════════════════════════ */
.profil-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    border: 2px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
}

.profil-ph {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light) 0%, var(--light-gray) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   MAÇ LİNKLERİ
   ═══════════════════════════════════════════════════════════════ */
.match-open-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.match-open-link:hover {
    color: var(--info);
    border-bottom-color: var(--info);
}

/* ═══════════════════════════════════════════════════════════════
   EK SIRALAMA STILLERI
   ═══════════════════════════════════════════════════════════════ */
tr.rank-4 td {
    background: linear-gradient(90deg, rgba(237, 242, 255, 0.8) 0%, transparent 100%) !important;
    border-left: 3px solid var(--info);
}

/* ═══════════════════════════════════════════════════════════════
   SCOREBOARD RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .scoreboard-mid,
    .scoreboard-bottom {
        grid-template-columns: 1fr;
    }
    
    .scoreboard-mid {
        min-height: auto;
    }
    
    .scoreboard-player {
        padding: 20px;
    }
    
    .sb-avatar-wrap {
        width: 160px;
        height: 200px;
    }
    
    .sb-avatar-initials .initials {
        font-size: 3rem;
    }
    
    .sb-player-name {
        font-size: 1rem;
        margin-top: 12px;
    }
    
    .scoreboard-center {
        padding: 20px;
        order: -1;
    }
    
    .scoreboard-score-row {
        grid-template-columns: 1fr 80px 1fr;
        gap: 12px;
    }
    
    .scorebox {
        min-height: 120px;
        font-size: 3.5rem;
    }
    
    .scoreboard-vs {
        font-size: 1.8rem;
    }
    
    .scoreboard-stats {
        gap: 20px;
        font-size: 0.95rem;
    }
    
    .scoreboard-stats b {
        font-size: 1.4rem;
    }
    
    .scoreboard-bottom {
        padding: 14px 20px;
    }
    
    .scoreboard-name.left,
    .scoreboard-name.right {
        text-align: center;
    }
    
    .scoreboard-mini {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .scoreboard-top {
        padding: 14px 16px;
    }
    
    .turnuva-baslik {
        font-size: 1.1rem;
    }
    
    .scoreboard-player {
        padding: 16px;
    }
    
    .sb-avatar-wrap {
        width: 120px;
        height: 150px;
        border-width: 3px;
    }
    
    .sb-avatar-initials .initials {
        font-size: 2.2rem;
    }
    
    .sb-avatar-initials .full-name {
        font-size: 0.7rem;
        margin-top: 8px;
    }
    
    .sb-player-name {
        font-size: 0.9rem;
    }
    
    .scoreboard-center {
        padding: 16px 12px;
    }
    
    .scoreboard-stats {
        gap: 12px;
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .scoreboard-stats b {
        font-size: 1.1rem;
    }
    
    .scoreboard-score-row {
        grid-template-columns: 1fr 60px 1fr;
        gap: 8px;
    }
    
    .scorebox {
        min-height: 80px;
        font-size: 2.2rem;
        border-radius: var(--radius-sm);
    }
    
    .scoreboard-vs {
        font-size: 1.2rem;
    }
    
    .scoreboard-bottom {
        padding: 10px 14px;
    }
    
    .scoreboard-name {
        font-size: 0.9rem;
    }
    
    .scoreboard-mini {
        gap: 12px;
        font-size: 0.85rem;
    }
    
    .scoreboard-mini span b {
        font-size: 1.1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TURNUVA AĞACI - YATAY LAYOUT
   ═══════════════════════════════════════════════════════════════ */

/* Ana Container */
.tournament-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #1a2236 0%, #2c3e50 100%);
    border-radius: 15px;
    margin-top: 20px;
    overflow-x: auto;
    min-height: 600px;
}

/* Etap Sütunu */
.tournament-etap {
    flex: 0 0 280px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

/* Etap Başlığı */
.tournament-etap-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.tournament-etap-header h5 {
    color: #f1c40f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gruplar Container */
.tournament-gruplar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Grup - padding var, border yok */
.tournament-grup {
    padding: 15px;
    border: none;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

/* Maçlar Container */
.tournament-matches {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Maç Kartı */
.tournament-match {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tournament-match:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Maç Body */
.tournament-match-body {
    padding: 10px;
}

/* Oyuncu Satırı */
.tournament-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.tournament-player:last-child {
    margin-bottom: 0;
}

.tournament-player.winner {
    background: #d4edda;
    font-weight: 700;
    color: #155724;
}

.tournament-player.loser {
    background: #f8d7da;
    color: #721c24;
}

/* Oyuncu İsim ve Skor */
.tournament-player-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tournament-player-score {
    font-weight: 800;
    font-size: 1rem;
    min-width: 30px;
    text-align: right;
}

/* Etaplar Arası Ok */
.tournament-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1c40f;
    font-size: 1.5rem;
    min-width: 30px;
}

/* Hover Efekti */
.tournament-player[data-oyuncu]:hover {
    background-color: #fff3cd !important;
    cursor: pointer;
}

/* Boş Slot */
.empty-slot {
    color: #95a5a6;
    font-style: italic;
}

/* Şampiyon Bölümü */
.champion-section {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-lg);
}

.champion-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    object-fit: cover;
    margin-bottom: 15px;
}

.champion-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.champion-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 20px auto 0;
}

.champion-stat-card {
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    padding: 15px 10px;
    color: #fff;
    text-align: center;
}

.champion-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.champion-stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .tournament-container {
        flex-direction: column;
        padding: 15px;
        min-height: auto;
    }
    
    .tournament-etap {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .tournament-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .champion-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLLABLE TABLOLAR
   ═══════════════════════════════════════════════════════════════ */
.table-scrollable {
    max-height: 400px;
    overflow-y: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.table-scrollable table {
    width: 100%;
    margin-bottom: 0;
}

.table-scrollable thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--primary);
    color: #fff;
}

.table-scrollable thead th {
    border-bottom: none;
    font-weight: 600;
    font-size: 1rem;
}

.table-scrollable tbody td {
    padding: 4px 4px;
    font-size: 0.9rem;
    vertical-align: middle;
}
.cell-content {
    display: inline-flex;
    align-items: center;  /* Dikeyde ortalar */
    gap: 8px;            /* İkon ve yazı arasındaki boşluk */
}
/* Etap Bölümleri */
.etap-bolum {
    display: none;
}

.etap-bolum.goster {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
