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

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-the-thao__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-the-thao__text-link {
  color: #2F6BFF;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-the-thao__text-link:hover {
  color: #4A8BFF;
}

/* --- Hero Section --- */
.page-the-thao__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-the-thao__hero-image {
  width: 1200px;
  height: 675px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual interest */
  background: #FFFFFF;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #D6E2FF;
}

.page-the-thao__hero-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 20px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Buttons --- */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(47, 107, 255, 0.6);
}

.page-the-thao__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F4F7FB;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

/* --- General Section Styling --- */
.page-the-thao__introduction-section,
.page-the-thao__how-to-bet-section,
.page-the-thao__tips-section,
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-the-thao__why-choose-section,
.page-the-thao__popular-sports-section,
.page-the-thao__responsible-gaming-section,
.page-the-thao__cta-section {
  padding: 60px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-the-thao__why-choose-section .page-the-thao__section-title,
.page-the-thao__popular-sports-section .page-the-thao__section-title,
.page-the-thao__responsible-gaming-section .page-the-thao__section-title,
.page-the-thao__cta-section .page-the-thao__cta-title {
  color: #ffffff;
}

.page-the-thao__why-choose-section .page-the-thao__section-description,
.page-the-thao__popular-sports-section .page-the-thao__section-description,
.page-the-thao__responsible-gaming-section .page-the-thao__section-description,
.page-the-thao__cta-section .page-the-thao__cta-description {
  color: #f0f0f0;
}

/* --- Features Grid (Why Choose) --- */
.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao__feature-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-the-thao__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-the-thao__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-the-thao__feature-text {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

/* --- Steps Grid (How to Bet) --- */
.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao__step-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
  position: relative;
}

.page-the-thao__card-glow::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: #A5C4FF; /* Glow */
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-the-thao__step-card:hover .page-the-thao__card-glow::before {
  opacity: 0.3;
}

.page-the-thao__step-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

/* --- Sports Categories Grid --- */
.page-the-thao__sports-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao__sport-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-the-thao__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__sport-card h3,
.page-the-thao__sport-card p {
  padding: 0 25px;
}

.page-the-thao__sport-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-the-thao__sport-text {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 25px;
}

/* --- Tips List --- */
.page-the-thao__tips-list {
  max-width: 800px;
  margin: 0 auto 40px;
  list-style: disc;
  text-align: left;
  padding-left: 40px;
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
}

.page-the-thao__tips-list li {
  margin-bottom: 15px;
}

.page-the-thao__tips-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* --- CTA Section --- */
.page-the-thao__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__cta-content {
  max-width: 900px;
}

.page-the-thao__cta-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-the-thao__cta-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ Section --- */
.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #F4F7FB;
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-the-thao__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 25px;
  background: #F9F9F9;
  border-radius: 0 0 10px 10px;
  color: #1F2D3D; /* Text Main */
}

.page-the-thao__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-the-thao__faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    margin-top: -60px;
    padding: 30px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(26px, 4vw, 40px);
  }

  .page-the-thao__hero-description {
    font-size: 18px;
  }

  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-the-thao__section-title {
    font-size: 30px;
  }

  .page-the-thao__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-the-thao__feature-title, .page-the-thao__step-title, .page-the-thao__sport-title {
    font-size: 22px;
  }

  .page-the-thao__feature-text, .page-the-thao__step-text, .page-the-thao__sport-text,
  .page-the-thao__tips-list, .page-the-thao__faq-qtext {
    font-size: 16px;
  }

  .page-the-thao__cta-title {
    font-size: 34px;
  }

  .page-the-thao__cta-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* 1. top-text 首块顶距约 10px */
  .page-the-thao__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .page-the-thao__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}