/* ============================================
   INAT TV - ANA STYLE DOSYASI
   ============================================ */

/* Local CSS */
* { margin:0; padding:0; box-sizing:border-box; }
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background:#f0f4f8; 
    color:#333;
    padding: 15px;
}
.container { 
    max-width:1200px; 
    margin:0 auto; 
    padding:15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ============================================
   HEADER
   ============================================ */
.header { 
    background: #FF8C00; 
    padding:15px 20px; 
    border-radius: 10px 10px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.logo a { 
    font-size:32px; 
    font-weight:bold; 
    color:#fff; 
    text-decoration:none; 
    letter-spacing:1px;
}
.logo-sub { 
    color: rgba(255,255,255,0.9); 
    font-size:16px; 
    font-weight:700;
    letter-spacing: 0.5px;
}

/* ============================================
   MENU - Normal kaydırma (drag yok)
   ============================================ */
.menu { 
    background:#fff; 
    padding:10px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #1a237e #f0f0f0;
}
.menu::-webkit-scrollbar {
    height: 6px;
}
.menu::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}
.menu::-webkit-scrollbar-thumb {
    background: #1a237e;
    border-radius: 10px;
}
.menu ul { 
    list-style:none; 
    padding:0; 
    margin:0; 
    display:flex; 
    flex-wrap:nowrap;
    justify-content:flex-start; 
    gap:8px;
    min-width: max-content;
}
.menu ul li { 
    display: inline-block;
}
.menu ul li a { 
    text-decoration:none; 
    color:#1a237e; 
    font-weight:600; 
    font-size:14px;
    padding:8px 16px; 
    background:#fff;
    border:2px solid #e0e0e0;
    border-radius:20px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    white-space: nowrap;
}
.menu ul li a:hover { 
    background:#1a237e; 
    color:#fff; 
    border-color:#1a237e;
    box-shadow: 0 3px 10px rgba(26, 35, 126, 0.3);
}

/* ============================================
   REKLAM ALANLARI
   ============================================ */
.reklam-alani { 
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    gap:15px; 
    margin:20px 0; 
}
.reklam-alani a {
    display: block;
    max-width: 100%;
    line-height: 0;
}
.reklam-alani img { 
    max-width:100%; 
    height:auto; 
    border-radius:8px; 
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

/* ============================================
   CANLI YAYIN - BASIT PLAYER
   ============================================ */
.live-section { 
    display:flex; 
    flex-direction:column; 
    align-items:flex-start; 
    margin:30px 0; 
}
.live-box { 
    background:#fff; 
    border-radius:20px; 
    padding:20px; 
    width:100%; 
    box-shadow:0 4px 20px rgba(0,0,0,0.08); 
    border-left:6px solid #FF8C00;
    border-right:6px solid #FF8C00;
    border-top:2px solid #FF8C00;
    border-bottom:2px solid #FF8C00;
    position:relative; 
}
.live-box h2 { 
    color:#FF8C00; 
    margin-top:0; 
    font-size:26px; 
    padding-bottom:10px;
}
.live-box .player-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

/* BASIT PLAYER - Varsayılan HTML5 */
.player-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.player-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    background: #000;
    object-fit: contain;
}
.player-wrapper .poster-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    display: block;
}

/* ============================================
   MAÇ TABLOSU (Genel - Oranı Düşen Maçlar için)
   ============================================ */
.mac-tablosu {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}
.mac-tablosu th {
    background: #1a237e;
    color: #fff;
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
}
.mac-tablosu td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.mac-tablosu tr:hover {
    background: #f8f9fa;
}
.mac-tablosu .oran-acilis {
    color: #1a237e;
    font-weight: bold;
    text-decoration: line-through;
    font-size: 0.9em;
}
.mac-tablosu .oran-son {
    color: #e74c3c;
    font-weight: bold;
}
.mac-tablosu .oynanma {
    color: #2ecc71;
    font-weight: bold;
}
.mac-tablosu .sira-no {
    font-weight: bold;
    color: #1a237e;
}

/* ============================================
   MOBİL İÇİN MAÇ KARTI
   ============================================ */
.mobile-mac-list {
    display: none;
}
.mobile-mac-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 15px;
    border-left: 4px solid #1a237e;
}
.mobile-mac-card .card-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
}
.mobile-mac-card .card-item:last-child {
    border-bottom: none;
}
.mobile-mac-card .card-label {
    font-weight: 600;
    color: #555;
}
.mobile-mac-card .card-value {
    color: #333;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .mac-tablosu-container {
        display: none;
    }
    .mobile-mac-list {
        display: block;
    }
}

/* ============================================
   MOBİL GENEL
   ============================================ */
@media (max-width:768px) {
    body { padding: 10px; }
    .container { padding: 10px; }
    .menu ul { gap:10px; }
    .menu ul li a { font-size:14px; padding:6px 12px; }
    .logo a { font-size:24px; }
    .logo-sub { font-size:14px; font-weight:700; }
    .live-box h2 { font-size:20px; }
    .kart h3 { font-size:20px; }
    .live-box {
        border-left-width: 4px;
        border-right-width: 4px;
        border-top-width: 2px;
        border-bottom-width: 2px;
    }
    .kart {
        border-left-width: 4px;
        border-right-width: 4px;
        border-top-width: 2px;
        border-bottom-width: 2px;
    }
    .kanal-item {
        padding: 8px 18px;
        font-size: 14px;
    }
    .kanallar-alani h3 {
        font-size: 17px;
    }
    .mac-tablosu {
        font-size: 12px;
    }
    .mac-tablosu th, .mac-tablosu td {
        padding: 8px 6px;
    }
}

/* ============================================
   KARTLAR
   ============================================ */
.kart { 
    background:#fff; 
    border-radius:20px; 
    padding:20px; 
    margin:30px 0; 
    box-shadow:0 4px 20px rgba(0,0,0,0.05); 
    border-left:6px solid #89CFF0;
    border-right:6px solid #89CFF0;
    border-top:2px solid #89CFF0;
    border-bottom:2px solid #89CFF0;
}
.kart h3 { color:#FF8C00; font-size:24px; margin-top:0; }
.kart ul { list-style:none; padding:0; }
.kart ul li { padding:10px 0; border-bottom:1px solid #eee; display:flex; justify-content:space-between; }
.kart .tv-programi-icerik { color:#1A237E; line-height:1.7; }
.kart .makale-icerik { color:#333; line-height:1.7; }
.kart .kart-not {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #FF8C00;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ============================================
   İLETİŞİM KARTI
   ============================================ */
.iletisim-kart {
    background:#fff; 
    border-radius:20px; 
    padding:20px; 
    margin:30px 0; 
    box-shadow:0 4px 20px rgba(0,0,0,0.05); 
    border-left:6px solid #89CFF0;
    border-right:6px solid #89CFF0;
    border-top:2px solid #89CFF0;
    border-bottom:2px solid #89CFF0;
}
.iletisim-kart h3 { color:#FF8C00; font-size:24px; margin-top:0; }
.iletisim-kart .makale-icerik { color:#333; line-height:1.7; }
.iletisim-kart .makale-icerik a { color:#1a237e; text-decoration:underline; }
.iletisim-kart .makale-icerik a:hover { color:#FF8C00; }

/* ============================================
   FOOTER
   ============================================ */
.footer { 
    border-top:2px solid #f0f0f0; 
    padding:20px 0; 
    margin-top:40px; 
    text-align:center; 
    color:#777; 
    font-size:16px; 
}
.footer hr { 
    border:0; 
    height:2px; 
    background:linear-gradient(to right, #FF8C00, #89CFF0, #FF8C00); 
    margin-bottom:25px; 
    border-radius: 2px;
}

/* ============================================
   ZEBRA EFEKTLERİ
   ============================================ */

/* ---- Günün Canlı Yayınlanacak Maçları (ul > li) ---- */
#gunun-maclari ul li:nth-child(odd) {
    background: #ffffff;
}
#gunun-maclari ul li:nth-child(even) {
    background: #e8eaf0;
}
#gunun-maclari ul li:hover {
    background: #d4d8e3 !important;
}
#gunun-maclari ul li {
    padding: 10px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

/* ---- Günün En Çok Oynanan ve Oranı Düşen Maçları - Masaüstü Tablo ---- */
#orani-dusen-maclar .mac-tablosu tbody tr:nth-child(odd) {
    background: #ffffff;
}
#orani-dusen-maclar .mac-tablosu tbody tr:nth-child(even) {
    background: #e8eaf0;
}
#orani-dusen-maclar .mac-tablosu tbody tr:hover {
    background: #d4d8e3 !important;
}

/* ---- Günün En Çok Oynanan ve Oranı Düşen Maçları - Mobil Kartlar ---- */
#orani-dusen-maclar .mobile-mac-card:nth-child(odd) {
    background: #ffffff;
}
#orani-dusen-maclar .mobile-mac-card:nth-child(even) {
    background: #e8eaf0;
}
#orani-dusen-maclar .mobile-mac-card:hover {
    background: #d4d8e3 !important;
}