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

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD86A; /* Gold gradient start */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF5E1;
}

/* Hero Section */
.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Rely on body padding-top for header offset */
  background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%); /* Deep Red to Background */
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-the-thao__hero-content-wrapper {
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-the-thao__hero-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: 900;
  color: #FFD86A; /* Gold gradient start */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  color: #FFF5E1;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Button Styles */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-text {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F4D34D; /* Gold */
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-the-thao__btn-secondary {
  background: #7A0E0E; /* Deep Red */
  color: #FFD86A; /* Gold gradient start */
  border: 2px solid #F4D34D; /* Gold */
  box-shadow: 0 4px 15px rgba(122, 14, 14, 0.4);
}

.page-the-thao__btn-secondary:hover {
  background: #B71C1C; /* Background */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 14, 14, 0.6);
}

.page-the-thao__btn-text {
  background: transparent;
  color: #FFD86A; /* Gold gradient start */
  border: none;
  padding: 10px 0;
  font-size: 1em;
}

.page-the-thao__btn-text:hover {
  color: #F4D34D; /* Gold */
  text-decoration: underline;
}

/* Card Styles */
.page-the-thao__card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border */
  color: #FFF5E1;
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us {
  padding: 60px 0;
  margin-bottom: 50px;
}

.page-the-thao__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-the-thao__why-choose-item {
  background-color: #7A0E0E; /* Deep Red */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-the-thao__why-choose-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-the-thao__why-choose-heading {
  font-size: 1.5em;
  color: #FFD86A; /* Gold gradient start */
  margin-bottom: 15px;
}

/* Sports Categories Section */
.page-the-thao__sports-categories {
  padding: 60px 0;
  margin-bottom: 50px;
}

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

.page-the-thao__category-card {
  text-align: center;
  overflow: hidden;
}

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

.page-the-thao__category-heading {
  font-size: 1.8em;
  color: #FFD86A; /* Gold gradient start */
  margin-bottom: 15px;
}

.page-the-thao__category-content p {
  color: #FFF5E1;
  margin-bottom: 20px;
}

/* Live Betting Section */
.page-the-thao__live-betting {
  padding: 60px 0;
  margin-bottom: 50px;
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-the-thao__live-betting-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #F2B544; /* Border */
}

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

.page-the-thao__live-betting-text p {
  font-size: 1.1em;
  color: #FFF5E1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-the-thao__promotions {
  padding: 60px 0;
  margin-bottom: 50px;
}

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

.page-the-thao__promo-card {
  text-align: center;
}

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

.page-the-thao__promo-heading {
  font-size: 1.6em;
  color: #FFD86A; /* Gold gradient start */
  margin-bottom: 15px;
}

.page-the-thao__promo-card p {
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-the-thao__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

/* How to Start Section */
.page-the-thao__how-to-start {
  padding: 60px 0;
  margin-bottom: 50px;
}

.page-the-thao__how-to-start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-the-thao__how-to-start-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-the-thao__how-to-start-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-the-thao__how-to-start-heading {
  font-size: 1.4em;
  color: #FFD86A; /* Gold gradient start */
  margin-bottom: 15px;
}

.page-the-thao__how-to-start-item p {
  color: #FFF5E1;
}

.page-the-thao__how-to-start-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  margin-bottom: 50px;
}

.page-the-thao__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-the-thao__faq-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD86A; /* Gold gradient start */
  cursor: pointer;
  background-color: #7A0E0E; /* Deep Red */
  border-bottom: 1px solid #F2B544;
  list-style: none;
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao__faq-question:hover {
  background-color: #C91F17; /* Primary */
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '−';
}

.page-the-thao__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #FFF5E1;
}

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

/* Final CTA Section */
.page-the-thao__final-cta {
  padding: 60px 0;
  text-align: center;
  background-color: #7A0E0E; /* Deep Red */
}

.page-the-thao__final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 20px 30px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-the-thao__live-betting-content {
    flex-direction: column;
  }

  .page-the-thao__live-betting-image,
  .page-the-thao__live-betting-text {
    max-width: 100%;
  }
}

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

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

  .page-the-thao__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }

  .page-the-thao__hero-image-wrapper {
    max-height: none !important;
  }

  .page-the-thao__hero-image {
    object-fit: contain !important;
    height: auto !important;
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-the-thao__hero-content-wrapper {
    padding: 30px 15px;
  }

  .page-the-thao__hero-title {
    font-size: 2.2em;
  }

  .page-the-thao__hero-description {
    font-size: 1em;
  }

  .page-the-thao__hero-cta-buttons,
  .page-the-thao__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .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 !important;
    padding-right: 15px !important;
  }

  .page-the-thao__hero-cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container,
  .page-the-thao__final-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Why Choose Us Section */
  .page-the-thao__why-choose-grid {
    grid-template-columns: 1fr;
  }

  /* Sports Categories Section */
  .page-the-thao__category-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__category-image {
    height: auto;
  }

  /* Live Betting Section */
  .page-the-thao__live-betting-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__live-betting-image,
  .page-the-thao__live-betting-text {
    max-width: 100% !important;
  }

  /* Promotions Section */
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
  }

  /* How to Start Section */
  .page-the-thao__how-to-start-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ Section */
  .page-the-thao__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-the-thao__faq-answer {
    font-size: 1em;
    padding: 15px 20px;
  }

  /* All images in content area */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__why-choose-item,
  .page-the-thao__category-card,
  .page-the-thao__live-betting-content,
  .page-the-thao__promo-card,
  .page-the-thao__how-to-start-item,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}