.page-the-thao-ca-cuoc-bong-da {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

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

.page-the-thao-ca-cuoc-bong-da__section {
  padding: 60px 0;
}

.page-the-thao-ca-cuoc-bong-da__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FF8C1A; /* Main color */
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.5); /* Glow */
}

.page-the-thao-ca-cuoc-bong-da__content-area {
  font-size: 17px;
  line-height: 1.7;
}

.page-the-thao-ca-cuoc-bong-da__content-area p {
  margin-bottom: 20px;
}

.page-the-thao-ca-cuoc-bong-da__content-area strong {
  color: #FFA53A; /* Auxiliary color */
}

/* Hero Section */
.page-the-thao-ca-cuoc-bong-da__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0D0E12;
}

.page-the-thao-ca-cuoc-bong-da__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-the-thao-ca-cuoc-bong-da__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill space */
}

.page-the-thao-ca-cuoc-bong-da__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao-ca-cuoc-bong-da__main-title {
  font-size: clamp(32px, 4.5vw, 56px); /* Responsive font size */
  font-weight: 800;
  color: #FF8C1A;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 140, 26, 0.7);
}

.page-the-thao-ca-cuoc-bong-da__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #FFF3E6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao-ca-cuoc-bong-da__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 600px; /* Limit width of button group */
  margin: 0 auto;
}

.page-the-thao-ca-cuoc-bong-da__cta-buttons--center {
  justify-content: center;
  margin-top: 30px;
}

.page-the-thao-ca-cuoc-bong-da__cta-buttons--left {
  justify-content: flex-start;
  margin-top: 30px;
}

.page-the-thao-ca-cuoc-bong-da__btn-primary,
.page-the-thao-ca-cuoc-bong-da__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  max-width: 100%; /* Important for responsiveness */
  box-sizing: border-box; /* Important for responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-the-thao-ca-cuoc-bong-da__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-the-thao-ca-cuoc-bong-da__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E67A10 100%);
  box-shadow: 0 6px 20px rgba(255, 176, 77, 0.6);
  transform: translateY(-2px);
}

.page-the-thao-ca-cuoc-bong-da__btn-secondary {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A; /* Border color */
}

.page-the-thao-ca-cuoc-bong-da__btn-secondary:hover {
  background: rgba(255, 140, 26, 0.1);
  color: #FFA53A;
  border-color: #FFA53A;
  transform: translateY(-2px);
}

/* List styles */
.page-the-thao-ca-cuoc-bong-da__list {
  list-style: none;
  padding: 0;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-the-thao-ca-cuoc-bong-da__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-the-thao-ca-cuoc-bong-da__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFA53A; /* Auxiliary color */
  font-weight: bold;
}

.page-the-thao-ca-cuoc-bong-da__list--columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-left: 0;
}

.page-the-thao-ca-cuoc-bong-da__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-the-thao-ca-cuoc-bong-da__numbered-list li {
  margin-bottom: 10px;
  color: #FFF3E6;
}

/* Image figures */
.page-the-thao-ca-cuoc-bong-da__article-figure {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  background-color: #17191F; /* Card BG */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao-ca-cuoc-bong-da__article-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  margin: 0 auto 10px auto;
}

.page-the-thao-ca-cuoc-bong-da__article-figure figcaption {
  font-size: 15px;
  color: #FFF3E6;
  opacity: 0.8;
}

/* App Download Section */
.page-the-thao-ca-cuoc-bong-da__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-the-thao-ca-cuoc-bong-da__container--flex-reverse {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}

.page-the-thao-ca-cuoc-bong-da__app-content,
.page-the-thao-ca-cuoc-bong-da__support-content {
  flex: 1;
}

.page-the-thao-ca-cuoc-bong-da__app-image,
.page-the-thao-ca-cuoc-bong-da__support-image {
  flex-shrink: 0;
  max-width: 500px;
  background-color: #17191F; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C; /* Border color */
}

.page-the-thao-ca-cuoc-bong-da__app-image img,
.page-the-thao-ca-cuoc-bong-da__support-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* FAQ Section */
details.page-the-thao-ca-cuoc-bong-da__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-the-thao-ca-cuoc-bong-da__faq-item summary.page-the-thao-ca-cuoc-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;
}
details.page-the-thao-ca-cuoc-bong-da__faq-item summary.page-the-thao-ca-cuoc-bong-da__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao-ca-cuoc-bong-da__faq-item summary.page-the-thao-ca-cuoc-bong-da__faq-question:hover {
  background: rgba(255, 140, 26, 0.1); /* Slight hover effect */
}
.page-the-thao-ca-cuoc-bong-da__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6; /* Text Main */
}
.page-the-thao-ca-cuoc-bong-da__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FF8C1A; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
  line-height: 1;
}
details.page-the-thao-ca-cuoc-bong-da__faq-item .page-the-thao-ca-cuoc-bong-da__faq-answer {
  padding: 0 25px 25px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6; /* Text Main */
}
.page-the-thao-ca-cuoc-bong-da__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-the-thao-ca-cuoc-bong-da__conclusion {
  padding-top: 40px;
  padding-bottom: 80px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao-ca-cuoc-bong-da__section-title {
    font-size: 34px;
  }
  .page-the-thao-ca-cuoc-bong-da__main-title {
    font-size: clamp(30px, 4vw, 50px);
  }
  .page-the-thao-ca-cuoc-bong-da__description {
    font-size: 18px;
  }
  .page-the-thao-ca-cuoc-bong-da__container--flex,
  .page-the-thao-ca-cuoc-bong-da__container--flex-reverse {
    gap: 30px;
  }
  .page-the-thao-ca-cuoc-bong-da__app-image,
  .page-the-thao-ca-cuoc-bong-da__support-image {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-the-thao-ca-cuoc-bong-da {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-the-thao-ca-cuoc-bong-da__container {
    padding: 0 15px;
  }
  .page-the-thao-ca-cuoc-bong-da__section {
    padding: 40px 0;
  }
  .page-the-thao-ca-cuoc-bong-da__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  /* HERO Section */
  .page-the-thao-ca-cuoc-bong-da__hero-section {
    padding-bottom: 40px;
    padding-top: 10px; /* Still small top padding */
  }
  .page-the-thao-ca-cuoc-bong-da__hero-image img {
    object-fit: contain !important; /* Mobile: contain to show full image */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao-ca-cuoc-bong-da__hero-image {
    max-height: unset; /* Remove max height */
    margin-bottom: 20px;
  }
  .page-the-thao-ca-cuoc-bong-da__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-the-thao-ca-cuoc-bong-da__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-the-thao-ca-cuoc-bong-da__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao-ca-cuoc-bong-da__btn-primary,
  .page-the-thao-ca-cuoc-bong-da__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    min-width: unset;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Content area and lists */
  .page-the-thao-ca-cuoc-bong-da__content-area {
    font-size: 16px;
  }
  .page-the-thao-ca-cuoc-bong-da__list li,
  .page-the-thao-ca-cuoc-bong-da__numbered-list li {
    font-size: 16px;
  }
  .page-the-thao-ca-cuoc-bong-da__list--columns {
    grid-template-columns: 1fr; /* Single column for lists */
    gap: 15px;
  }

  /* Images and Figures */
  .page-the-thao-ca-cuoc-bong-da img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-the-thao-ca-cuoc-bong-da__article-figure {
    padding: 10px;
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao-ca-cuoc-bong-da__article-figure figcaption {
    font-size: 13px;
  }

  /* Flex containers */
  .page-the-thao-ca-cuoc-bong-da__container--flex,
  .page-the-thao-ca-cuoc-bong-da__container--flex-reverse {
    flex-direction: column; /* Stack vertically */
    gap: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao-ca-cuoc-bong-da__app-image,
  .page-the-thao-ca-cuoc-bong-da__support-image {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px;
    box-sizing: border-box !important;
  }
  .page-the-thao-ca-cuoc-bong-da__app-content,
  .page-the-thao-ca-cuoc-bong-da__support-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ Section */
  details.page-the-thao-ca-cuoc-bong-da__faq-item summary.page-the-thao-ca-cuoc-bong-da__faq-question {
    padding: 15px 20px;
  }
  .page-the-thao-ca-cuoc-bong-da__faq-qtext {
    font-size: 16px;
  }
  .page-the-thao-ca-cuoc-bong-da__faq-toggle {
    font-size: 24px;
    width: 28px;
  }
  details.page-the-thao-ca-cuoc-bong-da__faq-item .page-the-thao-ca-cuoc-bong-da__faq-answer {
    padding: 0 20px 20px;
  }
}

/* Color contrast fixes based on body background #0D0E12 (dark) */
/* All text is already #FFF3E6 on dark backgrounds, which is good. */
/* Card BG is #17191F (dark), so text #FFF3E6 is good. */
/* FAQ answer background is #0D0E12 (dark), so text #FFF3E6 is good. */

/* Ensure no filter properties are used for images */
.page-the-thao-ca-cuoc-bong-da img {
  filter: none !important; /* Explicitly ensure no filters */
}