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

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: -100px; /* Overlap slightly for design, but text is below image */
  background-color: rgba(19, 19, 19, 0.7); /* Dark semi-transparent background for text readability */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border */
}

.page-the-thao__main-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 30px;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.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-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
}

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

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #FFCC66; /* Glow */
  border: 2px solid #FFCC66; /* Glow */
}

.page-the-thao__btn-secondary:hover {
  background-color: #FFCC66;
  color: #7A0E0E;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-tertiary {
  background-color: #E53935; /* Auxiliary color */
  color: #FFF5E1; /* Text Main */
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

.page-the-thao__btn-tertiary:hover {
  background-color: #C91F17; /* Main color */
  transform: translateY(-1px);
}

.page-the-thao__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-the-thao__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__section:nth-child(even) {
  background-color: #C91F17; /* Main color */
}

.page-the-thao__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #FFD86A; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-the-thao__section-description {
  font-size: 17px;
  line-height: 1.6;
  color: #FFF5E1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

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

.page-the-thao__feature-item {
  background-color: #7A0E0E; /* Deep Red */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__feature-text {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF5E1;
}

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

.page-the-thao__type-card {
  background-color: #7A0E0E; /* Deep Red */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-the-thao__type-title {
  font-size: 22px;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
}

.page-the-thao__type-text {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF5E1;
}

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

.page-the-thao__step-item {
  background-color: #7A0E0E; /* Deep Red */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD86A; /* Button color */
  color: #7A0E0E;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #F4D34D; /* Gold */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-the-thao__step-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFD86A; /* Gold */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF5E1;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__promo-banner {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-the-thao__promo-item {
  background-color: #7A0E0E; /* Deep Red */
  border: 1px solid #F2B544; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-the-thao__promo-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
}

.page-the-thao__promo-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-the-thao__responsible-gambling .page-the-thao__responsible-text {
  font-style: italic;
  text-align: center;
  margin-top: 20px;
}

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #7A0E0E; /* Deep Red */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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: #C91F17; /* Main color */
}

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

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  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: #C91F17; /* Main color */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1;
  font-size: 16px;
  line-height: 1.6;
}

.page-the-thao__final-cta {
  text-align: center;
  padding: 80px 0;
  background-color: #E53935; /* Auxiliary color */
}

.page-the-thao__final-cta .page-the-thao__section-title {
  color: #FFD86A; /* Gold */
}

.page-the-thao__final-cta .page-the-thao__section-description {
  color: #FFF5E1;
  margin-bottom: 50px;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 38px;
  }
  .page-the-thao__section-title {
    font-size: 32px;
  }
  .page-the-thao__hero-content {
    margin-top: -80px;
  }
  .page-the-thao__feature-title, .page-the-thao__type-title, .page-the-thao__step-title {
    font-size: 20px;
  }
  .page-the-thao__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px; /* Specific mobile top padding */
    margin-bottom: 20px;
  }
  .page-the-thao__hero-image-wrapper {
    max-height: 300px;
  }
  .page-the-thao__hero-image {
    object-fit: contain !important; /* Mobile: prevent cropping */
    aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
    height: auto !important;
  }
  .page-the-thao__hero-content {
    margin-top: -40px; /* Adjust overlap for mobile */
    padding: 20px 15px;
  }
  .page-the-thao__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-the-thao__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 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;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-the-thao__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-the-thao__section {
    padding: 40px 0;
    margin-bottom: 15px;
  }
  .page-the-thao__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .page-the-thao__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-the-thao__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__features-grid,
  .page-the-thao__types-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .page-the-thao__feature-item,
  .page-the-thao__type-card,
  .page-the-thao__step-item,
  .page-the-thao__promo-item {
    padding: 20px;
  }
  .page-the-thao__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-the-thao__feature-title,
  .page-the-thao__type-title,
  .page-the-thao__step-title {
    font-size: 20px;
  }
  .page-the-thao__feature-text,
  .page-the-thao__type-text,
  .page-the-thao__step-text,
  .page-the-thao__promo-item p {
    font-size: 15px;
  }
  .page-the-thao__promo-banner {
    margin: 20px auto;
  }
  .page-the-thao__promo-subtitle {
    font-size: 18px;
  }
  .page-the-thao__faq-qtext {
    font-size: 16px;
  }
  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
  }
  .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__final-cta {
    padding: 50px 0;
  }
  /* Ensure all images and containers are responsive */
  .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-image-wrapper,
  .page-the-thao__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}