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

.page-the-thao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  box-sizing: border-box;
}

.page-the-thao__hero-image-container {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text contrast */
}

.page-the-thao__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  z-index: 10;
  color: var(--text-main);
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.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,
.page-the-thao a[class*="button"],
.page-the-thao a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary:hover {
  background: var(--border);
  color: var(--text-main);
  transform: translateY(-2px);
}

.page-the-thao__btn-tertiary {
  background: var(--glow);
  color: var(--deep-navy);
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
}

.page-the-thao__btn-tertiary:hover {
  background: #3a8ee0;
  transform: translateY(-1px);
}

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

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-the-thao__text-block {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__intro-section, .page-the-thao__sports-diversity-section, .page-the-thao__promotions-section, .page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.page-the-thao__betting-markets-section, .page-the-thao__guide-section, .page-the-thao__why-choose-us-section, .page-the-thao__final-cta-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.page-the-thao__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.page-the-thao__card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
}

.page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-the-thao__sport-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-the-thao__sport-card .page-the-thao__card-title {
  padding: 0 20px;
  text-align: left;
}

.page-the-thao__sport-card p {
  padding: 0 20px;
  text-align: left;
  flex-grow: 1;
}

.page-the-thao__sport-card .page-the-thao__btn-tertiary {
  margin: 20px;
  align-self: flex-start;
}

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

.page-the-thao__step-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  position: relative;
  padding-top: 60px;
}

.page-the-thao__step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glow);
  color: var(--deep-navy);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.5);
}

.page-the-thao__step-card .page-the-thao__card-title {
  margin-top: 20px;
}

.page-the-thao__step-card a {
  margin-top: 20px;
  display: inline-block;
}

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

.page-the-thao__promo-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.page-the-thao__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-the-thao__promo-card .page-the-thao__card-title {
  padding: 15px 20px 0;
  text-align: left;
}

.page-the-thao__promo-card p {
  padding: 0 20px 20px;
  text-align: left;
}

.page-the-thao__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-the-thao__feature-item {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.page-the-thao__feature-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__feature-item .page-the-thao__card-title {
  text-align: left;
  margin-bottom: 10px;
}

.page-the-thao__feature-item p {
  text-align: left;
}

.page-the-thao__feature-item a {
  margin-top: 15px;
  display: inline-block;
}

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card-bg);
}
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: var(--text-main);
}
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: var(--border);
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  color: var(--text-main);
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-navy);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}

.page-the-thao__final-cta-section {
  text-align: center;
}

.page-the-thao__final-cta-section .page-the-thao__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General image styling for content areas */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    max-width: 80%;
  }
  .page-the-thao__main-title {
    font-size: 3rem;
  }
  .page-the-thao__subtitle {
    font-size: 1.1rem;
  }
  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    padding: 12px 24px;
    font-size: 1rem;
  }
  .page-the-thao__section-title {
    font-size: 2.2rem;
  }
  .page-the-thao__card-title {
    font-size: 1.3rem;
  }
  .page-the-thao__faq-qtext {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
  }
  .page-the-thao__hero-content {
    width: 95%;
    padding: 0 15px;
  }
  .page-the-thao__main-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  .page-the-thao__subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 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"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__container {
    padding: 10px 15px;
  }
  .page-the-thao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-the-thao__grid-layout,
  .page-the-thao__steps-grid,
  .page-the-thao__promotions-grid,
  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__card, .page-the-thao__sport-card, .page-the-thao__step-card, .page-the-thao__promo-card, .page-the-thao__feature-item {
    padding: 20px;
  }
  .page-the-thao__step-card {
    padding-top: 50px;
  }
  .page-the-thao__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    top: 15px;
  }
  .page-the-thao__sport-image, .page-the-thao__promo-image {
    height: 180px;
  }
  details.page-the-thao__faq-item summary.page-the-thao__faq-question { padding: 15px; }
  .page-the-thao__faq-qtext { font-size: 0.95rem; }
  .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; }

  /* Mobile image specific override */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__hero-section,
  .page-the-thao__intro-section,
  .page-the-thao__betting-markets-section,
  .page-the-thao__sports-diversity-section,
  .page-the-thao__guide-section,
  .page-the-thao__promotions-section,
  .page-the-thao__why-choose-us-section,
  .page-the-thao__faq-section,
  .page-the-thao__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}