.page-sports {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body handles background */
  line-height: 1.6;
  font-size: 1rem;
}

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

/* HERO Section */
.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 40px;
  background-color: #000000; /* Ensure a dark background for the section */
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  overflow: hidden; /* Prevent image overflow */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
  filter: none; /* No color filters */
}

.page-sports__hero-content {
  padding: 30px 20px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  background-color: transparent;
  color: #ffffff;
}

.page-sports__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 clamp font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 500px; /* Limit button group width */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

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

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

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

/* General Sections */
.page-sports__intro-section,
.page-sports__how-to-choose-section,
.page-sports__faq-section,
.page-sports__cta-banner {
  padding: 60px 0;
  text-align: center;
}

.page-sports__featured-games-section,
.page-sports__tips-section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__dark-section {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast, but still dark */
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #1a1a1a; /* Dark gray for "light" sections to maintain overall dark theme */
  color: #ffffff;
}

.page-sports__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #26A9E0;
}

.page-sports__dark-section .page-sports__section-title {
  color: #26A9E0; /* Maintain brand color on dark sections */
}

.page-sports__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-sports__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  filter: none; /* No color filters */
  min-width: 200px;
  min-height: 200px;
}

/* Featured Games Grid */
.page-sports__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-sports__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-sports__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* No color filters */
  min-width: 200px;
  min-height: 200px;
}

.page-sports__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-sports__game-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

/* Lists */
.page-sports__criteria-list,
.page-sports__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-sports__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.page-sports__list-item strong {
  color: #26A9E0;
  margin-right: 8px;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  list-style: none; /* For <summary> */
  user-select: none;
}

.page-sports__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <summary> */
}
.page-sports__faq-question::marker {
  display: none; /* Hide default marker for <summary> */
}

.page-sports__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-sports__faq-answer {
  padding: 0 25px 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* CTA Banner */
.page-sports__cta-banner {
  background: linear-gradient(90deg, #26A9E0, #1a8cc4);
  color: #ffffff;
  padding: 80px 0;
}

.page-sports__cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.page-sports__cta-content {
  text-align: left;
  max-width: 70%;
}

.page-sports__cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-sports__cta-description {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #f0f0f0;
}

.page-sports__cta-banner .page-sports__cta-buttons {
  margin-top: 0;
  max-width: none;
  justify-content: flex-end;
  flex-grow: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-sports__cta-content {
    max-width: 60%;
  }
  .page-sports__cta-banner .page-sports__cta-buttons {
    justify-content: center;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

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

  .page-sports__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* General Sections */
  .page-sports__intro-section,
  .page-sports__how-to-choose-section,
  .page-sports__faq-section,
  .page-sports__cta-banner,
  .page-sports__featured-games-section,
  .page-sports__tips-section {
    padding: 40px 0;
  }

  .page-sports__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-sports__text-block {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  /* Universal Image and Container Adaption */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
  }

  .page-sports__hero-image {
    min-height: 200px !important;
  }

  .page-sports__game-image {
    height: auto !important;
    max-height: 200px !important;
    min-width: 200px !important;
    min-height: 150px !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Product Display Area (Games Grid) */
  .page-sports__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-sports__game-card {
    padding: 20px;
  }

  /* Lists */
  .page-sports__criteria-list,
  .page-sports__tips-list {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-sports__list-item {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  /* FAQ Section */
  .page-sports__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-sports__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-sports__faq-toggle {
    font-size: 1.3rem;
  }

  .page-sports__faq-answer {
    padding: 0 20px 10px;
    font-size: 0.9rem;
  }

  /* CTA Banner */
  .page-sports__cta-banner {
    padding: 50px 0;
  }

  .page-sports__cta-container {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__cta-content {
    max-width: 100%;
    margin-bottom: 30px;
  }

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

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

  .page-sports__cta-banner .page-sports__cta-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    padding: 0 15px;
  }
}