.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Adjust as needed */
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

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

.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: 900px;
  padding: 20px;
}

.page-sports__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-sports__subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-sports__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background: #11271B; /* Card BG */
  color: #22C768; /* Auxiliary Color */
  border: 2px solid #22C768; /* Auxiliary Color */
}

.page-sports__btn-secondary:hover {
  background: #22C768; /* Auxiliary Color */
  color: #11271B; /* Card BG */
  transform: translateY(-2px);
}

/* General Section Styling */
.page-sports__introduction-section,
.page-sports__features-section,
.page-sports__why-choose-us-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-sports__video-section,
.page-sports__how-to-bet-section,
.page-sports__faq-section,
.page-sports__cta-bottom-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG - Darker background for contrast */
  color: #F2FFF6; /* Text Main */
}

.page-sports__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6; /* Text Main */
}

.page-sports__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-sports__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

/* Video Section */
.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  width: 100%; /* Ensure it takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-sports__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-sports__video-wrapper:hover .page-sports__video-overlay-link {
  opacity: 1;
}

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

.page-sports__feature-card,
.page-sports__step-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  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: flex-start;
  align-items: center;
}

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

.page-sports__feature-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-sports__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-sports__card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

/* How-To-Bet Section */
.page-sports__step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.page-sports__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Why Choose Us Section */
.page-sports__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-sports__why-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__list-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #22C768; /* Auxiliary Color */
  margin-bottom: 10px;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Divider */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  user-select: none;
  list-style: none;
}

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

.page-sports__faq-item[open] .page-sports__faq-question {
  background-color: #13994A; /* Primary Color Darker */
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #2E7A4E; /* Divider */
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-content {
    padding: 15px;
  }

  .page-sports__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-sports__subtitle {
    font-size: 1rem;
  }

  .page-sports__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  }

  .page-sports__introduction-section,
  .page-sports__features-section,
  .page-sports__video-section,
  .page-sports__how-to-bet-section,
  .page-sports__why-choose-us-section,
  .page-sports__faq-section,
  .page-sports__cta-bottom-section {
    padding: 40px 0;
  }

  .page-sports__feature-card,
  .page-sports__step-card {
    padding: 25px;
  }

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

  .page-sports__card-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px;
  }

  .page-sports__hero-section {
    padding: 10px 0 40px 0;
    min-height: 400px;
  }

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

  .page-sports__subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .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;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-sports__paragraph {
    font-size: 0.9rem;
  }

  .page-sports__features-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-sports__feature-card,
  .page-sports__step-card {
    padding: 20px;
  }

  .page-sports__feature-icon {
    max-width: 250px;
  }

  .page-sports__card-title {
    font-size: 1.1rem;
  }

  .page-sports__card-description {
    font-size: 0.85rem;
  }

  .page-sports__step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.3rem;
  }

  .page-sports__why-item {
    padding: 20px;
  }

  .page-sports__list-title {
    font-size: 1.1rem;
  }

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

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

  /* Mobile image responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-image-wrapper,
  .page-sports__video-wrapper,
  .page-sports__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-sports__hero-section,
  .page-sports__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-sports__video-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

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

  .page-sports__video-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-section {
    min-height: 350px;
  }

  .page-sports__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-sports__subtitle {
    font-size: 0.85rem;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .page-sports__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .page-sports__feature-card,
  .page-sports__step-card {
    padding: 15px;
  }
}