/* CSS file: style/the-thao.css */
.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding to avoid double spacing from body */
  margin-bottom: 40px;
  text-align: center;
  background-color: #0A0A0A;
}

.page-the-thao__hero-image-wrapper {
  margin-bottom: 30px;
}

.page-the-thao__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-the-thao__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.15rem;
  color: #FFF6D6;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-the-thao__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-outline {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-the-thao__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
}

.page-the-thao__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-the-thao__btn-outline {
  background: transparent;
  color: #F2C14E;
  border: 1px solid #3A2A12; /* Border color */
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-the-thao__btn-outline:hover {
  background: #F2C14E;
  color: #111111;
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-the-thao__dark-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-the-thao__introduction-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-the-thao__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF6D6;
}

.page-the-thao__highlight {
  color: #FFD36B; /* Glow */
  font-weight: bold;
}

.page-the-thao__sports-types-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #0A0A0A;
}

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

.page-the-thao__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-the-thao__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__card-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__benefits-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-the-thao__benefit-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-the-thao__benefit-text {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-the-thao__promotion-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #0A0A0A;
}

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

.page-the-thao__promotion-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-the-thao__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-the-thao__promotion-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__promotion-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__how-to-play-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-the-thao__step-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-the-thao__step-number {
  font-size: 2.5rem;
  color: #F2C14E;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

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

.page-the-thao__step-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__slot-integration-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #0A0A0A;
}

.page-the-thao__flex-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-the-thao__text-column,
.page-the-thao__image-column {
  flex: 1;
}

.page-the-thao__integration-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-the-thao__responsible-gaming-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-the-thao__responsible-gaming-cta {
  text-align: center;
  margin-top: 30px;
}

.page-the-thao__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #0A0A0A;
}

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

.page-the-thao__faq-item {
  background-color: #111111; /* Card BG */
  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: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2C14E;
  cursor: pointer;
  list-style: none;
  user-select: none;
  position: relative;
}

.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;
  text-align: left;
}

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFD36B;
  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 25px;
  font-size: 1rem;
  color: #FFF6D6;
  text-align: justify;
}

.page-the-thao__cta-bottom {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__cta-bottom .page-the-thao__section-title {
  margin-bottom: 20px;
}

.page-the-thao__cta-bottom .page-the-thao__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-the-thao__hero-description {
    font-size: 1.05rem;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }

  .page-the-thao__card-grid,
  .page-the-thao__benefit-list,
  .page-the-thao__promotion-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-the-thao__flex-row {
    flex-direction: column;
  }

  .page-the-thao__text-column,
  .page-the-thao__image-column {
    flex: none;
    width: 100%;
  }

  .page-the-thao__integration-image {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px !important;
  }

  .page-the-thao__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  }

  .page-the-thao__hero-description {
    font-size: 1rem !important;
  }

  .page-the-thao__hero-cta-group {
    flex-direction: column !important;
    gap: 15px !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__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
    margin-bottom: 30px !important;
  }

  .page-the-thao__dark-section,
  .page-the-thao__introduction-section,
  .page-the-thao__sports-types-section,
  .page-the-thao__benefits-section,
  .page-the-thao__promotion-section,
  .page-the-thao__how-to-play-section,
  .page-the-thao__slot-integration-section,
  .page-the-thao__responsible-gaming-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom {
    padding: 40px 0 !important;
    margin-bottom: 30px !important;
  }

  .page-the-thao__text-block {
    font-size: 0.95rem !important;
  }

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

  .page-the-thao__card-grid,
  .page-the-thao__benefit-list,
  .page-the-thao__promotion-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__card,
  .page-the-thao__benefit-item,
  .page-the-thao__promotion-card,
  .page-the-thao__step-item {
    padding: 20px !important;
  }

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

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

  .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-the-thao__flex-row {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .page-the-thao__image-column {
    margin-top: 15px !important;
  }

  /* Long text / gold frame (not explicitly defined as gold frame, but general text blocks) */
  .page-the-thao__text-block {
    height: auto !important;
    overflow-y: visible !important;
  }

  /* No game / brand carousels on this non-homepage */

  /* No blog masonry or blog slider on this non-homepage, but general card grid is covered above */
}