:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --button-text-color: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #017439;
}

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

.page-the-thao__dark-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-the-thao__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: inherit;
}

.page-the-thao__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  max-width: 800px;
}

.page-the-thao__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 700px;
}

.page-the-thao__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-the-thao__hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.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 {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background-color: var(--register-button-color);
  color: var(--button-text-color);
  border: 2px solid var(--register-button-color);
}

.page-the-thao__btn-primary:hover {
  background-color: darken(var(--register-button-color), 10%);
  border-color: darken(var(--register-button-color), 10%);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--button-text-color);
  border: 2px solid var(--button-text-color);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--button-text-color);
  color: var(--register-button-color);
}

/* Intro Section */
.page-the-thao__intro-section {
  padding: 60px 0;
}

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

.page-the-thao__feature-item {
  padding: 20px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-the-thao__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-the-thao__feature-description {
  font-size: 16px;
  color: var(--text-dark);
}

/* Bet Types Section */
.page-the-thao__bet-types-section {
  padding: 60px 0;
}

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

.page-the-thao__content-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: var(--text-dark);
}

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

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: var(--primary-color);
}

.page-the-thao__card-description {
  font-size: 16px;
  padding: 0 15px 20px;
}

/* Benefits Section */
.page-the-thao__benefits-section {
  padding: 60px 0;
}

.page-the-thao__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-the-thao__benefit-item {
  font-size: 18px;
  position: relative;
  padding-left: 30px;
  color: var(--text-dark);
  text-align: center;
}

.page-the-thao__benefit-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

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

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
}

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-the-thao__step-item {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-the-thao__step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--primary-color);
  overflow: hidden;
}

.page-the-thao__step-icon img {
  
  
  object-fit: contain;
  display: block;
}

.page-the-thao__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-the-thao__step-description {
  font-size: 16px;
}

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

.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-the-thao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  color: var(--primary-color);
  list-style: none; /* Hide default marker */
}

.page-the-thao__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--primary-color);
}

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

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: var(--text-dark);
}

/* General Image Styles for content area */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-the-thao__container {
    padding: 20px 15px;
  }

  .page-the-thao__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 20px;
  }

  .page-the-thao__main-title {
    font-size: clamp(28px, 7vw, 38px);
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

  .page-the-thao__hero-image-wrapper {
    max-height: 300px;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 16px;
    padding: 10px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Intro Section - Module 1 */
  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
    border-width: 3px;
  }

  .page-the-thao__feature-title {
    font-size: 20px;
  }

  /* Bet Types Section */
  .page-the-thao__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__card-image {
    height: 180px;
  }

  .page-the-thao__card-title {
    font-size: 20px;
  }

  /* Benefits Section */
  .page-the-thao__benefits-list {
    margin-top: 20px;
  }

  .page-the-thao__benefit-item {
    font-size: 16px;
    text-align: left;
    padding-left: 25px;
  }

  /* Guide Section */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__step-title {
    font-size: 20px;
  }

  .page-the-thao__step-icon {
    width: 80px;
    height: 80px;
  }

  .page-the-thao__step-icon img {
    
    
  }

  /* FAQ Section */
  .page-the-thao__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

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

  /* General Image & Container Adaptations */
  .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-content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}