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

.page-the-thao__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  text-align: center;
}

.page-the-thao__hero-image-wrap {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

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

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-the-thao__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

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

.page-the-thao__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-the-thao__btn-secondary:hover {
  background: #FFD36B;
  color: #111111; /* Dark text for bright button */
  transform: translateY(-2px);
}

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

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-the-thao__text-block {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

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

.page-the-thao__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

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

.page-the-thao__feature-title,
.page-the-thao__step-title,
.page-the-thao__promo-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-the-thao__image-content-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  text-align: left;
  margin-top: 40px;
}

.page-the-thao__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.page-the-thao__content-text {
  flex: 1;
}

.page-the-thao__sub-title {
  font-size: 1.8em;
  color: #F2C14E; /* Primary color */
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-the-thao__how-to-bet .page-the-thao__text-block {
  margin-bottom: 60px;
}

.page-the-thao__step-card {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-the-thao__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 3px solid #3A2A12;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-the-thao__btn-text {
  display: inline-block;
  margin-top: 20px;
  color: #FFD36B;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #FFD36B;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-the-thao__btn-text:hover {
  color: #F2C14E;
  border-color: #F2C14E;
}

.page-the-thao__image-caption-wrap {
  margin-top: 60px;
  text-align: center;
}

.page-the-thao__image-caption {
  font-size: 0.9em;
  color: #999;
  margin-top: 10px;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__cta-center {
  margin-top: 50px;
}

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

.page-the-thao__faq-item {
  margin-bottom: 20px;
}

.page-the-thao__faq-question {
  font-size: 1.3em;
  color: #FFD36B; /* Glow */
  cursor: pointer;
  padding-bottom: 10px;
  border-bottom: 1px solid #3A2A12;
  margin-bottom: 15px;
  position: relative;
}

.page-the-thao__faq-answer {
  font-size: 1em;
  color: #FFF6D6;
  padding-top: 10px;
}

.page-the-thao__faq-answer p {
  margin-bottom: 10px;
}

.page-the-thao__faq-answer a {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
}

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

.page-the-thao__final-cta {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
}

.page-the-thao__text-center {
  text-align: center;
}

.page-the-thao__dark-bg {
  background-color: #111111;
  color: #ffffff;
}

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

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.8em;
  }
  .page-the-thao__section-title {
    font-size: 2.2em;
  }
  .page-the-thao__image-content-block {
    flex-direction: column;
    align-items: center;
  }
  .page-the-thao__content-text {
    text-align: center;
  }
  .page-the-thao__content-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Top section title + dual CTA */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }
  .page-the-thao__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }
  .page-the-thao__description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Single column long-form container */
  .page-the-thao__container {
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }
  .page-the-thao__text-block {
    font-size: 0.95em !important;
    margin-bottom: 30px;
  }
  .page-the-thao__features-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__card {
    padding: 25px;
  }
  .page-the-thao__feature-title,
  .page-the-thao__step-title,
  .page-the-thao__promo-title {
    font-size: 1.3em;
  }
  .page-the-thao__image-content-block {
    flex-direction: column;
    gap: 20px;
  }
  .page-the-thao__sub-title {
    font-size: 1.5em;
    margin-top: 20px;
  }

  /* Generic images and figures */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__image-caption {
    font-size: 0.8em;
  }
  .page-the-thao__hero-image-wrap,
  .page-the-thao__content-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons and button containers */
  .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: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-the-thao__cta-center .page-the-thao__btn-primary {
    width: auto !important; /* Allow it to be not full width if content is short */
    max-width: 100% !important;
  }
  .page-the-thao__btn-text {
    font-size: 0.95em;
  }

  /* Registration tutorial and FAQ blocks */
  .page-the-thao__how-to-bet .page-the-thao__text-block {
    margin-bottom: 40px;
  }
  .page-the-thao__step-card {
    padding-top: 50px;
  }
  .page-the-thao__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
  }
  .page-the-thao__faq-question {
    font-size: 1.1em;
  }
  .page-the-thao__faq-answer {
    font-size: 0.95em;
  }
  .page-the-thao__final-cta {
    padding: 50px 0;
  }
  .page-the-thao__final-cta .page-the-thao__description {
    font-size: 1em;
  }
}