/* ============================================
   CANLI MAÇLAR SAYFASI CSS - TAMAMEN GÜNCELLENDİ
   ============================================ */

/* HERO BÖLÜMÜ STILLERI - MASAÜSTÜ VE MOBİL UYUMLU */
.live-scores-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 28px;
    padding: 40px 45px;
    margin-bottom: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.live-scores-hero::before {
    content: "⚽🏀🏆";
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 140px;
    opacity: 0.06;
    white-space: nowrap;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.live-scores-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.live-scores-hero p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Spor Sekmeleri */
.sport-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.sport-tab {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f1f3f5;
    color: #4a5568;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sport-tab i {
    font-size: 18px;
}

.sport-tab:hover {
    transform: translateY(-2px);
    background: #e9ecef;
}

.sport-tab.active {
    background: linear-gradient(135deg, #e10600, #ff6b00);
    color: white;
    box-shadow: 0 4px 12px rgba(225, 6, 0, 0.3);
}

/* Maç Konteyner */
.matches-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Maç Kartı */
.match-card {
    background: white;
    border-radius: 24px;
    padding: 20px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(225, 6, 0, 0.1);
}

/* Lig Bilgisi */
.league-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.league-icon {
    font-size: 22px;
}

.league-name {
    font-weight: 700;
    color: #e10600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Takım Skor Alanı */
.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.team {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.team.home {
    justify-content: flex-start;
}

.team.away {
    justify-content: flex-end;
}

.team-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 5px;
}

.team-name {
    font-weight: 700;
    font-size: 18px;
    color: #2d3748;
}

.match-score {
    font-size: 28px;
    font-weight: 800;
    color: #e10600;
    background: #fef5f0;
    padding: 10px 20px;
    border-radius: 20px;
    min-width: 100px;
    text-align: center;
    letter-spacing: 2px;
}

/* Maç Durumu */
.match-status-area {
    text-align: center;
    margin-top: 10px;
}

.match-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.status-live {
    background: #dc3545;
    color: white;
    animation: livePulse 1.5s infinite;
}

.status-live i {
    font-size: 10px;
}

.status-finished {
    background: #28a745;
    color: white;
}

.status-scheduled {
    background: #6c757d;
    color: white;
}

/* Maç Detayları */
.match-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.match-time, .match-venue {
    font-size: 12px;
    color: #adb5bd;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Animasyon */
@keyframes livePulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Boş Durum */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 24px;
    margin: 20px;
}

.empty-state i {
    font-size: 64px;
    color: #e10600;
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    font-size: 20px;
    color: #2d3748;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6c757d;
}

/* Yenile Butonu */
.refresh-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #e10600, #ff6b00);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(225, 6, 0, 0.5);
}

/* ============================================
   HERO BÖLÜMÜ MOBİL DÜZENLEMELERİ
   ============================================ */
@media (max-width: 768px) {
    .live-scores-hero {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .hero-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .live-scores-hero h1 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .live-scores-hero p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .hero-stats {
        gap: 10px;
    }
    
    .stat-badge {
        padding: 4px 12px;
        font-size: 11px;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .live-scores-hero h1 {
        font-size: 18px;
    }
    
    .live-scores-hero p {
        font-size: 12px;
    }
    
    .stat-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
}

/* ============================================
   MOBİL DÜZENLEMELER (MEVCUT)
   ============================================ */
@media (max-width: 992px) {
    .matches-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .sport-tabs {
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .sport-tab {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .sport-tab i {
        font-size: 14px;
    }
    
    .match-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .league-info {
        margin-bottom: 12px;
        padding-bottom: 8px;
        justify-content: center;
    }
    
    .league-icon {
        font-size: 18px;
    }
    
    .league-name {
        font-size: 12px;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .team {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }
    
    .team.home {
        justify-content: flex-start;
    }
    
    .team.away {
        justify-content: flex-end;
        flex-direction: row-reverse;
    }
    
    .team-logo {
        width: 40px;
        height: 40px;
    }
    
    .team-name {
        font-size: 14px;
        flex: 1;
    }
    
    .team.home .team-name {
        text-align: left;
    }
    
    .team.away .team-name {
        text-align: right;
    }
    
    .match-score {
        order: 2;
        font-size: 20px;
        padding: 6px 14px;
        min-width: 70px;
        margin: 5px 0;
    }
    
    .match-status {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .match-details {
        gap: 12px;
        margin-top: 8px;
    }
    
    .match-time, .match-venue {
        font-size: 10px;
    }
    
    .refresh-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
    
    .empty-state {
        padding: 40px 15px;
    }
    
    .empty-state i {
        font-size: 48px;
    }
    
    .empty-state h3 {
        font-size: 18px;
    }
    
    .empty-state p {
        font-size: 13px;
    }
}

/* Küçük Mobil (max-width: 480px) */
@media (max-width: 480px) {
    .sport-tabs {
        gap: 8px;
    }
    
    .sport-tab {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .match-card {
        padding: 12px;
    }
    
    .team-logo {
        width: 32px;
        height: 32px;
    }
    
    .team-name {
        font-size: 12px;
    }
    
    .match-score {
        font-size: 16px;
        padding: 4px 10px;
        min-width: 60px;
    }
    
    .league-name {
        font-size: 11px;
    }
    
    .match-status {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .match-time, .match-venue {
        font-size: 9px;
    }
    
    .refresh-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
}

/* Orta Ekran (max-width: 576px) */
@media (max-width: 576px) {
    .match-teams {
        gap: 10px;
    }
    
    .team {
        gap: 8px;
    }
    
    .team-logo {
        width: 35px;
        height: 35px;
    }
    
    .team-name {
        font-size: 13px;
    }
    
    .match-score {
        font-size: 18px;
        padding: 5px 12px;
    }
}

/* Tablet (min-width: 481px) ve (max-width: 768px) için özel düzenleme */
@media (min-width: 481px) and (max-width: 768px) {
    .match-teams {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .team {
        flex: 1;
        justify-content: center;
    }
    
    .match-score {
        order: 0;
        width: 100%;
        text-align: center;
    }
    
    .team.home {
        justify-content: flex-end;
    }
    
    .team.away {
        justify-content: flex-start;
    }
}

/* Canlı maç animasyonu - Mobilde daha sade */
@media (max-width: 768px) {
    @keyframes livePulse {
        0% { opacity: 1; }
        50% { opacity: 0.6; }
        100% { opacity: 1; }
    }
    
    .status-live {
        animation: livePulse 1.5s infinite;
    }
}

/* ============================================ */
/* 🆕 LİG SEÇİCİ STİLLERİ */
/* ============================================ */
.league-selector {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.league-selector-header {
    margin-bottom: 15px;
}

.selector-label {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.league-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.league-btn {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.league-btn:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-2px);
}

.league-btn.active {
    background: #e10600;
    color: white;
    border-color: #e10600;
}

.league-btn.all {
    background: #ff6b35;
    color: white;
}

.league-btn.all:hover {
    background: #e55a2b;
}

.league-btn.all.active {
    background: #e10600;
    border-color: #e10600;
}

@media (max-width: 768px) {
    .league-buttons {
        gap: 8px;
    }
    .league-btn {
        font-size: 11px;
        padding: 6px 12px;
    }
}
