/* ============================================
   LAXTV - TARABET TARZI DARK PREMIUM TEMA
   ============================================ */

:root {
  --bg-dark: #0a0a0c;
  --bg-card: #141418;
  --bg-card-hover: #1c1c22;
  --bg-input: #1a1a20;
  --accent: #ffb700;
  --accent-hover: #e6a500;
  --accent-glow: rgba(255, 183, 0, 0.3);
  --live: #00d084;
  --live-glow: rgba(0, 208, 132, 0.4);
  --text: #ffffff;
  --text-muted: #8a8a95;
  --border: #2a2a35;
  --success: #00d084;
  --danger: #ff4757;
  --radius: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ============================================
   YAN ARKA PLAN GÖRSELLERİ
   ============================================ */
.side-bg-left,
.side-bg-right {
  position: fixed;
  top: 0;
  height: 100vh;
  width: calc((100vw - 1200px) / 2);
  min-width: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.side-bg-left {
  left: 0;
  background-image: url('img/spor1.PNG');
}

.side-bg-right {
  right: 0;
  background-image: url('img/spor2.PNG');
}

/* Mobil için yan görselleri gizle */
@media (max-width: 1400px) {
  .side-bg-left,
  .side-bg-right {
    display: none;
  }
}

/* ============================================
   ANA KONTEYNER
   ============================================ */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(10,10,12,0.98) 0%, rgba(20,20,24,0.98) 100%);
  box-shadow: 0 0 100px rgba(0,0,0,0.8);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  background: linear-gradient(180deg, #141418 0%, #0f0f12 100%);
  border-bottom: 2px solid var(--accent);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1150px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: #000;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.logo-text span {
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-tabs {
  display: flex;
  gap: 8px;
}

.nav-btn {
  padding: 10px 24px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   DEMO BANNER
   ============================================ */
.demo-banner {
  background: linear-gradient(90deg, var(--accent) 0%, #ff8c00 100%);
  color: #000;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
}

/* ============================================
   ANA İÇERİK
   ============================================ */
.content {
  padding: 24px;
  max-width: 1150px;
  margin: 0 auto;
}

/* ============================================
   BANNER ALANI
   ============================================ */
.banner-section {
  margin-bottom: 24px;
}

.banner-slider {
  background: linear-gradient(135deg, #1a1a24 0%, #0f0f16 100%);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  position: relative;
}

.banner-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,183,0,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.banner-text {
  flex: 1;
  z-index: 1;
}

.banner-text h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.banner-text h2 span {
  color: var(--accent);
}

.banner-text p {
  color: var(--text-muted);
  font-size: 15px;
}

.banner-btn {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  color: #000;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.banner-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px var(--accent-glow);
}

/* ============================================
   KANAL LOGLARI
   ============================================ */
.channels-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.channel-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.channel-logo:hover,
.channel-logo.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* ============================================
   VIDEO OYNATICI
   ============================================ */
.player-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.player-header {
  background: linear-gradient(90deg, var(--bg-input) 0%, var(--bg-card) 100%);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.player-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-indicator {
  background: var(--live);
  color: #000;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--live-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 20px var(--live-glow); }
}

.player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
}

.player-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   İKİ KOLONLU LAYOUT
   ============================================ */
.two-column {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}

@media (max-width: 1000px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MAÇ LİSTESİ
   ============================================ */
.matches-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.section-header {
  background: linear-gradient(90deg, var(--bg-input) 0%, var(--bg-card) 100%);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}

.view-tabs {
  display: flex;
  gap: 4px;
}

.view-tab {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.view-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* Arama */
.search-box {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.search-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-input::placeholder {
  color: var(--text-muted);
}

/* Maç Kartları */
.matches-list {
  max-height: 500px;
  overflow-y: auto;
}

.matches-list::-webkit-scrollbar {
  width: 6px;
}

.matches-list::-webkit-scrollbar-track {
  background: var(--bg-input);
}

.matches-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.match-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: pointer;
}

.match-card:hover {
  background: var(--bg-card-hover);
}

.match-card:last-child {
  border-bottom: none;
}

.match-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.match-teams {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
}

.team-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-muted);
}

.match-time {
  background: var(--accent);
  color: #000;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 13px;
  min-width: 50px;
  text-align: center;
}

.match-time.live {
  background: var(--live);
  animation: pulse-live 1.5s infinite;
}

.match-league {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.watch-btn {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255,183,0,0.2);
}

.watch-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.no-stream {
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
}

/* ============================================
   YAN PANEL - PUAN DURUMU
   ============================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.standings-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.standings-header {
  background: var(--accent);
  color: #000;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}

.standings-list {
  padding: 8px;
}

.standing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.standing-row:last-child {
  border-bottom: none;
}

.standing-pos {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  margin-right: 10px;
}

.standing-pos.champ { background: var(--accent); color: #000; }
.standing-pos.uel { background: #3b82f6; color: #fff; }
.standing-pos.uecl { background: #10b981; color: #fff; }
.standing-pos.normal { background: var(--bg-input); color: var(--text-muted); }

.standing-team {
  flex: 1;
  font-weight: 600;
}

.standing-stats {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.standing-pts {
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  min-width: 30px;
  text-align: right;
}

/* Promo Kart */
.promo-card {
  background: linear-gradient(135deg, #1a1a24 0%, #0f0f16 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

.promo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.promo-text {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.promo-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 24px;
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 16px;
  }
  
  .nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .banner-slider {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .banner-text h2 {
    font-size: 20px;
  }
  
  .match-card {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .match-info {
    flex-direction: column;
    width: 100%;
  }
  
  .watch-btn {
    width: 100%;
  }
}

/* Loading */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
