.page-ththao {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  line-height: 1.6;
}

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

.page-ththao__hero-section {
  position: relative;
  padding-top: 10px; /* Adjusted for fixed header */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: #7A0E0E; /* Deep Red */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-ththao__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-ththao__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #FFD86A; /* Gold-like from button gradient */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 216, 106, 0.5);
}

.page-ththao__hero-description {
  font-size: 1.1rem;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ththao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Gold */
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__btn-secondary {
  background-color: transparent;
  color: #FFD86A; /* Gold */
  border: 2px solid #F2B544; /* Border Gold */
}

.page-ththao__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  width: fit-content;
}

.page-ththao__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #FFD86A; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-ththao__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF5E1; /* Text Main */
}

.page-ththao__introduction-section,
.page-ththao__bet-types-section,
.page-ththao__promotions-section,
.page-ththao__guide-section,
.page-ththao__cta-section {
  padding: 60px 0;
}

.page-ththao__dark-bg {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

.page-ththao__sports-variety-section,
.page-ththao__live-betting-section,
.page-ththao__why-choose-section,
.page-ththao__faq-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
}

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

.page-ththao__sports-item,
.page-ththao__bet-type-item,
.page-ththao__benefit-item,
.page-ththao__guide-item,
.page-ththao__faq-item.page-ththao__card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #F2B544; /* Border Gold */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ththao__sports-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-ththao__sports-title,
.page-ththao__bet-type-title,
.page-ththao__benefit-title,
.page-ththao__guide-title {
  font-size: 1.5rem;
  color: #FFD86A; /* Gold */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ththao__sports-text,
.page-ththao__bet-type-text,
.page-ththao__benefit-text,
.page-ththao__guide-text {
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
  flex-grow: 1;
}

.page-ththao__bet-types-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-ththao__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__promotions-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ththao__guide-item {
  text-align: center;
}

.page-ththao__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-ththao__faq-item {
  cursor: pointer;
  text-align: left;
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border Gold */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  padding: 0; /* Override default padding */
}

.page-ththao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFD86A; /* Gold */
  list-style: none;
  cursor: pointer;
}

.page-ththao__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-ththao__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F4D34D; /* Gold */
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  content: "−";
}

.page-ththao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
  line-height: 1.6;
}

.page-ththao__cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-ththao__mt-30 {
  margin-top: 30px;
}

/* General image responsiveness */
.page-ththao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__container {
    padding: 15px;
  }

  .page-ththao__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-ththao__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .page-ththao__sports-grid,
  .page-ththao__bet-types-list,
  .page-ththao__benefits-grid,
  .page-ththao__guide-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-ththao__introduction-section,
  .page-ththao__sports-variety-section,
  .page-ththao__bet-types-section,
  .page-ththao__live-betting-section,
  .page-ththao__promotions-section,
  .page-ththao__why-choose-section,
  .page-ththao__guide-section,
  .page-ththao__faq-section,
  .page-ththao__cta-section {
    padding: 40px 0;
  }

  .page-ththao__hero-content {
    padding: 30px 15px;
  }

  .page-ththao__hero-buttons,
  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .page-ththao__faq-item summary {
    font-size: 1.05rem;
    padding: 15px 20px;
  }

  .page-ththao__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

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

  .page-ththao__hero-title {
    font-size: 2.2rem !important; /* Adjusted for smaller screens */
  }

  .page-ththao__hero-description {
    font-size: 0.95rem !important;
  }

  .page-ththao__hero-content {
    padding: 20px 15px !important;
  }

  /* 2. 产品展示图区域 (Sports Grid in this case) */
  .page-ththao__sports-grid,
  .page-ththao__bet-types-list,
  .page-ththao__benefits-grid,
  .page-ththao__guide-list {
    grid-template-columns: 1fr !important; /* Single column layout */
    gap: 20px !important;
  }

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

  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao a[class*="button"],
  .page-ththao 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-ththao__hero-buttons,
  .page-ththao__cta-buttons,
  .page-ththao__button-group,
  .page-ththao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  /* 5. 其他内容模块 */
  .page-ththao {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .page-ththao__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
  }

  .page-ththao__section-description {
    font-size: 0.9rem !important;
    margin-bottom: 30px !important;
  }

  .page-ththao__card {
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }

  .page-ththao__faq-item summary {
    font-size: 1rem !important;
    padding: 15px !important;
  }

  .page-ththao__faq-answer {
    padding: 0 15px 15px 15px !important;
  }

  .page-ththao__mt-30 {
    margin-top: 20px !important;
  }

  .page-ththao__live-betting-image,
  .page-ththao__promotions-image {
    margin: 20px auto !important;
  }

  .page-ththao__sports-image {
    height: auto !important;
  }
}