/* style/the-thao.css */

/* General styles for the page */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main from custom colors, assuming dark body background */
  background-color: #0D0E12; /* Background from custom colors */
  line-height: 1.6;
}

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

.page-the-thao__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #FFB04D; /* Glow color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__card-title {
  font-size: 1.5em;
  color: #FFA53A; /* Auxiliary color for card titles */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__card-description {
  font-size: 1em;
  color: #FFF3E6;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-text-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button custom color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  color: #FFF3E6;
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A; /* Auxiliary color for border */
}

.page-the-thao__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12; /* Dark background color for hover text */
}

.page-the-thao__btn-text-link {
  background: none;
  color: #FFB04D; /* Glow color for text links */
  padding: 5px 0;
  border-bottom: 1px solid #FFB04D;
  border-radius: 0;
}

.page-the-thao__btn-text-link:hover {
  color: #FFA53A;
  border-color: #FFA53A;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-the-thao__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Images */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Specific rule for hero section */
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0D0E12; /* Background color for the section */
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and content */
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-the-thao__hero-content {
  text-align: center;
  padding: 0 20px 60px; /* Bottom padding for hero content */
  max-width: 900px;
  box-sizing: border-box;
}

.page-the-thao__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

/* Intro Section */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG from custom colors */
}

/* Features Section */
.page-the-thao__features-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao__feature-card {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #A84F0C; /* Border custom color */
}

.page-the-thao__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Sports Types Section */
.page-the-thao__sports-types-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-the-thao__sport-card {
  background-color: #0D0E12; /* Background color for nested cards */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
}

.page-the-thao__sport-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* How To Bet Section */
.page-the-thao__how-to-bet-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao__step-card {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  text-align: center;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-the-thao__promo-card {
  background-color: #0D0E12; /* Background color for nested cards */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  text-align: center;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Responsible Gaming Section */
.page-the-thao__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-the-thao__responsible-list {
  list-style: disc;
  margin-left: 20px;
  font-size: 1.1em;
  color: #FFF3E6;
  max-width: 800px;
  margin: 20px auto 40px;
  padding-left: 20px;
}

.page-the-thao__responsible-list li {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

.page-the-thao__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-the-thao__faq-item {
  background-color: #0D0E12; /* Background color for nested cards */
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #FFA53A;
  list-style: none;
}

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

.page-the-thao__faq-qtext {
  flex-grow: 1;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFB04D;
}

.page-the-thao__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.6;
}

/* CTA Section */
.page-the-thao__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0D0E12;
}

/* Dark background section - for contrast */
.page-the-thao__dark-section {
  background-color: #17191F;
  color: #FFF3E6;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 0 15px;
  }

  .page-the-thao__hero-image-wrapper {
    max-height: 500px;
  }

  .page-the-thao__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }

  .page-the-thao__features-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }

  .page-the-thao__hero-image-wrapper {
    max-height: 300px !important;
  }

  .page-the-thao__hero-content {
    padding: 0 15px 40px !important;
  }

  .page-the-thao__main-title {
    font-size: clamp(2em, 8vw, 2.8em) !important;
    margin-bottom: 10px !important;
  }

  .page-the-thao__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  /* 通用图片与容器 */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-the-thao__container,
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__text-block,
  .page-the-thao__feature-card,
  .page-the-thao__sport-card,
  .page-the-thao__step-card,
  .page-the-thao__promo-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 深色导语区 (Intro Section) */
  .page-the-thao__intro-section {
    padding: 40px 0 !important;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em) !important;
    margin-bottom: 30px !important;
  }

  .page-the-thao__text-block {
    font-size: 1em !important;
  }

  /* 博客网格 (Features, Sports, Steps, Promotions - generic grid handling) */
  .page-the-thao__features-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promotions-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__feature-card,
  .page-the-thao__sport-card,
  .page-the-thao__step-card,
  .page-the-thao__promo-card {
    padding: 20px !important;
  }

  .page-the-thao__feature-image,
  .page-the-thao__sport-image,
  .page-the-thao__promo-image {
    height: 180px !important;
  }

  /* 按钮与按钮容器 */
  .page-the-thao__cta-button,
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao a[class*="button"],
  .page-the-thao 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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px !important;
  }
  
  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-the-thao__cta-center {
    margin-top: 30px !important;
  }

  /* FAQ 与其他模块 */
  .page-the-thao__faq-section {
    padding: 40px 0 !important;
  }

  .page-the-thao__faq-item {
    margin-bottom: 10px !important;
  }

  .page-the-thao__faq-question {
    font-size: 1.1em !important;
    padding: 15px 20px !important;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.95em !important;
  }

  .page-the-thao__responsible-list {
    font-size: 1em !important;
    margin: 20px auto 30px !important;
    padding-left: 35px !important;
  }
}