/* Base styles for the page-the-thao */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.page-the-thao__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-the-thao__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-the-thao__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-the-thao__subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #FFF6D6; /* Text Main */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #E8B428 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color for border */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-the-thao__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

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

/* Intro Section */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.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: #1A1A1A;
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-the-thao__feature-icon {
  width: 200px; /* Min size requirement */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-the-thao__feature-title {
  font-size: 24px;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__feature-description {
  font-size: 16px;
  color: #FFF6D6;
}

/* Bonus Section */
.page-the-thao__bonus-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-the-thao__bonus-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.page-the-thao__bonus-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #F2C14E;
}

.page-the-thao__bonus-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-the-thao__bonus-subtitle {
  font-size: 22px;
  color: #F2C14E;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-the-thao__bonus-steps {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-the-thao__bonus-steps li {
  margin-bottom: 10px;
  font-size: 17px;
}

.page-the-thao__bonus-steps li a {
    color: #FFD36B;
    text-decoration: none;
}

.page-the-thao__bonus-steps li a:hover {
    text-decoration: underline;
}

.page-the-thao__note {
  font-style: italic;
  font-size: 15px;
  color: #AAAAAA;
  margin-top: 20px;
}

.page-the-thao__btn-full-width {
  width: 100%;
  margin-top: 30px;
}

/* Sports List Section */
.page-the-thao__sports-list-section {
  padding: 60px 0;
  background-color: #111111;
}

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

.page-the-thao__sport-card {
  background-color: #1A1A1A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

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

.page-the-thao__sport-title {
  font-size: 22px;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__sport-description {
  font-size: 16px;
  color: #FFF6D6;
  flex-grow: 1;
}

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

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

.page-the-thao__step-card {
  background-color: #1A1A1A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-the-thao__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
  background-color: rgba(242, 193, 78, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-the-thao__step-title {
  font-size: 24px;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__step-description {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-the-thao__btn-outline {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid #F2C14E;
  color: #F2C14E;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-the-thao__btn-outline:hover {
  background-color: #F2C14E;
  color: #111111;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

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

.page-the-thao__faq-item {
  background-color: #1A1A1A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 19px;
  font-weight: bold;
  color: #FFD36B;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 24px;
  color: #F2C14E;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #FFF6D6;
  line-height: 1.7;
}

.page-the-thao__faq-answer p {
    text-align: left;
}

/* Contact CTA Section */
.page-the-thao__contact-cta-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 20px 30px;
  }

  .page-the-thao__hero-content {
    padding: 0 30px;
  }

  .page-the-thao__main-title {
    font-size: clamp(32px, 4.5vw, 55px);
  }

  .page-the-thao__subtitle {
    font-size: clamp(16px, 2.2vw, 22px);
  }

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

  .page-the-thao__bonus-content {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__bonus-image {
    max-width: 100%;
  }

  .page-the-thao__bonus-text {
    text-align: center;
  }

  .page-the-thao__bonus-steps {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }
}

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

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

  .page-the-thao__main-title {
    font-size: clamp(28px, 8vw, 45px) !important;
    margin-bottom: 15px;
  }

  .page-the-thao__subtitle {
    font-size: clamp(16px, 4vw, 20px) !important;
    margin-bottom: 30px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-outline,
  .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;
  }

  .page-the-thao__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__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;
  }

  /* 通用图片与容器 */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 36px) !important;
    margin-bottom: 30px;
  }

  .page-the-thao__text-block {
    font-size: 16px;
    text-align: left;
  }

  .page-the-thao__features-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-the-thao__feature-icon {
    width: 150px;
    height: auto;
  }

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

  .page-the-thao__sport-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-the-thao__bonus-text {
    text-align: left;
  }

  .page-the-thao__bonus-steps {
    padding-left: 20px;
  }

  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 17px;
  }

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

/* Placeholder styles for other modules (not applicable to this page, but included for completeness if they were used) */
.page-the-thao__home-content { /* Long-text gold border area - not used on this page */
    border: 1px solid #FBB00D;
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    max-width: 900px;
    background-color: #1A1A1A;
    height: auto; /* Not fixed height */
    overflow-y: visible; /* Not scrollable */
}
@media (max-width: 768px) {
    .page-the-thao__home-content {
        height: auto !important;
        overflow-y: visible !important;
        padding: 20px !important;
        margin: 20px 15px !important;
    }
    .page-the-thao__home-content h2 {
        font-size: clamp(22px, 6vw, 30px) !important;
    }
}

.page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop { /* Game/Sport/Coop rows - not directly used here but for structure */
    background-color: #0A0A0A;
    padding: 40px 20px;
    max-width: 1330px;
    margin: 0 auto;
}
.page-the-thao__games-title, .page-the-thao__sport-title, .page-the-thao__coop-title { /* Titles */
    color: #fff;
    text-align: center;
}
.page-the-thao__slider-wrapper { /* Game slider wrapper - not used on this page */
    overflow: hidden;
}
.page-the-thao__slider-track { /* Game slider track - not used on this page */
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}
.page-the-thao__game-slide { /* Game slide item - not used on this page */
    flex: 0 0 200px;
    max-width: 200px;
}
@media (max-width: 768px) {
    .page-the-thao__game-slide {
        flex: 0 0 160px !important;
        max-width: 160px !important;
    }
}

.page-the-thao__banners-top-wrapper { /* Banners/Gameshow grid - not used on this page */
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}
.page-the-thao__banner-item img { /* Banner image */
    
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
@media (max-width: 768px) {
    .page-the-thao__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

.page-the-thao__blog-masonry { /* Blog masonry layout - not used on this page */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.page-the-thao__blog-card-link { /* Blog card link */
    display: flex;
    flex-direction: column;
    height: 100%;
}
.page-the-thao__blog-slider-track { /* Blog slider track - not used on this page */
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}
.page-the-thao__blog-slide { /* Blog slide item - not used on this page */
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}
@media (max-width: 768px) {
    .page-the-thao__blog-masonry {
        grid-template-columns: 1fr !important;
    }
    .page-the-thao__blog-slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}