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

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

.page-sports__background-dark {
  background-color: #1A1A1A;
}

.page-sports__hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 20px;
  background-color: #0F0F0F; /* Ensure hero section has a background */
  max-width: 100%; /* Prevent overflow */
  margin: 0 auto;
}

.page-sports__hero-content-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-sports__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-sports__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-sports__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

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

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

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

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

.page-sports__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-sports__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.page-sports__section-title--light {
  color: #FFD700;
}

.page-sports__section-subtitle {
  font-size: 1.3em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 50px;
}

.page-sports__section-subtitle--light {
  color: #f0f0f0;
}

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

.page-sports__text-content--light {
  color: #ffffff;
}

.page-sports__features-grid,
.page-sports__sports-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__sport-card,
.page-sports__promo-card,
.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-sports__feature-card:hover,
.page-sports__sport-card:hover,
.page-sports__promo-card:hover,
.page-sports__step-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__feature-icon,
.page-sports__sport-image,
.page-sports__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure images are block-level for margin auto */
  margin-left: auto; /* Center images */
  margin-right: auto; /* Center images */
}

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

.page-sports__feature-description,
.page-sports__sport-description,
.page-sports__promo-description,
.page-sports__step-description {
  font-size: 1em;
  color: #f0f0f0;
  text-align: justify;
}

.page-sports__live-betting-section,
.page-sports__app-download-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}

.page-sports__live-betting-content,
.page-sports__app-download-content {
  flex: 1;
  min-width: 300px;
}

.page-sports__live-betting-image-wrapper,
.page-sports__app-download-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__live-betting-image,
.page-sports__app-download-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-sports__app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-sports__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-sports__step-number {
  font-size: 3em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #FFD700;
}

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

.page-sports__responsible-gaming-section {
  text-align: center;
}

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

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-sports__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-sports__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-sports__faq-item--active .page-sports__faq-question::after {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-top: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, margin-top 0.4s ease-out;
  text-align: justify;
}

.page-sports__faq-item--active .page-sports__faq-answer {
  max-height: 200px; /* Adjust as needed for content length */
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }

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

  .page-sports__hero-section,
  .page-sports__live-betting-section,
  .page-sports__app-download-section {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__hero-content-wrapper,
  .page-sports__live-betting-content,
  .page-sports__app-download-content {
    max-width: 100%;
    text-align: center;
  }

  .page-sports__hero-buttons,
  .page-sports__app-buttons {
    justify-content: center;
  }

  .page-sports__hero-image-wrapper,
  .page-sports__live-betting-image-wrapper,
  .page-sports__app-download-image-wrapper {
    order: -1; /* Image above content on smaller screens */
  }
}

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

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

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

  .page-sports__section-subtitle {
    font-size: 1.1em;
  }

  .page-sports__text-content {
    font-size: 1em;
  }

  .page-sports__button {
    width: 100%;
  }

  .page-sports__hero-buttons {
    flex-direction: column;
  }

  /* Ensure content area images are responsive and don't overflow */
  .page-sports__feature-icon, 
  .page-sports__sport-image, 
  .page-sports__promo-image, 
  .page-sports__live-betting-image, 
  .page-sports__app-download-image {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-sports__features-section,
  .page-sports__popular-sports-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start-section,
  .page-sports__app-download-section,
  .page-sports__responsible-gaming-section,
  .page-sports__faq-section {
    padding: 40px 15px;
  }

  .page-sports__hero-section {
    padding: 60px 15px;
  }

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

  .page-sports__faq-question {
    font-size: 1.2em;
  }
}