.page-sports {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-sports__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.6); /* Slightly darken image for text readability, not changing color */
}

.page-sports__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  z-index: 1;
  padding: 20px;
  background-color: rgba(0, 51, 102, 0.7); /* Semi-transparent royal blue background */
  border-radius: 10px;
}

.page-sports__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-sports__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #003366; /* Royal Blue */
  border: 2px solid #FFD700;
}

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

.page-sports__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

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

.page-sports__btn--link {
  color: #FFD700; /* Gold */
  text-decoration: underline;
  font-weight: bold;
}

.page-sports__btn--link:hover {
  color: #e6c200;
}

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

.page-sports__section-title {
  font-size: 2.2em;
  color: #003366; /* Royal Blue */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

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

.page-sports__features-section,
.page-sports__how-to-section,
.page-sports__popular-sports-section,
.page-sports__responsible-gaming-section,
.page-sports__cta-section {
  padding: 60px 0;
}

.page-sports__features-section {
  background-color: #f8f8f8;
}

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

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

.page-sports__feature-card:hover {
  transform: translateY(-5px);
}

.page-sports__feature-icon {
  width: 200px; /* Min size 200px */
  height: 133px; /* Proportionate height */
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
}

.page-sports__feature-text {
  color: #666666;
}

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

.page-sports__step-card {
  background-color: #003366;
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.page-sports__step-number {
  font-size: 3em;
  font-weight: bold;
  color: rgba(255, 215, 0, 0.4); /* Semi-transparent gold */
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.page-sports__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-sports__step-text {
  color: #f0f0f0;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.page-sports__popular-sports-section {
  background-color: #f8f8f8;
}

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

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

.page-sports__sport-card:hover {
  transform: translateY(-5px);
}

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

.page-sports__sport-title {
  font-size: 1.5em;
  color: #003366;
  padding: 15px 20px 0;
}

.page-sports__sport-text {
  color: #666666;
  padding: 0 20px 20px;
}

.page-sports__responsible-gaming-section {
  background-color: #e0eaf2; /* Lighter blue variant */
  text-align: center;
}

.page-sports__responsible-gaming-section .page-sports__text {
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #444444;
  font-size: 1.1em;
}

.page-sports__cta-section {
  background-color: #003366; /* Royal Blue */
  color: #ffffff;
  text-align: center;
}

.page-sports__cta-section .page-sports__section-title {
  color: #FFD700; /* Gold */
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__feature-icon {
    width: 200px;
    height: 133px;
  }
  .page-sports__sport-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-sports__hero-content {
    padding: 15px;
  }

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

  .page-sports__feature-grid,
  .page-sports__steps-grid,
  .page-sports__sports-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile content area image prevention from overflowing */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }

  .page-sports__feature-icon {
    width: 100%; /* Adjust to fit card width */
    max-width: 250px; /* Ensure it doesn't get too big */
    height: auto;
    object-fit: contain;
  }
  
  .page-sports__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__cta-actions .page-sports__btn {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.5em;
  }
  .page-sports__hero-description {
    font-size: 0.85em;
  }
  .page-sports__btn {
    padding: 10px 20px;
    font-size: 1em;
  }

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

  .page-sports__feature-card,
  .page-sports__step-card,
  .page-sports__sport-card {
    padding: 20px;
  }

  .page-sports__feature-title,
  .page-sports__step-title,
  .page-sports__sport-title {
    font-size: 1.3em;
  }
}