/* ========================================================
   CANLI SPOR & TV PLATFORMU - PREMIUM DARK THEME
   ======================================================== */

:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #12141a;
  --bg-tertiary: #1a1d26;
  --bg-card: #151821;
  --bg-hover: #222634;
  --border-subtle: #242938;
  --border-active: #8b5cf6;
  
  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  
  --status-live: #ef4444;
  --status-live-bg: rgba(239, 68, 68, 0.15);
  --status-upcoming: #3b82f6;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* ========================================================
   ÜST NAVBAR
   ======================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 20, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 60px;
}

.navbar-inner {
  max-width: 1700px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-left, .navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.site-brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.45));
  transition: transform 0.2s ease;
}

.logo:hover .site-brand-logo {
  transform: scale(1.03);
}

.placeholder-brand-logo {
  height: 92px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 6px 20px rgba(139, 92, 246, 0.55));
  animation: float-icon 3s ease-in-out infinite;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.logo-text span {
  color: var(--accent-purple-light);
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--status-live-bg);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-live);
  box-shadow: 0 0 8px var(--status-live);
  animation: pulse-live 1.6s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.source-quick-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.source-quick-info i {
  color: #10b981;
}

.refresh-data-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.refresh-data-btn:hover {
  background: var(--bg-hover);
  border-color: var(--accent-purple);
  color: var(--accent-purple-light);
}

/* ========================================================
   İLETİŞİM BUTONU VE MAİL GÖRÜNTÜLEME KUTUSU (LOGO YANI)
   ======================================================== */
.contact-mail-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.contact-mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--text-main);
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-mail-btn i {
  color: var(--accent-purple-light);
}

.contact-mail-btn:hover,
.contact-mail-btn.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: var(--accent-purple);
  color: #fff;
}

.contact-mail-popup {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  background: #141722;
  border: 1px solid var(--accent-purple);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  animation: fadeInMail 0.18s ease;
}

.contact-mail-popup.show {
  display: inline-flex;
}

.contact-mail-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.contact-mail-address {
  font-family: 'Inter', monospace;
  font-size: 0.83rem;
  font-weight: 800;
  color: #fde047;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  padding: 2px 8px;
  border-radius: 5px;
  user-select: all;
  white-space: nowrap;
}

@keyframes fadeInMail {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ========================================================
   TAMAMEN REKLAMSIZ ANA SAHNE DÜZENİ
   ======================================================== */
.stage-wrapper {
  max-width: 1620px;
  margin: 0 auto;
  width: 100%;
  height: calc(100vh - 60px);
  min-height: 580px;
  display: flex;
  flex-direction: column;
  padding: 10px 20px 14px;
  overflow: hidden;
}

.side-ads-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 0;
}

/* GENEL REKLAM KUTUSU (ÜST + SAĞ/SOL) */
.ad-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #131622 0%, #1d1632 55%, #121829 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.ad-slot:hover {
  border-color: var(--accent-purple-light);
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.28);
  transform: translateY(-1px);
}

.top-ad-slot {
  height: 62px;
  padding: 8px 16px;
}

.side-ad-slot {
  flex: 1 1 0;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  gap: 10px;
}

.ad-slot img.ad-custom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-slot.has-image {
  padding: 0;
}

.ad-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(234, 179, 8, 0.16);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.ad-content-texts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.top-ad-slot .ad-content-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ad-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.side-ad-slot .ad-title {
  font-size: 0.98rem;
  line-height: 1.25;
}

.ad-subtitle {
  font-size: 0.74rem;
  color: #cbd5e1;
  font-weight: 500;
}

.ad-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.35);
  flex-shrink: 0;
}

.side-ad-slot .ad-cta-btn {
  width: 100%;
  padding: 8px 10px;
  margin-top: 4px;
}

/* ========================================================
   ORTA ANA DÜZEN (YAYIN + KANALLAR)
   ======================================================== */
.main-layout {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
  overflow: hidden;
}

/* SİNEMA MODU */
.main-layout.cinema-active {
  grid-template-columns: 1fr;
}

.main-layout.cinema-active .sidebar-container {
  display: none;
}

/* ========================================================
   SOL: VIDEO PLAYER BÖLÜMÜ
   ======================================================== */
.player-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.player-box {
  width: 100%;
  max-width: 1060px;
  aspect-ratio: 16 / 9;
  max-height: calc(100% - 96px);
  background: #000;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* YAYIN AÇILDIĞINDA 5 SANİYELİK REKLAM KATMANI */
.preroll-ad-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: radial-gradient(circle at center, rgba(24, 20, 44, 0.96) 0%, rgba(8, 9, 14, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
  backdrop-filter: blur(8px);
}

.preroll-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
}

.preroll-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 179, 8, 0.18);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.preroll-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 18, 28, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.preroll-ad-body {
  flex: 1;
  margin: 10px 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16) 0%, rgba(59, 130, 246, 0.12) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  padding: 20px;
  gap: 10px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.preroll-ad-body:hover {
  border-color: #a78bfa;
  transform: scale(1.005);
}

.preroll-ad-body img.preroll-custom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.preroll-title {
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 900;
  color: #fff;
}

.preroll-sub {
  font-size: clamp(0.8rem, 1.3vw, 0.95rem);
  color: #cbd5e1;
  max-width: 460px;
}

.preroll-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45);
}

.preroll-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

.preroll-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--accent-gradient);
  transform-origin: left center;
  transition: width 1s linear;
}

#mainPlayer {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

/* BAŞLANGIÇ PLACEHOLDER */
.player-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  max-width: 480px;
  z-index: 2;
}

.placeholder-icon {
  font-size: 3.5rem;
  color: var(--accent-purple);
  margin-bottom: 16px;
  opacity: 0.8;
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.player-placeholder h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.player-placeholder p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.start-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* PLAYER KONTROL KARTI */
.player-controls-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stream-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

.stream-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stream-sport-badge {
  background: var(--accent-purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.stream-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ctrl-btn:hover {
  background: var(--bg-hover);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* YAYIN KAYNAKLARI SATIRI */
.stream-sources-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sources-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.source-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.source-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.source-btn:hover {
  background: var(--bg-hover);
  color: #fff;
  border-color: var(--accent-purple);
}

.source-btn.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--accent-purple);
  color: var(--accent-purple-light);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.source-tip {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.source-tip i {
  color: #eab308;
}

/* ========================================================
   SAĞ: SIDEBAR (KANALLAR VE MAÇLAR)
   ======================================================== */
.sidebar-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}

/* KATEGORİ SEKMELERİ */
.category-tabs {
  display: flex;
  gap: 4px;
  padding: 10px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-main);
}

.cat-btn.active {
  background: var(--bg-tertiary);
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--accent-purple-light);
}

.cat-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.cat-btn.active .cat-badge {
  background: var(--accent-purple);
}

/* ARAMA ÇUBUĞU */
.search-bar-wrap {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-box i.fa-magnifying-glass {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.search-input-box input {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 36px 8px 34px;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.search-input-box input:focus {
  border-color: var(--accent-purple);
}

.clear-search-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  font-size: 0.8rem;
}

.clear-search-btn:hover {
  color: #fff;
}

/* LİSTE KAYDIRMA ALANI */
.list-scroll-area {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.list-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.list-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.list-scroll-area::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

.list-scroll-area::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ========================================================
   LİSTE ELEMANLARI (KANALLAR & MAÇLAR)
   ======================================================== */
.list-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-dim);
  padding: 6px 6px 4px;
}

/* KANAL ELEMANI */
.channel-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.channel-card:hover {
  background: var(--bg-hover);
  border-color: var(--border-subtle);
  transform: translateX(2px);
}

.channel-card.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-purple);
}

.channel-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-purple-light);
  flex-shrink: 0;
}

.channel-card.active .channel-icon-badge {
  background: var(--accent-purple);
  color: #fff;
  border-color: #fff;
}

.channel-details {
  flex: 1;
  min-width: 0;
}

.channel-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-quality {
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 1px;
}

.channel-live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* MAÇ ELEMANI */
.match-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 10px;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.match-card:hover {
  background: var(--bg-hover);
  border-color: var(--border-subtle);
  transform: translateX(2px);
}

.match-card.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-purple);
}

.match-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.match-league {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-time-tag {
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.match-time-tag.live {
  background: var(--status-live-bg);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.match-time-tag.upcoming {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

.match-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.match-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.sport-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: capitalize;
}

/* BOŞ DURUM */
.empty-notice {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-notice i {
  font-size: 2.2rem;
  opacity: 0.5;
}

.empty-notice p {
  font-size: 0.85rem;
}

/* SIDEBAR FOOTER */
.sidebar-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: var(--bg-tertiary);
}

.auto-refresh-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #10b981;
  font-weight: 600;
}

/* ========================================================
   RESPONSIVE (MOBİL VE TABLET)
   ======================================================== */
@media (max-width: 1360px) {
  .stage-wrapper {
    grid-template-columns: 165px minmax(0, 1fr) 165px;
    gap: 10px;
  }

  .main-layout {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 10px;
  }
}

@media (max-width: 1024px) {
  html, body {
    height: auto;
    overflow-y: auto;
  }

  .top-ads-row {
    grid-template-columns: 1fr;
    padding: 8px 12px 0;
  }

  .stage-wrapper {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 10px 12px;
    gap: 12px;
    overflow: visible;
  }

  .side-ads-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .side-ad-slot {
    min-height: 110px;
  }

  .main-layout {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    gap: 14px;
    overflow: visible;
  }
  
  .player-box {
    aspect-ratio: 16 / 9;
    max-height: none;
    min-height: 220px;
    height: auto;
  }
  
  .sidebar-container {
    height: 520px;
    min-height: 400px;
  }
  
  .source-tip {
    display: none;
  }
}

@media (max-width: 640px) {
  .navbar-inner {
    padding: 0 12px;
  }
  
  .source-quick-info {
    display: none;
  }
  
  .stream-info-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .stream-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ========================================================
   ALT BÖLÜM: FİKSTÜR, FUTBOL MAKALELERİ VE SEO REHBER MERKEZİ
   ======================================================== */
.seo-hub-container {
  max-width: 1620px;
  margin: 24px auto 0;
  padding: 0 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hub-section-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hub-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.hub-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-purple-light);
}

.hub-section-title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}

.hub-section-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 1. FİKSTÜR VE PUAN DURUMU TABLOSU */
.fixture-standings-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}

.fixture-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fix-tab-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fix-tab-btn:hover {
  color: #fff;
  border-color: var(--accent-purple);
}

.fix-tab-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
}

.fixture-table-wrap, .standings-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sub-box-title {
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fixture-list {
  display: flex;
  flex-direction: column;
}

.fixture-row {
  display: grid;
  grid-template-columns: 68px 135px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}

.fixture-row:last-child {
  border-bottom: none;
}

.fixture-row:hover {
  background: var(--bg-hover);
}

.fix-time {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fde047;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.3);
  padding: 4px 8px;
  border-radius: 6px;
  text-align: center;
}

.fix-league {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fix-teams {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.fix-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #ddd6fe;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.fix-watch-btn:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.standings-table th, .standings-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.standings-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 800;
}

.standings-table tr:last-child td {
  border-bottom: none;
}

.team-rank {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-purple-light);
  font-weight: 800;
  font-size: 0.74rem;
  margin-right: 8px;
}

.pts-strong {
  font-weight: 900;
  color: #10b981;
}

/* 2. FUTBOL VE FUTBOLCULAR ÖZEL MAKALE KARTLARI */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}

.football-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.football-article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.45);
}

.article-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.article-cat-pill {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}

.article-read-time {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.football-article-card h3 {
  font-size: 1.04rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

.football-article-card p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.article-Channel-link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-purple-light);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
}

.article-Channel-link:hover {
  color: #fff;
}

/* 3. JUSTIN TV, TARAFTARIUM24, SELÇUKSPORTS KAPSAMLI SEO REHBERİ */
.seo-guide-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.seo-guide-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-guide-block h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-guide-block h3 i {
  color: var(--accent-purple-light);
}

.seo-guide-block p {
  font-size: 0.84rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.seo-guide-block strong {
  color: #e2e8f0;
}

.seo-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.kw-tag {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.kw-tag:hover {
  border-color: var(--accent-purple);
  color: #fff;
}

/* 4. SIKÇA SORULAN SORULAR (SSS) & FOOTER */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.faq-item h3 {
  font-size: 0.94rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-item h3 i {
  color: #10b981;
}

.faq-item p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-seo-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 32px 20px;
  margin-top: 12px;
}

.footer-inner {
  max-width: 1620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-quick-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-ch-link {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.footer-ch-link:hover {
  border-color: var(--accent-purple);
  color: #fff;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-dim);
}

@media (max-width: 1024px) {
  .fixture-standings-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
  .fixture-row {
    grid-template-columns: 60px 1fr auto;
  }
  .fix-league {
    display: none;
  }
}
