/* Add only critical CSS needed for initial render */
body {
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  color: #fff;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.95);
}
.player-wrapper {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 100% !important;
  }

  .player-wrapper iframe {
    width: 100% !important;
    height: 100vh !important;
  }
 #loadMoreBtn {
      margin: 30px auto;
      display: block;
      padding: 12px 20px;
      font-size: 16px;
      background-color: #08a62a;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
    #loadMoreBtn:hover { background-color: #0af53d; } 
.text { font-weight: bold; }
    .num { color: #ddd; }

    .player-wrapper {
      width: 100%;
      max-width: 1500px;
      margin: 20px auto;
      border: 1px solid #333;
      background-color: #111;
      padding: 0;
      box-shadow: 0 0 15px rgba(0,0,0,0.5);
      border-radius: 12px;
      overflow: hidden;
    }
    .player-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 12px;
      background-color: #222;
      color: white;
      height: 45px;
      box-sizing: border-box;
      gap: 10px;
    }
    .channel-tag {
      background-color: #d95d39;
      color: #fff;
      padding: 2px 5px;
      border-radius: 4px;
      font-size: 13px;
      font-weight: bold;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 70vw;
    }
    .player-actions { display:flex; align-items:center; gap:8px; }
    .player-header button {
      background: #026311;
      border: none;
      color: white;
      font-size: 18px;
      cursor: pointer;
      width: 35px; height: 35px;
      border-radius: 50%;
      transition: background-color 0.2s;
      display:flex; align-items:center; justify-content:center;
      line-height: 1;
    }
    .player-close-btn { background:#026311; }
    .player-header button:hover { opacity:.95; }
    .fs-hint { margin-inline-start:10px; color:#bbb; font-size:12px; }

    iframe {
      width: 100%;
      height: 650px;
      border: none;
      display: block;
      background: #000;
    }

/* Sports Page Enhanced Filters */
.sports-page-new {
  background: #0a0a0a;
  min-height: 100vh;
}

.sports-filters-enhanced {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 80px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filters-hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  background-size: 500% 500%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-weight: 300;
}

.filters-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

.filter-tab:hover {
  background: rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.3);
  color: #fff;
}

.filter-tab.active {
  background: rgba(18, 140, 18, 0.2);
  border-color: #0099ff;
  color: #fff;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
}

.tab-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.live-count {
  background: rgba(255, 56, 56, 0.3);
  color: #ff3838;
}

.filter-tab[data-filter="popular"] .tab-count {
  background: rgba(255, 140, 0, 0.3);
  color: #ff8c00;
}

.filter-tab[data-filter="popular"].active {
  background: rgba(255, 140, 0, 0.2);
  border-color: #ff8c00;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.filter-tab[data-filter="popular"]:hover {
  background: rgba(255, 140, 0, 0.1);
  border-color: rgba(255, 140, 0, 0.3);
}

.live-indicator {
  color: #ff3838;
  animation: pulse 1.5s infinite;
}

.search-and-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.search-box-container {
  width: 100%;
  max-width: 600px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: #0099ff;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
}

.search-icon {
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

.search-input-modern {
  flex: 1;
  padding: 15px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.search-input-modern::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.clear-search {
  padding: 0 15px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.3s ease;
}

.clear-search:hover {
  color: #0099ff;
}

.sport-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1200px;
}

.sport-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: capitalize;
}

.sport-chip:hover {
  background: rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.sport-chip.active {
  background: rgba(18, 140, 18, 0.2);
  border-color: #0099ff;
  color: #fff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.3);
}

.active-filters {
  display: none;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.filters-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
}

.filter-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(18, 140, 18, 0.2);
  border: 1px solid rgba(18, 140, 18, 0.3);
  border-radius: 15px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
}

.remove-badge {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  font-size: 0.7rem;
  transition: color 0.3s ease;
}

.remove-badge:hover {
  color: #fff;
}

.clear-all-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 56, 56, 0.2);
  border: 1px solid rgba(255, 56, 56, 0.3);
  border-radius: 15px;
  color: #ff3838;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.clear-all-filters:hover {
  background: rgba(255, 56, 56, 0.3);
  border-color: #ff3838;
}

/* Responsive Design for Filters */
@media (max-width: 768px) {
  .filter-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .filter-tab {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .sport-categories {
    gap: 8px;
  }

  .sport-chip {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .active-filters {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-badges {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .sport-categories {
    justify-content: flex-start;
  }

  .sport-chip {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}
/* =====================
   New Homepage Styles
   ===================== */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 2;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  align-items: center;
}

.hero-main-content {
  max-width: 600px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.featured-tag {
  background: linear-gradient(135deg, #0099ff, #00ff88);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-rating {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd700;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.hero-year {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-genres {
  display: flex;
  gap: 0.5rem;
}

.hero-genre {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.btn-primary {
  background: linear-gradient(135deg, #0099ff, #ff4081);
  color: #fff;
  box-shadow: 0 8px 25px rgba(18, 140, 18, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(18, 140, 18, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Enhanced Hero Sidebar - Trending Section */
.hero-sidebar {
  background: linear-gradient(145deg, rgba(15, 16, 20, 0.98), rgba(25, 26, 30, 0.95));
  border-radius: 2rem;
  padding: 0;
  backdrop-filter: blur(25px);
  border: 2px solid rgba(18, 140, 18, 0.15);
  max-width: 420px;
  min-height: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(18, 140, 18, 0.1);
  overflow: hidden;
}

.trending-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.08), rgba(0, 255, 136, 0.04));
}

.trending-title-group h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 0 10px rgba(18, 140, 18, 0.5);
}

.trending-icon {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.trending-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 500;
}

.trending-controls {
  display: flex;
  gap: 0.5rem;
}

.trending-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trending-nav-btn:hover:not(:disabled) {
  background: rgba(18, 140, 18, 0.2);
  border-color: rgba(18, 140, 18, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 140, 18, 0.3);
}

.trending-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.trending-nav-btn svg {
  width: 18px;
  height: 18px;
}

.trending-carousel-container {
  height: 320px;
  overflow: hidden;
  position: relative;
  padding: 0 2rem;
}

.trending-carousel-track {
  display: flex;
  gap: 1rem;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 1rem 0;
}

.trending-card {
  flex: 0 0 300px;
  height: 280px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trending-card.active {
  transform: scale(1.05);
  z-index: 2;
}

.trending-card-inner {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-radius: 1.5rem;
  padding: 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.trending-card:hover .trending-card-inner {
  background: linear-gradient(145deg, rgba(18, 140, 18, 0.15), rgba(0, 255, 136, 0.08));
  border-color: rgba(18, 140, 18, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.trending-poster-container {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.1), rgba(0, 255, 136, 0.1));
}

.trending-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.trending-card:hover .trending-poster {
  transform: scale(1.1);
}

.trending-rank {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #0099ff, #ff4081);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(18, 140, 18, 0.4);
  z-index: 3;
}

.trending-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.trending-card:hover .trending-overlay {
  opacity: 1;
}

.trending-play-btn {
  background: linear-gradient(135deg, #0099ff, #ff4081);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(18, 140, 18, 0.4);
}

.trending-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(18, 140, 18, 0.6);
}

.trending-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.trending-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trending-movie-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.trending-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.trending-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #ffd700;
}

.star-icon {
  width: 14px;
  height: 14px;
}

.trending-genre {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.trending-watch-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.2), rgba(18, 140, 18, 0.1));
  border: 1px solid rgba(18, 140, 18, 0.3);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.trending-watch-link:hover {
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.3), rgba(18, 140, 18, 0.2));
  transform: translateX(5px);
}

.trending-watch-link svg {
  width: 16px;
  height: 16px;
}

.trending-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.pagination-dots {
  display: flex;
  gap: 0.4rem;
}

.pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-dot.active {
  background: #0099ff;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(18, 140, 18, 0.5);
}

.pagination-counter {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
}

.trending-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 2rem 2rem;
}

.trending-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.trending-action-btn:hover {
  background: rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.trending-action-btn svg {
  width: 16px;
  height: 16px;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Responsive Design for Trending Section */
@media (max-width: 1200px) {
  .hero-sidebar {
    max-width: 380px;
  }
  
  .trending-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  /* Hide all trending/sidebar elements completely on mobile */
  .hero-sidebar,
  .hero-sidebar *,
  .trending-header,
  .trending-carousel-container,
  .trending-pagination,
  .trending-actions,
  .trending-card,
  .trending-carousel-track,
  .trending-card-inner,
  .trending-poster-container,
  .trending-nav-btn,
  .trending-title-group,
  .trending-controls,
  .pagination-dots,
  .pagination-counter,
  .trending-action-btn,
  .trending-title,
  .trending-subtitle,
  .trending-movie-title,
  .trending-meta,
  .trending-rating,
  .trending-genre,
  .trending-watch-link,
  .trending-overlay,
  .trending-play-btn,
  .trending-poster,
  .trending-rank,
  .trending-info,
  .rank-number,
  .star-icon,
  [class*="trending"],
  [id*="trending"],
  [class*="pagination"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    max-height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
  }
  
  .hero-content-wrapper {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    display: block !important;
  }
  
  .hero-main-content {
    max-width: 100%;
    text-align: center;
    width: 100% !important;
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 480px) {
  /* Complete removal of trending section on small mobile */
  .hero-sidebar,
  .hero-sidebar *,
  .trending-header,
  .trending-carousel-container,
  .trending-pagination,
  .trending-actions,
  .trending-card,
  .trending-carousel-track,
  .trending-card-inner,
  .trending-poster-container,
  .trending-nav-btn,
  .trending-title-group,
  .trending-controls,
  .pagination-dots,
  .pagination-counter,
  .trending-action-btn,
  [class*="trending"],
  [id*="trending"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    max-height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
  }
}

/* Hide trending section on tablets and smaller screens */
@media (max-width: 1024px) {
  .hero-sidebar,
  .hero-sidebar *,
  .trending-header,
  .trending-carousel-container,
  .trending-pagination,
  .trending-actions,
  [class*="trending"],
  [id*="trending"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }
  
  .hero-content-wrapper {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* Additional safety net for very small screens */
@media (max-width: 360px) {
  .hero-sidebar,
  .hero-sidebar *,
  [class*="trending"],
  [id*="trending"],
  [class*="sidebar"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
  }
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
}

.scroll-hint:hover {
  color: #fff;
  transform: translateX(-50%) translateY(-5px);
}

.scroll-hint span {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  animation: bounce 2s infinite;
}

.scroll-arrow svg {
  width: 100%;
  height: 100%;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Main Content */
.main-content {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

.content-section {
  max-width: 1600px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title-group h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin: 0;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0099ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.view-all-link:hover {
  background: rgba(18, 140, 18, 0.1);
  transform: translateY(-2px);
}

.link-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.view-all-link:hover .link-icon {
  transform: translateX(3px);
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.2rem;
}

.content-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(18, 140, 18, 0.3);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-image-container {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  background: #000;
}

.content-card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-card:hover .card-overlay {
  opacity: 1;
}

.card-play-btn {
  background: rgba(18, 140, 18, 0.9);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(18, 140, 18, 0.4);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.content-card:hover .card-play-btn {
  transform: scale(1);
}

.card-play-btn svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.card-info-overlay {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.4rem;
  z-index: 3;
}

.card-genre-year {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.card-year-badge {
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.8), rgba(18, 140, 18, 0.6));
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(18, 140, 18, 0.3);
  box-shadow: 
    0 2px 8px rgba(18, 140, 18, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Genre badges on top of poster - Hidden on desktop */
.card-genres-overlay {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  display: none; /* Hide on desktop by default */
  flex-wrap: wrap;
  gap: 0.4rem;
  z-index: 3;
}

.genre-badge {
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.9), rgba(18, 140, 18, 0.7));
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 3px 12px rgba(18, 140, 18, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  position: relative;
}

.genre-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.genre-badge:hover::before {
  opacity: 1;
}

/* Year badge positioning */
.card-year-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 3;
}

/* Show genre badges on mobile screens with better styling */
@media (max-width: 768px) {
  .card-genres-overlay {
    display: flex;
  }
  
  .genre-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(18, 140, 18, 0.95), rgba(18, 140, 18, 0.8));
    box-shadow: 
      0 2px 8px rgba(18, 140, 18, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.3);
  }
}

.content-card:hover .card-genre-year {
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.8), rgba(18, 140, 18, 0.6));
  border-color: rgba(18, 140, 18, 0.5);
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(18, 140, 18, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.content-card:hover .card-year-badge {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(18, 140, 18, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.card-content {
  padding: 1rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.8rem 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.card-year {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
}

.card-genre {
  color: rgba(18, 140, 18, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sports Section */
.sports-section .section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.live-indicator {
  color: #ff4444;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0;
}

.sports-card {
  background: linear-gradient(145deg, rgba(15, 16, 20, 0.95), rgba(26, 27, 30, 0.95));
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  height: auto;
}

.sports-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, 
    rgba(18, 140, 18, 0.4) 0%, 
    rgba(0, 255, 136, 0.3) 50%, 
    rgba(18, 140, 18, 0.4) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.sports-card:hover::before {
  opacity: 1;
}

.sports-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(18, 140, 18, 0.2);
  border-color: rgba(18, 140, 18, 0.3);
  background: linear-gradient(145deg, rgba(20, 21, 25, 0.98), rgba(30, 31, 35, 0.98));
}

.sports-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.sports-image-container {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.9), rgba(25, 30, 40, 0.9));
}

.sports-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: brightness(0.9) saturate(1.1);
}

.sports-card:hover .sports-image {
  transform: scale(1.1);
  filter: brightness(1) saturate(1.2);
}

.sports-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.1), rgba(0, 255, 136, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.sports-card:hover .sports-overlay {
  opacity: 1;
}

.sports-play-btn {
  background: linear-gradient(135deg, #ff0066, #ff3388);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 0, 102, 0.4);
  transform: scale(0.8);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.sports-card:hover .sports-play-btn {
  transform: scale(1);
  box-shadow: 0 12px 35px rgba(255, 0, 102, 0.6);
}

.sports-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.sports-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.live-badge {
  background: linear-gradient(135deg, #ff0066, #ff3388);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 15px rgba(255, 0, 102, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.sport-badge {
  background: rgba(0, 0, 0, 0.85);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sports-content {
  padding: 20px;
  background: linear-gradient(135deg, rgba(15, 16, 20, 0.95), rgba(10, 11, 15, 0.95));
  backdrop-filter: blur(10px);
}

.sports-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  height: 2.6em;
}

.sports-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.sports-time, .sports-date {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
}

.time-icon, .date-icon {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.sports-time {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.2);
}

.sports-date {
  color: rgba(0, 255, 136, 0.9);
  border-color: rgba(0, 255, 136, 0.2);
  background: rgba(0, 255, 136, 0.08);
}

/* Enhanced hover effects */
.sports-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.03), rgba(0, 255, 136, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 20px;
  z-index: 1;
}

.sports-card:hover::after {
  opacity: 1;
}

/* Disable poster hover descriptions on mobile */
@media (max-width: 768px) {
  .hover-modal {
    display: none !important;
  }
  
  .card-overlay,
  .sports-overlay,
  .trending-overlay {
    opacity: 0 !important;
    pointer-events: none;
  }
  
  .content-card:hover .card-overlay,
  .sports-card:hover .sports-overlay,
  .trending-card:hover .trending-overlay {
    opacity: 0 !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sports-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .sports-image-container {
    height: 140px;
  }
  
  .sports-content {
    padding: 16px;
  }
  
  .sports-title {
    font-size: 0.9rem;
  }
  
  .sports-meta {
    font-size: 0.75rem;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .sports-grid {
    grid-template-columns: 1fr;
  }
  
  .sports-card {
    margin: 0 auto;
    max-width: 320px;
  }
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.no-sports-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.no-sports-icon svg {
  width: 100%;
  height: 100%;
}

.no-sports-message h3 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 1rem 0;
}

.no-sports-message p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 2rem 0;
  font-size: 1.1rem;
}

/* Quick Navigation */
.quick-nav-section {
  background: rgba(255, 255, 255, 0.02);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.quick-nav-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2rem 0;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-nav-item:hover {
  background: rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.3);
  transform: translateY(-5px);
}

.quick-nav-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(18, 140, 18, 0.3));
}

.quick-nav-item span {
  font-weight: 600;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-sidebar {
    max-width: 100%;
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero-main-content {
    order: 2;
  }
  
  .trending-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 8px 12px;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .logo-image {
    height: 32px;
  }
  
  .nav-links-container {
    width: 100%;
    order: 3;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    margin-top: 8px;
  }
  
  .nav-item {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .nav-text {
    font-size: 12px;
  }
  
  .header-actions {
    gap: 8px;
    order: 2;
    flex-shrink: 0;
  }
  
  .search-input-wrapper {
    max-width: 160px;
  }
  
  .search-input {
    width: 140px;
    font-size: 12px;
    padding: 8px 10px;
  }
  
  .discord-link {
    padding: 6px 8px;
    font-size: 11px;
  }
  
  .discord-text {
    display: none;
  }
  
  .language-select {
    font-size: 10px;
    padding: 4px 6px;
    padding-right: 18px;
  }

  .hero-section {
    min-height: calc(100vh - 60px);
    padding-top: 70px;
    padding-bottom: 2rem;
  }
  
  .hero-content-wrapper {
    padding: 0 1rem;
    text-align: center;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .hero-sidebar {
    order: -1;
    margin-bottom: 1.5rem;
    min-height: 350px;
    max-width: 100%;
    width: 100%;
  }
  
  .hero-main-content {
    max-width: 100%;
    order: 2;
    padding: 0 0.5rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .hero-genres {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  
  .hero-genre {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.8rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .main-content {
    padding-top: 1rem;
  }
  
  .content-section {
    padding: 0 1rem;
    margin-bottom: 3rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    margin-bottom: 2rem;
  }
  
  .section-title-group h2 {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .content-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.8rem;
  }
  
  .card-content {
    padding: 0.6rem;
  }
  
  .card-title {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .card-year {
    font-size: 0.7rem;
  }
  
  .sports-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .sports-card {
    max-width: none;
    margin: 0 auto;
  }
  
  .quick-nav-section {
    padding: 2rem 1rem;
  }
  
  .quick-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .quick-nav-item {
    padding: 1.2rem 0.5rem;
    font-size: 0.85rem;
  }
  
  .quick-nav-icon {
    font-size: 1.8rem;
  }
  
  .trending-header {
    padding: 1.2rem;
  }
  
  .trending-carousel-container {
    height: 280px;
    padding: 0 0.8rem;
  }
  
  .trending-card {
    flex: 0 0 220px;
    height: 240px;
  }
  
  .trending-poster-container {
    height: 100px;
  }
  
  .trending-actions {
    padding: 0 1.2rem 1.2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .trending-action-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 6px 10px;
    min-height: 50px;
  }
  
  .logo-image {
    height: 28px;
  }
  
  .mobile-menu-btn {
    position: static;
    margin-right: 8px;
  }
  
  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  
  .search-input-wrapper {
    max-width: 120px;
  }
  
  .search-input {
    width: 110px;
    font-size: 11px;
    padding: 6px 8px;
  }
  
  .discord-link {
    padding: 4px 6px;
  }
  
  .discord-icon {
    width: 12px;
    height: 12px;
  }
  
  .language-select {
    font-size: 9px;
    padding: 3px 4px;
    padding-right: 16px;
  }

  .hero-section {
    min-height: calc(100vh - 50px);
    padding-top: 60px;
    padding-bottom: 1rem;
  }
  
  .hero-content-wrapper {
    padding: 0 0.8rem;
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .hero-genres {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  
  .hero-genre {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 250px;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .hero-sidebar {
    min-height: 300px;
    width: 100%;
    max-width: 100%;
  }
  
  .trending-header {
    padding: 1rem;
  }
  
  .trending-carousel-container {
    height: 250px;
    padding: 0 0.5rem;
  }
  
  .trending-card {
    flex: 0 0 180px;
    height: 200px;
  }
  
  .trending-poster-container {
    height: 90px;
  }
  
  .trending-actions {
    padding: 0 1rem 1rem;
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .trending-action-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .scroll-hint {
    bottom: 0.8rem;
  }
  
  .scroll-hint span {
    font-size: 0.75rem;
  }
  
  .scroll-arrow {
    width: 20px;
    height: 20px;
  }
  
  .main-content {
    padding-top: 0.8rem;
  }
  
  .content-section {
    padding: 0 0.8rem;
    margin-bottom: 2.5rem;
  }
  
  .section-title-group h2 {
    font-size: 1.4rem;
  }
  
  .section-subtitle {
    font-size: 0.85rem;
  }
  
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  
  .card-content {
    padding: 0.5rem;
  }
  
  .card-title {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
    line-height: 1.2;
  }
  
  .card-year {
    font-size: 0.65rem;
  }
  
  .card-play-btn {
    width: 30px;
    height: 30px;
  }
  
  .card-play-btn svg {
    width: 12px;
    height: 12px;
  }
  
  .sports-card {
    margin: 0;
  }
  
  .sports-image-container {
    height: 120px;
  }
  
  .sports-content {
    padding: 10px;
  }
  
  .sports-title {
    font-size: 0.8rem;
  }
  
  .sports-meta {
    gap: 4px;
    flex-wrap: wrap;
  }
  
  .sports-time, .sports-date {
    font-size: 0.65rem;
    padding: 3px 6px;
  }
  
  .quick-nav-section {
    padding: 1.2rem 0.5rem;
  }
  
  .quick-nav-title {
    font-size: 1.2rem;
  }
  
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  
  .quick-nav-item {
    padding: 0.8rem 0.4rem;
    font-size: 0.8rem;
  }
  
  .quick-nav-icon {
    font-size: 1.5rem;
  }
}

/* Loading States */
body:not(.loaded) .content-card,
body:not(.loaded) .sports-card {
  opacity: 0;
  transform: translateY(20px);
}

body.loaded .content-card,
body.loaded .sports-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Live TV Page Styles */
.events {
  padding: 50px 20px 40px;
  background: #0a0a0a;
  min-height: 100vh;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.event-card {
  background: linear-gradient(145deg, rgba(26, 27, 30, 0.95), rgba(20, 21, 25, 0.95));
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  padding: 20px;
}

/*.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(18, 140, 18, 0.2);
}*/
.event-card:hover{ background: rgb(185 185 185 / 20%); animation: borderPulse 1000ms infinite ease-out, colorShift 10000ms infinite ease-in; } .event-card.active { background: rgb(185 185 185 / 10%); animation: borderPulse 1000ms infinite ease-out, colorShift 10000ms infinite ease-in; color: white; font-weight: 900; }

.live-tv-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 90px;
}

.live-tv-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.channel-info {
  flex: 1;
}

.event-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.event-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.event-meta span {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 500;
}

.play-button {
  width: 60px;
  height: 60px;
  /*background: rgba(18, 140, 18, 0.9);
  border-radius: 50%;*/
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /*box-shadow: 0 8px 25px rgba(18, 140, 18, 0.4);*/
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.event-card:hover .play-button {
  transform: scale(1.1);
  /*box-shadow: 0 12px 35px rgba(18, 140, 18, 0.6);*/
}

.play-button svg {
  width: 50px;
  height: 50px;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto;
}

.sport-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  text-align: center;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Channel Image Styles */
.channel-image {
  width: 200px;
  height: 150px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.9), rgba(25, 30, 40, 0.9));
  border-radius: 12px;
  margin-bottom: 15px;
}

.channel-logo {
  color: white;
  text-align: center;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .events {
    padding: 80px 15px 20px;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .event-card {
    padding: 15px;
  }
  
  .live-tv-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .channel-image {
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
  }
  
  .event-title {
    font-size: 1.1rem;
  }
  
  .event-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .sport-section h1 {
    font-size: 2rem;
  }
  
  .event-title {
    font-size: 1rem;
  }
  
  .event-meta span {
    font-size: 0.8rem;
    padding: 3px 8px;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
  }
  
  .play-button svg {
    width: 20px;
    height: 20px;
  }
}

/* =====================
   Global Styles
   ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui;
}

:root {
  --vh: 1vh;
}

body {
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix mobile viewport issues */
@supports (-webkit-touch-callout: none) {
  .hero-section {
    min-height: calc(var(--vh, 1vh) * 100);
  }
}

/* Custom Scrollbar for Entire Site */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #026311;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0af53d;
}

/* Accessibility Enhancements */
:focus:not(.logo a) {
  outline: 2px solid #0099ff;
  outline-offset: 2px;
}

.logo a:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes colorShift { 0%, 100% { background: transparent; } 33% { background: transparent; } 66% { background: transparent; } } @keyframes borderPulse { 0% { box-shadow: inset 0px 0px 0px 5px rgba(255, 255, 255, 0.4), 0px 0px 0px 0px rgba(255, 255, 255, 1); } 100% { box-shadow: inset 0px 0px 0px 3px rgba(117, 117, 255, 0.2), 0px 0px 0px 10px rgba(255, 255, 255, 0); } } @keyframes hoverShine { 0% { background-image: linear-gradient( 135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100% ); } 50% { background-image: linear-gradient( 135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100% ); } 100% { background-image: linear-gradient( 135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.4) 100% ); } }

/* Animation for Fade-In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

/* Notification System */
.notification-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.notification {
  background: rgba(26, 27, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100%;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-info {
  border-left: 4px solid #00aaff;
}

.notification-success {
  border-left: 4px solid #00ff88;
}

.notification-warning {
  border-left: 4px solid #ffaa00;
}

.notification-error {
  border-left: 4px solid #ff4444;
}

.notification-icon {
  font-size: 18px;
  font-weight: bold;
  min-width: 20px;
}

.notification-info .notification-icon {
  color: #00aaff;
}

.notification-success .notification-icon {
  color: #00ff88;
}

.notification-warning .notification-icon {
  color: #ffaa00;
}

.notification-error .notification-icon {
  color: #ff4444;
}

.notification-message {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Loading Overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(18, 140, 18, 0.1);
  border-left-color: #0099ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.loading-overlay p {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

/* Stream Status Indicator */
.stream-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.status-indicator {
  font-size: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
}

.status-indicator.loading {
  background: #ffaa00;
  animation: pulse 1.5s infinite;
}

.status-indicator.success {
  background: #00ff88;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-indicator.error {
  background: #ff4444;
  animation: pulse 1.5s infinite;
}

.status-text {
  color: rgba(255, 255, 255, 0.8);
}

/* VPN Info Box */
.vpn-info-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 380px;
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.98), rgba(15, 16, 20, 0.98));
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  z-index: 9999;
  display: none;
  animation: slideInUp 0.4s ease-out;
}

.vpn-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 165, 0, 0.1);
  border-bottom: 1px solid rgba(255, 165, 0, 0.2);
  border-radius: 15px 15px 0 0;
}

.vpn-info-header i {
  color: #ffaa00;
  font-size: 18px;
}

.vpn-info-header span {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  flex: 1;
}

.vpn-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.vpn-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.vpn-info-content {
  padding: 20px;
}

.vpn-info-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.vpn-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vpn-tag {
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.3);
  color: #ffaa00;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* Animations */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* Mobile Responsive for Notifications */
@media (max-width: 768px) {
  .notification-container {
    top: 60px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .notification {
    padding: 12px;
    font-size: 13px;
  }

  .vpn-info-box {
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .vpn-info-header {
    padding: 12px 16px;
  }

  .vpn-info-content {
    padding: 16px;
  }
}

/* Keyboard Shortcuts */
.keyboard-shortcuts {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.98), rgba(15, 16, 20, 0.98));
  border: 1px solid rgba(18, 140, 18, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 9998;
  display: block; /* Show by default */
  animation: slideInUp 0.4s ease-out;
}

.keyboard-shortcuts strong {
  color: #0099ff;
  margin-right: 8px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(18, 140, 18, 0.5);
}

.keyboard-shortcuts kbd {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #fff;
  margin: 0 3px;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.keyboard-shortcuts kbd:hover {
  background: linear-gradient(145deg, rgba(18, 140, 18, 0.2), rgba(18, 140, 18, 0.1));
  border-color: rgba(18, 140, 18, 0.4);
  transform: translateY(-1px);
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(18, 140, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .keyboard-shortcuts {
    bottom: 10px;
    right: 10px;
    left: 10px;
    font-size: 12px;
    padding: 10px 12px;
    text-align: center;
  }

  .keyboard-shortcuts kbd {
    padding: 3px 6px;
    font-size: 10px;
    margin: 0 2px;
  }
}

/* Modern Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(15px);
  animation: fadeIn 0.4s ease;
}

.modal-content {
  background: linear-gradient(135deg, rgba(15, 16, 20, 0.98), rgba(10, 10, 15, 0.98));
  border-radius: 25px;
  max-width: 1000px;
  width: 95%;
  max-height: 95%;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(18, 140, 18, 0.2);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(18, 140, 18, 0.1);
  animation: modalIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(18, 140, 18, 0.8);
  transform: scale(1.1);
}

.modal-header {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-backdrop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.modal-header-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: end;
}

.modal-poster-section {
  flex: 0 0 200px;
}

.modal-poster-img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.modal-info-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.modal-meta-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-rating-year {
  display: flex;
  gap: 20px;
  align-items: center;
}

.modal-rating {
  color: #ffd700;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-year {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
}

.modal-genres-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-genre-tag {
  background: rgba(18, 140, 18, 0.2);
  color: #fff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(18, 140, 18, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.modal-watch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0099ff, #ff4081);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(18, 140, 18, 0.4);
  border: none;
  cursor: pointer;
}

.modal-watch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(18, 140, 18, 0.6);
}

.modal-info-btn,
.modal-list-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.modal-info-btn:hover,
.modal-list-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* Enhanced Hover Modal Styles */
.hover-modal {
  position: fixed;
  z-index: 9999;
  background: linear-gradient(145deg, rgba(15, 16, 20, 0.98), rgba(25, 26, 30, 0.95));
  border-radius: 18px;
  padding: 0;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(18, 140, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(18, 140, 18, 0.4);
  width: 350px;
  backdrop-filter: blur(25px);
  opacity: 0;
  transform: translateY(15px) scale(0.85);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: none;
  overflow: hidden;
}

.hover-modal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  display: block;
}

.hover-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.hover-modal img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  transition: transform 0.3s ease;
}

.hover-modal:hover img {
  transform: scale(1.05);
}

.hover-modal-info {
  padding: 18px;
  flex: 1;
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.95), rgba(15, 16, 20, 0.95));
  border-radius: 0 0 18px 18px;
}

.hover-modal-info h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hover-modal-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.hover-modal-meta span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.hover-modal-meta .meta-year {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
  color: #00ff88;
  border-color: rgba(0, 255, 136, 0.3);
  font-weight: 600;
}

.hover-modal-meta .meta-rating {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.4);
  font-weight: 700;
}

.hover-modal-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.hover-modal-genres .genre-tag {
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.3), rgba(18, 140, 18, 0.2));
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  border: 1px solid rgba(18, 140, 18, 0.5);
  box-shadow: 0 0 10px rgba(18, 140, 18, 0.3);
}

.hover-modal-meta .content-type {
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.3), rgba(18, 140, 18, 0.2));
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  border: 1px solid rgba(18, 140, 18, 0.5);
  box-shadow: 0 0 10px rgba(18, 140, 18, 0.3);
}

.hover-modal-meta .genre-tag {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 255, 136, 0.2));
  color: #00ff88;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  border: 1px solid rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.hover-modal-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  font-weight: 400;
}

/* Content card hover states for modal trigger */
.content-card {
  position: relative;
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(18, 140, 18, 0.3);
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
  .modal-content {
    width: 98%;
    max-height: 98%;
    margin: 1%;
  }
  
  .modal-header {
    height: 300px;
  }
  
  .modal-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  
  .modal-poster-section {
    flex: none;
    margin-bottom: 20px;
  }
  
  .modal-poster-img {
    width: 150px;
    height: 225px;
  }
  
  .modal-title {
    font-size: 1.8rem;
  }
  
  .modal-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .modal-watch-btn,
  .modal-info-btn,
  .modal-list-btn {
    width: 100%;
    justify-content: center;
  }
  
  .hover-modal {
    width: 280px;
    left: 10px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: 300px;
  }
  
  .hover-modal img {
    height: 140px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }
.shadow-neon { box-shadow: 0 0 20px rgba(18, 140, 18, 0.3); }
.bg-dark-transparent { background: rgba(26, 27, 30, 0.8); }
.text-neon { color: #0099ff; text-shadow: 0 0 5px rgba(18, 140, 18, 0.5); }

/* Input Styles */
input#channel-search-input,
input#searchSeries,
input#searchMovies,
#global-search-input {
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  background: #333;
  color: #fff;
  font-size: 14px;
  outline: none;
  height: 45px;

}

input#global-search-input {
  width: 300px;
}

.video-player iframe,
.watch-section iframe,
.watch-series-section iframe,
.watch-sport-section iframe {
    width: 100%;
    height: 680px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
    margin-bottom: 30px;
}

@media (max-width: 1400px) {
    .video-player iframe,
    .watch-section iframe,
    .watch-series-section iframe,
    .watch-sport-section iframe {
        height: 600px !important;
        min-height: 600px;
    }
}

@media (max-width: 1024px) {
    .video-player iframe,
    .watch-section iframe,
    .watch-series-section iframe,
    .watch-sport-section iframe {
        height: 500px !important;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .video-player iframe,
    .watch-section iframe,
    .watch-series-section iframe,
    .watch-sport-section iframe {
        height: 400px !important;
        min-height: 400px;
        border-radius: 8px;
        margin: 0;
    }

    .watch-section,
    .watch-series-section,
    .watch-sport-section {
        padding-top: 180px;
    }
}

@media (max-width: 480px) {
    .video-player iframe,
    .watch-section iframe,
    .watch-series-section iframe,
    .watch-sport-section iframe {
        height: 300px !important;
        min-height: 300px;
        border-radius: 8px;
    }

    .watch-section,
    .watch-series-section,
    .watch-sport-section {
        padding-top: 200px;
    }
}

@media (max-width: 360px) {
    .video-player iframe,
    .watch-section iframe,
    .watch-series-section iframe,
    .watch-sport-section iframe {
        height: 250px !important;
        min-height: 250px;
    }
}
/* Modern Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.98), rgba(20, 20, 30, 0.95));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(18, 140, 18, 0.1);
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: visible;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.logo-image {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

.logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-links-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.nav-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
}

.nav-item:hover {
  color: #fff;
  background: rgba(18, 140, 18, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(18, 140, 18, 0.3);
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.3), rgba(18, 140, 18, 0.2));
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.4);
}

.nav-icon {
  font-size: 16px;
  opacity: 0.9;
}

.nav-text {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  position: relative;
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.language-select:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(18, 140, 18, 0.3);
  transform: translateY(-1px);
}

.language-select option {
  background: #1a1a1a;
  color: #fff;
  padding: 8px;
}

/* Discord Link */
.discord-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.2);
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.discord-link:hover {
  color: #fff;
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.discord-text {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Modern Search Container */
.search-container {
  position: relative;
  margin: 0;
  padding: 0;
  z-index: 1000;
  width: 300px;
  height: auto;
  flex-shrink: 0;
}

.search-form {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(25px);
  box-shadow: 
    0 6px 25px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  margin: 0;
  overflow: visible;
  position: relative;
  width: 100%;
}

.search-input-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(145deg, 
    rgba(18, 140, 18, 0.6) 0%, 
    rgba(0, 255, 136, 0.4) 35%,
    rgba(18, 140, 18, 0.3) 70%,
    rgba(0, 255, 136, 0.5) 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: borderFlow 3s ease-in-out infinite;
}

.search-input-wrapper:hover::before,
.search-input-wrapper:focus-within::before {
  opacity: 1;
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px 14px 50px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  width: 300px;
  transition: all 0.3s ease;
  border-radius: 30px;
  position: relative;
  z-index: 10;
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.search-input:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
  z-index: 5;
  transition: color 0.3s ease;
  pointer-events: none;
}

.search-input-wrapper:focus-within .search-icon {
  color: #0099ff;
}

/* Search Results Dropdown */
.search-results-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  width: 100%;
  min-width: 300px;
  max-width: 380px;
  background: linear-gradient(145deg, 
    rgba(26, 27, 30, 0.98) 0%,
    rgba(20, 21, 24, 0.98) 100%
  );
  border: 2px solid transparent;
  border-radius: 20px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 10000;
  backdrop-filter: blur(35px);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  animation: searchDropdownIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-results-dropdown::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 2px;
  background: linear-gradient(145deg, 
    rgba(18, 140, 18, 0.5) 0%, 
    rgba(0, 255, 136, 0.3) 35%,
    rgba(18, 140, 18, 0.4) 70%,
    rgba(0, 255, 136, 0.6) 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  z-index: -1;
}

@keyframes searchDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.selected {
  background: linear-gradient(90deg, 
    rgba(18, 140, 18, 0.1) 0%,
    rgba(0, 255, 136, 0.1) 100%
  );
  transform: translateX(2px);
}

.dropdown-item img {
  width: 40px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.item-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2px;
  line-height: 1.3;
}

.item-type {
  font-size: 12px;
  color: #0099ff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.no-results {
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-style: italic;
}

/* Mobile Responsive Search */
@media (max-width: 768px) {
  .search-container {
    width: 180px;
    position: relative;
    z-index: 10000;
  }
  
  .search-input {
    width: 180px;
    padding: 12px 16px 12px 45px;
    font-size: 13px;
  }
  
  .search-icon {
    left: 15px;
    width: 16px;
    height: 16px;
  }
  
  .search-results-dropdown {
    position: fixed;
    top: 70px;
    left: 10px;
    right: 10px;
    width: auto;
    min-width: auto;
    max-width: none;
    max-height: calc(100vh - 80px);
    z-index: 10000;
    border-radius: 15px;
  }
  
  .dropdown-item {
    padding: 10px 12px;
  }
  
  .dropdown-item img {
    width: 35px;
    height: 50px;
    margin-right: 10px;
  }
  
  .item-title {
    font-size: 13px;
  }
  
  .item-type {
    font-size: 11px;
  }
  
  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .search-input {
    width: 200px;
  }
}

@keyframes borderFlow {
  0%, 100% { 
    background: linear-gradient(145deg, 
      rgba(18, 140, 18, 0.6) 0%, 
      rgba(0, 255, 136, 0.4) 35%,
      rgba(18, 140, 18, 0.3) 70%,
      rgba(0, 255, 136, 0.5) 100%
    );
  }
  50% { 
    background: linear-gradient(145deg, 
      rgba(0, 255, 136, 0.5) 0%, 
      rgba(18, 140, 18, 0.3) 35%,
      rgba(0, 255, 136, 0.4) 70%,
      rgba(18, 140, 18, 0.6) 100%
    );
  }
}

.search-input-wrapper:hover {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.12) 100%
  );
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 10px 35px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.search-input-wrapper:hover::before {
  opacity: 0.6;
}

.search-input-wrapper:focus-within {
  background: linear-gradient(145deg, 
    rgba(18, 140, 18, 0.18) 0%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(0, 255, 136, 0.15) 100%
  );
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 0 40px rgba(18, 140, 18, 0.5),
    0 0 0 2px rgba(18, 140, 18, 0.3),
    0 15px 45px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(30px);
}

.search-input-wrapper:focus-within::before {
  opacity: 1;
  animation-duration: 2s;
}

.search-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.search-input-wrapper:hover .search-icon {
  color: rgba(255, 255, 255, 0.95);
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.search-input-wrapper:focus-within .search-icon {
  color: #0099ff;
  transform: scale(1.15) rotate(10deg);
  filter: drop-shadow(0 0 15px rgba(18, 140, 18, 0.8));
  animation: searchPulse 2s ease-in-out infinite;
}

@keyframes searchPulse {
  0%, 100% { 
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 0 15px rgba(18, 140, 18, 0.8));
  }
  50% { 
    transform: scale(1.25) rotate(-5deg);
    filter: drop-shadow(0 0 20px rgba(18, 140, 18, 1));
  }
}

.search-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  width: 240px;
  padding: 14px 10px 14px 14px;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.search-input:focus {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.search-input:focus::placeholder {
  color: rgba(255, 255, 255, 0.4);
  transform: translateX(5px);
}

.search-results-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  min-width: 300px;
  max-width: 380px;
  background: linear-gradient(145deg, 
    rgba(15, 16, 20, 0.98) 0%, 
    rgba(25, 26, 30, 0.95) 50%,
    rgba(15, 16, 20, 0.98) 100%
  );
  border: 2px solid transparent;
  border-radius: 20px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 10000;
  backdrop-filter: blur(35px);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  animation: searchDropdownIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-results-dropdown::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 2px;
  background: linear-gradient(145deg, 
    rgba(18, 140, 18, 0.5) 0%, 
    rgba(0, 255, 136, 0.3) 35%,
    rgba(18, 140, 18, 0.4) 70%,
    rgba(0, 255, 136, 0.6) 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  z-index: -1;
}

@keyframes searchDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  margin: 0 8px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(18, 140, 18, 0.3) 0%,
    rgba(0, 255, 136, 0.2) 50%,
    transparent 100%
  );
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 15px;
}

.dropdown-item::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, 
    rgba(18, 140, 18, 0.18) 0%, 
    rgba(0, 255, 136, 0.12) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  transform: translateX(12px) scale(1.02);
  border-left: 4px solid #0099ff;
  padding-left: 16px;
  box-shadow: 
    0 8px 25px rgba(18, 140, 18, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dropdown-item:hover::before {
  width: 100%;
}

.dropdown-item:hover::after {
  left: 100%;
}

.dropdown-item img {
  width: 50px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 18px;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.dropdown-item img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, 
    rgba(18, 140, 18, 0.1) 0%,
    transparent 50%,
    rgba(0, 255, 136, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-item:hover img {
  box-shadow: 
    0 12px 35px rgba(18, 140, 18, 0.4),
    0 0 0 2px rgba(18, 140, 18, 0.6),
    inset 0 0 20px rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.7);
  transform: scale(1.08) rotate(2deg);
}

.dropdown-item:hover img::before {
  opacity: 1;
}

.item-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
}

.item-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.dropdown-item:hover .item-title {
  color: #0099ff;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(18, 140, 18, 0.6);
  transform: translateX(5px);
}

.item-type {
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, 
    rgba(18, 140, 18, 0.2) 0%,
    rgba(0, 255, 136, 0.15) 100%
  );
  padding: 4px 12px;
  border-radius: 15px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.2px;
  align-self: flex-start;
  border: 1px solid rgba(18, 140, 18, 0.4);
  box-shadow: 
    0 3px 10px rgba(18, 140, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.dropdown-item:hover .item-type {
  background: linear-gradient(135deg, 
    rgba(18, 140, 18, 0.35) 0%,
    rgba(0, 255, 136, 0.25) 100%
  );
  border-color: rgba(18, 140, 18, 0.7);
  transform: scale(1.05);
  box-shadow: 
    0 5px 15px rgba(18, 140, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.no-results {
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn:active {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0.95);
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Touch and Mobile Optimizations */
@media (max-width: 768px) {
  /* Ensure proper touch targets */
  .nav-item,
  .btn-primary,
  .btn-secondary,
  .watch-btn-modern,
  .card-link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improve tap responsiveness */
  .content-card,
  .sports-card,
  .trending-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(18, 140, 18, 0.2);
  }
  
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links-container {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid rgba(18, 140, 18, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1001;
  }

  .nav-links-container.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    background: transparent;
    width: 100%;
    padding: 0;
    gap: 8px;
  }

  .nav-item {
    padding: 16px;
    font-size: 16px;
    text-align: left;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    justify-content: flex-start;
    gap: 12px;
  }

  .nav-item:hover {
    background: rgba(18, 140, 18, 0.2);
    transform: translateX(8px);
  }

  .nav-item.active {
    background: rgba(18, 140, 18, 0.2);
    border-color: rgba(18, 140, 18, 0.4);
  }

  .nav-icon {
    font-size: 18px;
  }

  .nav-text {
    font-size: 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .search-input {
    width: 180px;
  }
  
  .search-input-wrapper {
    border-radius: 20px;
  }
  
  .search-input-wrapper:focus-within {
    transform: translateY(-1px) scale(1.01);
  }

  .discord-text {
    display: none;
  }

  .language-select {
    font-size: 12px;
    padding: 6px 8px;
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 8px 12px;
  }

  .logo-image {
    height: 32px;
  }

  .search-input {
    width: 140px;
    font-size: 13px;
    padding: 10px 12px;
  }

  .search-input::placeholder {
    font-size: 12px;
  }
  
  .search-icon {
    width: 16px;
    height: 16px;
    margin: 0 0 0 12px;
  }
  
  .search-input-wrapper {
    border-radius: 18px;
  }

  .discord-link {
    padding: 6px 8px;
  }

  .discord-icon {
    width: 16px;
    height: 16px;
  }
}

.search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Featured Section (Homepage) */
.featured-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 20px 20px;
}

.featured-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.featured-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.featured-content {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 30px;
  width: 100%;
}

.featured-details {
  flex: 2;
}

.featured-details h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #ccc;
}

.rating {
  color: #ffd700;
}

.year, .runtime, .language {
  color: #ccc;
}

.genres {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.genre-tag {
  display: inline-block;
  padding: 4px 12px;
  margin: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.genre-tag:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.featured-details p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 600px;
}

.buttons {
  display: flex;
  gap: 15px;
}

.jump-in, .details-btn {
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s;
}

.jump-in {
  background: #0099ff;
  color: #fff;
}

.jump-in:hover {
  background: #e600e6;
}

.details-btn {
  background: #333;
  color: #fff;
}

.details-btn:hover {
  background: #555;
}

/* Most Popular Carousel (Homepage) */
.popular-carousel {
  flex: 1;
  max-width: 690px;
  position: relative;
  overflow: visible;
}

.popular-carousel h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  height: 380px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

.popular-carousel-items {
  display: flex;
  gap: 10px;
  transition: transform 0.3s ease-in-out;
}

.carousel-item {
  flex: 0 0 auto;
  width: 190px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0 5px;
}

.carousel-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.carousel-item p {
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.carousel-item.highlighted {
  transform: none;
  z-index: 50;
  position: relative;
  transition: all 0.3s ease;
  margin-top: 0;
}

.carousel-item.highlighted img {
  border: 2px solid rgba(255, 255, 255, 0.7);
  object-fit: cover;
  object-position: center;
}

.carousel-item.highlighted::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 68%;
  max-height: 280px;
  border-radius: 10px;
  box-shadow: 0 0 10px 1px rgba(18, 140, 18, 0.5);
  pointer-events: none;
}

.carousel-prev, .carousel-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.3s;
}

.carousel-prev:hover, .carousel-next:hover {
  background: rgba(0, 0, 0, 0.9);
}

.carousel-prev {
  left: 0px;
}

.carousel-next {
  right: 0px;
}

.carousel-item a {
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* Pagination */
.pagination {
  margin-top: 20px;
  text-align: center;
  color: #ccc;
  font-size: 14px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.page-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.page-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-info {
  color: #888;
}

/* Filter Container */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(17, 17, 17, 0.95);
  border-radius: 20px;
  margin: 20px auto;
  max-width: 1400px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  color: #0099ff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.filter-group select:hover,
.filter-group input:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(18, 140, 18, 0.5);
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #0099ff;
  box-shadow: 0 0 0 2px rgba(18, 140, 18, 0.2);
}

@media (max-width: 768px) {
  .filter-container {
    padding: 15px;
    gap: 12px;
  }

  .filter-group {
    flex: 1 1 100%;
  }

  .filter-group select,
  .filter-group input {
    font-size: 13px;
    padding: 10px 14px;
  }

  .filter-group label {
    font-size: 12px;
  }
}

.show-images-toggle {
  white-space: nowrap;
}

.show-images-toggle label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #999;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.show-images-toggle label:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.show-images-toggle input[type="checkbox"] {
  margin-right: 5px;
  cursor: pointer;
}

.show-images-toggle .toggle-label {
  transition: color 0.3s ease;
}

.show-images-toggle:hover .toggle-label {
  color: #fff;
}


.filter-container select,
#movieFilter, #seriesFilter, #sportsFilter,
#seasonSelector, .search-episode {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(51, 51, 51, 0.9);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.filter-container select:hover,
#movieFilter:hover, #seriesFilter:hover, #sportsFilter:hover {
  background-color: rgba(51, 51, 51, 0.95);
  border-color: #0099ff;
  box-shadow: 0 0 10px rgba(18, 140, 18, 0.2);
}

.filter-container select:focus,
#movieFilter:focus, #seriesFilter:focus, #sportsFilter:focus {
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.3);
}

.search-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(51, 51, 51, 0.9);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:hover {
  border-color: #0099ff;
  box-shadow: 0 0 10px rgba(18, 140, 18, 0.2);
}

.search-input:focus {
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.3);
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(26, 27, 30, 0.8);
  border-radius: 15px;
  border: 1px solid rgba(18, 140, 18, 0.1);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.filter-group label {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-episode {
  width: 200px;
}

/* Latest Movies/Series Section */
.latest-movies, .latest-series {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
}

.latest-movies-header, .latest-series-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-bottom: 20px;
}

.latest-movies-header .view-all-btn, 
.latest-series-header .view-all-btn {
  margin-top: 10px;
}

.latest-movies h2, .latest-series h2,
.all-movies h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.latest-movies-grid, .latest-series-grid,
.all-movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.movie-grid {
  display: none;
}

.movie-grid.visible {
  display: contents;
}

.latest-movie-item, .game-card, a {
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s;
}

.latest-movie-item img, .game-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(18, 140, 18, 0.2);
  background: #1a1a1a;
  min-height: 150px;
}

.movie-poster {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.movie-poster::before {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.movie-poster::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-poster:hover::before,
.movie-poster:hover::after {
  opacity: 1;
}

.movie-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: #fff;
}

.featured-background::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(transparent, #0a0a0a);
  pointer-events: none;
}

.movie-info h3 {
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  margin-top: 5px;
}

.no-content {
  grid-column: 1/-1;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.latest-movie-item:hover, .game-card:hover {
  transform: scale(1.02);
}

.view-all-btn, #load-more {
  background: #0099ff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.view-all-btn:hover, #load-more:hover {
  background: #e600e6;
}

/* All Movies Section */
.all-movies {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
}

.all-movies h2 {
  padding-top: 60px;
}

/* Modern Search Results Page */
.search-results-container {
  max-width: 1400px;
  margin: 120px auto 40px;
  padding: 0 20px;
}

.search-header-modern {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(26, 27, 30, 0.8);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(18, 140, 18, 0.1);
}

.search-info h1 {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  font-weight: 700;
}

.search-query {
  color: #0099ff;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.results-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #888;
  font-size: 0.9rem;
}

.search-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.filter-select {
  padding: 12px 20px;
  background: rgba(26, 27, 30, 0.9);
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  min-width: 180px;
}

.filter-select:hover {
  background-color: rgba(26, 27, 30, 1);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.filter-select:focus {
  outline: none;
  border-color: #0099ff;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
}

.filter-select option {
  background: #1a1b1e;
  color: #fff;
  padding: 10px;
}

.modern-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.result-card {
  position: relative;
  background: rgba(26, 27, 30, 0.8);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(18, 140, 18, 0.15);
}

.result-image {
  position: relative;
  width: 100%;
  padding-top: 150%;
}

.result-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hover-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.result-card:hover .hover-info {
  opacity: 1;
}

.hover-content {
  padding: 20px;
  text-align: center;
}

.overview {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.watch-now {
  background: linear-gradient(45deg, #0099ff, #00ff00);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.watch-now:hover {
  transform: scale(1.05);
}

.result-type {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(18, 140, 18, 0.8);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.result-details {
  padding: 15px;
}

.result-details h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.result-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
}

.rating {
  color: #ffd700;
}

.year {
  color: #888;
}

.modern-load-more {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px auto;
  transition: all 0.3s ease;
}

.modern-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(18, 140, 18, 0.3);
}

.modern-load-more:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.no-results-modern {
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}

.no-results-modern svg {
  margin-bottom: 20px;
  color: #0099ff;
}

.no-results-modern p {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.no-results-modern span {
  color: #888;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .search-results-container {
    margin: 100px auto 30px;
    padding: 0 15px;
  }

  .search-info h1 {
    font-size: 2rem;
  }

  .modern-search-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
  }

  .result-details h3 {
    font-size: 0.9rem;
  }

  .result-meta {
    font-size: 0.75rem;
  }
}

.search-results .search-header h2 {
  font-size: 24px;
  color: #fff;
  margin: 0;
  font-weight: 400;
  padding-top: 60px;
}

.search-results .pagination-info {
  font-size: 14px;
  color: #ccc;
  margin-left: auto;
}

.search-results .search-content {
  display: flex;
  width: 100%;
  gap: 20px;
}

.search-results .filters {
  width: 200px;
  background: #2a2a2a;
  padding: 15px;
  border-radius: 10px;
  margin-right: 20px;
  flex-shrink: 0;
}

.search-results .filters h3 {
  font-size: 18px;
  color: #0099ff;
  margin-bottom: 15px;
  font-weight: 400;
}

.search-results .filters ul {
  list-style: none;
  padding: 0;
}

.search-results .filter-item {
  font-size: 16px;
  color: #fff;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.3s;
  opacity: 0.8;
}

.search-results .filter-item:hover {
  color: #0099ff;
  opacity: 1;
}

.search-results .search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  flex-grow: 1;
}

.search-results .no-results {
  font-size: 18px;
  color: #ccc;
  text-align: center;
  width: 100%;
}

.search-results .search-item {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
  background: #1e1e1e;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(18, 140, 18, 0.1);
}

.search-results .search-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(18, 140, 18, 0.2);
}

.search-results .search-item-details {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

.search-results .search-item-details h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 5px;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-results .search-item-details .meta {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #ccc;
  justify-content: center;
}

.search-results .search-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(18, 140, 18, 0.3);
}

/* Watch Page (Movies) */
.watch-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
}

.watch-section.sports {
  min-height: 100vh;
}

.video-player {
  max-width: 1200px;
  margin: 0 auto 10px;
  position: relative;
  padding-top: 56.25%;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
}

.watch-header {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 30px;
  flex-wrap: wrap;
}

.poster img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.3);
}

.details {
  flex: 1;
  color: #fff;
}

.details h1 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
}

.details h3 {
  font-size: 18px;
  color: #0099ff;
  margin-top: 15px;
  margin-bottom: 5px;
}

.details p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.5;
}

/* Similar Movies Carousel (Watch Page) */
.similar-movies {
  max-width: 1400px;
  margin: 60px auto;
}

.similar-movies h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 auto;
  width: 150px;
  transition: transform 0.3s;
}

.carousel-item img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(18, 140, 18, 0.2);
}

.carousel-item:hover {
  transform: scale(1.05);
}

/* Modern Watch Series Section */
.watch-series-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

/* Desktop Grid Layout */
.watch-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
  max-width: 1600px;
  margin: 0 auto;
}

.video-and-details {
  width: 100%;
  min-width: 0;
}

.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: sticky;
  top: 120px;
  width: 380px;
  max-height: calc(100vh - 140px);
}

.sidebar-chat {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  flex: 0 0 auto;
  height: 400px;
}

/* Discord Section Styles */
.discord-section {
  background: rgba(54, 57, 63, 0.95);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 10px;
  padding: 20px;
  backdrop-filter: blur(10px);
  flex: 1;
  min-height: 0;
}

.discord-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #5865f2, #7289da);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-header h3 {
  color: #5865f2;
  font-size: 18px;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

.discord-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.discord-description {
  color: #b9bbbe;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.discord-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dcddde;
  font-size: 13px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(88, 101, 242, 0.1);
}

.feature-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.discord-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(45deg, #5865f2, #7289da);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-join-btn:hover {
  background: linear-gradient(45deg, #4752c4, #677bc4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .watch-content-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 100%;
  }

  .right-sidebar {
    position: static;
    order: 2;
    width: 100%;
    max-height: none;
  }

  .sidebar-chat {
    height: 300px;
  }

  .discord-widget {
    margin-top: 0;
  }

  .discord-stats {
    flex-direction: row;
    gap: 20px;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
  }

  .video-player iframe {
    height: 400px;
  }
}

.video-and-episodes-container {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
}

.video-container {
  flex: 0 0 70%;
  min-width: 600px;
}

.video-player {
  width: 100%;
  border-radius: 10px;
  boxshadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 20px;
}

.video-player iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.episode-container {
  flex: 0 0 30%;
  min-width: 300px;
  max-height: 600px;
  overflow-y: auto;
}

.episode-container::-webkit-scrollbar {
  width: 8px;
}

.episode-container::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}

.episode-container::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
  border: 2px solid #1a1a1a;
}

.episode-container::-webkit-scrollbar-thumb:hover {
  background: #444;
}

.series-controls {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.episode-item {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
  background: #1e1e1e;
  border: 2px solid #0099ff;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 2px 5px rgba(18, 140, 18, 0.1);
  cursor: pointer;
}

.episode-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(18, 140, 18, 0.2);
  position: relative;
}

.episode-item img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 140, 18, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

.episode-item h4 {
  font-size: 18px;
  color: #fff;
  margin-top: 5px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 5px;
}

.episode-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(18, 140, 18, 0.3);
}

.series-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}

.series-poster {
  flex: 0 0 200px;
  min-width: 200px;
}

.series-poster img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.3);
}

.series-details {
  flex: 1;
  color: #fff;
}

.series-details h1 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.series-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #ccc;
}

.series-details h3 {
  font-size: 18px;
  color: #0099ff;
  margin-top: 15px;
  margin-bottom: 5px;
}

.series-details p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Enhanced Sports Section */
.sports-section-enhanced {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
}

.sports-section-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 140, 18, 0.3), transparent);
}

.sports-header-enhanced {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.sports-title-container {
  text-align: center;
  margin-bottom: 2rem;
}

.sports-main-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.live-pulse {
  color: #ff4444;
  font-size: 1.2rem;
  animation: pulse 1.5s infinite;
}

.sports-main-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  background: linear-gradient(45deg, #ff4444, #ff8888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.live-count-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.2), rgba(255, 68, 68, 0.1));
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(10px);
}

.live-count {
  color: #ff4444;
  font-weight: 800;
  font-size: 1.1rem;
}

.live-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sports-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
}

.sports-categories-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.category-tab:hover {
  color: #fff;
  background: rgba(255, 68, 68, 0.1);
  transform: translateY(-2px);
}

.category-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.3), rgba(255, 68, 68, 0.2));
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
}

.tab-icon {
  font-size: 1rem;
}

.view-all-sports-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0099ff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(18, 140, 18, 0.3);
  background: rgba(18, 140, 18, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.view-all-sports-btn:hover {
  background: rgba(18, 140, 18, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 140, 18, 0.3);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.view-all-sports-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.sports-content-enhanced {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sports-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sport-card-enhanced {
  background: linear-gradient(145deg, rgba(26, 27, 30, 0.95), rgba(20, 21, 25, 0.95));
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
}

.sport-card-enhanced:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 68, 68, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 68, 68, 0.2);
}

.sport-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.sport-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.9), rgba(25, 30, 40, 0.9));
}

.sport-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sport-card-enhanced:hover .sport-card-image img {
  transform: scale(1.1);
}

.sport-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.sport-card-enhanced:hover .sport-card-overlay {
  opacity: 1;
}

.play-btn-enhanced {
  width: 60px;
  height: 60px;
  background: rgba(255, 68, 68, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 68, 68, 0.5);
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.sport-card-enhanced:hover .play-btn-enhanced {
  transform: scale(1);
  box-shadow: 0 12px 35px rgba(255, 68, 68, 0.7);
}

.play-btn-enhanced svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.sport-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.live-badge-enhanced {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 68, 68, 0.95);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
  backdrop-filter: blur(10px);
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.sport-type-badge {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.viewer-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.viewer-badge .viewer-icon {
  width: 12px;
  height: 12px;
}

.sport-card-content {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.98), rgba(15, 16, 20, 0.98));
}

.sport-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sport-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sport-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.time-icon {
  width: 16px;
  height: 16px;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff4444;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #ff4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.no-sports-enhanced {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2rem;
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.no-sports-content {
  text-align: center;
  max-width: 400px;
}

.no-sports-icon-large {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(255, 68, 68, 0.3));
}

.no-sports-enhanced h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.no-sports-enhanced p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin: 0 0 2rem 0;
  line-height: 1.5;
}

.no-sports-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.browse-sports-btn,
.refresh-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.browse-sports-btn {
  background: linear-gradient(135deg, #0099ff, #cc00cc);
  color: #fff;
  box-shadow: 0 8px 25px rgba(18, 140, 18, 0.3);
}

.browse-sports-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(18, 140, 18, 0.4);
}

.refresh-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.refresh-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.browse-sports-btn svg,
.refresh-btn svg {
  width: 16px;
  height: 16px;
}

/* Responsive Design for Enhanced Sports Section */
@media (max-width: 1024px) {
  .sports-categories-filter {
    flex-direction: column;
    align-items: stretch;
  }
  
  .category-tabs {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .sports-grid-enhanced {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .sports-section-enhanced {
    padding: 3rem 0;
  }
  
  .sports-header-enhanced {
    padding: 0 1rem;
  }
  
  .sports-main-title {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .category-tabs {
    padding: 0.25rem;
    gap: 0.25rem;
  }
  
  .category-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .sports-content-enhanced {
    padding: 0 1rem;
  }
  
  .sports-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .sport-card-image {
    height: 180px;
  }
  
  .no-sports-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .browse-sports-btn,
  .refresh-btn {
    width: 100%;
    justify-content: center;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .sports-main-title h2 {
    font-size: 1.8rem;
  }
  
  .live-count-badge {
    padding: 0.4rem 0.8rem;
  }
  
  .category-tab {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .tab-icon {
    font-size: 0.9rem;
  }
  
  .sport-card-content {
    padding: 1rem;
  }
  
  .sport-title {
    font-size: 1rem;
  }
  
  .no-sports-icon-large {
    font-size: 3rem;
  }
  
  .no-sports-enhanced h3 {
    font-size: 1.5rem;
  }
}

/* Modern Games/Software Page Styles */
.games-section {
  padding: 80px 0 40px;
  background: #0a0a0a;
  min-height: 100vh;
}

.games-header-modern {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.95) 0%, rgba(15, 16, 20, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
}

.games-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: gradientShift 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(18, 140, 18, 0.3);
}

.title-icon {
  font-size: 0.8em;
  filter: drop-shadow(0 0 20px rgba(18, 140, 18, 0.5));
}

.games-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.filters-section-modern {
  padding: 40px 20px;
  background: rgba(15, 16, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.filter-container-modern {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: end;
}

.search-section {
  width: 100%;
}

.search-box-modern {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.95) 0%, rgba(20, 21, 25, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-box-modern:focus-within {
  border-color: #0099ff;
  box-shadow: 0 0 30px rgba(18, 140, 18, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.search-icon {
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
}

.search-input-modern {
  flex: 1;
  padding: 16px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  outline: none;
  font-weight: 500;
}

.search-input-modern::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.clear-search {
  padding: 0 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.clear-search:hover {
  color: #0099ff;
  transform: rotate(90deg);
}

.filter-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0099ff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-select-modern {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.95) 0%, rgba(20, 21, 25, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.5L7 9.5L11 5.5' stroke='%23ff00ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 50px;
}

.filter-select-modern:hover {
  border-color: rgba(18, 140, 18, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.filter-select-modern:focus {
  border-color: #0099ff;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
}

.filter-select-modern option {
  background: #1a1b1e !important;
  color: #fff !important;
  padding: 12px;
  font-weight: 500;
}

.games-content-modern {
  padding: 40px 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.loading-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #fff;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(18, 140, 18, 0.1);
  border-left-color: #0099ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-modern p {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.games-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.game-card-modern {
  background: linear-gradient(145deg, rgba(26, 27, 30, 0.95), rgba(20, 21, 25, 0.95));
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
}

.game-card-modern:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(18, 140, 18, 0.2);
}

.card-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.9), rgba(25, 30, 40, 0.9));
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card-modern:hover .card-image-container img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.1), rgba(0, 255, 136, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.game-card-modern:hover .card-overlay {
  opacity: 1;
}

.play-button, .download-button {
  width: 60px;
  height: 60px;
  /*background: rgba(18, 140, 18, 0.9);
  border-radius: 50%;*/
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /*box-shadow: 0 8px 25px rgba(18, 140, 18, 0.4);*/
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.game-card-modern:hover .play-button,
.game-card-modern:hover .download-button {
  transform: scale(1);
  box-shadow: 0 12px 35px rgba(18, 140, 18, 0.6);
}

.card-genres {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.genre-tag {
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(18, 140, 18, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

/* Modern genre tags under title */
.card-genres-wrapper {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.genre-tag-modern {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.15), rgba(0, 255, 136, 0.15));
  border: 1px solid rgba(18, 140, 18, 0.3);
  border-radius: 14px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.genre-tag-modern:hover {
  background: linear-gradient(135deg, rgba(18, 140, 18, 0.25), rgba(0, 255, 136, 0.25));
  border-color: rgba(18, 140, 18, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(18, 140, 18, 0.2);
}

.online-tag {
  background: linear-gradient(45deg, #00ff00, #32cd32) !important;
  border-color: #00ff00 !important;
  color: #000 !important;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

.card-content {
  padding: 20px;
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.95), rgba(15, 16, 20, 0.95));
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.load-more-section {
  text-align: center;
  padding: 40px 0;
}

.load-more-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(18, 140, 18, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.load-more-btn-modern:hover:not(:disabled) {
  background: linear-gradient(45deg, #e600e6, #b300b3);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(18, 140, 18, 0.4);
}

.load-more-btn-modern:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.load-more-btn-modern:hover .btn-icon {
  transform: rotate(45deg);
}

.no-content-modern, .error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #fff;
}

.no-content-icon, .error-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(18, 140, 18, 0.3));
}

.no-content-modern h3, .error-state h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.no-content-modern p, .error-state p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@keyframes glow {
  from {
    box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00;
  }
  to {
    box-shadow: 0 0 25px #00ff00, 0 0 35px #00ff00;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .filter-container-modern {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .games-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .games-section {
    padding: 70px 0 20px;
  }

  .games-header-modern {
    padding: 40px 15px;
  }

  .filters-section-modern {
    padding: 30px 15px;
    position: static;
  }

  .games-content-modern {
    padding: 30px 15px;
  }

  .games-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .card-image-container {
    height: 150px;
  }

  .card-content {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .games-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }

  .card-content {
    padding: 12px;
  }

  .card-title {
    font-size: 1rem;
  }

  .load-more-btn-modern {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
}

.event-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 8px;
  margin-bottom: 12px;
  background: #1a1a1a;
  overflow: hidden;
}

.event-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


img.bb_img {
    width: 100%;
}
.game-card {
  position: relative;
  background: #13151a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(18, 140, 18, 0.2);
}

.game-poster {
  position: relative;
}

.game-poster {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
  overflow: hidden;
  background: #13151a;
}

.game-poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  background: #13151a;
  transform: translateX(-5%) translateY(-5%);
}

.game-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 5px 10px;
  border-radius: 5px;
}

.game-version {
  color: #00ff00;
  font-size: 12px;
  font-weight: 500;
}

.game-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-info h3 {
  color: #fff;
  font-size: 14px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.game-genre {
  font-size: 11px;
  color: #ccc;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.game-genres {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.game-genre {
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  border: 1px solid rgba(18, 140, 18, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.online-tag {
  background: linear-gradient(45deg, #00ff00, #32cd32) !important;
  color: #000 !important;
  border: 1px solid #00ff00 !important;
  font-weight: 700 !important;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
  }
  to {
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
  }
}

.load-more-container {
  text-align: center;
  margin: 30px 0;
}

.load-more-btn {
  background: #0099ff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: #cc00cc;
}

.load-more-btn:disabled {
  background: #666;
  cursor: not-allowed;
}

.no-games {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #888;
  font-size: 16px;
}

.games-categories {
  margin: 40px 0;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.category-card h3 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 8px 0;
}

.category-card span {
  color: #888;
  font-size: 14px;
}

/* Category Filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.category-filter-btn {
  background: rgba(18, 140, 18, 0.1);
  color: #0099ff;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(18, 140, 18, 0.3);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-filter-btn:hover,
.category-filter-btn.active {
  background: rgba(18, 140, 18, 0.3);
  color: #fff;
}

.pagination-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.pagination-btn {
  background: rgba(18, 140, 18, 0.1);
  color: #0099ff;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(18, 140, 18, 0.3);
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
  background: rgba(18, 140, 18, 0.3);
  color: #fff;
}

.load-more-container {
  text-align: center;
  margin: 30px 0;
}

.load-more-btn {
  background: linear-gradient(45deg, #0099ff, #00ff00);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(18, 140, 18, 0.3);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 140, 18, 0.4);
}

.load-more-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Game Detail Page - Modern Design */
.game-page {
  background: #0a0a0a;
  min-height: 100vh;
  padding-top: 60px;
}

.game-hero {
  width: 100%;
  margin-bottom: 30px;
}

.game-banner {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.95));
}

.game-hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #fff;
}

.game-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.version-tag,
.size-tag,
.date-tag {
  background: rgba(18, 140, 18, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.genre-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 13px;
}

.game-info-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.info-card {
  background: rgba(26, 27, 30, 0.95);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid rgba(18, 140, 18, 0.1);
}

.info-card h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(18, 140, 18, 0.2);
  padding-bottom: 10px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  color: #ccc;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: #0099ff;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.screenshot img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.screenshot img:hover {
  transform: scale(1.05);
}

.download-card {
  text-align: center;
}

.download-poster {
  margin-bottom: 20px;
}

.download-poster img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.2);
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.download-button {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  color: #fff;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.download-section {
  margin: 30px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.online-play-notice {
  background: rgba(0, 136, 204, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 136, 204, 0.3);
}

.online-play-notice p {
  margin: 0;
  color: #fff;
}

.online-play-notice a {
  color: #00aaff;
  text-decoration: none;
  font-weight: bold;
}

.online-play-notice a:hover {
  text-decoration: underline;
}

.download-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}

.download-section h3 {
  font-size: 20px;
  margin: 20px 0;
  color: #ddd;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.download-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(45deg, #0099ff, #00ffff);
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(18, 140, 18, 0.3);
  opacity: 0.9;
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.req-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.req-label {
  color: #888;
  font-weight: 500;
}

.req-value {
  color: #fff;
  text-align: right;
}

@media (max-width: 1024px) {
  .game-info-grid {
    grid-template-columns: 1fr;
  }

  .game-hero-content h1 {
    font-size: 36px;
  }

  .game-banner {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .game-hero-content h1 {
    font-size: 28px;
  }

  .game-banner {
    height: 300px;
  }

  .game-meta {
    flex-wrap: wrap;
  }
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.game-header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: #1a2526;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}

.game-header-content {
  flex: 1;
}

.game-title-section h1 {
  font-size: 36px;
  color: #fff;
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #a1a1a1;
  font-size: 14px;
  margin-bottom: 20px;
}

.game-meta .platform {
  background: #00ff00;
  color: #000;
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 600;
}

.game-meta .separator {
  color: #555;
}

.game-description {
  color: #a1a1a1;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.game-details {
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.detail-row .label {
  color: #a1a1a1;
  font-weight: 600;
  min-width: 120px;
}

.detail-row .value {
  color: #fff;
}

.detail-row .genre-tags {
  display: flex;
  gap: 8px;
}

.genre-tag {
  background: #2a2a2a;
  color: #a1a1a1;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 13px;
}

.discord-section {
  display: flex;
  justify-content: center;
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px 0;
}

.download-button,
.discord-button {
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.download-button {
  background: #00aaff;
  color: #fff;
}

.download-button:hover {
  background: #0088cc;
  transform: translateY(-2px);
}

.discord-button {
  background: #7289da;
  color: #fff;
}

.discord-button:hover {
  background: #5a6eb3;
  transform: translateY(-2px);
}

.game-poster-wrapper {
  flex: 0 0 200px;
}

.game-poster {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.game-features {
  margin-bottom: 30px;
}

.features-toggle {
  background: #2a2a2a;
  color: #fff;
  border: 1px solid #444;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: all 0.3s ease;
}

.features-toggle:hover {
  background: #3a3a3a;
}

.features-content {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-top: 10px;
}

.features-content.hidden {
  display: none;
}

.game-review {
  background: #1a2526;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.game-review h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 15px;
}

.game-review p {
  color: #a1a1a1;
  font-size: 16px;
  line-height: 1.6;
}

.screenshots {
  background: #1a2526;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.screenshots h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.screenshots-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.game-info-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.installation-guide,
.system-requirements {
  background: #1a2526;
  padding: 30px;
  border-radius: 15px;
}

.installation-guide h2,
.system-requirements h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.installation-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.step {
  display: flex;
  gap: 15px;
  color: #a1a1a1;
  font-size: 14px;
}

.step-icon {
  color: #00aaff;
  font-size: 18px;
}

.step code {
  background: #2a2a2a;
  padding: 2px 6px;
  border-radius: 5px;
  color: #fff;
}

.important-notes {
  background: #2a2a2a;
  padding: 15px;
  border-radius: 10px;
}

.important-notes h3 {
  color: #ffcc00;
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.important-notes ul {
  list-style: none;
  padding: 0;
  color: #a1a1a1;
  font-size: 14px;
}

.important-notes li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.important-notes li::before {
  content: '•';
  color: #ffcc00;
  position: absolute;
  left: 0;
}

.req-grid {
  display: flex;
  gap: 20px;
}

.req-column {
  flex: 1;
}

.req-column h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.req-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 14px;
}

.req-label {
  color: #a1a1a1;
  text-transform: uppercase;
}

.req-value {
  color: #fff;
  text-align: right;
}

/* Loader Animation */
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.2);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #0099ff;
}

/* Comments Section */
.comments-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

.comments-section h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 0 5px rgba(18, 140, 18, 0.3);
}

.comment-form {
  background: rgba(26, 27, 30, 0.8);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  border: 1px solid rgba(18, 140, 18, 0.2);
}

.comment-form textarea {
  width: 100%;
  height: 100px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 15px;
  color: #fff;
  font-size: 14px;
  resize: none;
  margin-bottom: 15px;
}

.comment-form button {
  padding: 10px 20px;
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-form button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
  transform: translateY(-2px);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item {
  background: rgba(26, 27, 30, 0.8);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(18, 140, 18, 0.2);
}

.comment-item .comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
}

.comment-item .comment-author {
  font-weight: 600;
}

.comment-item .comment-date {
  color: #888;
}

.comment-item p {
  color: #fff;
  line-height: 1.6;
}

/* Breadcrumb Navigation */
.breadcrumb {
  max-width: 1400px;
  margin: 20px auto;
  padding: 0 20px;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb li {
  color: #888;
}

.breadcrumb a {
  color: #0099ff;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #e600e6;
}

.breadcrumb li + li::before {
  content: '>';
  margin-right: 10px;
}

/* Social Share Buttons */
.social-share {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.share-btn {
  padding: 8px 16px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.share-btn.facebook {
  background: #3b5998;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.discord {
  background: #7289da;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Compact Modern Footer */
.site-footer {
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.98), rgba(20, 20, 30, 0.95));
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(18, 140, 18, 0.1);
  padding: 35px 20px 20px;
  font-family: system-ui;
  color: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 140, 18, 0.5), transparent);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo-area {
  flex: 1 1 250px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.footer-logo-area:hover {
  background: rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.3);
  transform: translateY(-2px);
}

.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(18, 140, 18, 0.3));
}

.footer-logo:hover {
  transform: scale(1.05);
}

.disclaimer-text {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  flex: 2;
  gap: 20px;
}

.footer-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.footer-box:hover {
  background: rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 140, 18, 0.2);
}

.footer-box h3 {
  color: #0099ff;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 2px solid rgba(18, 140, 18, 0.3);
  padding-bottom: 6px;
  text-shadow: 0 0 10px rgba(18, 140, 18, 0.5);
}

.footer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-box ul li {
  margin: 0;
}

.footer-box ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  display: block;
  transition: all 0.3s ease;
  position: relative;
}

.footer-box ul li a:hover {
  color: #fff;
  background: rgba(18, 140, 18, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(18, 140, 18, 0.3);
}

.footer-box ul li a::before {
  content: '▶';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  color: #0099ff;
  font-size: 8px;
}

.footer-box ul li a:hover::before {
  opacity: 1;
  left: -8px;
}

.footer-bottom {
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: none;
  border-bottom: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 25px 15px 15px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 18px;
  }
  
  .footer-logo-area {
    max-width: 100%;
    text-align: center;
    padding: 15px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }
  
  .footer-box {
    padding: 15px;
  }
  
  .footer-box h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .footer-bottom {
    margin-top: 20px;
    padding-top: 12px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-logo {
    width: 120px;
  }
  
  .disclaimer-text {
    font-size: 11px;
  }
}

/* User Profile Section */
.user-profile {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.profile-header {
  display: flex;
  gap: 30px;
  background: rgba(26, 27, 30, 0.8);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  border: 1px solid rgba(18, 140, 18, 0.2);
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.3);
}

.profile-info {
  flex: 1;
}

.profile-info h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
}

.profile-info p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

.profile-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.profile-btn {
  padding: 10px 20px;
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;


/* Series Watch Page Styles */
.watch-series-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.series-info-panel {
  background: rgba(26, 27, 30, 0.8);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(18, 140, 18, 0.1);
}

.series-header-flex {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.series-poster {
  flex: 0 0 200px;
}

.series-poster img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.3);
}

.series-header {
  flex: 1;
}

.series-header h1 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.series-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 16px;
}

.series-meta .rating {
  color: #ffd700;
}

.series-meta .year,
.series-meta .seasons {
  color: #ccc;
}

.favourite-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 140, 18, 0.2);
  color: #fff;
  border: 1px solid rgba(18, 140, 18, 0.3);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.favourite-button:hover,
.favourite-button.active {
  background: rgba(18, 140, 18, 0.4);
  border-color: #0099ff;
  transform: translateY(-2px);
}

.favourite-button.active i {
  color: #0099ff;
}

.overview {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 16px;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.episodes-container {
  background: rgba(26, 27, 30, 0.8);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(18, 140, 18, 0.1);
}

.episodes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.season-select {
  padding: 12px 20px;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.season-select:hover,
.season-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.episode-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.episode-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 140, 18, 0.3);
  box-shadow: 0 8px 25px rgba(18, 140, 18, 0.2);
}

.episode-card.active {
  border-color: #0099ff;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.4);
}

.episode-thumbnail {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.episode-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.episode-card:hover .episode-thumbnail img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.episode-card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  color: #fff;
  font-size: 24px;
  text-shadow: 0 0 10px rgba(18, 140, 18, 0.5);
}

.episode-info {
  padding: 15px;
}

.episode-info h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 8px;
}

.episode-info p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.similar-section {
  background: rgba(26, 27, 30, 0.8);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(18, 140, 18, 0.1);
}

.similar-section h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.similar-card {
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.similar-card:hover {
  transform: translateY(-5px);
}

.similar-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(18, 140, 18, 0.2);
  margin-bottom: 10px;
}

.similar-title {
  font-size: 14px;
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }

  .similar-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

}

.profile-btn:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
  transform: translateY(-2px);
}

/* News Section */
.news-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.news-card {
  background: rgba(26, 27, 30, 0.8);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid rgba(18, 140, 18, 0.2);
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.news-content p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.news-content .read-more {
  color: #0099ff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.news-content .read-more:hover {
  color: #e600e6;
}

/* Contact Page */
.contact-page {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.contact-form {
  background: rgba(26, 27, 30, 0.8);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
}

.contact-form h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-form label {
  display: block;
  color: #ccc;
  font-size: 14px;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form button {
  padding: 12px 24px;
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
  transform: translateY(-2px);
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 120px auto 60px;
  padding: 40px;
  background: rgba(26, 27, 30, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.2);
  border: 1px solid rgba(18, 140, 18, 0.1);
}

.legal-content h1 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-content h2 {
  font-size: 24px;
  color: #0099ff;
margin: 25px 0 15px;
}

.legal-content p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.legal-content ul {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-content ul li {
  color: #ccc;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.legal-content ul li:before {
  content: '•';
  color: #0099ff;
  position: absolute;
  left: 0;
}

.legal-content .contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.legal-content .contact-info p {
  margin: 5px 0;
}

/* Error Pages (404, 500, etc.) */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.error-page h1 {
  font-size: 72px;
  color: #0099ff;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(18, 140, 18, 0.5);
}

.error-page p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

.error-page a {
  padding: 12px 24px;
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.error-page a:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .game-container,
  .latest-movies,
  .all-movies,
  .watch-section,
  .watch-series-section,
  .sports-section,
  .search-results,
  .comments-section,
  .user-profile,
  .news-section,
  .contact-page {
    max-width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 1024px) {
  .featured-content {
    flex-direction: column;
    padding: 80px 20px;
  }

  .featured-details h1 {
    font-size: 36px;
  }

  .popular-carousel {
    max-width: 100%;
  }

  .carousel-wrapper {
    height: auto;
  }

  .search-results .search-content {
    flex-direction: column;
  }

  .search-results .filters {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .watch-header {
    flex-direction: column;
    align-items: center;
  }

  .video-player iframe {
  height: -webkit-fill-available;
  overflow: hidden !important;
  }

  .video-and-episodes-container {
    flex-wrap: wrap;
  }

  .video-container, .episode-container {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .video-container {
    margin-bottom: 20px;
  }

  .episode-container {
    max-height: none;
    overflow-y: visible;
  }

  .episode-item img {
    height: 120px;
  }

  .episode-item h4 {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .game-header {
    flex-direction: column;
  }

  .game-poster-wrapper {
    max-width: 200px;
    margin: 0 auto;
  }

  .game-info-sections {
    grid-template-columns: 1fr;
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
  }

  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    position: absolute;
    top: 20px;
    left: 20px;
  }

  .nav-item.mobile-hide {
    display: none;
  }

  .navbar {
    flex-direction: column;
    padding: 15px;
    position: fixed;
    height: auto;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  body {
  }

  .logo {
    margin: 0 auto;
  }

  .nav-links-container {
    width: 100%;
    margin: 0;
    order: 3;
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links-container.active {
    display: block;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: transparent;
  }

  .nav-item {
    padding: 12px;
    text-align: center;
    font-size: 16px;
  }

  .search-container {
    width: 100%;
    margin-top: 15px;
  }

  .nav-item {
    padding: 10px;
    font-size: 14px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .nav-item:hover, .nav-item.active {
    background: rgba(18, 140, 18, 0.2);
  }

  .search-container {
    width: 100%;
    order: 2;
    margin: 10px 0;
  }

  @media (max-width: 768px) {
    .watch-section .search-container,
    .watch-series-section .search-container,
    .watch-sport-section .search-container {
      display: none;
    }
  }

  .search-form {
    width: 100%;
  }

  .search-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 15px;
  }

  /* Mobile optimizations for other sections */
  .featured-section {
    padding-top: 180px;
  }

  .watch-section,
  .watch-series-section,
  .sports-section,
  .live-tv-section {
    padding-top: 200px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }

  .event-card {
    margin: 0;
  }

  .latest-movies-grid,
  .all-movies-grid,
  .latest-series-grid,
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .movie-info h3,
  .series-info h3 {
    font-size: 13px;
  }

  .movie-meta,
  .series-meta {
    font-size: 11px;
  }

  .filter-container {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .filter-group {
    width: 100%;
  }

  .carousel-wrapper {
    padding: 0 10px;
  }

  .carousel-item {
    width: 140px;
  }

  .carousel-prev,
  .carousel-next {
    width: 30px;
    height: 30px;
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  .latest-movies-grid,
  .all-movies-grid,
  .latest-series-grid,
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-details h1 {
    font-size: 24px;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .jump-in,
  .details-btn {
    width: 100%;
    text-align: center;
  }
}

  @media (max-width: 768px) {
    .filter-container {
      flex-direction: column;
      align-items: flex-start;
    }

    .filter-container label {
      margin-top: 10px;
    }

    .filter-container select {
      width: 100%;
    }

    .filter-group {
      width: 100%;
    }
  }

  .latest-movies-grid,
  .all-movies-grid,
  .latest-series-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .game-title-section h1 {
    font-size: 28px;
  }

  .download-section {
    flex-direction: column;
  }

  .req-grid {
    flex-direction: column;
  }

  .video-player iframe {
    height: 300px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .game-title-section h1 {
    font-size: 22px;
  }

  .game-meta {
    flex-direction: column;
    gap: 5px;
  }

  .download-section {
    align-items: center;
  }

  .comment-form textarea {
    height: 80px;
  }

  .error-page h1 {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .featured-details h1 {
    font-size: 28px;
  }

  .meta {
    flex-direction: column;
    gap: 5px;
  }

  .carousel-item {
    width: 150px;
  }

  .carousel-item img {
    height: 220px;
  }

  .search-results .search-grid {
    grid-template-columns: 1fr;
  }

  .game-title-section h1 {
    font-size: 24px;
  }

  .game-meta {
    flex-direction: column;
    gap: 5px;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .download-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Clean Sports Page Styles */
.sports-page-new {
  background: #0a0a0a;
  min-height: 100vh;
  padding-top: 80px;
}

/* Simple Header */
.sports-header-simple {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
}

.header-content {
  text-align: center;
}

.main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 25px;
  color: #ff3838;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Clean Filters */
.sports-filters-clean {
  background: rgba(26, 27, 30, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 20px 70px;
  backdrop-filter: blur(10px);
  position: relative;
}

.filters-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.08) 100%);
  border-radius: 25px;
  border: 2px solid transparent;
  background-clip: padding-box;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.filter-row::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 2px;
  background: linear-gradient(135deg, 
    rgba(18, 140, 18, 0.4) 0%, 
    rgba(0, 255, 136, 0.3) 50%, 
    rgba(18, 140, 18, 0.4) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  z-index: -1;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.01) 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-item:hover {
  background: linear-gradient(135deg, 
    rgba(18, 140, 18, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%,
    rgba(0, 255, 136, 0.08) 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 10px 25px rgba(18, 140, 18, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.3);
}

.filter-item label {
  color: #0099ff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 
    0 0 15px rgba(18, 140, 18, 0.8),
    0 0 30px rgba(18, 140, 18, 0.4);
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.filter-item:hover label {
  color: #fff;
  text-shadow: 
    0 0 20px rgba(18, 140, 18, 1),
    0 0 40px rgba(18, 140, 18, 0.6),
    0 0 60px rgba(18, 140, 18, 0.3);
  transform: translateX(5px);
}

.filter-item label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  border-radius: 50%;
  box-shadow: 
    0 0 15px rgba(18, 140, 18, 1),
    0 0 30px rgba(18, 140, 18, 0.6),
    0 0 45px rgba(18, 140, 18, 0.3);
  animation: filterPulse 2.5s ease-in-out infinite;
  transition: all 0.3s ease;
}

.filter-item:hover label::before {
  width: 10px;
  height: 10px;
  box-shadow: 
    0 0 20px rgba(18, 140, 18, 1),
    0 0 40px rgba(18, 140, 18, 0.8),
    0 0 60px rgba(18, 140, 18, 0.5);
}

@keyframes filterPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 
      0 0 15px rgba(18, 140, 18, 1),
      0 0 30px rgba(18, 140, 18, 0.6),
      0 0 45px rgba(18, 140, 18, 0.3);
  }
  33% { 
    transform: scale(1.3);
    box-shadow: 
      0 0 20px rgba(18, 140, 18, 1),
      0 0 40px rgba(18, 140, 18, 0.8),
      0 0 60px rgba(18, 140, 18, 0.5);
  }
  66% { 
    transform: scale(0.9);
    box-shadow: 
      0 0 10px rgba(0, 255, 136, 1),
      0 0 25px rgba(0, 255, 136, 0.6),
      0 0 40px rgba(0, 255, 136, 0.3);
  }
}

/* Unified Sports Filter Styling */
.sports-filters-clean .filter-item select,
.sports-controls .modern-select,
.sports-filters-clean .filter-item input,
.sports-controls .modern-search,
.filter-item select,
.filter-item input,
#sportCategoryFilter,
#sportCategoryFilter select,
#sportCategoryFilter input,
#sportsFilter,
#eventSearch {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(15, 16, 20, 0.95) 0%, rgba(25, 26, 30, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 100%;
}

.sports-filters-clean .filter-item select,
.sports-controls .modern-select,
.filter-item select,
#sportCategoryFilter,
#sportCategoryFilter select,
#sportsFilter {
  cursor: pointer;
  appearance: none;
  background-image: 
    linear-gradient(135deg, rgba(15, 16, 20, 0.95) 0%, rgba(25, 26, 30, 0.95) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.5L7 9.5L11 5.5' stroke='%23ff00ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right 18px center;
  background-size: cover, 14px;
  padding-right: 50px;
}

.sports-filters-clean .filter-item select:hover,
.sports-filters-clean .filter-item input:hover,
.sports-controls .modern-select:hover,
.sports-controls .modern-search:hover,
.filter-item select:hover,
.filter-item input:hover,
#sportCategoryFilter:hover,
#sportCategoryFilter select:hover,
#sportCategoryFilter input:hover,
#sportsFilter:hover,
#eventSearch:hover {
  border-color: rgba(18, 140, 18, 0.4);
  background: linear-gradient(135deg, rgba(20, 21, 25, 0.98) 0%, rgba(30, 31, 35, 0.98) 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(18, 140, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sports-filters-clean .filter-item select:focus,
.sports-filters-clean .filter-item input:focus,
.sports-controls .modern-select:focus,
.sports-controls .modern-search:focus,
.filter-item select:focus,
.filter-item input:focus,
#sportCategoryFilter:focus,
#sportCategoryFilter select:focus,
#sportCategoryFilter input:focus,
#sportsFilter:focus,
#eventSearch:focus {
  border-color: #0099ff;
  background: linear-gradient(135deg, rgba(20, 21, 25, 1) 0%, rgba(30, 31, 35, 1) 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 0 30px rgba(18, 140, 18, 0.5),
    0 0 0 3px rgba(18, 140, 18, 0.15),
    0 8px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sports-filters-clean .filter-item select:active,
.sports-controls .modern-select:active,
.filter-item select:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(18, 140, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sports-filters-clean .filter-item select option,
.sports-controls .modern-select option,
.filter-item select option {
  background: #1a1b1e !important;
  color: #fff !important;
  padding: 16px;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sports-filters-clean .filter-item select option:hover,
.sports-filters-clean .filter-item select option:checked,
.sports-controls .modern-select option:hover,
.sports-controls .modern-select option:checked,
.filter-item select option:hover,
.filter-item select option:checked {
  background: #0099ff !important;
  color: #fff !important;
  font-weight: 600;
}

/* Search input styling for sports filters */
.sports-filters-clean .search-item,
.sports-controls .search-item {
  position: relative;
}

.sports-filters-clean .search-item::after,
.sports-controls .search-item::after {
  content: '🔍';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.sports-filters-clean .search-item:hover::after,
.sports-filters-clean .search-item:focus-within::after,
.sports-controls .search-item:hover::after,
.sports-controls .search-item:focus-within::after {
  opacity: 1;
}

/* Sports Content */
.sports-content {
  padding: 40px 0;
}

.content-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.sport-section-clean {
  margin-bottom: 50px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sport-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sport-icon {
  color: #0099ff;
  filter: drop-shadow(0 0 10px rgba(18, 140, 18, 0.5));
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 20px;
  color: #ff3838;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

/* Sports Hero Section */
.sports-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  z-index: 1;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(18, 140, 18, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(18, 140, 18, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(18, 140, 18, 0.08) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 23, 0.4) 0%,
    rgba(16, 21, 62, 0.6) 40%,
    rgba(15, 15, 35, 0.8) 100%
  );
  z-index: 2;
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(45deg, #0099ff, #00ff88, #0099ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: gradientShift 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(18, 140, 18, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(18, 140, 18, 0.1);
  border-color: rgba(18, 140, 18, 0.3);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #0099ff;
  text-shadow: 0 0 10px rgba(18, 140, 18, 0.5);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sports Controls Section */
.sports-controls {
  background: rgba(26, 27, 30, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  backdrop-filter: blur(20px);
  position: sticky;
  top: 70px;
  z-index: 5;
}

.controls-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-section {
  text-align: center;
}

.filter-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0099ff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sports Events Section */
.sports-events {
  padding: 3rem 0;
  background: #0a0a0a;
}

.events-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.sport-category {
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.category-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sport-icon {
  font-size: 1.5rem;
  color: #0099ff;
  filter: drop-shadow(0 0 10px rgba(18, 140, 18, 0.5));
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.live-text {
  color: #ff3838;
  font-weight: 600;
}

.category-stats {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.event-count {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern Events Grid */
.events-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .events-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .events-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .events-grid-modern {
    grid-template-columns: 1fr;
  }
}

.event-card-modern {
  background: linear-gradient(145deg, rgba(15, 20, 30, 0.95), rgba(10, 15, 25, 0.95));
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  height: auto;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.event-card-modern:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.5);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(18, 140, 18, 0.2);
  background: linear-gradient(145deg, rgba(20, 25, 35, 0.98), rgba(15, 20, 30, 0.98));
}

.event-image-container {
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  position: relative;
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.9), rgba(25, 30, 40, 0.9));
  flex-shrink: 0;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-image-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.9), rgba(25, 30, 40, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.event-image-fallback::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(18, 140, 18, 0.1) 0%, transparent 70%);
}

/* Sport-specific fallback backgrounds */
.event-image-fallback.soccer {
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.3), rgba(50, 205, 50, 0.2));
}

.event-image-fallback.nba,
.event-image-fallback.basketball {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.3), rgba(255, 69, 0, 0.2));
}

.event-image-fallback.nfl,
.event-image-fallback.football {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.3), rgba(160, 82, 45, 0.2));
}

.event-image-fallback.nhl,
.event-image-fallback.hockey {
  background: linear-gradient(135deg, rgba(70, 130, 180, 0.3), rgba(100, 149, 237, 0.2));
}

.event-image-fallback.mlb,
.event-image-fallback.baseball {
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.3), rgba(46, 125, 50, 0.2));
}

.event-image-fallback.mma,
.event-image-fallback.boxing {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.3), rgba(178, 34, 34, 0.2));
}

.event-image-fallback.tennis {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.2));
}

.event-image-fallback.golf {
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.3), rgba(85, 107, 47, 0.2));
}

.event-image-fallback.f1,
.event-image-fallback.motorsport {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(139, 0, 0, 0.2));
}

.event-card-modern:hover .event-image {
  transform: scale(1.1);
}

.event-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.85);
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  border-radius: 10px;
  z-index: 3;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewer-count {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.viewer-count i {
  font-size: 0.7rem;
  opacity: 0.8;
}

.viewer-number {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

.status-live {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 56, 56, 0.2);
  padding: 4px 8px;
  border-radius: 12px;
  color: #ff3838;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 56, 56, 0.3);
}

.status-upcoming {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 165, 0, 0.2);
  padding: 4px 8px;
  border-radius: 12px;
  color: #ffa500;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 165, 0, 0.3);
}

.event-time {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.event-content-modern {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-teams {
  flex: 1;
}

.event-title-modern {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 2.4em;
}

.event-teams-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 0;
  padding: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid;
  background: transparent;
}

.team-circle.red {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.2);
}

.team-circle.blue {
  border-color: #4444ff;
  background: rgba(68, 68, 255, 0.2);
}

.team-name {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: lowercase;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vs-divider {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 600;
  margin: 3px 0;
  letter-spacing: 1px;
}

.event-meta-modern {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  margin: 6px 0;
}

.event-date,
.event-league {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.event-date i,
.event-league i {
  font-size: 0.8rem;
  opacity: 0.9;
}

.watch-btn-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  border: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: auto;
  min-height: 32px;
}

.watch-btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.event-card-modern:hover .watch-btn-modern {
  background: linear-gradient(135deg, #e55a2b, #e8851a);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.event-card-modern:hover .watch-btn-modern::before {
  left: 100%;
}

.watch-btn-modern i {
  font-size: 1rem;
}

.event-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.03), rgba(0, 255, 136, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 16px;
}

.event-card-modern:hover .event-hover-effect {
  opacity: 1;
}

/* No Events Card */
.no-events-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(26, 27, 30, 0.5);
  border-radius: 16px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.no-events-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.no-events-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.no-events-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

/* No Live Events Message */
.no-live-events-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(26, 27, 30, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem 0;
}

.no-live-events-message p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .sports-hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .events-grid-modern {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-card-modern {
    height: auto;
    min-height: 140px;
  }

  .event-content-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .event-action {
    margin-left: 0;
    width: 100%;
  }

  .watch-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Events Section (Used by both /live-tv and /sports) */
.events {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.sport-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sport-section h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 3px;
  padding: 15px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover:before {
  opacity: 1;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.event-status {
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-card:hover .event-time {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
  border-color: transparent;
}

.event-meta-header {
  background: rgba(28, 28, 35, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
}

.event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin: 4px;
  padding: 20px;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 3px;
}

.watch-button {
  background: linear-gradient(45deg, #9333ea, #7e22ce);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.watch-button svg {
  width: 20px;
  height: 20px;
}

.watch-button:hover {
  background: linear-gradient(45deg, #a855f7, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.4);
}

.watch-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.watch-button:hover:after {
  transform: translateX(100%);
}

.watch-button:hover {
  background: #1d4ed8;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.req-single {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.req-single h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.filtered-out-category {
  display: none;
}


.related-events {
  margin-top: 40px;
  text-align: center;
}

.related-events h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center;
}

.related-event-item {
  width: 200px; /* Fixed width for all items */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff; /* White background for content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.related-event-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.related-event-image {
  position: relative;
  width: 100%;
  height: 120px; /* Fixed height for images */
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

.games-section {
  padding: 100px 20px 20px;
  background: #0a0a0a;
  max-width: 1400px;
  margin: 0 auto;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(26, 27, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid #333;
}
.software-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-item {
    background: #13151a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.software-poster {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.software-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

.software-info {
    padding: 15px;
}

.software-info h3 {
    color: #fff;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.software-genre {
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(18, 140, 18, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-card-link:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.event-description {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.event-description p {
  color: #a1a1a1;
  line-height: 1.6;
  font-size: 1.1em;
  margin: 0;
}

.watch-sport-meta {
    margin-top: 15px;
    font-size: 1.2em;
    color: #a1a1a1;
}
@media (max-width: 768px) {
  .watch-series-section,
  .watch-section,
  .watch-sport-section {
    padding: 280px 10px 20px;
  }

  .watch-series-section .search-container,
  .watch-section .search-container,
  .watch-sport-section .search-container {
    display: none;
  }

  .video-container {
    margin: 0 -10px;
  }

  .video-player {
    border-radius: 0;
  }

  .player-controls {
    padding: 10px;
  }

  .series-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-poster {
    margin-bottom: 20px;
  }

  .series-header h1 {
    font-size: 24px;
  }

  .source-select {
    width: 100%;
    max-width: none;
  }

  .episodes-header {
    flex-direction: column;
    gap: 10px;
  }

  .season-select,
  .episode-search {
    width: 100%;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }
}

.watch-section {
  padding: 220px 20px 20px;
  background: #0a0a0a;
  min-height: 100vh;
}

.watch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.watch-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.watch-details {
  font-size: 16px;
  color: #a1a1a1;
  margin-bottom: 20px;
}

.watch-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(18, 140, 18, 0.3);
  margin-bottom: 30px;
}

.stream-buttons {
  background: #1a2526;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.stream-buttons h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.source-select {
  padding: 12px 20px;
  border: 1px solid rgba(18, 140, 18, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.source-select:hover, .source-select:focus {
  background-color: rgba(25, 25, 25, 0.9);
  border-color: #0099ff;
  box-shadow: 0 0 15px rgba(18, 140, 18, 0.2);
}

.source-select option {
  background: #111;
  color: #fff;
  padding: 10px;
}

.stream-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.stream-button.active {
  background: linear-gradient(45deg, #0099ff, #cc00cc);
}

.stream-button:hover {
  background: linear-gradient(45deg, #e600e6, #b300b3);
}

.back-link {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #555;
}

/* Responsive Design for /live-tv and /sports Pages */
@media (max-width: 1024px) {
  .watch-section iframe {
    height: 400px;
  }

  .event-card.simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watch-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sport-section h1 {
    font-size: 22px;
  }

  .event-title {
    font-size: 14px;
  }

  .watch-title {
    font-size: 28px;
  }

  .watch-section iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .watch-title {
    font-size: 24px;
  }

  .watch-details {
    font-size: 14px;
  }

  .watch-section iframe {
    height: 200px;
  }

  .stream-buttons h2 {
    font-size: 18px;
  }

  .source-select,
  .stream-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Live Sports Section */
.live-sports {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sports-header h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(45deg, #0099ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sport-event-card {
  background: rgba(18, 18, 20, 0.95);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

.sport-event-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(18, 140, 18, 0.2);
  box-shadow: 0 8px 32px rgba(18, 140, 18, 0.15);
  background: rgba(22, 22, 26, 0.95);
}

.event-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sport-event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-event-card:hover .event-overlay {
  opacity: 1;
}

.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(18, 140, 18, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.sport-event-card:hover .play-icon {
  transform: scale(1);
}

.event-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sport-badge {
  background: linear-gradient(45deg, rgba(18, 140, 18, 0.2), rgba(0, 255, 255, 0.2));
  color: #0099ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(18, 140, 18, 0.3);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff3838;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff3838;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.event-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.no-sports-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-sports-message h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.no-sports-message p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .sports-events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .sport-event-card {
    height: auto;
  }

  .event-image {
    height: 140px;
  }

  .event-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .event-status-bar {
    padding: 0.8rem 1rem 0;
  }

  .event-content-modern {
    padding: 0.8rem 1rem 1rem;
  }

  .event-title-modern {
    font-size: 1rem;
  }

  .event-meta-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
}