.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy-color); /* Body background from shared.css */
}

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

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-the-thao__hero-content-area {
  position: relative;
  padding: 40px 0;
  z-index: 1;
  width: 100%;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #113B7A; /* Primary color */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border color */
}

.page-the-thao__btn-secondary:hover {
  background: #1D5FD1; /* Auxiliary color */
  transform: translateY(-2px);
}

.page-the-thao__btn-text {
  background: transparent;
  color: #4FA8FF; /* Glow color */
  border: 1px solid #4FA8FF;
  padding: 8px 15px;
  font-size: 0.95rem;
  border-radius: 5px;
}

.page-the-thao__btn-text:hover {
  background: #4FA8FF;
  color: #08162B; /* Deep Navy */
}

.page-the-thao__intro-section,
.page-the-thao__sports-categories,
.page-the-thao__how-to-bet,
.page-the-thao__live-betting-section,
.page-the-thao__promotions-section,
.page-the-thao__features-section,
.page-the-thao__responsible-gambling,
.page-the-thao__faq-section,
.page-the-thao__cta-bottom {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-the-thao__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-the-thao__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-the-thao__categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-the-thao__category-card {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #F3F8FF;
}

.page-the-thao__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: #F2C14E; /* Gold */
}

.page-the-thao__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-the-thao__card-title a:hover {
  text-decoration: underline;
}

.page-the-thao__card-description {
  font-size: 1rem;
  padding: 0 15px 20px;
  color: #AFC4E8;
  flex-grow: 1;
}

.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.page-the-thao__step-card {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-the-thao__step-description {
  font-size: 1rem;
  color: #AFC4E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__live-betting-section .page-the-thao__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-the-thao__live-betting-image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__live-betting-text {
  width: 50%;
}

.page-the-thao__live-betting-text .page-the-thao__text-block {
  text-align: left;
}

.page-the-thao__live-betting-text .page-the-thao__btn-primary {
  margin-top: 20px;
}

.page-the-thao__promotion-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-the-thao__promo-card {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-the-thao__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-the-thao__promo-description {
  font-size: 1rem;
  color: #AFC4E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.page-the-thao__feature-item {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-the-thao__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

.page-the-thao__feature-description {
  font-size: 1rem;
  color: #AFC4E8;
  flex-grow: 1;
}

.page-the-thao__responsible-gambling .page-the-thao__btn-secondary {
  margin-top: 30px;
  min-width: 250px;
}

/* FAQ Styles */
details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #F3F8FF;
}

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;
}

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: #08162B; /* Deep Navy */
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  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: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8;
  font-size: 1rem;
}

.page-the-thao__cta-bottom .page-the-thao__cta-buttons {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-the-thao__subtitle {
    font-size: 1.1rem;
  }
  .page-the-thao__section-title {
    font-size: 2rem;
  }
  .page-the-thao__categories-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promotion-cards,
  .page-the-thao__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-the-thao__live-betting-section .page-the-thao__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-the-thao__live-betting-image,
  .page-the-thao__live-betting-text {
    width: 100%;
  }
  .page-the-thao__live-betting-text .page-the-thao__text-block {
    text-align: center;
  }
}

@media (max-width: 849px) {
  .page-the-thao__hero-image {
    object-fit: contain !important; /* Ensure image is not cropped on smaller screens */
    aspect-ratio: unset !important;
  }
}

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

  .page-the-thao__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }

  .page-the-thao__hero-content-area {
    padding: 20px 0;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-the-thao__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-text,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__intro-section,
  .page-the-thao__sports-categories,
  .page-the-thao__how-to-bet,
  .page-the-thao__live-betting-section,
  .page-the-thao__promotions-section,
  .page-the-thao__features-section,
  .page-the-thao__responsible-gambling,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom {
    padding: 30px 0;
    margin-bottom: 10px;
  }

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

  .page-the-thao__text-block {
    font-size: 0.95rem;
    text-align: left;
  }

  .page-the-thao__categories-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promotion-cards,
  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__card-image,
  .page-the-thao__live-betting-image,
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__category-card,
  .page-the-thao__step-card,
  .page-the-thao__promo-card,
  .page-the-thao__feature-item,
  .page-the-thao__content-wrapper,
  .page-the-thao__promotion-cards,
  .page-the-thao__features-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
  }

  .page-the-thao__faq-qtext {
    font-size: 1rem;
  }

  .page-the-thao__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

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

  .page-the-thao__hero-image-wrapper {
    padding: 0 15px;
  }

  .page-the-thao__live-betting-text .page-the-thao__btn-primary {
    max-width: 100%;
    width: 100%;
  }
}