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

.page-the-thao__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

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

.page-the-thao__hero-image-wrap {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-the-thao__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  position: relative;
  z-index: 1;
  background: rgba(16, 35, 63, 0.8); /* Card BG with opacity */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-the-thao__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-the-thao__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;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
}

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(17, 67, 166, 0.4);
}

.page-the-thao__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(17, 67, 166, 0.6);
}

.page-the-thao__btn--secondary {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

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

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

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #F3F8FF; /* Text Main */
}

.page-the-thao__paragraph--light {
  color: #F3F8FF; /* Text Main */
}

.page-the-thao__highlight {
  color: #F2C14E; /* Gold */
  font-weight: 600;
}

.page-the-thao__figure {
  margin: 40px auto;
  max-width: 680px;
  text-align: center;
}

.page-the-thao__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__figcaption {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  margin-top: 10px;
}

.page-the-thao__bet-types-section {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF;
}

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

.page-the-thao__card {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-the-thao__card-text {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
}

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

.page-the-thao__guide-section {
  background-color: var(--deep-navy);
  color: #F3F8FF;
}

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

.page-the-thao__step-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-the-thao__step-description {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-the-thao__btn--inline {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 8px 18px;
  font-size: 0.95rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  border: none;
}

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

.page-the-thao__benefits-section {
  background-color: #113B7A; /* Main color */
  color: #F3F8FF;
}

.page-the-thao__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-the-thao__list-item {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-the-thao__list-item-description {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
}

.page-the-thao__tips-section {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF;
}

.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-the-thao__tips-list .page-the-thao__list-item {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
}

.page-the-thao__list-item--light .page-the-thao__list-item-title {
  color: #F2C14E; /* Gold */
}

.page-the-thao__list-item--light .page-the-thao__list-item-description {
  color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__faq-section {
  background-color: var(--deep-navy);
  color: #F3F8FF;
}

.page-the-thao__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-the-thao__faq-question {
  font-size: 1.25rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__faq-answer {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
}

.page-the-thao__conclusion-section {
  background-color: #113B7A; /* Main color */
  color: #F3F8FF;
  padding-bottom: 80px;
}

.page-the-thao__link--gold {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-the-thao__link--gold:hover {
  text-decoration: none;
  color: #4FA8FF; /* Glow */
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    padding: 30px 20px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-the-thao__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  }
  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-the-thao__paragraph {
    font-size: 1rem;
  }
  .page-the-thao__grid, .page-the-thao__step-by-step, .page-the-thao__benefits-list, .page-the-thao__tips-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + dual CTA */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }
  .page-the-thao__hero-content {
    padding: 25px 15px;
    margin-top: 15px; /* Adjust spacing */
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-the-thao__subtitle {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 20px;
  }
  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-the-thao__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__btn--inline {
    max-width: 100% !important;
    width: auto !important; /* Allow inline buttons to shrink if needed, but not overflow */
    padding: 8px 15px !important;
    font-size: 0.9rem !important;
  }

  /* 2. Single column long text container */
  .page-the-thao__article-wrap {
    padding: 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(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
  }
  .page-the-thao__paragraph {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  .page-the-thao__card-title, .page-the-thao__step-title, .page-the-thao__list-item-title {
    font-size: 1.2rem;
  }
  .page-the-thao__card-text, .page-the-thao__step-description, .page-the-thao__list-item-description {
    font-size: 0.9rem;
  }

  /* 3. Generic images and figures */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__figure {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__figcaption {
    font-size: 0.85rem;
  }

  /* 4. Buttons and button containers (already covered in top section, but general styles for content buttons) */
  .page-the-thao__cta-bottom, .page-the-thao__cta-final {
    margin-top: 30px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__cta-bottom .page-the-thao__btn, .page-the-thao__cta-final .page-the-thao__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-the-thao__step-item {
    padding: 20px;
  }
  .page-the-thao__faq-item {
    padding: 15px;
    margin-bottom: 10px;
  }
  .page-the-thao__faq-question {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .page-the-thao__faq-answer p {
    font-size: 0.9rem;
  }

  .page-the-thao__grid, .page-the-thao__step-by-step, .page-the-thao__benefits-list, .page-the-thao__tips-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-the-thao__card, .page-the-thao__list-item {
    padding: 20px;
  }
}