.page-the-thao-bong-da {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text on dark body background */
  background-color: var(--deep-navy);
}

.page-the-thao-bong-da__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-the-thao-bong-da__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-the-thao-bong-da__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--deep-navy) 0%, #0d2242 100%);
  position: relative;
  overflow: hidden;
}

.page-the-thao-bong-da__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-the-thao-bong-da__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--text-main);
  z-index: 1;
  position: relative;
}

.page-the-thao-bong-da__hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao-bong-da__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-the-thao-bong-da__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao-bong-da__btn-primary,
.page-the-thao-bong-da__btn-secondary,
.page-the-thao-bong-da a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-the-thao-bong-da__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao-bong-da__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao-bong-da__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-the-thao-bong-da__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--glow);
}

.page-the-thao-bong-da__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
}

.page-the-thao-bong-da__hero-image-wrapper {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: center;
  position: relative;
  z-index: 0;
}

.page-the-thao-bong-da__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao-bong-da__features-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
  text-align: center;
}

.page-the-thao-bong-da__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-the-thao-bong-da__feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
}

.page-the-thao-bong-da__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao-bong-da__feature-title {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-the-thao-bong-da__feature-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-the-thao-bong-da__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao-bong-da__bet-types-section {
  padding: 80px 0;
  background-color: #0d2242;
  text-align: center;
}

.page-the-thao-bong-da__type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-the-thao-bong-da__type-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  text-align: left;
  color: var(--text-main);
}

.page-the-thao-bong-da__type-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-the-thao-bong-da__type-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.page-the-thao-bong-da__guide-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
}

.page-the-thao-bong-da__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.page-the-thao-bong-da__guide-item {
  display: flex;
  align-items: center;
  gap: 40px;
  color: var(--text-main);
}

.page-the-thao-bong-da__guide-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-the-thao-bong-da__guide-image {
  flex: 1 1 45%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-the-thao-bong-da__guide-content {
  flex: 1 1 50%;
}

.page-the-thao-bong-da__guide-title {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-the-thao-bong-da__guide-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-the-thao-bong-da__promo-section {
  padding: 80px 0;
  background-color: #0d2242;
  text-align: center;
}

.page-the-thao-bong-da__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-the-thao-bong-da__promo-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
}

.page-the-thao-bong-da__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao-bong-da__promo-title {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-the-thao-bong-da__promo-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-the-thao-bong-da__faq-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
}

.page-the-thao-bong-da__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-the-thao-bong-da__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-the-thao-bong-da__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  list-style: none; /* Hide default marker */
}

.page-the-thao-bong-da__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-the-thao-bong-da__faq-qtext {
  flex-grow: 1;
}

.page-the-thao-bong-da__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-the-thao-bong-da__faq-item[open] .page-the-thao-bong-da__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao-bong-da__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-the-thao-bong-da__faq-answer p {
  margin-bottom: 10px;
}

.page-the-thao-bong-da__faq-answer .page-the-thao-bong-da__btn-secondary {
  margin-top: 10px;
}

.page-the-thao-bong-da__cta-final-section {
  padding: 80px 0;
  background-color: #0d2242;
  text-align: center;
}

.page-the-thao-bong-da__final-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Variables for color contrast */
:root {
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --card-bg: #10233F;
  --border-color: #244D84;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --deep-navy: #08162B;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao-bong-da__hero-container {
    padding-left: 30px;
    padding-right: 30px;
  }
  .page-the-thao-bong-da__features-grid,
  .page-the-thao-bong-da__type-grid,
  .page-the-thao-bong-da__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-the-thao-bong-da__guide-item {
    flex-direction: column;
    text-align: center;
  }
  .page-the-thao-bong-da__guide-item:nth-child(even) {
    flex-direction: column;
  }
  .page-the-thao-bong-da__guide-content {
    order: 2;
  }
  .page-the-thao-bong-da__guide-image {
    order: 1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-the-thao-bong-da__hero-section {
    padding-top: 10px !important; /* As per rule, small top padding */
    padding-bottom: 40px;
  }
  .page-the-thao-bong-da__hero-container {
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 30px;
  }
  .page-the-thao-bong-da__hero-content {
    order: 2;
    text-align: center;
    min-width: unset;
    width: 100%;
  }
  .page-the-thao-bong-da__hero-image-wrapper {
    order: 1;
    min-width: unset;
    width: 100%;
  }
  .page-the-thao-bong-da__hero-title {
    font-size: 2rem;
  }
  .page-the-thao-bong-da__hero-description {
    font-size: 1rem;
  }
  .page-the-thao-bong-da__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons and Button Containers */
  .page-the-thao-bong-da__btn-primary,
  .page-the-thao-bong-da__btn-secondary,
  .page-the-thao-bong-da a[class*="button"],
  .page-the-thao-bong-da 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;
    padding-right: 15px;
  }
  .page-the-thao-bong-da__cta-buttons,
  .page-the-thao-bong-da__button-group,
  .page-the-thao-bong-da__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* General Images and Containers */
  .page-the-thao-bong-da img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-the-thao-bong-da__section,
  .page-the-thao-bong-da__card,
  .page-the-thao-bong-da__container,
  .page-the-thao-bong-da__features-section,
  .page-the-thao-bong-da__bet-types-section,
  .page-the-thao-bong-da__guide-section,
  .page-the-thao-bong-da__promo-section,
  .page-the-thao-bong-da__faq-section,
  .page-the-thao-bong-da__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Module 1 (Features Section) */
  .page-the-thao-bong-da__features-grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao-bong-da__feature-card {
    padding: 20px;
  }
  .page-the-thao-bong-da__feature-image {
    max-width: 250px;
    width: 100%;
  }

  /* Bet Types Section */
  .page-the-thao-bong-da__type-grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao-bong-da__type-card {
    padding: 20px;
  }

  /* Guide Section */
  .page-the-thao-bong-da__guide-item {
    flex-direction: column;
    gap: 20px;
  }
  .page-the-thao-bong-da__guide-item:nth-child(even) {
    flex-direction: column;
  }
  .page-the-thao-bong-da__guide-image {
    max-width: 100%;
    width: 100%;
  }

  /* Promo Section */
  .page-the-thao-bong-da__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao-bong-da__promo-card {
    padding: 20px;
  }

  /* FAQ Section */
  .page-the-thao-bong-da__faq-list {
    padding: 0;
  }
  .page-the-thao-bong-da__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-the-thao-bong-da__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* Section Titles */
  .page-the-thao-bong-da__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  /* Final CTA Section */
  .page-the-thao-bong-da__final-description {
    font-size: 1rem;
    padding: 0 15px;
  }
}