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

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

.page-sports__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4; /* Slightly dim the image for text readability */
}

.page-sports__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.page-sports__btn {
  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.3s ease;
  white-space: nowrap;
}

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

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

.page-sports__btn--bet {
  background-color: #FCBC45; /* Custom color for Login/Bet */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-sports__section-title {
  font-size: 2.8em;
  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 auto;
}

.page-sports__about-section,
.page-sports__popular-sports,
.page-sports__how-to-start,
.page-sports__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for content sections */
}

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

.page-sports__feature-card,
.page-sports__sport-card,
.page-sports__step-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-sports__feature-card img,
.page-sports__sport-card img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide for cards */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

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

.page-sports__feature-text,
.page-sports__sport-text,
.page-sports__step-text {
  font-size: 1em;
  color: #666666;
  flex-grow: 1; /* Allow text to take up available space */
}

.page-sports__step-card .page-sports__step-number {
  font-size: 2.5em;
  color: #FCBC45;
  font-weight: bold;
  margin-bottom: 20px;
  background-color: #000000;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-sports__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__btn--small:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-sports__cta-buttons {
  text-align: center;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

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

.page-sports__btn--large:hover {
  background-color: transparent;
  color: #FCBC45;
}

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

.page-sports__btn--promo:hover {
  background-color: transparent;
  color: #000000;
}

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

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

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

.page-sports__btn--faq {
  margin-top: 30px;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-sports__btn--faq:hover {
  background-color: transparent;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2.4em;
  }
  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-sports__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn {
    width: 100%;
  }
  .page-sports__section-title {
    font-size: 2em;
    padding-top: 30px;
  }
  .page-sports__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-card img,
  .page-sports__sport-card img {
    max-width: 100%;
    width: 100%; /* Ensure images fill card width on mobile */
    height: auto; /* Maintain aspect ratio */
  }
  /* Enforce minimum image size for content area images on mobile */
  .page-sports img {
    min-width: 200px; /* Ensure content images are not too small */
    min-height: 200px;
    max-width: 100%; /* Prevent horizontal overflow */
    height: auto;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__hero-description {
    font-size: 0.95em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-sports__btn--large {
    font-size: 1.1em;
  }
  .page-sports__faq-question {
    font-size: 1.2em;
  }
}