/* Main stylesheet */
/* Base Styles */
:root {
  --primary-color: #0C4DA2; /* Sports blue */
  --primary-hover: #083A7D;
  --secondary-color: #4CAF50; /* Sports green */
  --secondary-hover: #3D8B40;
  --accent-color: #FF5722; /* Orange accent */
  --dark: #1C2833;
  --light: #f3f4f6;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --border-radius: 0.375rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #f9fafb;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  text-decoration: none;
}

.btn-accent {
  background-color: var(--accent-color);
  color: white;
  border: 1px solid var(--accent-color);
}

.btn-accent:hover {
  background-color: #E64A19;
  text-decoration: none;
}

/* Header */
.site-header {
  background-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  margin-right: 8px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.4rem;
}

.logo-accent {
  color: var(--secondary-color);
}

.logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--light);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  padding-right: 15px;
}

.dropdown-toggle::after {
  content: '';
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 100;
  border-radius: 4px;
  padding: 8px 0;
  top: 100%;
  left: 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu a {
  color: var(--dark) !important;
  padding: 8px 16px;
  display: block;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: var(--primary-color) !important;
}

/* Content */
.content {
  padding: 2rem 0;
  min-height: calc(100vh - 8rem); /* Header + Footer */
}

/* Footer Styles */
.pre-footer {
  background: #f5f7fa;
  padding: 3rem 0;
  border-top: 1px solid #eaeaea;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-widget h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 0.5rem;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget li {
  margin-bottom: 0.5rem;
}

.footer-widget a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  padding: 0.25rem 0;
}

.footer-widget a:hover {
  color: var(--primary-color);
}

.footer-widget p {
  color: var(--gray);
  line-height: 1.6;
}

/* Site Footer */
.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Homepage */
.hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(rgba(12, 77, 162, 0.9), rgba(12, 77, 162, 0.9)), 
                    url('/assets/images/sports-background.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-buttons .btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.hero-buttons .btn-primary:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
}

.hero-buttons .btn-secondary {
  background-color: transparent;
  border-color: white;
  color: white;
}

.hero-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-8px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.cta {
  background-color: white;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.search-container {
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

/* Sports Categories Section */
.sports-categories {
  padding: 3rem 0;
  background-color: #f8f9fa;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
}

.sports-categories h2 {
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 2rem;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sport-category {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sport-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sport-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.sport-category h3 {
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.sport-category p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.5;
}

.more-sports {
  margin-top: 2rem;
}

/* Regions Section */
.regions {
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.regions h2 {
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 2rem;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.region {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.region-flag {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.region h3 {
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.region p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.5;
}

.more-regions {
  margin-top: 2rem;
}

/* Channels Page */
.channels-header, .groups-header {
  margin-bottom: 2rem;
  text-align: center;
}

.channels-header h1, .groups-header h1 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.channels-subtitle, .groups-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.channels-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.search-box {
  display: flex;
  gap: 0.5rem;
  flex: 1;
}

.search-box input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
}

.category-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-filter select {
  padding: 0.5rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.channel-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.channel-logo {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
  overflow: hidden;
  position: relative;
}

.channel-logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

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

.channel-info {
  padding: 1rem;
}

.channel-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--primary-color);
}

.channel-category {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  background-color: var(--light);
  border-radius: 999px;
  color: var(--gray);
}

.channel-actions {
  padding: 0 1rem 1rem;
  display: flex;
  justify-content: center;
}

.channel-actions .btn {
  width: 100%;
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  display: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.no-results, .error-message {
  text-align: center;
  padding: 3rem 0;
  color: var(--gray);
}

.error-message {
  color: #ef4444;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--light-gray);
  background-color: white;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
  background-color: var(--light);
}

.pagination-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Filter info section */
.filter-info {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.filter-info h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.filter-info p {
  color: var(--gray);
  margin-bottom: 0;
}

/* Groups/Countries Page */
.groups-section {
  padding: 2rem 0;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.group-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.group-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.group-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.country-flag {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--light-gray);
}

.group-card h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.group-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Category explanations */
.category-explanations {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.category-explanations h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.category-item {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.category-item h3 {
  color: var(--primary-color);
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.category-item p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.example-channels {
  background-color: var(--light);
  padding: 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.category-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.region-section {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.region-section h3 {
  color: var(--primary-color);
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Player Page */
.player-container {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin: 0 auto 2rem auto;
  width: 80%;
  max-width: 1200px;
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--light-gray);
  background-color: var(--primary-color);
  color: white;
}

.player-header h1 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.player-header .btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
}

.player-header .btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-color: black;
}

#video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-container:hover .player-controls {
  opacity: 1;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.control-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.volume-slider {
  width: 80px;
}

.volume-slider input {
  width: 100%;
}

.player-error {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.player-error p {
  margin-bottom: 1rem;
}

.stream-info {
  padding: 1rem;
  border-top: 1px solid var(--light-gray);
}

.info-row {
  display: flex;
  margin-bottom: 0.5rem;
}

.info-label {
  font-weight: 500;
  margin-right: 0.5rem;
  min-width: 80px;
  color: var(--primary-color);
}

.info-value {
  word-break: break-all;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-button {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  transition: var(--transition);
}

.play-overlay:hover .play-button {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
      font-size: 2rem;
  }
  
  .hero p {
      font-size: 1rem;
  }
  
  .hero-buttons {
      flex-direction: column;
      gap: 0.75rem;
  }
  
  .channels-filters {
      flex-direction: column;
  }
  
  .player-header h1 {
      font-size: 1.25rem;
  }
  
  .sports-grid, .regions-grid {
      grid-template-columns: 1fr;
  }
  
  .sport-category, .region {
      padding: 1.25rem;
  }
  
  .sport-icon {
      font-size: 2rem;
  }
  
  .region-flag {
      width: 50px;
      height: 50px;
  }
  
  .footer-widgets {
      grid-template-columns: 1fr;
  }
}

/* Responsive Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 200;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .hamburger-menu {
      display: flex;
  }
  
  .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100vh;
      background-color: var(--primary-color);
      flex-direction: column;
      padding: 80px 20px 30px;
      box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
      z-index: 100;
      transition: right 0.3s ease-in-out;
  }
  
  .nav-links.active {
      right: 0;
  }
  
  .nav-links li {
      margin: 15px 0;
  }
  
  /* Hamburger menu animation */
  .hamburger-menu.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger-menu.active span:nth-child(2) {
      opacity: 0;
  }
  
  .hamburger-menu.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Overlay when menu is open */
  .menu-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 90;
  }
  
  .menu-overlay.active {
      display: block;
  }
}

/* Legal page specific styles */
.legal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.legal-content {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
  color: var(--primary-color);
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.legal-content h2 {
  color: var(--primary-color);
  margin-top: 30px;
}

.legal-content strong {
  color: var(--primary-color);
}

.legal-content .notice {
  background-color: #eff6ff;
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  margin: 20px 0;
}

.legal-content .warning {
  background-color: #fff7ed;
  border-left: 4px solid var(--accent-color);
  padding: 15px;
  margin: 20px 0;
}

.legal-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9em;
  color: #64748b;
}

.legal-content ol, 
.legal-content ul {
  padding-left: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .legal-container {
      padding: 10px;
  }
  
  .legal-content {
      padding: 20px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-accent {
  color: var(--accent-color);
}

.bg-primary {
  background-color: var(--primary-color);
  color: white;
}

.bg-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.bg-light {
  background-color: var(--light);
}

.rounded {
  border-radius: var(--border-radius);
}

.shadow {
  box-shadow: var(--box-shadow);
}

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 1rem; }
.m-4 { margin: 1.5rem; }
.m-5 { margin: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* Live indicator for sports channels */
.live-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--accent-color);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
      opacity: 1;
  }
  50% {
      opacity: 0.7;
  }
  100% {
      opacity: 1;
  }
}

/* Sports-specific badges */
.sport-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background-color: var(--light);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--gray);
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.sport-badge.football { 
  background-color: #E3F2FD; 
  color: #1976D2;
}

.sport-badge.basketball { 
  background-color: #FFEBEE; 
  color: #D32F2F;
}

.sport-badge.tennis { 
  background-color: #E8F5E9; 
  color: #388E3C;
}

.sport-badge.motorsports { 
  background-color: #FFFDE7; 
  color: #FBC02D;
}

.sport-badge.golf { 
  background-color: #F3E5F5; 
  color: #7B1FA2; 
}

/* Match/Event Card */
.match-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 1rem;
}

.match-header {
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.match-time {
  font-size: 0.9rem;
  opacity: 0.9;
}

.match-content {
  padding: 1rem;
}

.match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 40%;
}

.team-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.team-name {
  font-weight: 500;
  text-align: center;
}

.match-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.match-footer {
  padding: 0.75rem;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
}

.match-channels {
  display: flex;
  gap: 0.5rem;
}

.channel-pill {
  background-color: var(--light);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--gray);
}

/* Popular sports quick links section */
.quick-sports {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.sport-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-decoration: none;
  color: var(--dark);
  width: 80px;
}

.sport-link:hover {
  transform: translateY(-3px);
  color: var(--primary-color);
  text-decoration: none;
}

.sport-link-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.sport-link-name {
  font-size: 0.75rem;
  text-align: center;
}

/* Country flag grid for quick access */
.flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--dark);
  transition: var(--transition);
}

.flag-item:hover {
  transform: translateY(-3px);
  color: var(--primary-color);
  text-decoration: none;
}

.flag-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 1px solid var(--light-gray);
}

.flag-name {
  font-size: 0.75rem;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Schedule timeline for upcoming matches */
.schedule-timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  background-color: var(--light-gray);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 1rem;
  height: 1rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1rem;
}

.timeline-time {
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}