/* ==========================================================================
   WALFTECH SPORTS - STYLESHEET
   Design System: Premium Dark Theme with Emerald Accent (#05DF72)
   Human-crafted aesthetics, smooth transitions, high-contrast typography
   ========================================================================== */

:root {
  --bg-darkest: #070a10;
  --bg-main: #0a0e17;
  --bg-card: #101726;
  --bg-card-hover: #151e32;
  --bg-card-active: #18233a;
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(5, 223, 114, 0.5);
  --border-light: rgba(255, 255, 255, 0.12);
  
  --accent-green: #05df72;
  --accent-green-hover: #04c965;
  --accent-green-glow: rgba(5, 223, 114, 0.25);
  --accent-green-bg: rgba(5, 223, 114, 0.12);
  
  --live-red: #ef4444;
  --live-red-glow: rgba(239, 68, 68, 0.35);
  
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  flex-shrink: 0;
}

.brand-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1e3a29, #0d1a13);
  border: 1.5px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-green-glow);
}

.brand-icon-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
}

.brand-green {
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-item a {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-item a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.active a {
  color: var(--accent-green);
  font-weight: 600;
}

.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent-green);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-green-glow);
}

.header-search {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(16, 23, 38, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 8px 16px;
  gap: 10px;
  transition: all var(--transition-fast);
}

.search-input-wrap:focus-within {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-green-glow);
  background: var(--bg-card);
}

.search-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-white);
  font-size: 0.85rem;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  max-height: 380px;
  overflow-y: auto;
  z-index: 150;
  display: none;
}

.search-results-dropdown.active {
  display: block;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  padding: 24px 0 16px;
}

.hero-banner-card {
  position: relative;
  background: #0c121e;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-bg-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.95;
}

.hero-bg-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0c121e 0%, rgba(12, 18, 30, 0.75) 35%, rgba(12, 18, 30, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  max-width: 580px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-title .brand-green {
  color: var(--accent-green);
  text-shadow: 0 0 25px rgba(5, 223, 114, 0.4);
}

.hero-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 24px;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-green);
  color: #05140b;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--accent-green-glow);
  transition: all var(--transition-fast);
}

.btn-hero-cta:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(5, 223, 114, 0.45);
}

.btn-hero-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   LEAGUES QUICK BAR / CAROUSEL
   ========================================================================== */
.leagues-bar-section {
  padding: 12px 0 24px;
}

.leagues-scroll-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.leagues-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.league-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 96px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
  text-align: center;
}

.league-pill:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.league-pill.active {
  border-color: var(--accent-green);
  background: var(--bg-card-active);
  box-shadow: 0 0 16px var(--accent-green-glow);
}

.league-pill-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.league-pill-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.league-pill:hover .league-pill-name,
.league-pill.active .league-pill-name {
  color: var(--text-white);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-link-more {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-green);
  transition: gap var(--transition-fast);
}

.section-link-more:hover {
  text-decoration: underline;
  gap: 6px;
}

/* ==========================================================================
   PARTIDOS DESTACADOS (FEATURED CARDS)
   ========================================================================== */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.match-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(5, 223, 114, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.match-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Badge EN VIVO con pulso */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--live-red);
  color: var(--text-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.live-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseLive 1.4s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.time-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 9999px;
}

.match-card-teams {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 10px 0 16px;
  gap: 12px;
}

.team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.team-crest {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.team-crest-fallback {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e2a3f, #0d1522);
  border: 1.5px solid rgba(5, 223, 114, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  flex-shrink: 0;
}

.team-crest-fallback.small {
  width: 24px;
  height: 24px;
  font-size: 0.7rem;
  border-width: 1px;
}

.team-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.match-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.match-score {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.match-minute {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-top: 2px;
}

.match-vs {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
}

.match-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.match-league-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.match-league-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ==========================================================================
   CALENDARIO DE PARTIDOS
   ========================================================================== */
.calendar-section {
  margin-bottom: 40px;
}

.calendar-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.calendar-tabs::-webkit-scrollbar {
  display: none;
}

.cal-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cal-tab span.cal-day-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.cal-tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-white);
}

.cal-tab.active {
  background: var(--accent-green);
  color: #05140b;
  border-color: var(--accent-green);
  box-shadow: 0 4px 16px var(--accent-green-glow);
}
.cal-tab.active span.cal-day-name {
  color: #082113;
  font-weight: 700;
}

/* Filters bar */
.cal-filters-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.custom-select {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.custom-select:focus {
  border-color: var(--accent-green);
}

/* Match Table */
.match-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.match-row {
  display: grid;
  grid-template-columns: 80px 180px 1fr 120px 90px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

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

.match-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.row-header {
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 20px;
}

.row-time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.row-league {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.row-league img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.row-match-teams {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.row-team-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.row-team-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.row-vs-tag {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.row-status {
  display: flex;
  align-items: center;
}

.btn-view-match {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: var(--accent-green);
  color: #05140b;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-view-match:hover {
  background: var(--accent-green-hover);
  box-shadow: 0 4px 12px var(--accent-green-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   EVENT PLAYER VIEW (MATCH PAGE)
   ========================================================================== */
.player-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  margin: 20px 0 40px;
}

.player-main-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--text-white);
}

.match-player-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Player screen wrapper 16:9 */
.video-player-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.video-player-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.player-watermark {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 14, 23, 0.7);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-watermark .brand-green {
  color: var(--accent-green);
}

/* Servers options row */
.servers-bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.servers-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.servers-buttons-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-server-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-server-opt:hover {
  background: var(--bg-card-hover);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-server-opt.active {
  background: var(--accent-green);
  color: #05140b;
  border-color: var(--accent-green);
  font-weight: 700;
  box-shadow: 0 4px 16px var(--accent-green-glow);
}

/* Match metadata box */
.match-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-team-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-team-info img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Sidebar "Próximos Partidos" */
.player-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
}

.sidebar-matches-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-match-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.sidebar-match-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.sidebar-item-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item-time {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sidebar-item-teams {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-white);
}

.sidebar-item-teams img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ==========================================================================
   LIGAS DIRECTORY
   ========================================================================== */
.leagues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 40px;
}

.league-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.league-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(5, 223, 114, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.league-card-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.league-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}

.league-card-country {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   CHANNELS 24/7 GRID
   ========================================================================== */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 40px;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-fast);
  text-align: center;
}

.channel-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(5, 223, 114, 0.35);
  transform: translateY(-3px);
}

.channel-logo-wrap {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.channel-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   FOOTER & LEGAL
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 380px;
  margin-top: 8px;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 40px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--accent-green);
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.mobile-nav-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-nav-btn.active {
  color: var(--accent-green);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .matches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .player-page-layout {
    grid-template-columns: 1fr;
  }
  .leagues-grid,
  .channels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-banner-card {
    min-height: auto;
  }
  .hero-bg-art {
    width: 65%;
  }
}

@media (max-width: 768px) {
  .header-search {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 74px; /* Space for bottom bar */
  }
  .hero-banner-card {
    flex-direction: column;
    min-height: auto;
  }
  .hero-bg-art {
    position: relative;
    width: 100%;
    height: 180px;
  }
  .hero-content {
    padding: 24px 20px;
    max-width: 100%;
  }
  .hero-title {
    font-size: 2rem;
  }
  .matches-grid {
    grid-template-columns: 1fr;
  }
  .match-row {
    grid-template-columns: 60px 1fr 80px;
    gap: 8px;
  }
  .row-league {
    display: none;
  }
  .row-status {
    display: none;
  }
  .leagues-grid,
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
