/* =========================================================
   ICHANCY TV - Mavi / Beyaz tema katmanı
   Orijinal Style.css / Responsive.css üzerine yüklenir, onları ezer.
   ========================================================= */
:root {
    --radius: 12px;
    --ic-bg: #030c23;
    --ic-bg-2: #061a40;
    --ic-panel: rgba(12, 40, 92, .38);
    --ic-border: rgba(56, 160, 255, .22);
    --ic-border-strong: rgba(56, 180, 255, .45);
    --ic-blue: #1e90ff;
    --ic-cyan: #22c7f7;
    --ic-text: #eaf4ff;
    --ic-dim: rgba(205, 228, 255, .62);
    --ic-grad: linear-gradient(90deg, #22d3ee, #1e90ff 55%, #1a5cff);
}

/* ---------- Genel ---------- */
body, input, textarea, option, select, .sr-bb, .plyr--video, .sr-widget {
    font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif !important;
}
body {
    background: var(--ic-bg) !important;
    color: var(--ic-text);
    --mobilbg: #08204d;
    --ampbg: #08204d;
}
body::before {
    background-image: radial-gradient(circle at center, rgba(30, 144, 255, .30) 0, rgba(30, 144, 255, .08) 35%, transparent 62%) !important;
}
*::-webkit-scrollbar { width: 4px; height: 4px; }
*::-webkit-scrollbar-track { background: rgba(56, 160, 255, .08); }
*::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--ic-cyan), var(--ic-blue)); border-radius: 4px; }
::selection { background: var(--ic-blue); color: #fff; }

/* ---------- Üst bar + header ---------- */
.header-top {
    background: linear-gradient(180deg, rgba(30, 144, 255, 0), rgba(30, 144, 255, .14));
    border: 1px solid var(--ic-border);
    border-top: 0;
    border-radius: 0 0 16px 16px;
}
.header-text { color: var(--ic-dim); }
.header-text a { color: var(--ic-cyan); }
.header-top svg { color: rgba(170, 210, 255, .55); }
.header-top svg:hover { color: #fff; filter: drop-shadow(0 0 6px rgba(34, 199, 247, .8)); }

header .logo img { border-radius: 10px; }
header ul { gap: .25em; }
header ul li a {
    padding: .45em 1em;
    border-radius: 12px;
    color: rgba(210, 230, 255, .75);
    transition: color .2s, background .2s, box-shadow .2s;
}
header ul li.blink a { color: #fff; }
header ul li a:hover, header ul li a.active {
    color: #fff;
    background: rgba(30, 144, 255, .16);
    box-shadow: inset 0 0 0 1px var(--ic-border);
}
header ul li a i { color: var(--ic-cyan); text-shadow: 0 0 12px rgba(34, 199, 247, .55); }
/* Menü isimleri admin'de nasıl girildiyse öyle görünsün (Style.css'teki uppercase iptal) */
header ul li a span { font-weight: 600; letter-spacing: .3px; text-transform: none; }

/* ---------- Kanal şeridi ---------- */
.channel-area svg { color: var(--ic-cyan); }
.single-channel {
    border: 1px solid var(--ic-border);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(30, 144, 255, .16), rgba(6, 26, 64, .65));
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.single-channel::after { display: none; }
.single-channel:hover {
    border-color: var(--ic-border-strong);
    box-shadow: 0 8px 22px -10px rgba(30, 144, 255, .7);
    transform: translateY(-2px);
}
.single-channel.active {
    border-color: var(--ic-cyan);
    box-shadow: inset 0 0 0 1px var(--ic-cyan), 0 0 18px rgba(34, 199, 247, .35);
}
.channel-area .channel-list [data-stream].active::after { background: rgba(30, 144, 255, .12); }

/* ---------- Player ---------- */
.live-player, .plyr--video, .player-attributes { --color: #1e90ff; }
.player-attributes {
    border-radius: 16px;
    background: #020816;
    box-shadow: 0 0 0 1px var(--ic-border-strong), 0 20px 50px -20px rgba(30, 144, 255, .6);
}
.plyr--video { border-radius: 16px; }
video { background: #020816; }

/* Player önü görsele inen gölge düzeltmesi:
   - kontrol barındaki koyu siyah gradient + beyaz çizgi kaldırıldı
   - görsel gösterilirken (video başlamamışken) bar tamamen şeffaf
   - yükleniyor katmanı görseli karartmıyor / bulanıklaştırmıyor */
.plyr--video .plyr__controls {
    background: linear-gradient(to top, rgba(3, 12, 35, .70), rgba(3, 12, 35, 0)) !important;
    border-top: 0 !important;
    padding: 1.4em 1em .7em !important;
}
.plyr--stopped .plyr__controls,
.plyr__poster-enabled.plyr--stopped .plyr__controls { background: transparent !important; }
.plyr__controls .plyr__control svg,
.plyr__controls .live-text { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)); }
.plyr__poster { background-color: transparent !important; background-size: cover !important; }
.video-loader { background: rgba(3, 12, 35, .30) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.video-loader .loader-text, .video-loader .loader-loading { text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.lastTime { background: radial-gradient(circle at center, rgba(3, 12, 35, .55), transparent 70%) !important; }
.plyr__controls [role=tooltip] { color: #0b3d91; font-weight: 600; }
.live-blink { background: #ff3b5c; box-shadow: 0 0 8px #ff3b5c; }

.matchEndedScreen {
    background: linear-gradient(160deg, #08204d, #030c23) !important;
    border: 1px solid var(--ic-border-strong) !important;
    border-radius: 16px;
}
.matchEndedScreen .title { color: var(--ic-cyan); }
.next-match-splash { background: rgba(3, 12, 35, .88); }

/* ---------- Canlı liste ---------- */
.live-list {
    border: 1px solid var(--ic-border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 36, 84, .55), rgba(3, 12, 35, .70));
}
.head-grid { background: radial-gradient(circle at center, rgba(30, 144, 255, .18), transparent); }
.head-grid > div { border-bottom-color: var(--ic-border); }
.vertical-line { background: linear-gradient(to bottom, transparent, var(--ic-cyan), transparent); }
[data-focustab] { color: rgba(200, 225, 255, .5); font-weight: 600; }
[data-focustab]:hover { background: linear-gradient(to bottom, rgba(30, 144, 255, .10), transparent); }
[data-focustab].active {
    color: #fff;
    background: linear-gradient(to bottom, rgba(30, 144, 255, .28), transparent);
    box-shadow: inset 0 -2px 0 var(--ic-cyan);
}
.list-blink { background: #ff3b5c; box-shadow: 0 0 6px #ff3b5c; }
[data-focustab=next] .list-blink { background: #fff; box-shadow: none; }

.list-tabbed { border-right-color: var(--ic-border); }
.list-tabbed > div { border-bottom-color: var(--ic-border); }
.list-tabbed svg { fill: rgba(170, 210, 255, .45); }
.list-tabbed div.active { background: radial-gradient(circle at center, rgba(30, 144, 255, .38), transparent); }
.list-tabbed > div.active svg { fill: #fff; }
[data-matchfilter]:hover { background-color: rgba(30, 144, 255, .14); }
.list-count { background: var(--ic-grad) !important; color: #fff; font-weight: 700; }
[data-tabbed=next] .list-count { background: #fff !important; color: #0b3d91; }

.match-search { border-bottom-color: var(--ic-border); }
.match-search input { background-color: rgba(3, 12, 35, .55); color: #fff; outline: none; transition: box-shadow .2s; }
.match-search input:focus { box-shadow: inset 0 0 0 1px var(--ic-cyan); }
input[type=search]::placeholder { color: rgba(200, 225, 255, .55); }

.single-match:nth-child(odd) { background: linear-gradient(135deg, transparent, rgba(30, 144, 255, .10)); }
.single-match:hover, .single-match.active { background: #fff; box-shadow: inset 4px 0 0 var(--ic-blue); }
.single-match:hover .date, .single-match.active .date { color: #0b6cff !important; }
.single-match:hover .event, .single-match.active .event { color: rgba(6, 26, 64, .55) !important; }
.single-match:hover .teams, .single-match.active .teams { color: #061a40 !important; }
.match-detail .date { color: #6cc9f5; font-weight: 600; }
.match-detail .event { color: rgba(200, 225, 255, .5); }
.match-detail .teams { color: var(--ic-text); font-weight: 600; }

/* ---------- Oran / bahis kutusu ---------- */
.odds-container {
    border: 1px solid var(--ic-border);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(12, 40, 92, .55), rgba(3, 12, 35, .75));
    overflow: hidden;
    isolation: isolate;
}
.odds-container .list-head { border-bottom-color: var(--ic-border); }
.list-head { background: radial-gradient(circle at center, rgba(30, 144, 255, .22), transparent); }
.list-head svg { color: var(--ic-cyan); }
.single-bet > div { border-color: rgba(56, 160, 255, .25); }
.single-bet > div:first-child { background: rgba(30, 144, 255, .18); }
.single-bet > div:not(:first-child):hover { background: #fff; color: #0b3d91; border-color: #fff; }

/* ---------- Reklam alanları ---------- */
.reklam-2 img, .reklam-3 img, .nlive-gorsel img { border-radius: 12px; }

/* ---------- Footer ---------- */
footer { color: var(--ic-dim); border-top: 1px solid var(--ic-border); padding-top: 1em; }
.copyright-text { color: rgba(205, 228, 255, .45); }
.footer-links a { border-color: var(--ic-border); color: var(--ic-text); }
.site-footer-copyright {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5em;
    padding: .75em 0 1em; font-size: .85em; color: var(--ic-dim);
}
.site-footer-copyright strong { color: #fff; }
.footer-separator { color: rgba(56, 160, 255, .45); }
.footer-link { color: var(--ic-cyan); }
.footer-link:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   Banner slider (header altı + footer)
   ========================================================= */
.ic-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1664 / 475;
    margin: 0 0 1em;
    border-radius: 16px;
    overflow: hidden;
    background: var(--ic-bg);
    isolation: isolate;
    box-shadow: 0 0 0 1px rgba(56, 160, 255, .28), 0 14px 40px -16px rgba(30, 144, 255, .55);
}
@supports not (aspect-ratio: 1 / 1) {
    .ic-slider { height: 0; padding-bottom: 28.55%; }
}
.ic-slider--footer { margin: 1.5em 0 .5em; }
.ic-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .9s ease, visibility 0s linear .9s;
}
.ic-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.ic-slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ic-slider__dots {
    position: absolute; left: 50%; bottom: 10px; z-index: 2;
    transform: translateX(-50%);
    display: flex; gap: 6px; padding: 5px 8px;
    border-radius: 999px;
    background: rgba(3, 12, 35, .45);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.ic-dot {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .45); cursor: pointer;
    transition: width .3s, background .3s;
}
.ic-dot.is-active { width: 22px; background: var(--ic-cyan); box-shadow: 0 0 8px rgba(34, 199, 247, .8); }
.ic-slider__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: rgba(255, 255, 255, .08); }
.ic-slider__progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--ic-grad); }
.ic-slider__progress.run span { animation: icProgress var(--ic-interval, 10s) linear forwards; }
@keyframes icProgress { to { transform: scaleX(1); } }

/* =========================================================
   Rastgele banner popup
   ========================================================= */
.ic-noscroll { overflow: hidden; }
.ic-popup {
    position: fixed; inset: 0; z-index: 2147483000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; transition: opacity .25s ease;
}
.ic-popup[hidden] { display: none !important; }
.ic-popup.is-open { opacity: 1; }
.ic-popup__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .88); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ic-popup__box {
    position: relative;
    width: min(760px, 100%);
    padding: 14px;
    background: #000;
    border: 2px solid var(--ic-cyan);
    border-radius: 20px;
    box-shadow: 0 0 0 1px rgba(30, 144, 255, .6), 0 0 22px rgba(34, 199, 247, .55), 0 0 60px rgba(30, 144, 255, .35), inset 0 0 18px rgba(34, 199, 247, .18);
    transform: translateY(14px) scale(.97);
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.ic-popup.is-open .ic-popup__box { transform: none; }
.ic-popup__media { display: block; aspect-ratio: 1664 / 475; border-radius: 12px; overflow: hidden; background: var(--ic-bg); }
.ic-popup__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ic-popup__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.ic-popup__cta {
    flex: 1 1 220px; max-width: 340px; height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    color: #fff; font-size: 1.05em; font-weight: 800;
    background: var(--ic-grad);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    animation: icPulse 2.2s ease-in-out infinite;
}
.ic-popup__cta:hover { filter: brightness(1.1); }
.ic-popup__close {
    flex: 0 1 140px; height: 46px;
    border-radius: 12px; border: 1.5px solid rgba(34, 199, 247, .7);
    background: transparent; color: #bfe9ff;
    font: inherit; font-weight: 700; cursor: pointer;
    transition: background .2s, color .2s;
}
.ic-popup__close:hover { background: rgba(34, 199, 247, .12); color: #fff; }
.ic-popup__x {
    position: absolute; top: -14px; right: -14px;
    width: 36px; height: 36px; padding: 0;
    display: grid; place-items: center;
    border-radius: 50%; border: 2px solid var(--ic-cyan);
    background: #000; color: #fff;
    font-size: 22px; line-height: 1; cursor: pointer;
    box-shadow: 0 0 12px rgba(34, 199, 247, .6);
}
@keyframes icPulse {
    0%, 100% { box-shadow: 0 0 14px rgba(34, 199, 247, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
    50%      { box-shadow: 0 0 26px rgba(34, 199, 247, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
}

/* ---------- Mobil ---------- */
@media only screen and (max-width: 1200px) {
    body {
        padding: 0 1em;
        background: linear-gradient(160deg, #08204d 0%, #030c23 55%, #020816 100%) !important;
        background-attachment: fixed !important;
    }
}
@media only screen and (max-width: 1024px) {
    header ul li a { padding: .4em 0; }
}
@media (max-width: 480px) {
    .ic-slider { border-radius: 10px; }
    .ic-slider__dots { bottom: 6px; gap: 4px; padding: 4px 6px; }
    .ic-dot { width: 6px; height: 6px; }
    .ic-dot.is-active { width: 16px; }
    .ic-popup__box { padding: 10px; border-radius: 16px; }
    .ic-popup__x { top: -12px; right: -8px; }
    .ic-popup__cta, .ic-popup__close { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .ic-slide, .ic-slide.is-active { transition: none; }
    .ic-slider__progress { display: none; }
    .ic-popup__cta { animation: none; }
}
