.page-sports {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

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

.page-sports__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

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

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

.page-sports__btn--primary {
  background-color: #FFD700; /* Gold main color */
  color: #1a1a1a; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

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

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

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-sports__about-section, .page-sports__betting-types, .page-sports__event-highlights, .page-sports__guide-section, .page-sports__details-section, .page-sports__cta-section {
  padding: 60px 0;
}

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

.page-sports__feature-item, .page-sports__type-card, .page-sports__highlight-card, .page-sports__detail-card {
  background: rgba(30, 144, 255, 0.1); /* Royal blue transparent */
  border-radius: 10px;
  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-item:hover, .page-sports__type-card:hover, .page-sports__highlight-card:hover, .page-sports__detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-sports__feature-icon, .page-sports__type-image, .page-sports__highlight-image, .page-sports__detail-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-sports__feature-title, .page-sports__type-title, .page-sports__highlight-title, .page-sports__detail-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

.page-sports__feature-description, .page-sports__type-description, .page-sports__highlight-description, .page-sports__detail-description {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

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

.page-sports__guide-section {
  background-color: rgba(30, 144, 255, 0.05); /* Lighter royal blue tint */
  padding: 80px 0;
}

.page-sports__guide-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 50px;
}

.page-sports__guide-text {
  flex: 2;
  color: #f0f0f0;
}

.page-sports__guide-subtitle {
  font-size: 2em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-sports__guide-text p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-sports__guide-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid #1E90FF;
  object-fit: cover;
  min-width: 300px;
}

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

.page-sports__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-sports__cta-section {
  background-color: #1E90FF; /* Royal blue auxiliary color */
  padding: 80px 0;
  text-align: center;
}

.page-sports__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-sports__cta-text {
  font-size: 1.2em;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__section-title {
    font-size: 2.2em;
  }
  .page-sports__guide-content {
    flex-direction: column;
    align-items: center;
  }
  .page-sports__guide-image {
    margin-top: 30px;
    max-width: 600px;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset, 120px); /* Ensure mobile padding is consistent */
  }
  .page-sports__hero-section {
    min-height: 500px;
    padding: 60px 15px;
  }
  .page-sports__hero-content {
    padding: 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__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-sports__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__features-grid, .page-sports__types-grid, .page-sports__highlights-grid, .page-sports__details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__feature-item, .page-sports__type-card, .page-sports__highlight-card, .page-sports__detail-card {
    padding: 20px;
  }
  .page-sports__feature-icon, .page-sports__type-image, .page-sports__highlight-image, .page-sports__detail-image {
    height: 200px;
  }
  .page-sports__feature-title, .page-sports__type-title, .page-sports__highlight-title, .page-sports__detail-title {
    font-size: 1.5em;
  }
  .page-sports__guide-subtitle {
    font-size: 1.6em;
  }
  .page-sports__guide-text p {
    font-size: 0.9em;
  }
  .page-sports__cta-title {
    font-size: 2.2em;
  }
  .page-sports__cta-text {
    font-size: 1em;
  }
  .page-sports__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__cta-actions .page-sports__btn {
    width: 100%;
    max-width: 300px;
  }

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

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-content {
    padding: 20px;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__cta-title {
    font-size: 1.8em;
  }
}