/* Base styles for the sports page */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-sports__section-padding {
  padding: 60px 0;
}

.page-sports__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #1F2D3D; /* Text Main */
}

.page-sports__section-title--light {
  color: #FFFFFF;
}

.page-sports__text-block {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #1F2D3D; /* Text Main */
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding-top: 10px; /* Specific requirement: small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F4F7FB; /* Background */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for desktop */
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default for desktop to cover area */
}

.page-sports__hero-content-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 40px 15px 60px;
  box-sizing: border-box;
  text-align: center;
}

.page-sports__main-title {
  font-size: clamp(32px, 4.5vw, 52px); /* Clamp for responsive H1 */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-sports__hero-description {
  font-size: 19px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #1F2D3D; /* Text Main */
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

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

.page-sports__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.2);
}

.page-sports__btn-link {
  background: none;
  color: #2F6BFF;
  border: none;
  padding: 0;
  font-weight: 500;
  font-size: 16px;
}

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

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

.page-sports__feature-item {
  background: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-sports__feature-item img {
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: none; /* Ensure no CSS filter */
}

.page-sports__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

/* Sports Types Section */
.page-sports__dark-bg {
  background-color: #2F6BFF;
  color: #FFFFFF;
}

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

.page-sports__product-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #1F2D3D; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-sports__product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no CSS filter */
}

.page-sports__product-title {
  font-size: 22px;
  font-weight: 700;
  padding: 20px 20px 10px;
  margin: 0;
  color: #1F2D3D; /* Text Main */
}

.page-sports__product-card p {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 20px 20px;
  margin: 0;
  color: #333333; /* Default dark text for contrast */
}

/* Live Betting Section */
.page-sports__content-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__content-text {
  flex: 1;
  text-align: left;
}

.page-sports__content-text .page-sports__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sports__content-image {
  flex: 1;
  min-width: 400px;
}

.page-sports__content-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  filter: none; /* Ensure no CSS filter */
}

/* Promotions Section */
.page-sports__light-bg {
  background-color: #FFFFFF;
  color: #1F2D3D;
}

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

.page-sports__promo-card {
  background: #F4F7FB; /* Background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #1F2D3D; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-sports__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no CSS filter */
}

.page-sports__promo-title {
  font-size: 22px;
  font-weight: 700;
  padding: 20px 20px 10px;
  margin: 0;
  color: #1F2D3D; /* Text Main */
}

.page-sports__promo-card p {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 20px 20px;
  margin: 0;
  color: #333333;
}

.page-sports__button-group {
  text-align: center;
  margin-top: 40px;
}

/* How to Start Section */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__step-item {
  background: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-sports__step-item img {
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: none; /* Ensure no CSS filter */
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

/* Security Section */
.page-sports__security-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__security-icons img {
  
  height: auto;
  filter: none; /* Ensure no CSS filter */
}

/* Support Section */
.page-sports__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__method-item {
  background: #F4F7FB; /* Background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-sports__method-item img {
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: none; /* Ensure no CSS filter */
}

.page-sports__method-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
}

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: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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;
}

.page-sports__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* CTA Bottom Section */
.page-sports__cta-bottom {
  background-color: #2F6BFF;
  padding: 80px 0;
}

.page-sports__cta-bottom .page-sports__section-title {
  color: #FFFFFF;
}

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

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

/* General image styling to prevent filter */
.page-sports img {
  filter: none;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-sports__section-title {
    font-size: 34px;
  }
  .page-sports__hero-description,
  .page-sports__text-block {
    font-size: 16px;
  }
  .page-sports__feature-title,
  .page-sports__product-title,
  .page-sports__promo-title,
  .page-sports__step-title,
  .page-sports__method-title {
    font-size: 20px;
  }
  .page-sports__content-layout {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__content-text {
    text-align: center;
  }
  .page-sports__content-text .page-sports__text-block {
    text-align: center;
  }
}

@media (max-width: 849px) {
  .page-sports__hero-image {
    object-fit: contain !important; /* HERO 主图区域: mobile object-fit:contain */
    aspect-ratio: unset !important;
    max-height: 400px; /* Adjust max height for smaller screens */
  }
}

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

  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-sports__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-sports__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

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

  .page-sports__main-title {
    font-size: clamp(28px, 7vw, 40px); /* Adjust clamp for smaller screens */
    margin-bottom: 15px;
  }

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

  .page-sports__cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Buttons general mobile styles */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Button containers mobile styles */
  .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;
    flex-direction: column; /* Ensure vertical stacking for groups */
  }

  /* Features Grid */
  .page-sports__features-grid {
    grid-template-columns: 1fr;
  }

  /* Products Grid (Sports Types) */
  .page-sports__products-grid {
    grid-template-columns: 1fr; /* Single column for products */
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-sports__product-card img {
    
  }

  /* Live Betting Section */
  .page-sports__content-layout {
    flex-direction: column;
    gap: 20px;
  }
  .page-sports__content-image {
    min-width: unset;
    width: 100%;
  }
  .page-sports__content-text .page-sports__text-block {
    text-align: center;
  }

  /* Promotions Grid */
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__promo-card img {
    
  }

  /* How to Start Steps */
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }

  /* Security Icons */
  .page-sports__security-icons {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* Support Contact Methods */
  .page-sports__contact-methods {
    grid-template-columns: 1fr;
  }

  /* FAQ Section */
  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;
  }
  .page-sports__faq-answer p {
    font-size: 15px;
  }

  /* CTA Bottom */
  .page-sports__cta-bottom {
    padding: 60px 0;
  }
  .page-sports__cta-bottom .page-sports__cta-buttons {
    padding: 0 15px;
  }

  /* General image and container mobile styles */
  .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-item,
  .page-sports__product-card,
  .page-sports__promo-card,
  .page-sports__step-item,
  .page-sports__method-item,
  .page-sports__content-layout,
  .page-sports__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-image-wrapper {
    padding: 0;
  }
}