.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background is respected */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #ffffff; /* White text for titles on dark background */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports__sub-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-sports__feature-title {
  font-size: 1.2em;
  color: #017439;
  font-weight: bold;
  margin-bottom: 5px;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-sports__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-sports__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-sports__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

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

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

/* General Section Styles */
.page-sports__intro-section,
.page-sports__featured-sports-section,
.page-sports__how-to-bet-section,
.page-sports__promotions-section,
.page-sports__responsibility-section,
.page-sports__faq-section,
.page-sports__cta-bottom-section {
  padding: 80px 0;
}

.page-sports__dark-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-sports__intro-section p,
.page-sports__responsibility-section p {
  color: #cccccc;
  font-size: 1.05em;
  line-height: 1.7;
}

/* Grid Layouts */
.page-sports__grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-sports__text-block a {
  color: #FFFF00; /* Yellow for links in dark sections */
  text-decoration: underline;
}

.page-sports__text-block a:hover {
  color: #ffe000;
}

.page-sports__image-wrapper {
  text-align: center;
}

.page-sports__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-sports__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-sports__feature-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #017439;
}

.page-sports__feature-list li p {
  color: #cccccc;
  margin-top: 10px;
}

/* Sports Grid */
.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-sports__sport-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__sport-title {
  font-size: 1.5em;
  color: #017439;
  margin: 20px 15px 10px;
}

.page-sports__sport-text {
  color: #cccccc;
  padding: 0 15px;
  flex-grow: 1;
}

.page-sports__sport-details {
  list-style: none;
  padding: 0 15px;
  margin-top: 15px;
  text-align: left;
}

.page-sports__sport-details li {
  color: #cccccc;
  margin-bottom: 5px;
}

/* How-To-Bet Section */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-top: 5px solid #017439;
}

.page-sports__step-icon {
  font-size: 3em;
  color: #017439;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-sports__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-sports__step-text {
  color: #cccccc;
}

.page-sports__step-text a {
  color: #FFFF00; /* Yellow for links in dark sections */
  text-decoration: underline;
}

.page-sports__step-text a:hover {
  color: #ffe000;
}

/* Promotions Section */
.page-sports__promotions-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-sports__promotion-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-sports__promotion-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__promotion-title {
  font-size: 1.4em;
  color: #017439;
  margin: 20px 15px 10px;
}

.page-sports__promotion-text {
  color: #cccccc;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* CTA Bottom Section */
.page-sports__cta-bottom-section {
  text-align: center;
}

.page-sports__cta-bottom-section .page-sports__section-title {
  margin-bottom: 20px;
}

.page-sports__cta-bottom-section .page-sports__section-description {
  margin-bottom: 40px;
}

.page-sports__cta-bottom-section .page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-sports__faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

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

.page-sports__faq-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: #017439;
}

.page-sports__faq-item[open] > .page-sports__faq-question .page-sports__faq-toggle {
  content: '−';
}

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

.page-sports__faq-item details > summary {
  list-style: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__sub-title {
    font-size: 1.6em;
  }
  .page-sports__grid-2-col {
    grid-template-columns: 1fr;
  }
  .page-sports__image-wrapper {
    order: -1; /* Image first on mobile */
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__sub-title {
    font-size: 1.4em;
  }
  .page-sports__feature-title {
    font-size: 1.1em;
  }
  .page-sports__intro-section,
  .page-sports__featured-sports-section,
  .page-sports__how-to-bet-section,
  .page-sports__promotions-section,
  .page-sports__responsibility-section,
  .page-sports__faq-section,
  .page-sports__cta-bottom-section {
    padding: 60px 0;
  }
  .page-sports__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images and Videos Responsive */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow smaller display if needed, but still >= 200px source */
    min-height: unset !important;
  }
  .page-sports video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__image-wrapper,
  .page-sports__hero-video-wrapper,
  .page-sports__sport-card,
  .page-sports__promotion-card,
  .page-sports__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Specific card image height adjustments for mobile */
  .page-sports__sport-image,
  .page-sports__promotion-image {
    height: 200px; /* Adjust height for mobile card images */
  }

  /* FAQ */
  .page-sports__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-sports__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
  .page-sports__feature-list {
    grid-template-columns: 1fr;
  }
  .page-sports__sports-grid,
  .page-sports__steps-grid,
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__cta-bottom-section .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}