/* ============================================
   LIVESPORTS PREMIUM - COMPLETE VISUAL POLISH
   Apple TV+ / DAZN / ESPN / Formula1.com Aesthetics
   ============================================ */

/* Core Variables & Tokens */
:root {
  --bg-primary: #070709;
  --bg-secondary: #0d0e12;
  --bg-card: #13151b;
  --bg-card-hover: #1a1d26;
  --bg-glass: rgba(13, 14, 18, 0.85);
  --bg-glass-card: rgba(19, 21, 27, 0.65);

  --accent-red: #ff2d3d;
  --accent-red-hover: #ff4d5a;
  --accent-red-glow: rgba(255, 45, 61, 0.35);
  --accent-green: #00e676;
  --accent-blue: #00b0ff;
  --accent-gold: #ffb300;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);

  --radius-btn: 8px;
  --radius-card: 14px;
  --radius-badge: 6px;

  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 25px rgba(255, 45, 61, 0.4);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-hover: 220ms;
}

/* Reset & Base Setup (Requirement 1: Zero Horizontal Scroll) */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Global Horizontal Overflow Containment */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 3px;
}

/* ============================================
   1. TOP TICKER & PROMO BANNER
   ============================================ */

.top-ticker {
  background: linear-gradient(90deg, #00c853, #00e676);
  color: #000;
  padding: 6px 0;
  overflow: hidden;
  position: relative;
  z-index: 1002;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-content {
  display: flex;
  animation: tickerScroll 24s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-item::after {
  content: '•';
  margin-left: 2rem;
  opacity: 0.6;
}

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

.ad-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
  max-width: 1400px;
  padding: 0 1.5rem;
  overflow: hidden;
}

.ad-desktop { display: block; }
.ad-mobile { display: none; }
@media (max-width: 768px) {
  .ad-desktop { display: none; }
  .ad-mobile { display: block; }
}

/* ============================================
   2. LIGHTWEIGHT COMPACT HEADER (Requirement 7, 8, 9)
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.header-solid {
  background: rgba(7, 7, 9, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-row-main {
  padding: 0.65rem 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.logo:hover img {
  transform: scale(1.03);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.search-bar {
  position: relative;
}

.search-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 0.5rem 1rem 0.5rem 2.4rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 220px;
  transition: all var(--duration-hover) var(--ease-expo);
}

.search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-red);
  width: 280px;
  box-shadow: 0 0 15px rgba(255, 45, 61, 0.2);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 45, 61, 0.15);
  border: 1px solid rgba(255, 45, 61, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.06em;
  min-height: 44px; /* Touch target (Requirement 9) */
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-red);
  animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Unified Button Style with min-height 44px for touch (Requirement 4, 9) */
.btn-primary, .btn-watch-live, .btn-hero {
  background: linear-gradient(135deg, var(--accent-red), #e6001a);
  color: #fff;
  border: none;
  min-height: 44px;
  padding: 0 1.4rem;
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--duration-hover) var(--ease-expo);
  box-shadow: 0 4px 15px rgba(255, 45, 61, 0.3);
  max-width: 100%;
}

.btn-primary:hover, .btn-watch-live:hover, .btn-hero:hover {
  background: linear-gradient(135deg, var(--accent-red-hover), #ff1a30);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 45, 61, 0.5);
}

/* ============================================
   3. CATEGORY FILTERS WITH SMOOTH HORIZONTAL SCROLL (Requirement 6)
   ============================================ */

.header-row-categories {
  padding: 0.6rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
}

.category-filters {
  display: flex;
  gap: 0.85rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
  -webkit-overflow-scrolling: touch;
}

.category-filters::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */

.category-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  min-height: 44px; /* Touch target (Requirement 9) */
  padding: 0 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  transition: all var(--duration-hover) var(--ease-expo);
}

.category-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.category-btn.active {
  background: var(--text-primary);
  color: #000;
  border-color: var(--text-primary);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.category-count {
  background: rgba(255, 45, 61, 0.2);
  color: var(--accent-red);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
}

.category-btn.active .category-count {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
}

/* ============================================
   4. DESKTOP HERO SECTION (Preserved Unchanged)
   ============================================ */

.hero-section {
  position: relative;
  width: 100%;
  min-height: 540px;
  height: 65vh;
  max-height: 680px;
  overflow: hidden;
  background: #000;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 7, 9, 0.96) 0%,
    rgba(7, 7, 9, 0.85) 40%,
    rgba(7, 7, 9, 0.4) 70%,
    rgba(7, 7, 9, 0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badges-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-competition {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive Title Typography with clamp() (Requirement 8) */
.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  max-width: 720px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  font-weight: 500;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.countdown-timer {
  font-weight: 700;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  background: rgba(255, 45, 61, 0.12);
  border: 1px solid rgba(255, 45, 61, 0.4);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px; /* Touch size */
}

.hero-slider-dots {
  position: absolute;
  bottom: 25px;
  right: 3rem;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 30px;
  height: 8px; /* Enhanced touch area */
  border-radius: 4px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--accent-red);
  width: 45px;
}

/* ============================================
   5. DESKTOP SECTIONS & CARDS
   ============================================ */

.today-matches, .section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2rem 1.5rem 2rem;
}

.section-header-polished {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}

.section-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.section-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.btn-view-all {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--duration-hover) ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-view-all:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.today-matches-grid, .matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-expo), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-card);
}

.match-card:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}

.match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.comp-icon {
  height: 16px;
  width: auto;
  object-fit: contain;
}

.flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

.match-league {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-hd {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent-green);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-badge);
}

.match-status {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 100px;
  text-transform: uppercase;
}

.match-status.live {
  background: rgba(255, 45, 61, 0.18);
  color: var(--accent-red);
  border: 1px solid rgba(255, 45, 61, 0.3);
}

.match-status.upcoming {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.2rem 0;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  text-align: center;
}

.team-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
  transition: transform 0.2s ease;
}

.match-card:hover .team-logo {
  transform: scale(1.1);
}

.team-initials-fallback {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 45, 61, 0.2), rgba(255, 45, 61, 0.05));
  border: 1px solid rgba(255, 45, 61, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-red);
}

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

.vs-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.vs-text {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--text-muted);
}

.match-score-h {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--accent-green);
}

.match-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-action-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-card-watch {
  background: linear-gradient(135deg, var(--accent-red), #e6001a);
  color: #fff;
  border: none;
  min-height: 44px; /* Touch target compliant */
  padding: 0 1.2rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.btn-card-watch:hover {
  background: linear-gradient(135deg, var(--accent-red-hover), #ff1a30);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 45, 61, 0.4);
}

/* ============================================
   6. FOOTER
   ============================================ */

.site-footer {
  background: #040405;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4rem;
  padding: 3.5rem 2rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.footer-section h3 { font-size: 1rem; margin-bottom: 1rem; }
.footer-section a { display: block; color: var(--text-secondary); text-decoration: none; margin-bottom: 0.5rem; font-size: 0.85rem; }
.footer-section a:hover { color: var(--accent-red); }

.footer-bottom {
  max-width: 1400px;
  margin: 2.5rem auto 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   7. DEDICATED MOBILE RESPONSIVE ENGINE (Requirements 1-12)
   Audited Widths: 320px, 360px, 375px, 390px, 412px, 430px, 768px
   ============================================ */

@media (max-width: 768px) {
  /* 1. Zero Horizontal Scroll & Absolute Overflow Containment */
  html, body, .site-header, .hero-section, .today-matches, .section, .site-footer, .ad-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }

  /* 7. Mobile Compact Header */
  .header-row-main {
    padding: 0.5rem 0;
  }

  .header-container {
    padding: 0 0.85rem;
    gap: 0.5rem;
  }

  .logo img {
    height: 26px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .search-bar {
    max-width: 110px;
  }

  .search-input {
    width: 100%;
    padding: 0.35rem 0.5rem 0.35rem 1.8rem;
    font-size: 0.75rem;
  }

  .search-input:focus {
    width: 100%;
  }

  .search-icon {
    left: 0.5rem;
  }

  /* 4. Auto-resizing buttons */
  .live-badge {
    padding: 0.3rem 0.55rem;
    font-size: 0.68rem;
    min-height: 44px;
    white-space: nowrap;
  }

  .btn-primary, .btn-watch-live {
    padding: 0 0.75rem;
    font-size: 0.72rem;
    min-height: 44px;
    white-space: nowrap;
    max-width: 100%;
  }

  /* 6. Smooth Sports Filters Horizontal Scroll & Centering */
  .category-filters {
    padding: 0 1rem;
    gap: 0.6rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .category-btn {
    scroll-snap-align: center;
    padding: 0 0.95rem;
    font-size: 0.78rem;
    min-height: 44px;
  }

  /* 2 & 3. Dedicated Mobile Hero (420px-480px) */
  .hero-section {
    min-height: 420px;
    height: 450px;
    max-height: 480px;
  }

  .hero-bg {
    background-position: center 25%;
    object-fit: cover;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 7, 9, 0.3) 0%,
      rgba(7, 7, 9, 0.8) 45%,
      rgba(7, 7, 9, 0.98) 100%
    );
  }

  .hero-content {
    padding: 1.25rem 1rem 2rem 1rem;
    justify-content: flex-end;
    height: 100%;
    align-items: stretch;
  }

  .hero-badges-group {
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }

  .hero-competition {
    font-size: 0.72rem;
    padding: 0.3rem 0.7rem;
  }

  /* 8. Responsive Typography with clamp() */
  .hero-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    line-height: 1.18;
    margin-bottom: 0.4rem;
  }

  .hero-subtitle {
    font-size: clamp(0.8rem, 2.8vw, 0.9rem);
    line-height: 1.3;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 5. Clean Responsive Grid for Event Information */
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 0.75rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
  }

  .hero-meta-item:nth-child(3) {
    grid-column: span 2;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 0.8rem;
  }

  .countdown-timer {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 0.78rem;
    padding: 0.4rem;
  }

  .hero-slider-dots {
    right: 50%;
    transform: translateX(50%);
    bottom: 10px;
  }

  /* 10. Single-Column Responsive Cards */
  .today-matches-grid, .matches-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .today-matches, .section {
    padding: 2rem 0.85rem 1rem 0.85rem;
  }

  .section-header-polished {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .btn-view-all {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .team-logo, .team-initials-fallback {
    width: 48px;
    height: 48px;
  }

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

  .match-card {
    padding: 0.85rem 0.95rem;
  }
}

/* Extra Tight Mobile Viewports (320px - 360px) */
@media (max-width: 360px) {
  .search-bar { display: none; }
  .header-container { padding: 0 0.5rem; }
  .hero-content { padding: 1rem 0.75rem 1.8rem 0.75rem; }
  .hero-title { font-size: 1.3rem; }
  .team-logo, .team-initials-fallback { width: 42px; height: 42px; }
  .team-name { font-size: 0.75rem; }
}
