/* General Styling for page-the-thao */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.page-the-thao__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-the-thao__section:last-of-type {
  border-bottom: none;
}

.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 font size constraint applied to H2 */
  font-weight: 700;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #FFF6D6;
}

.page-the-thao__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao__text-block p {
  margin-bottom: 15px;
}

.page-the-thao__text-block .highlight {
  color: #FFD36B;
  font-weight: 600;
}

/* HERO Section */
.page-the-thao__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-the-thao__hero-image {
  width: 100%;
  height: 675px; /* Fixed height for desktop, will be responsive, aspect ratio 16:9 for 1200x675 */
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-the-thao__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover to fill */
  display: block;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__hero-title {
  font-size: clamp(36px, 5vw, 64px); /* H1 font size constraint */
  font-weight: 800;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-the-thao__hero-description {
  font-size: 20px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color border */
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-the-thao__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

/* Content Layouts */
.page-the-thao__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-the-thao__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-the-thao__text-block {
  flex: 1;
  min-width: 0; /* Allow flex item to shrink */
}

.page-the-thao__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-the-thao__image-block--center {
  margin: 40px auto;
  max-width: 800px;
  width: 100%;
}

.page-the-thao__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-the-thao__feature-list li {
  background: #111111; /* Card BG */
  border-left: 5px solid #F2C14E; /* Main color */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
}

.page-the-thao__feature-list li strong {
  color: #FFD36B; /* Auxiliary color */
}

/* Popular Sports Grid */
.page-the-thao__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao__sport-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.3);
}

.page-the-thao__sport-title {
  font-size: 22px;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 700;
}

/* Promotions Section */
.page-the-thao__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-the-thao__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
}

.page-the-thao__card-title {
  font-size: 22px;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 700;
}

/* How to Start Section */
.page-the-thao__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-the-thao__step-list li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 60px;
  color: #FFF6D6; /* Text Main */
}

.page-the-thao__step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #F2C14E; /* Main color */
  color: #0A0A0A; /* Dark text for contrast */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.4);
}

.page-the-thao__step-title {
  font-size: 20px;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 8px;
  font-weight: 600;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Main color for question */
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Text Main */
}

/* Conclusion Section */
.page-the-thao__section--conclusion {
  text-align: center;
  padding: 80px 0;
  background: #F2C14E; /* Main color for dark section */
  color: #0A0A0A; /* Dark text for contrast */
  border-bottom: none;
}

.page-the-thao__section--conclusion .page-the-thao__section-title {
  color: #0A0A0A; /* Dark text for contrast */
  text-shadow: none;
}

.page-the-thao__section--conclusion .page-the-thao__section-description {
  color: #111111; /* Even darker text for contrast */
}

.page-the-thao__section--conclusion .page-the-thao__hero-buttons a {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__section--conclusion .page-the-thao__btn-primary {
  color: #ffffff;
}

.page-the-thao__section--conclusion .page-the-thao__btn-secondary {
  background: #0A0A0A;
  color: #F2C14E;
  border-color: #F2C14E;
}

.page-the-thao__section--conclusion .page-the-thao__btn-secondary:hover {
  background: #111111;
  color: #FFD36B;
  border-color: #FFD36B;
}

.page-the-thao__cta-buttons--center {
  justify-content: center;
}

.page-the-thao__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 20px 30px;
  }

  .page-the-thao__hero-image {
    height: 500px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }

  .page-the-thao__hero-description {
    font-size: 18px;
  }

  .page-the-thao__section-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }

  .page-the-thao__content-wrapper {
    flex-direction: column;
  }

  .page-the-thao__content-wrapper--reversed {
    flex-direction: column; /* Keep column for reversed on tablet */
  }

  .page-the-thao__image-block,
  .page-the-thao__text-block {
    width: 100%;
    max-width: 700px;
  }

  .page-the-thao__image-block img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-the-thao__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__section {
    padding: 40px 0;
  }

  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .page-the-thao__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

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

  /* HERO Section Mobile */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, no var(--header-offset) */
    padding-bottom: 40px;
  }

  .page-the-thao__hero-image {
    height: 250px; /* Smaller height for mobile hero */
    margin-bottom: 25px;
  }

  .page-the-thao__hero-image img {
    object-fit: contain !important; /* Mobile: contain to show full image */
    aspect-ratio: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}