/* style/ththao.css */

:root {
  --f8bet50-primary: #11A84E;
  --f8bet50-secondary: #22C768;
  --f8bet50-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --f8bet50-card-bg: #11271B;
  --f8bet50-bg: #08160F;
  --f8bet50-text-main: #F2FFF6;
  --f8bet50-text-secondary: #A7D9B8;
  --f8bet50-border: #2E7A4E;
  --f8bet50-glow: #57E38D;
  --f8bet50-gold: #F2C14E;
  --f8bet50-divider: #1E3A2A;
  --f8bet50-deep-green: #0A4B2C;
}

.page-ththao {
  font-family: Arial, sans-serif;
  color: var(--f8bet50-text-main); /* Light text for dark body background */
  background-color: var(--f8bet50-bg); /* Body background from shared.css */
  line-height: 1.6;
}

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

.page-ththao__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--f8bet50-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-ththao__text-block {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--f8bet50-text-secondary);
}

.page-ththao__hero-section {
  padding: 10px 0 60px 0;
  background: var(--f8bet50-deep-green);
  overflow: hidden;
}

.page-ththao__hero-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ththao__hero-text-block {
  flex: 1;
  max-width: 600px;
}

.page-ththao__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--f8bet50-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-ththao__hero-description {
  font-size: 20px;
  color: var(--f8bet50-text-main);
  margin-bottom: 30px;
}

.page-ththao__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

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

.page-ththao__btn-primary {
  background: var(--f8bet50-btn-gradient);
  color: #ffffff;
  border: none;
}

.page-ththao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.page-ththao__btn-secondary {
  background: none;
  color: var(--f8bet50-primary);
  border: 2px solid var(--f8bet50-primary);
}

.page-ththao__btn-secondary:hover {
  background: var(--f8bet50-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.page-ththao__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: block;
}

.page-ththao__about-section {
  padding: 80px 0;
  background-color: var(--f8bet50-bg);
}

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

.page-ththao__feature-item {
  background-color: var(--f8bet50-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--f8bet50-border);
}

.page-ththao__feature-item:hover {
  transform: translateY(-5px);
}

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

.page-ththao__feature-title {
  font-size: 24px;
  color: var(--f8bet50-primary);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ththao__feature-description {
  font-size: 16px;
  color: var(--f8bet50-text-secondary);
}

.page-ththao__categories-section {
  padding: 80px 0;
  background-color: var(--f8bet50-deep-green);
}

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

.page-ththao__category-card {
  background-color: var(--f8bet50-card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid var(--f8bet50-border);
}

.page-ththao__category-card:hover {
  transform: translateY(-5px);
}

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

.page-ththao__category-title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
}

.page-ththao__category-title a {
  color: var(--f8bet50-primary);
  text-decoration: none;
}

.page-ththao__category-title a:hover {
  text-decoration: underline;
  color: var(--f8bet50-gold);
}

.page-ththao__category-description {
  font-size: 16px;
  color: var(--f8bet50-text-secondary);
  padding: 0 20px 20px 20px;
}

.page-ththao__why-choose-section {
  padding: 80px 0;
  background-color: var(--f8bet50-bg);
}

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

.page-ththao__why-choose-item {
  background-color: var(--f8bet50-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--f8bet50-border);
}

.page-ththao__item-title {
  font-size: 24px;
  color: var(--f8bet50-primary);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ththao__item-description {
  font-size: 16px;
  color: var(--f8bet50-text-secondary);
}

.page-ththao__guide-section {
  padding: 80px 0;
  background-color: var(--f8bet50-deep-green);
}

.page-ththao__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__guide-item {
  background-color: var(--f8bet50-card-bg);
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--f8bet50-border);
}

.page-ththao__guide-step-title {
  font-size: 22px;
  color: var(--f8bet50-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ththao__guide-step-description {
  font-size: 16px;
  color: var(--f8bet50-text-secondary);
}

.page-ththao__cta-buttons--center {
  justify-content: center;
  margin-top: 40px;
}

.page-ththao__news-blog-section {
  padding: 80px 0;
  background-color: var(--f8bet50-bg);
}

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

.page-ththao__news-card {
  background-color: var(--f8bet50-card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid var(--f8bet50-border);
}

.page-ththao__news-card:hover {
  transform: translateY(-5px);
}

.page-ththao__news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-ththao__news-content {
  padding: 20px;
}

.page-ththao__news-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-ththao__news-title a {
  color: var(--f8bet50-primary);
  text-decoration: none;
}

.page-ththao__news-title a:hover {
  text-decoration: underline;
  color: var(--f8bet50-gold);
}

.page-ththao__news-meta {
  font-size: 14px;
  color: var(--f8bet50-text-secondary);
  margin-bottom: 15px;
}

.page-ththao__news-excerpt {
  font-size: 16px;
  color: var(--f8bet50-text-secondary);
  margin-bottom: 20px;
}

.page-ththao__read-more {
  color: var(--f8bet50-secondary);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.page-ththao__read-more:hover {
  text-decoration: underline;
  color: var(--f8bet50-gold);
}

.page-ththao__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-ththao__faq-section {
  padding: 80px 0;
  background-color: var(--f8bet50-deep-green);
}

.page-ththao__faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
}

.page-ththao__faq-item {
  background-color: var(--f8bet50-card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--f8bet50-border);
  overflow: hidden;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--f8bet50-text-main);
  cursor: pointer;
  background-color: var(--f8bet50-card-bg);
  user-select: none;
}

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

.page-ththao__faq-question::marker {
  display: none;
}

.page-ththao__faq-toggle {
  font-size: 24px;
  color: var(--f8bet50-primary);
  margin-left: 15px;
}

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

.page-ththao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--f8bet50-text-secondary);
  line-height: 1.6;
}

.page-ththao__faq-answer p {
  margin: 0;
}

.page-ththao__faq-answer a {
  color: var(--f8bet50-secondary);
  text-decoration: underline;
}

.page-ththao__faq-answer a:hover {
  color: var(--f8bet50-gold);
}

.page-ththao__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--f8bet50-bg);
  text-align: center;
}

.page-ththao__cta-bottom-content {
  max-width: 900px;
  margin: 0 auto;
}

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

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-ththao__hero-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-ththao__hero-text-block {
    max-width: 100%;
  }

  .page-ththao__cta-buttons {
    justify-content: center;
  }

  .page-ththao__hero-image-wrapper {
    justify-content: center;
    margin-top: 40px;
  }

  .page-ththao__features-grid,
  .page-ththao__category-grid,
  .page-ththao__why-choose-grid,
  .page-ththao__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-ththao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ththao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ththao__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 25px;
  }

  .page-ththao__text-block {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-ththao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-ththao__hero-content-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
  }

  .page-ththao__main-title {
    font-size: clamp(30px, 8vw, 48px);
    margin-bottom: 15px;
  }

  .page-ththao__hero-description {
    font-size: 18px;
    margin-bottom: 25px;
  }

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-ththao__hero-image-wrapper {
    margin-top: 30px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ththao__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Mobile hero image: contain */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  /* About Section */
  .page-ththao__about-section {
    padding: 40px 0;
  }

  .page-ththao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ththao__feature-item {
    padding: 25px;
  }

  .page-ththao__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-ththao__feature-title {
    font-size: 20px;
  }

  /* Categories Section */
  .page-ththao__categories-section {
    padding: 40px 0;
  }

  .page-ththao__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ththao__category-image {
    height: 180px;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-ththao__category-title {
    font-size: 20px;
    margin: 15px 15px 8px 15px;
  }

  .page-ththao__category-description {
    padding: 0 15px 15px 15px;
  }

  /* Why Choose Section */
  .page-ththao__why-choose-section {
    padding: 40px 0;
  }

  .page-ththao__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ththao__why-choose-item {
    padding: 25px;
  }

  .page-ththao__item-title {
    font-size: 20px;
  }

  /* Guide Section */
  .page-ththao__guide-section {
    padding: 40px 0;
  }

  .page-ththao__guide-list {
    margin-top: 30px;
  }

  .page-ththao__guide-item {
    padding: 20px 25px;
    margin-bottom: 15px;
  }

  .page-ththao__guide-step-title {
    font-size: 18px;
  }

  .page-ththao__cta-buttons--center {
    flex-direction: column !important;
    gap: 15px;
    margin-top: 30px;
    padding: 0 15px;
  }

  /* News/Blog Section */
  .page-ththao__news-blog-section {
    padding: 40px 0;
  }

  .page-ththao__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ththao__news-card {
    margin-bottom: 0;
  }

  .page-ththao__news-image {
    height: 180px;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-ththao__news-content {
    padding: 15px;
  }

  .page-ththao__news-title {
    font-size: 18px;
  }

  .page-ththao__news-meta {
    font-size: 13px;
  }

  .page-ththao__news-excerpt {
    font-size: 15px;
  }

  .page-ththao__read-more {
    font-size: 15px;
  }

  .page-ththao__view-all-wrapper {
    margin-top: 30px;
  }

  /* FAQ Section */
  .page-ththao__faq-section {
    padding: 40px 0;
  }

  .page-ththao__faq-list {
    margin-top: 30px;
  }

  .page-ththao__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-ththao__faq-toggle {
    font-size: 20px;
  }

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

  /* CTA Bottom Section */
  .page-ththao__cta-bottom-section {
    padding: 40px 0;
  }

  .page-ththao__cta-bottom-content {
    padding: 0 15px;
  }

  /* General image and container rules for mobile */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
    padding-right: 15px;
  }
}