.page-sports {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 500px;
}

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

.page-sports__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-sports__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
}

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

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-sports__hero-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-sports__button--register {
  background-color: #FCBC45;
  color: #000000; /* Dark text for light button */
  border: 2px solid #FCBC45;
}

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

.page-sports__button--deposit, .page-sports__button--explore, .page-sports__button--bet, .page-sports__button--view-details {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-sports__button--deposit:hover, .page-sports__button--explore:hover, .page-sports__button--bet:hover, .page-sports__button--view-details:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-sports__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.page-sports__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.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__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #e0e0e0;
}

.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, .page-sports__detail-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible card background */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-sports__feature-image, .page-sports__sport-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__feature-title, .page-sports__sport-title, .page-sports__step-title, .page-sports__detail-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

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

.page-sports__feature-description, .page-sports__sport-description, .page-sports__step-description, .page-sports__detail-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports__button {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  margin-top: auto; /* Push button to the bottom */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-sports__detail-item {
  max-width: 600px;
}

.page-sports__cta-section {
  background-color: #000000; /* Dark background for CTA */
  padding: 80px 20px;
}

.page-sports__cta-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-sports__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-sports__cta-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay */
  padding: 40px;
  border-radius: 15px;
  max-width: 800px;
  color: #ffffff;
}

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

.page-sports__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  background-color: #FCBC45;
  color: #000000; /* Dark text for light button */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-sports__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-5px);
}

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

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 120px); /* Ensure consistent padding for mobile */
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__text-content {
    font-size: 1em;
  }
  .page-sports__features-grid, .page-sports__sports-grid, .page-sports__steps-grid, .page-sports__details-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__feature-card, .page-sports__sport-card, .page-sports__step-card, .page-sports__detail-item {
    padding: 20px;
  }
  .page-sports__feature-title, .page-sports__sport-title, .page-sports__step-title, .page-sports__detail-title {
    font-size: 1.6em;
  }
  .page-sports__feature-image, .page-sports__sport-image {
    height: 200px;
    min-width: 200px;
    min-height: 200px;
  }
  .page-sports__cta-title {
    font-size: 2em;
  }
  .page-sports__cta-description {
    font-size: 1em;
  }
  .page-sports__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all images within .page-sports are responsive and do not overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
}