.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__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-sports__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

.page-sports__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-sports__button--secondary:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-sports__button--small {
  padding: 8px 15px;
  min-width: unset;
}

/* Hero Section */
.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFFFFF;
}

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

.page-sports__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

.page-sports__hero-buttons .page-sports__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-sports__hero-buttons .page-sports__button--secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-sports__hero-buttons .page-sports__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

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

.page-sports__feature-icon {
  width: 200px; /* Min size 200px */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-sports__feature-description {
  color: #555555;
}

/* Categories Section */
.page-sports__categories-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-sports__category-card:hover {
  transform: translateY(-10px);
}

.page-sports__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-sports__category-card h3 {
  font-size: 1.8em;
  color: #000000;
  padding: 20px 20px 10px;
}

.page-sports__category-description {
  color: #555555;
  padding: 0 20px 20px;
}

.page-sports__category-card .page-sports__button--small {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Live Betting CTA */
.page-sports__live-betting-cta {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-sports__live-betting-cta .page-sports__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-sports__live-betting-image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-sports__live-betting-content {
  width: 50%;
  text-align: left;
}

.page-sports__live-betting-content .page-sports__section-title {
  color: #FFFFFF;
  text-align: left;
}

.page-sports__live-betting-content .page-sports__section-subtitle {
  color: #f0f0f0;
  text-align: left;
}

.page-sports__live-betting-content .page-sports__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-sports__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
}

.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-sports__promo-title {
  font-size: 1.5em;
  color: #000000;
  padding: 20px 20px 10px;
}

.page-sports__promo-description {
  color: #555555;
  padding: 0 20px 20px;
}

.page-sports__promo-card .page-sports__button--small {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-sports__view-all-promos {
  text-align: center;
}

/* How To Start Section */
.page-sports__how-to-start-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-sports__step-card:hover {
  transform: translateY(-10px);
}

.page-sports__step-icon {
  width: 200px; /* Min size 200px */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-sports__step-description {
  color: #555555;
}

.page-sports__step-card .page-sports__button--small {
  margin-top: 20px;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

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

.page-sports__responsible-gaming-section .page-sports__section-subtitle {
  color: #f0f0f0;
}

.page-sports__responsible-gaming-section .page-sports__button--secondary {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-sports__responsible-gaming-section .page-sports__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

.page-sports__faq-answer {
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__live-betting-cta .page-sports__container {
    flex-direction: column;
  }
  .page-sports__live-betting-image,
  .page-sports__live-betting-content {
    width: 100%;
    text-align: center;
  }
  .page-sports__live-betting-content .page-sports__section-title,
  .page-sports__live-betting-content .page-sports__section-subtitle {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 60px 15px;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__button {
    width: 100%;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__section-subtitle {
    font-size: 1em;
  }
  .page-sports__features-grid,
  .page-sports__categories-grid,
  .page-sports__promotions-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__live-betting-image {
    height: 300px;
  }
  /* Content area images must not cause horizontal scroll */
  .page-sports img {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }
  .page-sports {
    overflow-x: hidden;
  }
}

@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.8em;
  }
  .page-sports__feature-icon,
  .page-sports__step-icon {
    width: 150px;
    height: 120px;
  }
}