.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Ensure consistency with body background */
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 600px; /* Adjust as needed */
  overflow: hidden;
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

.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; /* Slightly dim image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background for text */
  border-radius: 10px;
}

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

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

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-sports__btn-primary {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-sports__btn-primary:hover {
  background: #005a2e;
  border-color: #005a2e;
}

.page-sports__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-sports__btn-secondary:hover {
  background: #e0e0e0;
  color: #004221;
}

/* Custom colors for Login/Register buttons, prioritizing WCAG AA contrast */
.page-sports__btn-register,
.page-sports__btn-login {
  background: #C30808;
  color: #000000; /* WCAG AA compliant contrast for text on #C30808 (8.8:1) */
  border-color: #C30808;
}
.page-sports__btn-register:hover,
.page-sports__btn-login:hover {
  background: #9b0606;
  border-color: #9b0606;
}

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

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

.page-sports__about-section,
.page-sports__popular-sports-section,
.page-sports__promotions-section,
.page-sports__features-section,
.page-sports__support-section,
.page-sports__video-cta-section,
.page-sports__final-cta-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Ensure consistency with body background */
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff; /* For sections requiring light background */
  color: #333333;
}
.page-sports__light-bg .page-sports__section-title,
.page-sports__light-bg .page-sports__section-description,
.page-sports__light-bg .page-sports__card-title,
.page-sports__light-bg .page-sports__faq-qtext {
  color: #333333;
}
.page-sports__light-bg a {
  color: #017439;
}
.page-sports__light-bg a:hover {
  color: #005a2e;
}

.page-sports__dark-bg {
  background-color: #017439; /* Brand color for specific dark sections/cards */
  color: #ffffff;
}
.page-sports__dark-bg .page-sports__card-title a {
  color: #ffffff;
}
.page-sports__dark-bg .page-sports__card-title a:hover {
  color: #f0f0f0;
}

.page-sports__features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-sports__feature-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439; /* On light background */
}
.page-sports__dark-bg .page-sports__card-title {
  color: #ffffff; /* On dark background */
}

.page-sports__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sports__feature-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.5;
}
.page-sports__feature-list li a {
  text-decoration: none;
  font-weight: bold;
}

.page-sports__feature-image-wrapper {
  text-align: center;
}

.page-sports__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.page-sports__sport-card,
.page-sports__promo-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.page-sports__sport-card p,
.page-sports__promo-card p {
  color: #f0f0f0; /* On dark background */
}
.page-sports__light-bg .page-sports__sport-card p,
.page-sports__light-bg .page-sports__promo-card p {
  color: #555555; /* On light background */
}

.page-sports__sport-card .page-sports__card-title,
.page-sports__promo-card .page-sports__card-title {
  margin-bottom: 15px;
  font-size: 1.5em;
}

.page-sports__sport-card .page-sports__card-title a,
.page-sports__promo-card .page-sports__card-title a {
  text-decoration: none;
  color: inherit; /* Inherit color from parent */
}
.page-sports__sport-card .page-sports__card-title a:hover,
.page-sports__promo-card .page-sports__card-title a:hover {
  text-decoration: underline;
}

.page-sports__cta-buttons--center {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-sports__how-to-bet-section {
  padding: 80px 0;
}

.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-sports__step-card {
  background: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-sports__step-icon {
  width: 60px;
  height: 60px;
  background: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}
.page-sports__step-card .page-sports__card-title {
  color: #017439;
}
.page-sports__step-card .page-sports__card-title a {
  text-decoration: none;
  color: inherit;
}
.page-sports__step-card .page-sports__card-title a:hover {
  text-decoration: underline;
}

.page-sports__promo-image-wrapper {
  margin-top: 60px;
  text-align: center;
}

.page-sports__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.page-sports__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}
.page-sports__feature-item-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}
.page-sports__feature-item .page-sports__item-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}
.page-sports__feature-item .page-sports__btn-download {
  margin-top: 20px;
}