.page-sports {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

.page-sports__section {
  padding: 60px 0;
}

.page-sports__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #000000; /* Ensure hero background is dark */
}

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

.page-sports__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-sports__hero-content {
  position: relative; /* Ensure content is above any potential background layers */
  z-index: 1;
  max-width: 900px;
}

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

.page-sports__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-sports__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color */
  border: 2px solid #C30808;
}

.page-sports__btn-primary:hover {
  background-color: #e01a1a;
  border-color: #e01a1a;
  color: #ffffff;
}

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

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

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

.page-sports__about-sports .page-sports__section-title,
.page-sports__popular-sports .page-sports__section-title,
.page-sports__betting-guide .page-sports__section-title,
.page-sports__faq-section .page-sports__section-title {
  color: #ffffff; /* Ensure titles are visible on dark body background */
}

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

.page-sports__highlight-text {
  background-color: rgba(1, 116, 57, 0.2); /* Semi-transparent brand color */
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  color: #ffffff;
}

.page-sports__keyword {
  font-weight: 700;
  color: #FFFF00; /* Highlight keywords */
}

.page-sports__card-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.1); /* Light transparent background for cards */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  min-height: 450px; /* Ensure cards have a minimum height */
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-sports__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-sports__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFFF00; /* Highlight card titles */
  margin-bottom: 15px;
}

.page-sports__card-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-sports__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-sports__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
}

.page-sports__list-item {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  padding-left: 10px;
  position: relative;
}

.page-sports__list-item strong {
  color: #FFFF00;
}

.page-sports__list-item a {
  color: #FFFF00; /* Link color for list items */
  text-decoration: underline;
}

.page-sports__list-item a:hover {
  color: #ffffff;
}

.page-sports__video-section {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(1, 116, 57, 0.2); /* Semi-transparent brand color */
  border-radius: 12px;
  margin-top: 60px;
}

.page-sports__video-title {
  font-size: clamp(1.6em, 2.5vw, 2.2em);
  color: #ffffff;
  margin-bottom: 30px;
}

.page-sports__video-container {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for the video player */
  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;
  border-radius: 12px;
  background-color: #000000;
}

.page-sports__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-sports__video-description {
  color: #e0e0e0;
  margin-top: 20px;
  font-size: 1em;
}

.page-sports__faq-section {
  background-color: #000000;
  padding-bottom: 60px;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #FFFF00; /* FAQ question color */
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker,
.page-sports__faq-question::marker {
  display: none;
}

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

.page-sports__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-sports__faq-answer a {
  color: #FFFF00; /* FAQ answer link color */
  text-decoration: underline;
}

.page-sports__faq-answer a:hover {
  color: #ffffff;
}

.page-sports__conclusion-section {
  text-align: center;
  padding: 80px 0;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

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

.page-sports__conclusion-section .page-sports__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

  .page-sports__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-sports__container {
    padding: 0 15px;
  }

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

  .page-sports__hero-image-wrapper {
    margin-bottom: 30px;
    max-height: 400px;
  }

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

  .page-sports__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-sports__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

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

  .page-sports__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__card {
    padding: 20px;
    min-height: auto;
  }

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

  .page-sports__card-title {
    font-size: 1.2em;
  }

  .page-sports__list-item,
  .page-sports__numbered-list .page-sports__list-item {
    font-size: 0.95em;
    margin-bottom: 10px;
  }

  .page-sports__video-section {
    padding: 40px 15px;
    margin-top: 40px;
  }

  .page-sports__video-title {
    font-size: clamp(1.4em, 4.5vw, 1.8em);
    margin-bottom: 20px;
  }

  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 0 !important; /* Remove any extra padding for video container on mobile */
  }

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

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

  .page-sports__faq-answer {
    padding: 0 20px 15px;
  }

  .page-sports__conclusion-section {
    padding: 60px 0;
  }
}

/* Ensure all images are responsive by default */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all video elements are responsive by default */
.page-sports video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Content area images min size */
.page-sports__content-area img,
.page-sports__card img,
.page-sports__video-section img {
  min-width: 200px;
  min-height: 200px;
}