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

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

.page-sports__container--center {
  text-align: center;
}

/* Hero Section */
.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-sports__hero-title {
  font-size: 3.5em;
  color: #8B0000; /* Deep red for emphasis */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

.page-sports__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-sports__button--primary {
  background-color: #FFD700; /* Gold */
  color: #333333;
  border: 2px solid #FFD700;
}

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

.page-sports__button--secondary {
  background-color: transparent;
  color: #8B0000; /* Deep red */
  border: 2px solid #8B0000;
}

.page-sports__button--secondary:hover {
  background-color: #8B0000;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 0;
}

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

/* General Section Styling */
.page-sports__section-title {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.page-sports__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-sports__section-title--light {
  color: #ffffff;
}

.page-sports__section-title--light::after {
  background-color: #FFD700;
}

.page-sports__section-title--dark {
  color: #333333;
}

.page-sports__section-title--dark::after {
  background-color: #8B0000;
}

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

.page-sports__section-intro--light {
  color: #f0f0f0;
}

.page-sports__section-intro--dark {
  color: #333333;
}

/* About Y82 Section */
.page-sports__about-y82-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-sports__feature-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 1em;
  color: #666;
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-sports__sport-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.page-sports__sport-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-sports__sport-title {
  font-size: 1.6em;
  color: #8B0000;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-sports__sport-title a {
  color: #8B0000;
  text-decoration: none;
}

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

.page-sports__sport-description {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px 20px;
}

.page-sports__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* Y82 Features Section (Dark Background) */
.page-sports__section--dark-bg {
  background-color: #8B0000; /* Deep red background */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-sports__feature-card--light {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-sports__feature-card--light:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__feature-title--light {
  color: #FFD700;
}

.page-sports__feature-description--light {
  color: #f0f0f0;
}

.page-sports__button--light {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-sports__button--light:hover {
  background-color: #e6c200;
  color: #8B0000;
}

.page-sports__mobile-app-display {
  text-align: center;
  margin-top: 60px;
}

.page-sports__mobile-image {
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.page-sports__mobile-image:hover {
  transform: scale(1.03);
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-sports__promo-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.page-sports__promo-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-sports__promo-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
}

.page-sports__promo-cta {
  text-align: center;
  font-size: 1.1em;
  margin-top: 50px;
  color: #555;
}

.page-sports__text-link {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

.page-sports__text-link:hover {
  text-decoration: underline;
}

/* Responsible Gambling Section (Gold Background) */
.page-sports__section--gold-bg {
  background-color: #FFD700; /* Gold background */
  color: #333333;
  padding: 80px 0;
}

.page-sports__button--dark {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
}

.page-sports__button--dark:hover {
  background-color: #6a0000;
  color: #FFD700;
}

/* How to Start Section */
.page-sports__how-to-start-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-sports__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.page-sports__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.page-sports__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #8B0000;
  color: #FFD700;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FFD700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__step-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
}

/* Join Us CTA Section */
.page-sports__join-us-cta {
  padding: 100px 0;
  background-color: #8B0000;
}

.page-sports__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

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

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

  .page-sports__hero-image-wrapper {
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    flex-direction: column;
    padding: 60px 15px;
  }

  .page-sports__hero-content {
    margin-bottom: 30px;
  }

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

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

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

  .page-sports__button {
    width: 100%;
  }

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

  .page-sports__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

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

  .page-sports__sport-image {
    height: 200px;
  }

  .page-sports__mobile-image {
    max-width: 200px;
    height: auto;
  }

  /* Ensure content images are responsive and do not overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }

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

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

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

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

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

  .page-sports__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
}