.page-sports {
  color: #FFFFFF; /* Light text for dark body background */
  background-color: var(--secondary-color); /* Assuming --secondary-color is dark */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure header offset for PC */
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000000; /* Fallback for hero section background */
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

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

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-sports__btn--register {
  background-color: #FFFFFF; /* White button for Register */
  color: #000000;
}

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

.page-sports__btn--login {
  background-color: #FCBC45; /* Accent color for Login */
  color: #000000;
}

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

.page-sports__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
}

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

.page-sports__btn--large {
  padding: 18px 35px;
  font-size: 1.1em;
  background-color: #FCBC45;
  color: #000000;
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-sports__section-description {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 50px;
  color: #E0E0E0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: justify;
}

.page-sports__text-content--centered {
  text-align: center;
}

.page-sports__about-section, .page-sports__featured-sports-section, 
.page-sports__live-betting-section, .page-sports__why-choose-section, 
.page-sports__getting-started-section, .page-sports__promotions-section, 
.page-sports__detail-pages-section, .page-sports__cta-section {
  padding: 80px 0;
}

.page-sports__sports-grid, .page-sports__features-grid, .page-sports__steps-grid, .page-sports__promo-cards {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-sports__sport-card, .page-sports__feature-card, .page-sports__step-card, .page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent dark card */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__sport-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__sport-card-title, .page-sports__feature-title, .page-sports__step-title, .page-sports__promo-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-sports__sport-card-text, .page-sports__feature-text, .page-sports__step-text, .page-sports__promo-text {
  font-size: 1em;
  color: #E0E0E0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-sports__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-sports__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-sports__promotions-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height for large banners */
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-sports__promo-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-sports__detail-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
}

.page-sports__detail-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-sports__detail-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

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

.page-sports__detail-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 15px;
}

.page-sports__cta-section {
  background-color: #000000;
  padding: 100px 0;
  text-align: center;
}

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

.page-sports__cta-description {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: 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__section-title {
    font-size: 2.2em;
  }

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: var(--header-offset, 120px); /* Keep for mobile too */
    min-height: 50vh;
  }

  .page-sports__hero-content {
    padding: 20px;
  }

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

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

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

  .page-sports__btn {
    width: 100%;
  }

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

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

  .page-sports__about-section, .page-sports__featured-sports-section, 
  .page-sports__live-betting-section, .page-sports__why-choose-section, 
  .page-sports__getting-started-section, .page-sports__promotions-section, 
  .page-sports__detail-pages-section, .page-sports__cta-section {
    padding: 50px 0;
  }

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

  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-sports__hero-image,
  .page-sports__sport-card-image,
  .page-sports__live-betting-image,
  .page-sports__feature-image,
  .page-sports__promotions-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-sports__cta-title {
    font-size: 2em;
  }

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

  .page-sports__detail-item {
    padding: 20px;
  }

  .page-sports__detail-title {
    font-size: 1.3em;
  }

  .page-sports__detail-description {
    font-size: 0.95em;
  }
}

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

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

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

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

/* Animation for titles */
.page-sports__fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}