.page-sports {
  color: #ffffff; /* Body background is dark, so text should be light */
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #0a0a0a; /* Match body background */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-sports__hero-image {
  width: 1200px; /* Display width */
  height: 675px; /* Display height (16:9 ratio for 1200px width) */
  object-fit: cover;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-sports__hero-content {
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-sports__tagline {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

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

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-sports__section {
  padding: 60px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-sports__intro-section {
  background-color: #0a0a0a;
}

.page-sports__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-sports__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-sports__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__text-block--light {
  color: #f0f0f0;
}

.page-sports__popular-sports-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-sports__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%;
}

.page-sports__card-image {
  width: 400px; /* Display width */
  height: 300px; /* Display height */
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-sports__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-sports__how-to-bet-section {
  background-color: #0a0a0a;
}

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

.page-sports__step-card .page-sports__card-image {
  width: 400px; /* Display width */
  height: 300px; /* Display height */
}

.page-sports__action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-sports__promotions-section {
  background-color: #1a1a1a;
}

.page-sports__promotion-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  text-align: left;
  padding: 30px;
}

.page-sports__promotion-card:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image and text */
}

.page-sports__promotion-card .page-sports__card-image {
  flex-shrink: 0;
  width: 600px; /* Display width */
  height: 450px; /* Display height */
  border-radius: 12px;
  object-fit: cover;
}

.page-sports__promotion-content {
  flex-grow: 1;
}

.page-sports__promotion-content .page-sports__card-title {
  text-align: left;
}

.page-sports__promotion-content .page-sports__card-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sports__features-section {
  background-color: #0a0a0a;
}

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

.page-sports__feature-item .page-sports__card-title {
  font-size: 1.3em;
}

.page-sports__feature-item .page-sports__card-description {
  font-size: 0.95em;
}

.page-sports__video-section {
  padding-top: 10px; /* Small top padding for video section */
  background-color: #1a1a1a;
  text-align: center;
}

.page-sports__video-container {
  width: 100%; /* Ensure width is 100% for desktop */
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  border-radius: 12px;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure video takes full space */
  cursor: pointer;
}

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

.page-sports__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-sports__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: #26A9E0;
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports__cta-final-section {
  background-color: #26A9E0;
  text-align: center;
}

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

.page-sports__cta-final-section .page-sports__text-block {
  color: #ffffff;
}

.page-sports__cta-final-section .page-sports__btn-primary {
  background-color: #EA7C07; /* Login color for final CTA */
  border-color: #EA7C07;
}

.page-sports__cta-final-section .page-sports__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-sports__cta-final-section .page-sports__btn-secondary {
  border-color: #ffffff;
  color: #ffffff;
}

.page-sports__cta-final-section .page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-image-wrapper {
    max-height: 500px;
  }

  .page-sports__promotion-card {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__promotion-card:nth-child(even) {
    flex-direction: column;
  }

  .page-sports__promotion-card .page-sports__card-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .page-sports__promotion-content .page-sports__card-title,
  .page-sports__promotion-content .page-sports__card-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 10px 15px 40px;
  }

  .page-sports__hero-image-wrapper {
    max-height: 300px;
  }

  .page-sports__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-sports__tagline {
    font-size: 1em;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-sports__section {
    padding: 40px 15px;
  }

  .page-sports__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-sports__text-block {
    font-size: 0.95em;
  }

  .page-sports__sports-grid,
  .page-sports__steps-grid,
  .page-sports__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__card-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__action-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-sports__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }

  .page-sports__video-section {
    padding-top: 10px !important;
  }

  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}