.page-sports {
  color: #333333; /* Dark text for light body background */
}

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

.page-sports__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image to make text pop */
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-sports__hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFFFFF;
}

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

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

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

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

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

.page-sports__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-sports__button--tertiary {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
}

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

.page-sports__about-section, 
.page-sports__categories-section, 
.page-sports__live-betting-section, 
.page-sports__promo-section, 
.page-sports__mobile-section, 
.page-sports__how-to-start-section, 
.page-sports__faq-section, 
.page-sports__cta-section {
  padding: 60px 20px;
  background-color: #FFFFFF; /* Background color for sections */
  color: #333333;
}

.page-sports__about-section:nth-of-type(even),
.page-sports__promo-section:nth-of-type(even),
.page-sports__how-to-start-section:nth-of-type(even) {
  background-color: #f8f8f8; /* Slightly different background for visual separation */
}

.page-sports__about-container, 
.page-sports__categories-container, 
.page-sports__live-betting-container, 
.page-sports__promo-container, 
.page-sports__mobile-container, 
.page-sports__how-to-start-container, 
.page-sports__faq-container, 
.page-sports__cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-sports__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-sports__section-intro {
  font-size: clamp(1rem, 2vw, 1.15rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

.page-sports__feature-card, .page-sports__category-card, .page-sports__promo-card, .page-sports__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__feature-card:hover, .page-sports__category-card:hover, .page-sports__promo-card:hover, .page-sports__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-title, .page-sports__category-title, .page-sports__promo-title, .page-sports__step-title {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 15px;
}

.page-sports__feature-description, .page-sports__category-description, .page-sports__promo-description, .page-sports__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-sports__live-betting-content, .page-sports__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.page-sports__live-betting-image, .page-sports__mobile-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__live-betting-details, .page-sports__mobile-details {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-sports__live-betting-subtitle, .page-sports__mobile-subtitle {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 15px;
}

.page-sports__live-betting-description, .page-sports__mobile-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-sports__mobile-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__mobile-features-list li {
  font-size: 1.05rem;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-sports__mobile-features-list li::before {
  content: '✔';
  color: #FCBC45; /* Login button color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-sports__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-sports__faq-question {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-sports__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: #FCBC45;
}

.page-sports__faq-question.active::after {
  content: '-';
}

.page-sports__faq-answer {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  display: none;
}

.page-sports__faq-answer.active {
  display: block;
}

.page-sports__faq-more-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-sports__faq-more-button:hover {
  background-color: #333333;
}

.page-sports__cta-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-sports__cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-sports__cta-description {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-sports__cta-section .page-sports__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-sports__cta-section .page-sports__button--primary:hover {
  background-color: #e0a53a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 2.5rem;
  }

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

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

  .page-sports__button {
    width: 80%;
    max-width: 300px;
  }

  .page-sports__section-title {
    font-size: 2rem;
  }

  .page-sports__section-intro {
    font-size: 0.95rem;
  }

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

  .page-sports__live-betting-content, .page-sports__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-sports__live-betting-image, .page-sports__mobile-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  .page-sports__live-betting-details, .page-sports__mobile-details {
    min-width: unset;
  }

  .page-sports__mobile-features-list {
    padding-left: 0;
  }

  .page-sports__mobile-features-list li {
    padding-left: 0;
    text-align: center;
  }
  .page-sports__mobile-features-list li::before {
    position: static;
    margin-right: 5px;
  }

  .page-sports__faq-question {
    font-size: 1.1rem;
  }

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

  .page-sports__cta-description {
    font-size: 1rem;
  }

  /* Critical: Ensure all images within .page-sports are responsive and do not cause horizontal scroll */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }

  /* Specific image size overrides for mobile to prevent overflow */
  .page-sports__category-image,
  .page-sports__promo-image {
    height: auto; /* Allow height to adjust proportionally */
    max-height: 250px; /* Cap max height for smaller cards */
  }

  .page-sports__live-betting-image,
  .page-sports__mobile-image {
    height: auto;
    max-height: 400px; /* Cap max height for larger images */
  }

}

@media (max-width: 480px) {
  .page-sports__hero-section, 
  .page-sports__about-section, 
  .page-sports__categories-section, 
  .page-sports__live-betting-section, 
  .page-sports__promo-section, 
.page-sports__mobile-section, 
.page-sports__how-to-start-section, 
  .page-sports__faq-section, 
  .page-sports__cta-section {
    padding: 40px 15px;
  }

  .page-sports__hero-title {
    font-size: 2rem;
  }

  .page-sports__button {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

  .page-sports__feature-title, .page-sports__category-title, .page-sports__promo-title, .page-sports__step-title {
    font-size: 1.3rem;
  }

  .page-sports__live-betting-subtitle, .page-sports__mobile-subtitle {
    font-size: 1.5rem;
  }

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