.page-sports {
  font-family: Arial, sans-serif;
  color: #333333;
  background: #F5F7FA;
  line-height: 1.6;
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles header-offset */
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  overflow: hidden;
}

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

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-sports__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-sports__btn--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-sports__section {
  padding: 60px 0;
}

.page-sports__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
}

.page-sports__dark-section .page-sports__section-title,
.page-sports__dark-section .page-sports__text-block {
  color: #ffffff;
}

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

.page-sports__text-block {
  font-size: 1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-sports__feature-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.page-sports__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-sports__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-sports__card-description {
  font-size: 0.95rem;
  color: #333333;
}

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

/* Guide Steps */
.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-sports__guide-item {
  text-align: center;
  padding: 20px;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.page-sports__guide-icon-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: #FF5A4F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-sports__guide-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.page-sports__guide-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E53935;
}

.page-sports__guide-description {
  font-size: 0.95rem;
  color: #333333;
}

/* Promotions Grid */
.page-sports__promotions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-sports__promotion-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.page-sports__promotion-card:hover {
  transform: translateY(-5px);
}

.page-sports__promotion-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Advantage List */
.page-sports__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__advantage-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 30px;
  text-align: center;
}

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

.page-sports__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E53935;
}

.page-sports__list-description {
  font-size: 0.95rem;
  color: #333333;
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-sports__faq-item summary.page-sports__faq-question::-webkit-details-marker {
  display: none;
}
details.page-sports__faq-item summary.page-sports__faq-question:hover {
  background: #f5f5f5;
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Bottom CTA */
.page-sports__cta-bottom {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-sports__cta-container {
  max-width: 800px;
}

.page-sports__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports__cta-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-sports__btn--large {
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 10px;
}

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-sports__container {
    padding: 15px;
  }
  .page-sports__hero-content {
    padding: 30px 15px;
  }
  .page-sports__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-sports__section {
    padding: 40px 0;
  }
  .page-sports__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__promotion-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  /* Hero Section Mobile */
  .page-sports__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-sports__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    height: 250px; /* Fixed height for mobile hero image */
  }
  .page-sports__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-sports__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* General Section Mobile */
  .page-sports__section {
    padding: 30px 0;
  }
  .page-sports__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: 25px;
  }
  .page-sports__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Features Grid Mobile */
  .page-sports__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__feature-card {
    padding: 20px;
  }
  .page-sports__feature-image {
    height: 200px;
  }
  .page-sports__card-title {
    font-size: 1.2rem;
  }

  /* Guide Steps Mobile */
  .page-sports__guide-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-sports__guide-icon-wrapper {
    width: 100px;
    height: 100px;
  }
  .page-sports__guide-icon {
    width: 70px;
    height: 70px;
  }
  .page-sports__guide-title {
    font-size: 1.15rem;
  }

  /* Promotions Grid Mobile */
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__promotion-image {
    height: 200px;
  }

  /* Advantage List Mobile */
  .page-sports__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__advantage-icon {
    width: 80px;
    height: 80px;
  }
  .page-sports__list-title {
    font-size: 1.15rem;
  }

  /* FAQ Section Mobile */
  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-qtext {
    font-size: 15px;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
  }

  /* Bottom CTA Mobile */
  .page-sports__cta-bottom {
    padding: 50px 0;
  }
  .page-sports__cta-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }
  .page-sports__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-sports__btn--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  /* Global image responsiveness for mobile */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__feature-card,
  .page-sports__promotion-card,
  .page-sports__guide-item,
  .page-sports__advantage-item,
  .page-sports__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure content area images maintain minimum size where applicable */
.page-sports__feature-image, .page-sports__promotion-image, .page-sports__guide-icon, .page-sports__advantage-icon {
  min-width: 200px;
  min-height: 200px;
}
.page-sports__guide-icon-wrapper .page-sports__guide-icon {
  min-width: 80px;
  min-height: 80px;
}

@media (max-width: 768px) {
  .page-sports__feature-image, .page-sports__promotion-image, .page-sports__guide-icon, .page-sports__advantage-icon {
    min-width: unset;
    min-height: unset;
  }
  .page-sports__guide-icon-wrapper .page-sports__guide-icon {
    min-width: unset;
    min-height: unset;
  }
}