.page-sports {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF;
}

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

.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.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;
  opacity: 0.3; /* Subtle overlay to make text pop */
}

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

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

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

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

.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;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

.page-sports__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-sports__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__button--download:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

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

.page-sports__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.page-sports__about-section, .page-sports__sports-covered-section, .page-sports__betting-guide-section, .page-sports__cta-section, .page-sports__testimonials-section, .page-sports__faq-section {
  padding: 60px 0;
}

.page-sports__about-section {
  background-color: #F8F8F8;
}

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

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

.page-sports__feature-card:hover {
  transform: translateY(-5px);
}

.page-sports__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 250px; /* Limit height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-sports__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-sports__feature-text {
  color: #666666;
  font-size: 1em;
}

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

.page-sports__sport-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__sport-image {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-sports__sport-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-sports__sport-text {
  font-size: 1em;
  color: #E0E0E0;
}

.page-sports__betting-guide-section {
  background-color: #F8F8F8;
}

.page-sports__guide-card {
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 800px;
  margin: 40px auto;
}

.page-sports__guide-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.page-sports__guide-content {
  padding: 30px;
  text-align: center;
}

.page-sports__guide-title {
  font-size: 2em;
  margin-bottom: 15px;
}

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

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

.page-sports__guide-description {
  color: #555555;
  font-size: 1.1em;
  margin-bottom: 25px;
}

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

.page-sports__button--view-details:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-sports__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-sports__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-sports__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.2em;
  padding: 18px 40px;
}

.page-sports__button--join-now:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-sports__testimonials-section {
  background-color: #F8F8F8;
}

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

.page-sports__testimonial-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-style: italic;
  color: #555555;
}

.page-sports__testimonial-text {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-sports__testimonial-author {
  font-weight: bold;
  color: #000000;
  font-style: normal;
}

.page-sports__faq-section {
  padding-bottom: 80px;
}

.page-sports__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #F5F5F5;
  border-bottom: 1px solid #E0E0E0;
}

.page-sports__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-sports__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-sports__faq-answer {
  padding: 20px;
  color: #666666;
  font-size: 1em;
  display: none;
  background-color: #FFFFFF;
}

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

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

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

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

  .page-sports__hero-description {
    font-size: 1.1em;
  }

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

  .page-sports__button {
    width: 100%;
    max-width: 300px;
  }

  .page-sports__section-title {
    font-size: 2em;
    padding-top: 30px;
  }

  .page-sports__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-sports__features-grid, .page-sports__sport-cards-grid, .page-sports__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__guide-card {
    margin: 30px 15px;
  }

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

  .page-sports__cta-description {
    font-size: 1em;
  }

  .page-sports__button--join-now {
    padding: 15px 30px;
    font-size: 1.1em;
  }

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

  /* Ensure content images do not overflow on mobile */
  .page-sports__hero-image,
  .page-sports__feature-icon,
  .page-sports__sport-image,
  .page-sports__guide-image {
    max-width: 100%;
    height: auto;
  }

  .page-sports__container {
    padding: 0 15px;
  }
}

/* Critical: Content area images must not be smaller than 200px */
.page-sports img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Specific overrides for smaller images, if any, to ensure they meet minimum size */
/* This rule ensures that any image within .page-sports, regardless of its specific class, adheres to the minimum size. */
.page-sports img:not(.shared-logo):not(.shared-icon) {
  min-width: 200px !important;
  min-height: 200px !important;
}

/* Ensure CSS width/height are consistent with HTML attributes or responsive */
.page-sports__hero-image {
  width: 100%; /* Will be overridden by object-fit cover and parent's 100% width/height */
  height: 100%;
}

/* Example for feature icons */
.page-sports__feature-icon {
  width: 100%; /* HTML width="400" will be honored if no max-width */
  max-width: 400px; /* Constrain to original HTML width */
  height: auto; /* Maintain aspect ratio */
}

.page-sports__sport-image {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.page-sports__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
}

/* Ensure no filter is applied to images */
.page-sports img {
  filter: none; /* Explicitly ensure no filters are applied */
}

.page-sports__guide-title a {
  text-decoration: none;
}

.page-sports__guide-title a:hover {
  text-decoration: underline;
}