.page-sports {
  color: #333333; /* Default text color for light body background */
}

.page-sports__hero-section {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  padding: var(--header-offset, 120px) 20px 60px; /* Adjust padding-top for header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-sports__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107; /* Auxiliary color for emphasis */
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-sports__hero-image {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
}

.page-sports__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-sports__btn--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #007bff; /* Primary color for text */
  border: 2px solid #ffc107;
}

.page-sports__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

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

.page-sports__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #007bff;
  text-align: center;
  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: #ffc107;
  border-radius: 2px;
}

.page-sports__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 60px;
  line-height: 1.8;
  color: #555555;
}

.page-sports__features-section,
.page-sports__how-to-start-section,
.page-sports__promotions-section,
.page-sports__download-app-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-sports__features-section:nth-of-type(odd),
.page-sports__promotions-section:nth-of-type(odd) {
  background-color: #ffffff;
}

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

.page-sports__feature-card,
.page-sports__promo-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  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__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-card img,
.page-sports__promo-card img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 10px;
  margin-bottom: 25px;
  display: block; /* Ensure image takes up space */
  object-fit: cover; /* Maintain aspect ratio */
}

.page-sports__card-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-sports__card-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
  flex-grow: 1;
}

.page-sports__card-link {
  display: inline-block;
  margin-top: 20px;
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding-bottom: 5px;
}

.page-sports__card-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ffc107;
  transition: width 0.3s ease;
}

.page-sports__card-link:hover::after {
  width: 0;
}

.page-sports__how-to-start-section {
  background-color: #eaf3ff; /* Lighter shade of primary */
}

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

.page-sports__step-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
  text-align: center;
  border-bottom: 5px solid #007bff;
}

.page-sports__step-number {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-sports__step-description {
  color: #666666;
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-sports__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
  background-color: #ffc107;
  color: #007bff;
  border: 2px solid #ffc107;
}

.page-sports__btn--small:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-sports__download-app-section {
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
}

.page-sports__download-app-section .page-sports__section-title {
  color: #ffc107;
}

.page-sports__download-app-section .page-sports__section-intro {
  color: #f0f0f0;
}

.page-sports__download-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports__btn--download {
  background-color: #ffffff;
  color: #007bff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-sports__btn--download:hover {
  background-color: #f0f0f0;
  transform: translateY(-5px);
}

.page-sports__download-icon {
  font-size: 1.5em;
}

.page-sports__download-note {
  margin-top: 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-sports__qr-code {
  margin-top: 30px;
}

.page-sports__qr-code img {
  width: 100%;
  max-width: 250px;
  height: auto;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: var(--header-offset, 120px) 15px 40px; /* Adjust padding for mobile */
    flex-direction: column;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-sports__features-grid,
  .page-sports__promotions-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-card,
  .page-sports__promo-card,
  .page-sports__step-card {
    padding: 25px;
  }
  .page-sports__feature-card img,
  .page-sports__promo-card img {
    max-width: 100%;
    width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
  }
  .page-sports__download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all images within .page-sports do not cause horizontal scrolling */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
  .page-sports {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn {
    width: 100%;
    max-width: 280px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__card-title {
    font-size: 1.4em;
  }
  .page-sports__btn--download {
    font-size: 1em;
    padding: 12px 25px;
  }
}