.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); /* Fixed header offset */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

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

.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 0;
  text-align: center;
}

.page-sports__hero-container {
  position: relative;
  width: 100%;
  height: auto;
}

.page-sports__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.7; /* Slightly dim the image for text readability */
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text contrast */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-transform: uppercase;
}

.page-sports__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

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

.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;
  cursor: pointer;
  border: none;
}

.page-sports__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

.page-sports__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-sports__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

.page-sports__about-section,
.page-sports__features-section,
.page-sports__promo-section,
.page-sports__guide-section,
.page-sports__how-to-section,
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-sports__feature-card,
.page-sports__step-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Ensure cards have a consistent minimum height */
}

.page-sports__feature-card:hover,
.page-sports__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-image {
  width: 100%;
  max-width: 400px; /* Max width to ensure image is not too large */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-sports__feature-description,
.page-sports__step-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1; /* Allows description to take available space */
}

.page-sports__promo-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports__button--promo {
  background-color: #FCBC45;
  color: #000000;
}

.page-sports__button--promo:hover {
  background-color: #e6a73a;
}

.page-sports__button--more-promos {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.page-sports__button--more-promos:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-sports__guide-list {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.page-sports__guide-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  width: 100%;
}

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

.page-sports__guide-item-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sports__guide-item-title a:hover {
  color: #FCBC45;
}

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

.page-sports__button--view-details {
  background-color: #FCBC45;
  color: #000000;
}

.page-sports__button--view-details:hover {
  background-color: #e6a73a;
}

.page-sports__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
  line-height: 1;
}

.page-sports__button--step-action {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: auto; /* Push button to the bottom */
}

.page-sports__button--step-action:hover {
  background-color: #333333;
}

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

.page-sports__cta-section .page-sports__section-title {
  color: #FFFFFF;
}

.page-sports__cta-section .page-sports__section-title::after {
  background-color: #FCBC45;
}

.page-sports__cta-section .page-sports__section-text {
  color: #f0f0f0;
}

.page-sports__button--final-cta {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 40px;
}

.page-sports__button--final-cta:hover {
  background-color: #e6a73a;
}

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

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

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

  .page-sports__about-section,
  .page-sports__features-section,
  .page-sports__promo-section,
  .page-sports__guide-section,
  .page-sports__how-to-section,
  .page-sports__cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 2em;
  }

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

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

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

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

  .page-sports__features-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }

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

  .page-sports__feature-card, .page-sports__step-card {
    min-height: auto;
  }

  /* Mobile content image constraint */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }

  .page-sports__container {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }

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

  .page-sports__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-sports__feature-title,
  .page-sports__step-title {
    font-size: 1.5em;
  }
}