/* ============================================================
   Footybite / HesGoal / BuffStreams - Premium Sports Portal CSS
   Mobile-First, High-Performance, Modern Glassmorphism Theme
   ============================================================ */

:root {
  --bg-primary: #090d16;
  --bg-secondary: #111827;
  --bg-card: #161f30;
  --bg-card-hover: #1e293b;
  --bg-card-active: #232f45;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);
  
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --accent-green-light: rgba(16, 185, 129, 0.15);
  
  --live-red: #ef4444;
  --live-red-glow: rgba(239, 68, 68, 0.4);
  
  --text-main: #f9fafb;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.25);
  
  --bottom-nav-height: 64px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-nav-height) + 20px);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================================
   1. TOP MATCHDAY TICKER
   ============================================================ */
.top-ticker {
  background: linear-gradient(90deg, #0b0f19 0%, #151d2e 50%, #0b0f19 100%);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.ticker-content {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: tickerSlide 28s linear infinite;
  color: var(--text-muted);
}

.ticker-content:hover {
  animation-play-state: paused; /* Pause on hover so users can easily read/click */
}

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

.ticker-item strong {
  color: var(--text-main);
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pulsing Live Dot */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--live-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--live-red-glow);
}

.live-dot.pulse {
  animation: pulseAnimation 1.5s infinite;
}

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

/* ============================================================
   2. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

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

.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

/* Header Search (Desktop) */
.header-search {
  flex: 1;
  max-width: 440px;
  display: none; /* hidden on small mobile, visible in .mobile-search-bar */
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-box input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  background: var(--bg-card-hover);
}

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

.search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.clear-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-green);
}

.tz-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tz-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-green);
}

/* Mobile Search Bar */
.mobile-search-bar {
  margin-top: 10px;
}

/* ============================================================
   3. HERO STRIP (Bing SEO Title & Intent)
   ============================================================ */
.hero-strip {
  padding: 24px 0 16px;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.badge-tag {
  background: var(--accent-green);
  color: #0b0f19;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.badge-text {
  color: #a7f3d0;
  font-weight: 600;
}

.hero-heading {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 8px;
}

.hero-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
}

.hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
}

.stat-num {
  font-weight: 800;
  color: var(--accent-green);
}

.stat-label {
  color: var(--text-muted);
}

/* ============================================================
   4. STATUS TABS & LEAGUE FILTERS
   ============================================================ */
.tabs-nav-wrapper {
  margin-top: 14px;
  margin-bottom: 12px;
}

.status-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.status-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px; /* Mobile touch accessibility */
}

.status-tab.active {
  background: var(--bg-card-active);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.status-tab.live-tab.active {
  color: #fca5a5;
  border-bottom: 2px solid var(--live-red);
}

.tab-count {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.tab-count.live-count {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  font-weight: 700;
}

/* Horizontal League Scroll (Smooth on mobile) */
.leagues-filter-strip {
  margin-bottom: 16px;
  overflow: hidden;
}

.leagues-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
  -webkit-overflow-scrolling: touch;
}

.leagues-scroll::-webkit-scrollbar {
  height: 4px;
}

.leagues-scroll::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.league-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  min-height: 40px;
}

.league-chip:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.league-chip.active {
  background: var(--accent-green-light);
  border-color: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.league-icon-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.chip-star {
  color: #f59e0b;
}

/* Match Meta Info Bar */
.match-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
  font-size: 0.84rem;
}

.meta-left {
  display: flex;
  flex-direction: column;
}

#activeFilterTitle {
  font-weight: 700;
  color: var(--text-main);
}

.meta-sub {
  color: var(--text-subtle);
  font-size: 0.74rem;
}

.refresh-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.refresh-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.5s ease;
}

.refresh-btn:hover svg {
  transform: rotate(180deg);
  color: var(--accent-green);
}

/* ============================================================
   5. MATCHES CONTAINER & CARDS (Soccer100.lol Modern Style)
   ============================================================ */
.matches-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.match-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.match-card.is-live {
  border-left: 4px solid var(--live-red);
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.05) 0%, var(--bg-card) 60%);
}

.match-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.match-league-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-status-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.72rem;
}

.match-status-tag.live {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.match-status-tag.upcoming {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.match-status-tag.finished {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Match Main Grid (Teams + Score) */
.match-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.team-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-block.home {
  justify-content: flex-end;
  text-align: right;
}

.team-block.away {
  justify-content: flex-start;
  text-align: left;
}

.team-crest {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1f293d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

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

/* Score / Time Center Block */
.score-center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1;
}

.score-box {
  background: #0d131f;
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 28px;
  text-align: center;
}

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

.match-minute-label {
  font-size: 0.72rem;
  color: var(--live-red);
  font-weight: 700;
  margin-top: 4px;
}

.upcoming-time-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.upcoming-countdown {
  font-size: 0.68rem;
  color: var(--text-subtle);
  margin-top: 3px;
}

/* Match Bottom Actions */
.match-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.channel-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: #cbd5e1;
}

.btn-stream {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green);
  color: #0b0f19;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-stream:hover {
  background: #34d399;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.btn-stream svg {
  width: 14px;
  height: 14px;
}

.btn-stream.upcoming-stream {
  background: #1f293d;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.btn-stream.upcoming-stream:hover {
  background: #27354f;
  color: var(--text-main);
  box-shadow: none;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 16px;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--accent-green);
  color: #090d16;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   6. STREAM SELECTION MODAL
   ============================================================ */
.stream-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.stream-modal[open] {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.stream-modal[open] .modal-card {
  transform: translateY(0);
}

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

.modal-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stream-live-pill {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.modal-league {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.close-modal {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-match-summary {
  text-align: center;
  padding: 10px 0 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.modal-match-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 6px;
}

.modal-broadcast-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Server Cards */
.stream-servers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.server-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.server-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(16, 185, 129, 0.4);
}

.server-card.highlight {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-card) 100%);
}

.server-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.server-name {
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.server-brand {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.footybite-tag {
  background: #10b981;
  color: #090d16;
}

.hesgoal-tag {
  background: #3b82f6;
  color: #ffffff;
}

.buffstreams-tag {
  background: #f59e0b;
  color: #090d16;
}

.backup-tag {
  background: #64748b;
  color: #ffffff;
}

.server-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.watch-server-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green);
  color: #090d16;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.watch-server-btn svg {
  width: 12px;
  height: 12px;
}

.modal-footer {
  margin-top: 14px;
  text-align: center;
}

.modal-disclaimer {
  font-size: 0.7rem;
  color: var(--text-subtle);
  line-height: 1.4;
}

/* ============================================================
   7. SEO RICH ARTICLE SECTION (BING RANKING CONTENT)
   ============================================================ */
.seo-article-section {
  margin-top: 48px;
  padding-bottom: 24px;
}

.article-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
}

.article-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.article-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.article-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #ffffff;
}

.article-meta-line {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.article-body {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body strong {
  color: #ffffff;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-bullets {
  margin: 12px 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-bullets li {
  padding-left: 4px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  background: #0f172a;
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
}

.benefit-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.benefit-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.benefit-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-container {
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.faq-item {
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-green);
}

.faq-answer {
  padding: 0 16px 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 10px;
}

.faq-answer p {
  margin-bottom: 0;
}

/* Article Disclaimer */
.article-disclaimer {
  margin-top: 32px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 16px;
  border-radius: var(--radius-md);
}

.article-disclaimer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 6px;
}

.article-disclaimer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ============================================================
   8. MOBILE STICKY BOTTOM NAVIGATION
   ============================================================ */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 99;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  flex: 1;
  height: 100%;
}

.nav-item svg {
  width: 20px;
  height: 20px;
}

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

.nav-item.active svg {
  color: var(--accent-green);
}

/* ============================================================
   9. SITE FOOTER (Desktop & SEO)
   ============================================================ */
.site-footer {
  margin-top: 40px;
  background: #060911;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 400px;
  line-height: 1.6;
}

.footer-links-group h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-group a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.74rem;
  color: var(--text-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-sub-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 4px;
}

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

/* ============================================================
   10. RESPONSIVE BREAKPOINTS (Desktop Enhancements)
   ============================================================ */
@media (min-width: 768px) {
  .header-search {
    display: block;
  }

  .mobile-search-bar {
    display: none;
  }

  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left {
    max-width: 880px;
  }

  .mobile-bottom-nav {
    display: none; /* Hidden on desktop screens */
  }

  body {
    padding-bottom: 0;
  }

  .article-box {
    padding: 40px 36px;
  }

  .match-card {
    padding: 16px 20px;
  }

  .team-crest {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .team-name {
    font-size: 1.05rem;
  }
}

/* ============================================================
   MOBILE RESPONSIVE OPTIMIZATIONS (Smartphones <= 600px)
   ============================================================ */
@media (max-width: 600px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Header adjustments */
  .site-header {
    padding: 8px 0;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    padding: 4px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  /* Compact Hero for fast match viewing */
  .hero-strip {
    padding: 14px 0 10px;
  }

  .hero-heading {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .hero-desc {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-cta-group {
    margin-top: 10px;
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-watch-btn {
    padding: 9px 18px;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .hero-secondary-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
    min-height: 40px;
  }

  /* Status Tabs: Horizontal scrollable strip - NO TEXT TRUNCATION */
  .status-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding: 3px;
  }

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

  .status-tab {
    flex: 1 0 auto;
    padding: 7px 10px;
    font-size: 0.74rem;
    white-space: nowrap;
    min-height: 36px;
  }

  .tab-count {
    font-size: 0.68rem;
    padding: 1px 5px;
  }

  /* League Chips */
  .leagues-filter-strip {
    margin-bottom: 10px;
  }

  .leagues-scroll {
    gap: 6px;
    padding-bottom: 4px;
  }

  .league-chip {
    padding: 6px 12px;
    font-size: 0.76rem;
    min-height: 34px;
    gap: 6px;
  }

  .league-icon-img {
    width: 16px;
    height: 16px;
  }

  /* Meta Info Bar */
  .match-meta-info {
    padding: 6px 2px 10px;
    margin-bottom: 10px;
  }

  #activeFilterTitle {
    font-size: 0.8rem;
  }

  .meta-sub {
    font-size: 0.68rem;
  }

  .refresh-btn {
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  /* Match Cards & Clean Layout */
  .matches-container {
    gap: 10px;
  }

  .match-card {
    padding: 11px 12px;
    border-radius: var(--radius-sm);
  }

  .match-card-top {
    margin-bottom: 8px;
    font-size: 0.7rem;
  }

  .match-league-badge {
    font-size: 0.7rem;
    gap: 4px;
  }

  .match-status-tag {
    font-size: 0.68rem;
    padding: 2px 7px;
  }

  .match-main {
    gap: 6px;
    margin-bottom: 8px;
  }

  .team-block {
    gap: 6px;
    min-width: 0;
  }

  .team-name {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .team-crest {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .score-center-block {
    min-width: 72px;
    flex-shrink: 0;
  }

  .score-display {
    font-size: 1.15rem;
    gap: 4px;
  }

  .score-box {
    padding: 3px 6px;
    min-width: 22px;
    font-size: 1.05rem;
  }

  .match-minute-label {
    font-size: 0.68rem;
    margin-top: 2px;
  }

  .upcoming-time-label {
    font-size: 0.76rem;
    padding: 3px 7px;
  }

  .upcoming-countdown {
    font-size: 0.64rem;
  }

  /* Match Bottom Action Row: Fix button clipping */
  .match-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
  }

  .channel-info {
    flex: 1;
    min-width: 0;
    font-size: 0.68rem;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .channel-tag {
    font-size: 0.68rem;
    padding: 2px 6px;
    max-width: 100px;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-stream {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.75rem;
    min-height: 34px;
    gap: 4px;
  }

  .btn-stream svg {
    width: 12px;
    height: 12px;
  }

  /* SEO Article on mobile */
  .article-box {
    padding: 24px 16px;
  }

  .article-box h2 {
    font-size: 1.25rem;
  }

  /* Footer on mobile */
  .site-footer {
    padding: 24px 0 16px;
    margin-top: 24px;
  }

  .footer-top {
    gap: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 380px) {
  .team-name {
    font-size: 0.76rem;
  }

  .channel-info {
    display: none;
  }

  .btn-stream {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   11. HERO CTA GROUP & SPORTS HUB SECTION
   ============================================================ */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green);
  color: #090d16;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
  min-height: 48px;
}

.hero-watch-btn:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.6);
}

.hero-watch-btn svg {
  width: 14px;
  height: 14px;
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-secondary-btn svg {
  width: 14px;
  height: 14px;
}

/* Sports Hub Section */
.sports-hub-section {
  margin-top: 48px;
  margin-bottom: 24px;
}

.section-title-wrap {
  margin-bottom: 20px;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 6px;
  color: #ffffff;
}

.section-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .sports-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sport-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sport-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
  background: var(--bg-card-hover);
}

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

.sport-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.sport-badge.footybite {
  background: #10b981;
  color: #090d16;
}

.sport-badge.buffstreams {
  background: #f59e0b;
  color: #090d16;
}

.sport-badge.hesgoal {
  background: #3b82f6;
  color: #ffffff;
}

.sport-live-status {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sport-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.sport-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.sport-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.sport-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sport-btn-filter {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sport-btn-filter:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.sport-btn-watch {
  background: var(--accent-green);
  border: none;
  color: #090d16;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sport-btn-watch:hover {
  background: #34d399;
}
