.page-sports {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-sports__dark-bg {
  background-color: #0d0d0d; /* Slightly darker than body for visual contrast */
  color: #ffffff;
}

.page-sports__section-title {
  font-size: 2.5rem;
  color: #ffc107; /* Accent color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-sports__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-sports__btn-secondary:hover {
  background-color: #ffc107;
  color: #121212;
}

.page-sports__btn-link {
  color: #007bff;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-sports__btn-link:hover {
  color: #ffc107;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  padding: 80px 20px; /* Base padding */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
  background-color: #1a1a1a; /* Fallback if image not loaded */
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-sports__hero-title {
  font-size: 3.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffc107;
}

.page-sports__hero-description {
  font-size: 1.4rem;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-sports__cta-buttons--center {
  margin-top: 40px;
}

/* About Section */
.page-sports__about-section {
  padding: 80px 0;
}

.page-sports__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-sports__feature-title {
  font-size: 1.8rem;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Providers Section */
.page-sports__providers-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-sports__provider-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__provider-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__provider-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-sports__provider-name {
  font-size: 1.6rem;
  color: #ffc107;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__provider-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e0e0e0;
}

/* Video Section */
.page-sports__video-section {
  padding: 80px 0;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-sports__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-sports__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__promo-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__promo-title {
  font-size: 1.7rem;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__promo-title a {
  color: #007bff;
  text-decoration: none;
}

.page-sports__promo-title a:hover {
  color: #ffc107;
}

.page-sports__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
}

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-sports__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__guide-heading {
  font-size: 1.8rem;
  color: #ffc107;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__guide-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e0e0e0;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-sports__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #007bff; /* Primary color for question background */
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #0056b3;
}

.page-sports__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-sports__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-sports__faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.page-sports__faq-answer .page-sports__btn-link {
  display: inline-block;
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3rem;
  }
  .page-sports__hero-description {
    font-size: 1.2rem;
  }
  .page-sports__section-title {
    font-size: 2.2rem;
  }
  .page-sports__text-block {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-sports__hero-title {
    font-size: 2.2rem;
  }
  .page-sports__hero-description {
    font-size: 1.1rem;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__section-title {
    font-size: 1.8rem;
  }
  .page-sports__text-block {
    font-size: 0.95rem;
  }
  .page-sports__about-section,
  .page-sports__providers-section,
  .page-sports__video-section,
  .page-sports__promotions-section,
  .page-sports__guide-section,
  .page-sports__faq-section {
    padding: 50px 0;
  }
  .page-sports__features-grid,
  .page-sports__provider-logos,
  .page-sports__promo-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-sports__feature-item,
  .page-sports__provider-item,
  .page-sports__promo-card,
  .page-sports__guide-item,
  .page-sports__faq-item {
    padding: 20px;
  }
  .page-sports__feature-title,
  .page-sports__provider-name,
  .page-sports__promo-title,
  .page-sports__guide-heading {
    font-size: 1.5rem;
  }
  .page-sports__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-sports__faq-answer {
    padding: 0 20px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 20px;
  }

  /* Image and Video Responsive Rules */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper,
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-sports__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-sports__cta-buttons.page-sports__cta-buttons--center {
    flex-direction: column;
  }
  .page-sports__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
  }
}