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

.page-ththao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Body background is dark, so main text should be light */
  background-color: var(--background-color-page);
}

.page-ththao__section {
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-ththao__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-ththao__section-description {
  font-size: 18px;
  color: var(--text-secondary-color);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ththao__text-center {
  text-align: center;
}

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

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color-page);
}

.page-ththao__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-ththao__hero-image-main {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
}

.page-ththao__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-ththao__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-ththao__hero-description {
  font-size: 20px;
  color: var(--text-main-color);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-ththao__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-ththao__cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

/* General Buttons */
.page-ththao__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-ththao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-ththao__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--card-bg-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.page-ththao__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-ththao__btn-text {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-ththao__btn-text:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

/* Grid Layouts */
.page-ththao__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

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

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

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

/* Image Styling */
.page-ththao__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Card Styles */
.page-ththao__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ththao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--primary-color);
}

.page-ththao__card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-ththao__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-ththao__card p {
  color: var(--text-secondary-color);
  font-size: 15px;
}

/* Intro Section */
.page-ththao__intro-section {
  background-color: var(--background-color-page);
}

/* Featured Sports Section */
.page-ththao__featured-sports-section {
  background-color: var(--deep-green-color);
}

.page-ththao__featured-sports-section .page-ththao__card {
  background-color: rgba(17, 39, 27, 0.8);
  border-color: var(--divider-color);
}

/* Guide Section */
.page-ththao__guide-section {
  background-color: var(--background-color-page);
}

.page-ththao__step-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-ththao__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--button-gradient);
  color: var(--text-main-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid var(--gold-color);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-ththao__step-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-ththao__step-card p {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

/* Promotions Section */
.page-ththao__promotions-section {
  background-color: var(--deep-green-color);
}

.page-ththao__promotion-card {
  background-color: rgba(17, 39, 27, 0.8);
  border: 1px solid var(--divider-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-ththao__promotion-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

/* Security Section */
.page-ththao__security-section {
  background-color: var(--background-color-page);
}

.page-ththao__feature-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

/* FAQ Section */
.page-ththao__faq-section {
  background-color: var(--deep-green-color);
}

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

details.page-ththao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-ththao__faq-item summary.page-ththao__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-ththao__faq-item summary.page-ththao__faq-question::-webkit-details-marker {
  display: none;
}

details.page-ththao__faq-item summary.page-ththao__faq-question:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
}

.page-ththao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}

.page-ththao__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-ththao__faq-item .page-ththao__faq-answer {
  padding: 0 25px 25px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary-color);
}

/* Blog/News Section */
.page-ththao__blog-news-section {
  background-color: var(--background-color-page);
}

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

.page-ththao__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-ththao__blog-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

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

.page-ththao__blog-title a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-ththao__blog-title a:hover {
  color: var(--glow-color);
}

.page-ththao__blog-excerpt {
  font-size: 15px;
  color: var(--text-secondary-color);
  margin-bottom: 15px;
}

.page-ththao__read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ththao__hero-title {
    font-size: 40px;
  }
  .page-ththao__hero-description {
    font-size: 18px;
  }
  .page-ththao__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ththao__hero-image-main {
    border-radius: 8px;
  }
  .page-ththao__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-ththao__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-ththao__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ththao__section {
    padding: 40px 15px;
  }
  .page-ththao__section-title {
    font-size: 28px;
  }
  .page-ththao__section-description {
    font-size: 16px;
  }

  .page-ththao__grid-2-cols,
  .page-ththao__grid-3-cols,
  .page-ththao__grid-steps,
  .page-ththao__grid-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ththao__intro-section .page-ththao__grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-ththao__intro-section .page-ththao__image-wrapper {
    order: -1; /* Image appears above text on mobile */
  }

  .page-ththao__card,
  .page-ththao__promotion-card,
  .page-ththao__step-card,
  .page-ththao__feature-item,
  .page-ththao__blog-card {
    padding: 20px;
    border-radius: 10px;
  }
  .page-ththao__card-title,
  .page-ththao__promotion-title,
  .page-ththao__step-title,
  .page-ththao__feature-title,
  .page-ththao__blog-title {
    font-size: 18px;
  }
  .page-ththao__blog-card img {
    height: 200px;
  }

  details.page-ththao__faq-item summary.page-ththao__faq-question {
    padding: 15px 20px;
  }
  .page-ththao__faq-qtext {
    font-size: 16px;
  }
  .page-ththao__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  details.page-ththao__faq-item .page-ththao__faq-answer {
    padding: 0 20px 20px;
  }

  /* Image responsiveness for all images */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .page-ththao__promotion-card,
  .page-ththao__step-card,
  .page-ththao__feature-item,
  .page-ththao__blog-card,
  .page-ththao__text-block,
  .page-ththao__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Buttons responsiveness */
  .page-ththao__cta-button,
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao a[class*="btn-text"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-ththao__text-block .page-ththao__btn-text {
    display: block;
    margin-top: 10px;
  }

  .page-ththao__text-center .page-ththao__cta-button,
  .page-ththao__text-center .page-ththao__btn-primary,
  .page-ththao__text-center .page-ththao__btn-secondary {
    width: auto !important; /* Allow buttons in text-center to adjust width */
    max-width: 100% !important;
  }

  .page-ththao__text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-ththao__hero-title {
    font-size: 28px;
  }
  .page-ththao__section-title {
    font-size: 24px;
  }
  .page-ththao__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
}