.page-sports {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-sports__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 80px 20px;
  overflow: hidden;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  padding-top: 50px; /* Additional spacing below header offset for hero content */
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: #FCBC45; /* Login color for emphasis */
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-sports__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-sports__button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-sports__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-sports__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-sports__button--live-betting, .page-sports__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__button--live-betting:hover, .page-sports__button--join-now:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-sports__button--view-promos, .page-sports__button--learn-more, .page-sports__button--view-details {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-sports__button--view-promos:hover, .page-sports__button--learn-more:hover, .page-sports__button--view-details:hover {
  background-color: #333333;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-sports__introduction-section, .page-sports__why-choose-section, .page-sports__covered-sports-section,
.page-sports__betting-options-section, .page-sports__live-betting-section, .page-sports__promotions-section,
.page-sports__responsible-gaming-section, .page-sports__detail-pages-section, .page-sports__cta-section,
.page-sports__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-sports__introduction-section, .page-sports__covered-sports-section,
.page-sports__live-betting-section, .page-sports__responsible-gaming-section,
.page-sports__cta-section {
  text-align: center;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
}

.page-sports__text-content {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-sports__features-grid, .page-sports__options-grid, .page-sports__detail-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-card, .page-sports__option-card, .page-sports__detail-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-card:hover, .page-sports__option-card:hover, .page-sports__detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-sports__feature-title, .page-sports__option-title, .page-sports__detail-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-sports__detail-title a {
  color: #000000;
  text-decoration: none;
}

.page-sports__detail-title a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-sports__feature-description, .page-sports__option-description, .page-sports__detail-description {
  font-size: 1em;
  color: #555555;
}

.page-sports__sports-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-sports__sports-item {
  background-color: #f2f2f2;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333;
}

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

.page-sports__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-sports__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-sports__faq-answer {
  font-size: 1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has offset */
  }

  .page-sports__hero-section {
    padding: 60px 15px;
  }

  .page-sports__hero-title {
    font-size: 2.2em;
  }

  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__button {
    width: 100%;
    padding: 12px 25px;
  }

  .page-sports__section-title {
    font-size: 2em;
  }

  .page-sports__text-content {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-sports__features-grid, .page-sports__options-grid, .page-sports__detail-pages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-card, .page-sports__option-card, .page-sports__detail-card {
    padding: 25px;
  }

  .page-sports__feature-icon, .page-sports__detail-image {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
    height: auto;
  }

  /* Ensure all images within .page-sports do not overflow */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-sports__sports-list {
    margin-top: 30px;
  }

  .page-sports__sports-item {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-sports__faq-question {
    font-size: 1.1em;
  }
}