/* ===== The Thao Page Styles ===== */
.page-the-thao {
  color: #333333;
  background: #F5F7FA;
  line-height: 1.6;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding: 10px 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-the-thao__hero-image-wrap {
  width: 100%;
}

.page-the-thao__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.page-the-thao__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.page-the-thao__hero-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #E53935;
  max-width: 800px;
  margin: 0;
}

.page-the-thao__hero-desc {
  font-size: 1.05rem;
  color: #333333;
  max-width: 680px;
  margin: 0;
}

.page-the-thao__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Buttons */
.page-the-thao__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  text-align: center;
  box-sizing: border-box;
}

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-the-thao__btn--secondary {
  background: #ffffff;
  color: #E53935;
  border-color: #E53935;
}

.page-the-thao__btn--cta {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.page-the-thao__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.25);
}

/* Section spacing */
.page-the-thao__features-section,
.page-the-thao__games-section,
.page-the-thao__guide-section,
.page-the-thao__faq-section,
.page-the-thao__logo-section,
.page-the-thao__cta-section {
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-the-thao__section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #333333;
  margin: 0 0 24px;
  letter-spacing: 0.5px;
}

/* Features grid */
.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.page-the-thao__feature-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.page-the-thao__feature-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.page-the-thao__feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #E53935;
  margin: 0 0 8px;
}

.page-the-thao__feature-desc {
  font-size: 0.95rem;
  color: #555555;
  margin: 0;
}

/* Games grid */
.page-the-thao__games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-the-thao__game-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-the-thao__game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.page-the-thao__game-image {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
}

.page-the-thao__game-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #E53935;
  padding: 16px 16px 0;
}

.page-the-thao__game-desc {
  font-size: 0.95rem;
  color: #555555;
  padding: 8px 16px;
  margin: 0;
}

.page-the-thao__link {
  display: inline-block;
  margin: 0 16px 16px;
  padding: 8px 20px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.page-the-thao__link:hover {
  opacity: 0.9;
}

/* Guide section */
.page-the-thao__guide-section {
  background: #ffffff;
}

.page-the-thao__guide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-the-thao__guide-figure {
  margin: 0;
  width: 100%;
}

.page-the-thao__guide-image {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.page-the-thao__guide-steps {
  max-width: 700px;
  padding-left: 20px;
  margin: 0;
}

.page-the-thao__guide-step {
  margin-bottom: 10px;
}

.page-the-thao__guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ section */
.page-the-thao__faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-the-thao__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 16px 20px;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  color: #333333;
  list-style: none;
}

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

.page-the-thao__faq-toggle {
  color: #E53935;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}

.page-the-thao__faq-answer {
  margin: 12px 0 0;
  color: #555555;
}

/* Logo grid */
.page-the-thao__logo-section {
  background: #ffffff;
}

.page-the-thao__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.page-the-thao__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
}

.page-the-thao__logo-image {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: contain;
  filter: none;
}

.page-the-thao__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-the-thao__logo-item:nth-child(6) {
  grid-column: 3;
}

/* CTA */
.page-the-thao__cta-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  max-width: none;
  padding: 40px 16px;
}

.page-the-thao__cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.page-the-thao__cta-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.page-the-thao__cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 0;
}

.page-the-thao__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-the-thao__cta-actions .page-the-thao__btn--secondary {
  background: #ffffff;
  color: #E53935;
  border-color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-the-thao__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding: 8px 12px 16px;
    gap: 16px;
  }

  .page-the-thao__hero-image {
    aspect-ratio: 2/1;
  }

  .page-the-thao__hero-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .page-the-thao__hero-desc {
    font-size: 0.95rem;
  }

  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__games-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__guide-title {
    font-size: 1.3rem;
  }

  .page-the-thao__logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-the-thao__logo-item:nth-child(5),
  .page-the-thao__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-the-thao__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-the-thao__hero-actions,
  .page-the-thao__guide-actions,
  .page-the-thao__cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page-the-thao__hero-actions .page-the-thao__btn,
  .page-the-thao__guide-actions .page-the-thao__btn,
  .page-the-thao__cta-actions .page-the-thao__btn {
    width: 100%;
    max-width: 100%;
  }

  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-the-thao {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-the-thao__section-title {
    font-size: 1.4rem;
  }

  .page-the-thao__cta-title {
    font-size: 1.4rem;
  }
}