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

.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-the-thao-text-main);
  background-color: var(--page-the-thao-background);
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-the-thao-text-main);
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--page-the-thao-text-secondary);
}

.page-the-thao__card {
  background-color: var(--page-the-thao-card-bg);
  border: 1px solid var(--page-the-thao-border);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-the-thao-text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao a {
  color: var(--page-the-thao-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao a:hover {
  color: var(--page-the-thao-secondary-color);
  text-decoration: underline;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: var(--page-the-thao-button-gradient);
  color: var(--page-the-thao-text-main);
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--page-the-thao-glow);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--page-the-thao-primary-color);
  border: 2px solid var(--page-the-thao-primary-color);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--page-the-thao-primary-color);
  color: var(--page-the-thao-text-main);
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Adjusted for fixed header offset */
  padding-bottom: 60px;
  background-color: var(--page-the-thao-background);
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 0 16px;
}

.page-the-thao__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: left;
}

.page-the-thao__hero-title {
  font-size: 3.2em;
  font-weight: 800;
  color: var(--page-the-thao-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  color: var(--page-the-thao-text-secondary);
  margin-bottom: 30px;
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Intro Section (Module 1) */
.page-the-thao__intro-section {
  background-color: var(--page-the-thao-background);
  padding: 60px 0;
}

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

.page-the-thao__feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__icon-box-media {
  width: 280px;
  height: 280px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--page-the-thao-primary-color);
  box-shadow: 0 0 20px rgba(17, 168, 78, 0.5);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--page-the-thao-text-main);
  margin-bottom: 15px;
}

.page-the-thao__feature-text {
  color: var(--page-the-thao-text-secondary);
  font-size: 1em;
}

/* Content Area - Prominent Sports */
.page-the-thao__content-area {
  padding: 60px 0;
}

.page-the-thao__dark-section {
  background-color: var(--page-the-thao-deep-green);
  color: var(--page-the-thao-text-main);
}

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

.page-the-thao__sport-card {
  text-align: center;
}

.page-the-thao__sport-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-the-thao__sport-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--page-the-thao-text-main);
  margin-bottom: 10px;
}

.page-the-thao__sport-text {
  color: var(--page-the-thao-text-secondary);
}

/* Guide Section */
.page-the-thao__guide-section {
  background-color: var(--page-the-thao-background);
  padding: 60px 0;
}

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

.page-the-thao__guide-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 40px;
}

.page-the-thao__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--page-the-thao-button-gradient);
  color: var(--page-the-thao-text-main);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 3px solid var(--page-the-thao-deep-green);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-the-thao__step-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--page-the-thao-text-main);
  margin-bottom: 10px;
  margin-top: 20px;
}

.page-the-thao__step-text {
  color: var(--page-the-thao-text-secondary);
}

.page-the-thao__guide-image-wrapper {
  margin-top: 60px;
  text-align: center;
}

.page-the-thao__guide-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Benefits Section */
.page-the-thao__benefits-section {
  padding: 60px 0;
}

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

.page-the-thao__benefit-item {
  text-align: center;
}

.page-the-thao__benefit-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-the-thao__benefit-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--page-the-thao-text-main);
  margin-bottom: 10px;
}

.page-the-thao__benefit-text {
  color: var(--page-the-thao-text-secondary);
}

/* FAQ Section */
.page-the-thao__faq-section {
  background-color: var(--page-the-thao-background);
  padding: 60px 0;
}

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

.page-the-thao__faq-item {
  background-color: var(--page-the-thao-card-bg);
  border: 1px solid var(--page-the-thao-border);
  border-radius: 12px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-the-thao-text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--page-the-thao-primary-color);
  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;
  font-size: 1em;
  color: var(--page-the-thao-text-secondary);
  line-height: 1.5;
}

/* CTA Section */
.page-the-thao__cta-section {
  background-color: var(--page-the-thao-deep-green);
  padding: 60px 0;
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: 2.8em;
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-the-thao__hero-content {
    text-align: center;
  }
  .page-the-thao__hero-cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 20px 15px;
  }

  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-the-thao__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-the-thao__hero-cta-buttons,
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-the-thao__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  /* Module 1: Intro Section (features) */
  .page-the-thao__intro-section,
  .page-the-thao__content-area,
  .page-the-thao__guide-section,
  .page-the-thao__benefits-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-section {
    padding: 40px 0;
  }

  .page-the-thao__features-grid,
  .page-the-thao__sport-categories,
  .page-the-thao__guide-steps,
  .page-the-thao__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
  }

  .page-the-thao__feature-title {
    font-size: 1.5em;
  }

  /* Universal Image Responsive */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__sport-title,
  .page-the-thao__benefit-title {
    font-size: 1.4em;
  }

  .page-the-thao__guide-step {
    padding-top: 30px;
  }

  .page-the-thao__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
    top: -22px;
  }

  .page-the-thao__step-title {
    font-size: 1.3em;
  }

  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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