/* style/sports.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default light text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background is respected for text color */
}

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

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

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

.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.page-sports__hero-content {
  position: relative; /* Ensure content is in normal flow below image */
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Spacing below the image */
  color: #ffffff;
}

.page-sports__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for main title */
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); /* Responsive font size for H1 */
}

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

.page-sports__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for section titles */
}

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

.page-sports__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-sports__text-block--white {
  color: #f0f0f0;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-sports__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.page-sports__hero-cta-buttons,
.page-sports__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-sports__cta-buttons--center {
  margin-top: 40px;
}

/* Introduction Section */
.page-sports__introduction-section,
.page-sports__how-to-bet-section,
.page-sports__why-choose-section,
.page-sports__faq-section {
  padding: 60px 20px;
}

/* Sports Types Section */
.page-sports__sports-types-section,
.page-sports__promotions-section,
.page-sports__conclusion-section {
  padding: 60px 20px;
}

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

.page-sports__sport-card,
.page-sports__promo-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-sports__sport-card:hover,
.page-sports__promo-card:hover {
  transform: translateY(-5px);
}

.page-sports__sport-icon,
.page-sports__promo-image,
.page-sports__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px; /* Adjusted max-width for icons/images in cards */
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports__promo-image {
  max-width: 100%;
  max-height: 250px;
  margin-bottom: 25px;
}

.page-sports__feature-icon {
  max-width: 120px;
  margin-bottom: 15px;
}

.page-sports__card-title,
.page-sports__feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-sports__card-description,
.page-sports__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How-to-Bet Section */
.page-sports__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-sports__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #f8f8f8;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  color: #333333;
}

.page-sports__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-sports__step-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-sports__step-description {
  font-size: 1rem;
}

/* Video Section */
.page-sports__video-section {
  padding: 10px 20px 60px 20px;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

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

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

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

.page-sports__faq-item {
  background-color: #f8f8f8;
  color: #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-sports__faq-item[open] .page-sports__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

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

.page-sports__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
  background-color: #f8f8f8;
}

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

/* Conclusion Section */
.page-sports__conclusion-section {
  padding: 80px 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: clamp(2rem, 5vw + 1rem, 3rem);
  }
  .page-sports__section-title {
    font-size: 2rem;
  }
}

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

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

  .page-sports__hero-image {
    max-height: 400px;
  }

  .page-sports__hero-content {
    padding: 30px 15px;
  }

  .page-sports__main-title {
    font-size: clamp(1.8rem, 6vw + 1rem, 2.8rem);
    margin-bottom: 10px;
  }

  .page-sports__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-sports__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 8px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__hero-cta-buttons,
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden !important;
  }

  .page-sports__introduction-section,
  .page-sports__how-to-bet-section,
  .page-sports__why-choose-section,
  .page-sports__faq-section,
  .page-sports__sports-types-section,
  .page-sports__promotions-section,
  .page-sports__conclusion-section {
    padding: 40px 15px;
  }

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

  .page-sports__sport-card,
  .page-sports__promo-card,
  .page-sports__feature-item {
    padding: 25px;
  }

  .page-sports__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-sports__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-sports__video-section {
    padding: 10px 15px 40px 15px !important;
  }

  .page-sports__video,
  .page-sports__video-wrapper,
  .page-sports__video-container {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-section .page-sports__container { padding: 0; }
  .page-sports__hero-content { padding-left: 15px; padding-right: 15px; }

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

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

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: clamp(1.6rem, 7vw + 1rem, 2.5rem);
  }
  .page-sports__section-title {
    font-size: 1.6rem;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}