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

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

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

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  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;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

/* Hero Section */
.page-sports__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  min-height: 70vh;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-content {
  flex: 1;
  max-width: 50%;
  padding-left: 20px;
  z-index: 1;
}

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

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

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

.page-sports__hero-image-wrapper {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-right: 20px;
  z-index: 0;
}

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

/* Introduction Section */
.page-sports__introduction-section {
  padding: 80px 0;
}

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

.page-sports__feature-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-sports__feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Video Section */
.page-sports__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-sports__video-cta {
  margin-top: 30px;
}

/* Betting Types Section */
.page-sports__betting-types-section {
  padding: 80px 0;
}

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

.page-sports__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}

.page-sports__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-sports__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__card-link:hover {
  text-decoration: underline;
}

.page-sports__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-sports__card-btn {
  margin-top: auto; /* Push button to bottom */
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
}

.page-sports__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
}

.page-sports__promo-item {
  background-color: rgba(38, 169, 224, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-sports__promo-cta {
  margin-top: 40px;
  text-align: center;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
}

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
  counter-reset: guide-step;
}

.page-sports__guide-item {
  background-color: #f8f8f8;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  font-size: 1.1em;
  color: #333333;
  position: relative;
  padding-left: 70px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.page-sports__guide-item::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-sports__guide-item strong {
  color: #26A9E0;
}

.page-sports__guide-cta {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
}

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

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

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

.page-sports__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-sports__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
  text-align: left;
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-section {
    flex-direction: column;
    text-align: center;
    padding-bottom: 60px;
  }

  .page-sports__hero-content,
  .page-sports__hero-image-wrapper {
    max-width: 100%;
    padding: 0 20px;
  }

  .page-sports__hero-title {
    font-size: 2.8em;
  }

  .page-sports__hero-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing below fixed header for mobile */
    min-height: auto;
  }

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

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

  .page-sports__hero-description,
  .page-sports__text-block,
  .page-sports__feature-description,
  .page-sports__card-description,
  .page-sports__promo-item,
  .page-sports__guide-item,
  .page-sports__faq-question,
  .page-sports__faq-answer p {
    font-size: 1em;
  }

  .page-sports__hero-actions,
  .page-sports__guide-cta,
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-sports__features-grid,
  .page-sports__grid {
    grid-template-columns: 1fr;
  }

  /* Images responsive */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image and content containers responsive */
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__video-wrapper,
  .page-sports__hero-image-wrapper,
  .page-sports__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video responsive */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__video-wrapper {
    padding-bottom: 75% !important; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 */
  }

  .page-sports__guide-item {
    padding-left: 60px;
  }
  .page-sports__guide-item::before {
    left: 15px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 10px 15px 15px !important;
  }
  .page-sports__faq-question {
    padding: 15px;
  }
}