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

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

.page-the-thao-bong-da__section {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao-bong-da__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-the-thao-bong-da__light-bg {
  background-color: #11271B; /* Card BG as light background for contrast */
  color: var(--text-main);
}

.page-the-thao-bong-da__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-the-thao-bong-da__description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

/* Hero Section */
.page-the-thao-bong-da__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
}

.page-the-thao-bong-da__hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-the-thao-bong-da__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px;
  object-position: center;
}

.page-the-thao-bong-da__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over image slightly for visual flow */
  background: linear-gradient(0deg, var(--background-color) 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0.5) 100%);
  border-radius: 15px;
}

.page-the-thao-bong-da__main-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.1;
}

.page-the-thao-bong-da__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao-bong-da__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao-bong-da__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-the-thao-bong-da__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-the-thao-bong-da__btn-secondary {
  background: #11271B;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-the-thao-bong-da__btn-secondary:hover {
  background: var(--border-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Features Grid */
.page-the-thao-bong-da__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao-bong-da__feature-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao-bong-da__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-the-thao-bong-da__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-the-thao-bong-da__feature-text {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Bet Types Section */
.page-the-thao-bong-da__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao-bong-da__bet-type-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-the-thao-bong-da__bet-type-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-the-thao-bong-da__bet-type-text {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Guide Section */
.page-the-thao-bong-da__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao-bong-da__step-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao-bong-da__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-the-thao-bong-da__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-the-thao-bong-da__step-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotion Section */
.page-the-thao-bong-da__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao-bong-da__promo-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

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

.page-the-thao-bong-da__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

/* Tips Section */
.page-the-thao-bong-da__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao-bong-da__tip-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-the-thao-bong-da__tip-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-the-thao-bong-da__tip-text {
  font-size: 16px;
  color: var(--text-secondary);
}

/* FAQ Section */
details.page-the-thao-bong-da__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-the-thao-bong-da__faq-item summary.page-the-thao-bong-da__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
details.page-the-thao-bong-da__faq-item summary.page-the-thao-bong-da__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao-bong-da__faq-item summary.page-the-thao-bong-da__faq-question:hover {
  background: rgba(var(--border-color), 0.2);
}
.page-the-thao-bong-da__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-the-thao-bong-da__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-the-thao-bong-da__faq-item .page-the-thao-bong-da__faq-answer {
  padding: 0 25px 25px;
  background: #11271B; /* Lighter background for answer content */
  border-radius: 0 0 8px 8px;
  text-align: left;
  color: var(--text-secondary);
  font-size: 16px;
}
.page-the-thao-bong-da__faq-answer p {
    margin: 0;
    padding: 0;
}

/* Bottom CTA */
.page-the-thao-bong-da__cta-bottom {
  padding: 80px 0;
  background-color: var(--deep-green-color);
  color: var(--text-main);
  border-top: 1px solid var(--divider-color);
}

.page-the-thao-bong-da__cta-bottom .page-the-thao-bong-da__section-title {
  color: var(--text-main);
}

.page-the-thao-bong-da__cta-bottom .page-the-thao-bong-da__description {
  color: var(--text-secondary);
}

.page-the-thao-bong-da__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Global image and container responsive styles */
.page-the-thao-bong-da img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-the-thao-bong-da__section,
.page-the-thao-bong-da__container,
.page-the-thao-bong-da__card {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao-bong-da__hero-content {
    margin-top: -100px;
  }
  .page-the-thao-bong-da__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-the-thao-bong-da__subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-the-thao-bong-da__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-the-thao-bong-da__description {
    font-size: 17px;
  }
  .page-the-thao-bong-da__feature-title,
  .page-the-thao-bong-da__bet-type-title,
  .page-the-thao-bong-da__step-title,
  .page-the-thao-bong-da__promo-title,
  .page-the-thao-bong-da__tip-title {
    font-size: 20px;
  }
  .page-the-thao-bong-da__feature-text,
  .page-the-thao-bong-da__bet-type-text,
  .page-the-thao-bong-da__step-text,
  .page-the-thao-bong-da__promo-text,
  .page-the-thao-bong-da__tip-text {
    font-size: 15px;
  }
  .page-the-thao-bong-da__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-the-thao-bong-da__section {
    padding: 40px 0;
  }
  .page-the-thao-bong-da__container {
    padding: 0 15px;
  }
  
  /* HERO Section */
  .page-the-thao-bong-da__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    min-height: auto;
  }
  .page-the-thao-bong-da__hero-image {
    min-height: 250px;
  }
  .page-the-thao-bong-da__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    min-height: 250px;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao-bong-da__hero-content {
    padding: 20px 15px;
    margin-top: -80px; /* Adjust pull-up for mobile */
  }
  .page-the-thao-bong-da__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 10px;
  }
  .page-the-thao-bong-da__subtitle {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 20px;
  }

  /* General content sections */
  .page-the-thao-bong-da__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }
  .page-the-thao-bong-da__description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* Feature Grid */
  .page-the-thao-bong-da__features-grid,
  .page-the-thao-bong-da__bet-types-grid,
  .page-the-thao-bong-da__steps-grid,
  .page-the-thao-bong-da__promo-grid,
  .page-the-thao-bong-da__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-the-thao-bong-da__feature-card,
  .page-the-thao-bong-da__bet-type-card,
  .page-the-thao-bong-da__step-card,
  .page-the-thao-bong-da__promo-card,
  .page-the-thao-bong-da__tip-item {
    padding: 20px;
  }

  .page-the-thao-bong-da__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-the-thao-bong-da__feature-title,
  .page-the-thao-bong-da__bet-type-title,
  .page-the-thao-bong-da__step-title,
  .page-the-thao-bong-da__promo-title,
  .page-the-thao-bong-da__tip-title {
    font-size: 18px;
  }
  .page-the-thao-bong-da__feature-text,
  .page-the-thao-bong-da__bet-type-text,
  .page-the-thao-bong-da__step-text,
  .page-the-thao-bong-da__promo-text,
  .page-the-thao-bong-da__tip-text {
    font-size: 14px;
  }
  
  /* Images in content area */
  .page-the-thao-bong-da img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-the-thao-bong-da__promo-image {
    height: 180px;
  }

  /* Buttons and button containers */
  .page-the-thao-bong-da__cta-button,
  .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: 12px 15px;
    font-size: 16px;
  }
  .page-the-thao-bong-da__button-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* FAQ Section */
  details.page-the-thao-bong-da__faq-item summary.page-the-thao-bong-da__faq-question { padding: 15px; }
  .page-the-thao-bong-da__faq-qtext { font-size: 16px; }
  .page-the-thao-bong-da__faq-toggle { font-size: 24px; width: 24px; height: 24px; margin-left: 10px;}
  details.page-the-thao-bong-da__faq-item .page-the-thao-bong-da__faq-answer { padding: 0 15px 15px; }

  /* Bottom CTA */
  .page-the-thao-bong-da__cta-bottom {
    padding: 50px 0;
  }
}

/* Custom Colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Ensure contrast for elements with default background */
.page-the-thao-bong-da h1, .page-the-thao-bong-da h2, .page-the-thao-bong-da h3, .page-the-thao-bong-da h4, .page-the-thao-bong-da h5, .page-the-thao-bong-da h6 {
  color: var(--text-main);
}

.page-the-thao-bong-da p, .page-the-thao-bong-da li {
  color: var(--text-secondary);
}

/* Specific contrast adjustments if needed */
.page-the-thao-bong-da__card {
  color: var(--text-main); /* Card text main */
}

.page-the-thao-bong-da__card p {
  color: var(--text-secondary); /* Card paragraph text secondary */
}