@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Lighter, Pristine Aesthetic by Default */
  --bg-base: #f8fafc;
  --bg-gradient: radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
                 radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
                 radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
                 #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-elevated: #ffffff;
  
  --fg-main: #0f172a;
  --fg-muted: #64748b;
  --fg-subtle: #94a3b8;
  
  --border-light: rgba(226, 232, 240, 0.9);
  --border-glow: rgba(99, 102, 241, 0.25);
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.08);
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --brand-gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
  
  --live-color: #ef4444;
  --live-glow: rgba(239, 68, 68, 0.25);
  --live-gradient: linear-gradient(135deg, #ef4444 0%, #f43f5e 100%);
  
  --star-color: #f59e0b;
  --star-light: rgba(245, 158, 11, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(99, 102, 241, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 16px 36px -6px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(99, 102, 241, 0.25);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

[data-theme="dark"] {
  --bg-base: #090d16;
  --bg-gradient: radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                 radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 45%),
                 radial-gradient(circle at 50% 90%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
                 #090d16;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(28, 36, 56, 0.9);
  --bg-elevated: #151c2d;
  
  --fg-main: #f8fafc;
  --fg-muted: #94a3b8;
  --fg-subtle: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.4);
  
  --primary-light: rgba(99, 102, 241, 0.2);
  --star-light: rgba(245, 158, 11, 0.18);
  
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px -4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 16px 36px -6px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(99, 102, 241, 0.4);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--fg-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.3s, border-color 0.3s;
}

[data-theme="dark"] .app-header {
  background: rgba(9, 13, 22, 0.85);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-logo:hover {
  transform: scale(1.02);
}

.logo-symbol {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.35));
}

.logo-text-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.logo-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.logo-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

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

.header-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.header-nav a svg {
  width: 16px;
  height: 16px;
}

.header-nav a:hover {
  color: var(--fg-main);
  background: rgba(99, 102, 241, 0.06);
}

.header-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

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

.icon-btn:hover {
  color: var(--fg-main);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero-banner {
  max-width: 1440px;
  margin: 28px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-title-wrap h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--fg-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-title-wrap p {
  color: var(--fg-muted);
  font-size: 15px;
  margin-top: 4px;
}

.search-box-wrap {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-subtle);
  pointer-events: none;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--fg-main);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: var(--bg-elevated);
}

/* Main Container & Sport Filters */
.main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
}

.sport-filters-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.sport-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sport-filters::-webkit-scrollbar {
  display: none;
}

.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.sport-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.sport-pill:hover {
  border-color: var(--border-glow);
  color: var(--fg-main);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sport-pill:hover svg {
  transform: scale(1.15);
}

.sport-pill.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.sport-pill.active svg {
  stroke: #ffffff;
}

/* Tabs & Controls */
.view-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.view-tabs {
  display: flex;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.view-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-tab svg {
  width: 16px;
  height: 16px;
}

.view-tab:hover {
  color: var(--fg-main);
}

.view-tab.active {
  background: var(--bg-elevated);
  color: var(--fg-main);
  box-shadow: var(--shadow-sm);
}

.view-tab.active[data-view="live"] {
  color: var(--live-color);
}

.status-bar-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.match-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
}

.auto-refresh-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 5px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--live-color);
  border-radius: 50%;
  position: relative;
}

.live-pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: var(--live-color);
  opacity: 0.5;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Match Grid & Cards */
.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.match-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

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

.match-card:hover::before {
  background: var(--primary-gradient);
}

.match-card.is-live-card::before {
  background: var(--live-gradient);
}

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

.badges-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.badge-tag svg {
  width: 12px;
  height: 12px;
}

.badge-tag.tag-live {
  background: var(--live-gradient);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--live-glow);
}

.badge-tag.tag-popular {
  background: var(--star-light);
  color: var(--star-color);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-tag.tag-sport {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.sources-count-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-subtle);
  background: rgba(148, 163, 184, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.match-teams-showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 12px 0 18px;
}

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

.team-badge-container {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.match-card:hover .team-badge-container {
  transform: scale(1.08);
}

.team-badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-main);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vs-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--fg-subtle);
  background: rgba(148, 163, 184, 0.15);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.event-title-single {
  margin: 8px 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.match-time-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
}

.match-time-tag svg {
  width: 14px;
  height: 14px;
}

.watch-action-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.match-card:hover .watch-action-link {
  gap: 8px;
}

/* Watch Player Page */
.player-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.player-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.back-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--fg-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-link-btn svg {
  width: 16px;
  height: 16px;
}

.back-link-btn:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateX(-3px);
}

.player-action-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--fg-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.player-control-btn svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.player-control-btn:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.player-control-btn:active {
  transform: translateY(0);
}

.video-player-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

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

.player-loading-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.match-header-details {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.match-header-details h1 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--fg-main);
  margin-bottom: 8px;
}

.match-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-muted);
  font-size: 14px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.source-tabs-grid {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.source-pill-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: capitalize;
}

.source-pill-tab:hover {
  color: var(--fg-main);
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.source-pill-tab.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.streams-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.stream-selector-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s ease;
}

.stream-selector-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stream-selector-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary);
}

.stream-card-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stream-number-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stream-lang-tag {
  font-size: 12px;
  color: var(--fg-muted);
}

.quality-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.quality-badge.quality-hd {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.quality-badge.quality-sd {
  background: rgba(148, 163, 184, 0.15);
  color: var(--fg-muted);
}

/* States */
.state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--fg-muted);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(99, 102, 241, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

.empty-illustration-svg {
  width: 64px;
  height: 64px;
  color: var(--fg-subtle);
  margin-bottom: 16px;
}

.state-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-main);
  margin-bottom: 4px;
}

.state-desc {
  font-size: 14px;
  color: var(--fg-muted);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Android TV 10-Foot UI & D-Pad Remote Navigation Focus States */
:focus-visible, :focus {
  outline: none;
}

.sport-pill:focus-visible, .sport-pill:focus,
.view-tab:focus-visible, .view-tab:focus,
.icon-btn:focus-visible, .icon-btn:focus,
.search-input:focus-visible,
.back-link-btn:focus-visible, .back-link-btn:focus,
.source-pill-tab:focus-visible, .source-pill-tab:focus,
.stream-selector-card:focus-visible, .stream-selector-card:focus {
  outline: 3px solid var(--primary) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6) !important;
  transform: scale(1.05) !important;
}

.match-card:focus-visible, .match-card:focus {
  outline: 3px solid var(--primary) !important;
  outline-offset: 4px !important;
  transform: translateY(-6px) scale(1.04) !important;
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.4), 0 0 0 2px var(--primary) !important;
  background: var(--bg-card-hover) !important;
}

.match-card:focus-visible::before, .match-card:focus::before {
  background: var(--primary-gradient) !important;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    height: 60px;
  }
  .header-nav {
    display: none;
  }
  .main-container, .hero-banner, .player-page-container {
    padding: 16px;
  }
  .hero-title-wrap h1 {
    font-size: 24px;
  }
  .match-grid {
    grid-template-columns: 1fr;
  }
  .search-box-wrap {
    width: 100%;
  }
}
