.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 */
}

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

.page-the-thao__section {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-the-thao__section-intro {
  font-size: 18px;
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

.page-the-thao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure image covers the area */
  display: block;
  filter: brightness(0.7); /* Slightly darken for text readability */
}

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

.page-the-thao__main-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
  font-weight: 900;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-the-thao__description {
  font-size: clamp(16px, 2vw, 20px);
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-the-thao__btn-secondary {
  background: #10233F; /* Card BG */
  color: #4FA8FF; /* Glow */
  border: 2px solid #244D84; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: #1B3357; /* Divider */
}

.page-the-thao__btn-tertiary {
    background: none;
    color: #4FA8FF; /* Glow */
    border: 1px solid #4FA8FF;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}

.page-the-thao__btn-tertiary:hover {
    background: rgba(79, 168, 255, 0.1);
    color: #F3F8FF;
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us {
  background: #08162B; /* Deep Navy */
  padding: 80px 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 {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao__feature-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__feature-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

/* Betting Types Section */
.page-the-thao__betting-types {
  padding: 80px 0;
}

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

.page-the-thao__betting-card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

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

.page-the-thao__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}

.page-the-thao__card-title {
  font-size: 22px;
  color: #F2C14E; /* Gold */
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-the-thao__card-text {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px 20px;
}

/* Guide Section */
.page-the-thao__guide-section {
  background: #08162B; /* Deep Navy */
  padding: 80px 0;
}

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

.page-the-thao__step-item {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-the-thao__step-title {
  font-size: 22px;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__step-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__step-text a {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

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

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 80px 0;
}

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

.page-the-thao__promo-card {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-the-thao__promo-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__full-promo-cta {
    margin-top: 50px;
}

/* App Download Section */
.page-the-thao__app-download {
  background: #08162B; /* Deep Navy */
  padding: 80px 0;
}

.page-the-thao__app-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  text-align: left;
}

.page-the-thao__app-content {
  flex: 1;
}

.page-the-thao__app-content .page-the-thao__section-title {
  text-align: left;
}

.page-the-thao__app-content .page-the-thao__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-the-thao__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__app-features li {
  font-size: 17px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-the-thao__app-features li::before {
  content: '✓';
  color: #4FA8FF; /* Glow */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-the-thao__app-image-wrapper {
  flex-shrink: 0;
  width: 300px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 3px solid #F2C14E; /* Gold */
}

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

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 80px 0;
}

.page-the-thao__faq-list {
  margin-top: 40px;
  text-align: left;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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: #1B3357; /* Divider */
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  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; /* Text Secondary */
}

.page-the-thao__faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* Conclusion Section */
.page-the-thao__conclusion {
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  padding: 80px 0;
}

.page-the-thao__conclusion .page-the-thao__section-title {
    color: #F3F8FF; /* Text Main */
}

.page-the-thao__conclusion .page-the-thao__section-intro {
    color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__conclusion .page-the-thao__section-intro a {
    color: #4FA8FF; /* Glow */
    text-decoration: none;
    font-weight: bold;
}

.page-the-thao__conclusion .page-the-thao__section-intro a:hover {
    text-decoration: underline;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-image-wrapper {
    height: 500px;
  }
  .page-the-thao__main-title {
    font-size: 40px;
  }
  .page-the-thao__section-title {
    font-size: 32px;
  }
  .page-the-thao__feature-title, .page-the-thao__card-title, .page-the-thao__step-title, .page-the-thao__promo-title {
    font-size: 20px;
  }
  .page-the-thao__faq-qtext {
    font-size: 17px;
  }
  .page-the-thao__app-flex {
    flex-direction: column;
    gap: 40px;
  }
  .page-the-thao__app-content {
    text-align: center;
  }
  .page-the-thao__app-content .page-the-thao__section-title,
  .page-the-thao__app-content .page-the-thao__section-intro {
    text-align: center;
  }
  .page-the-thao__app-features {
    text-align: left; /* Keep list items aligned left */
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }
  .page-the-thao__app-image-wrapper {
    width: 250px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-the-thao__hero-image-wrapper {
    height: auto !important;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    margin-bottom: 30px;
  }

  .page-the-thao__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible */
    filter: brightness(0.8) !important; /* Slightly darken for text readability */
  }

  .page-the-thao__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .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__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-the-thao__section-title {
    font-size: 28px;
  }

  .page-the-thao__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-the-thao__features-grid,
  .page-the-thao__betting-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-item,
  .page-the-thao__betting-card,
  .page-the-thao__step-item,
  .page-the-thao__promo-card {
    padding: 20px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__card-title,
  .page-the-thao__step-title,
  .page-the-thao__promo-title {
    font-size: 20px;
  }

  .page-the-thao__card-image {
    height: 180px;
  }

  .page-the-thao__app-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__app-content {
    text-align: center;
  }
  .page-the-thao__app-content .page-the-thao__section-title,
  .page-the-thao__app-content .page-the-thao__section-intro {
    text-align: center;
  }
  .page-the-thao__app-features {
    text-align: left;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page-the-thao__app-image-wrapper {
    width: 200px;
    height: 280px;
  }

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

  .page-the-thao__faq-qtext {
    font-size: 16px;
  }

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

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

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

  .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__full-promo-cta {
      margin-top: 30px;
  }
  .page-the-thao__app-download .page-the-thao__btn-primary {
      width: auto;
      max-width: 100%;
  }
}