.page-sports {
  color: #ffffff; /* Body background is dark (#1a1a1a), so text should be light */
  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: #1a1a1a; /* Consistent with body background */
  color: #ffffff;
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
}

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

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text clarity */
  padding: 30px;
  border-radius: 8px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  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: #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-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0; /* Light text on dark body background */
}

.page-sports__about-section,
.page-sports__why-choose-section,
.page-sports__how-to-start-section,
.page-sports__cta-final-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-sports__categories-section,
.page-sports__live-betting-section,
.page-sports__promotions-section,
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-sports__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__image-wrapper {
  flex: 1;
}

.page-sports__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-sports__text-content {
  flex: 1;
}

.page-sports__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-sports__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  margin-bottom: 10px;
  border-left: 4px solid #26A9E0;
  border-radius: 4px;
  color: #ffffff;
}

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

.page-sports__category-card,
.page-sports__feature-card,
.page-sports__promotion-card,
.page-sports__step-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__category-card:hover,
.page-sports__feature-card:hover,
.page-sports__promotion-card:hover,
.page-sports__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__category-image,
.page-sports__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

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

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

.page-sports__step-icon {
  font-size: 2.5em;
  color: #26A9E0;
  background: rgba(38, 169, 224, 0.2);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-weight: bold;
}

.page-sports__live-betting-section {
  text-align: center;
}

.page-sports__video-wrapper {
  margin: 40px auto;
  max-width: 800px;
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-sports__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

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

.page-sports__promotion-card .page-sports__btn-primary,
.page-sports__promotion-card .page-sports__btn-secondary {
  margin-top: 20px;
  width: calc(100% - 30px); /* Adjust for padding in card */
}

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

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: rgba(38, 169, 224, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-sports__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 20px;
  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: 20px;
}

.page-sports__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__image-text-layout {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__text-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-sports__hero-content {
    padding: 20px;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-sports__hero-cta-buttons,
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__about-section,
  .page-sports__categories-section,
  .page-sports__why-choose-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start-section,
  .page-sports__faq-section,
  .page-sports__cta-final-section {
    padding: 40px 0;
  }
  .page-sports__container,
  .page-sports__video-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__category-grid,
  .page-sports__feature-grid,
  .page-sports__promotion-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-title {
    font-size: 1.1em;
  }
  .page-sports__faq-answer {
    padding: 0 15px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px;
  }
  .page-sports__live-betting-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-sports__promotion-card .page-sports__btn-primary,
  .page-sports__promotion-card .page-sports__btn-secondary {
    width: 100%;
  }
}