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

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

.page-sports__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text contrast */
  min-height: 400px; /* Ensure hero image is not too small */
}

.page-sports__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 2;
  padding: 20px;
}

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

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

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

.page-sports__button {
  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;
}

.page-sports__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-sports__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-sports__about-section, .page-sports__sports-types-section, .page-sports__live-betting-section, .page-sports__promotions-section, .page-sports__getting-started-section, .page-sports__faq-section, .page-sports__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-sports__feature-card, .page-sports__sport-card, .page-sports__live-card, .page-sports__promo-card, .page-sports__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-card:hover, .page-sports__sport-card:hover, .page-sports__live-card:hover, .page-sports__promo-card:hover, .page-sports__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-sports__feature-icon, .page-sports__sport-image, .page-sports__live-icon, .page-sports__promo-image, .page-sports__step-icon {
  width: 100%; /* Ensure images take full width of card */
  max-width: 400px; /* Max width for images in cards */
  height: auto;
  min-height: 200px; /* Minimum height for images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-sports__feature-description, .page-sports__sport-description, .page-sports__live-description, .page-sports__promo-description, .page-sports__step-description {
  font-size: 1em;
  color: #666666;
}

.page-sports__action-area {
  text-align: center;
  margin-top: 50px;
}

.page-sports__button--live-bet, .page-sports__button--view-promos, .page-sports__button--step-register, .page-sports__button--step-deposit, .page-sports__button--step-bet {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__button--live-bet:hover, .page-sports__button--view-promos:hover, .page-sports__button--step-register:hover, .page-sports__button--step-deposit:hover, .page-sports__button--step-bet:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

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

.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
}

.page-sports__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-sports__faq-answer {
  font-size: 1em;
  color: #666666;
}

.page-sports__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
}

.page-sports__cta-section .page-sports__section-title {
  color: #FFFFFF;
}

.page-sports__cta-section .page-sports__section-title::after {
  background-color: #FCBC45;
}

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

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

.page-sports__button--cta-register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__button--cta-register:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-sports__button--cta-app {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-sports__button--cta-app:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* 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: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 80px 0;
  }

  .page-sports__hero-content {
    width: 95%;
    padding: 15px;
  }

  .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__container {
    padding: 0 15px;
  }

  .page-sports__about-section, .page-sports__sports-types-section, .page-sports__live-betting-section, .page-sports__promotions-section, .page-sports__getting-started-section, .page-sports__faq-section, .page-sports__cta-section {
    padding: 60px 0;
  }

  .page-sports__feature-card, .page-sports__sport-card, .page-sports__live-card, .page-sports__promo-card, .page-sports__step-card {
    padding: 25px;
  }

  .page-sports__feature-icon, .page-sports__sport-image, .page-sports__live-icon, .page-sports__promo-image, .page-sports__step-icon {
    max-width: 100%;
    min-height: 200px; /* Ensure images are not too small */
    height: auto; /* Allow image height to adjust */
  }

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

  .page-sports__section-intro {
    margin-bottom: 30px;
  }

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

  /* Critical: Prevent content overflow for images */
  .page-sports img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  .page-sports__hero-section {
    padding-top: 0; /* Hero content is absolutely positioned, no need for padding-top here on mobile */
  }
}

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

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

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

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

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