/* Base styles for the-thao-ca-cuoc-esports page */
.page-the-thao-ca-cuoc-esports {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-size: 17px;
}

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

.page-the-thao-ca-cuoc-esports__section-title {
  font-size: 2.5em;
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao-ca-cuoc-esports__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* H1 font-size with clamp */
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-the-thao-ca-cuoc-esports__description {
  font-size: 1.2em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF3E6;
}

.page-the-thao-ca-cuoc-esports__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared handles body padding-top */
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-the-thao-ca-cuoc-esports__hero-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-the-thao-ca-cuoc-esports__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-the-thao-ca-cuoc-esports__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-the-thao-ca-cuoc-esports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-the-thao-ca-cuoc-esports__btn-primary,
.page-the-thao-ca-cuoc-esports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping on desktop */
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao-ca-cuoc-esports__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-the-thao-ca-cuoc-esports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

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

.page-the-thao-ca-cuoc-esports__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
}

.page-the-thao-ca-cuoc-esports__intro-section,
.page-the-thao-ca-cuoc-esports__bet-types,
.page-the-thao-ca-cuoc-esports__guide-section,
.page-the-thao-ca-cuoc-esports__top-games,
.page-the-thao-ca-cuoc-esports__tips-section,
.page-the-thao-ca-cuoc-esports__promo-section,
.page-the-thao-ca-cuoc-esports__why-choose,
.page-the-thao-ca-cuoc-esports__faq-section,
.page-the-thao-ca-cuoc-esports__cta-final {
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 12px;
}

.page-the-thao-ca-cuoc-esports__dark-bg {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

.page-the-thao-ca-cuoc-esports__light-bg {
  background-color: #0D0E12; /* Background - this is still dark, but less dark than Card BG, ensuring contrast with text */
  color: #FFF3E6;
}

.page-the-thao-ca-cuoc-esports__dark-bg p,
.page-the-thao-ca-cuoc-esports__light-bg p {
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

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

.page-the-thao-ca-cuoc-esports__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #FFF3E6;
}

.page-the-thao-ca-cuoc-esports__card:hover {
  transform: translateY(-5px);
}

.page-the-thao-ca-cuoc-esports__card img {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-the-thao-ca-cuoc-esports__card-title {
  font-size: 1.5em;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao-ca-cuoc-esports__card--promo .page-the-thao-ca-cuoc-esports__btn-secondary {
  margin-top: 20px;
}

.page-the-thao-ca-cuoc-esports__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-the-thao-ca-cuoc-esports__ordered-list,
.page-the-thao-ca-cuoc-esports__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-top: 30px;
}

.page-the-thao-ca-cuoc-esports__ordered-list li,
.page-the-thao-ca-cuoc-esports__unordered-list li {
  margin-bottom: 15px;
  line-height: 1.7;
  text-align: justify;
}

.page-the-thao-ca-cuoc-esports__ordered-list li strong,
.page-the-thao-ca-cuoc-esports__unordered-list li strong {
  color: #FFB04D;
}

.page-the-thao-ca-cuoc-esports__faq-list {
  margin-top: 40px;
}

.page-the-thao-ca-cuoc-esports__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-the-thao-ca-cuoc-esports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #FFB04D; /* Glow */
  user-select: none;
  list-style: none; /* Hide default marker for details summary */
}

.page-the-thao-ca-cuoc-esports__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao-ca-cuoc-esports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-the-thao-ca-cuoc-esports__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  color: #FFF3E6;
  text-align: justify;
}

.page-the-thao-ca-cuoc-esports__cta-final {
  text-align: center;
  padding: 80px 0;
}

.page-the-thao-ca-cuoc-esports__cta-final-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao-ca-cuoc-esports__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 40px;
}

/* General image responsiveness */
.page-the-thao-ca-cuoc-esports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao-ca-cuoc-esports__section-title {
    font-size: 2em;
  }
  .page-the-thao-ca-cuoc-esports__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-the-thao-ca-cuoc-esports__description {
    font-size: 1.1em;
  }
  .page-the-thao-ca-cuoc-esports__card {
    padding: 20px;
  }
  .page-the-thao-ca-cuoc-esports__card-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-the-thao-ca-cuoc-esports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-the-thao-ca-cuoc-esports__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    margin-bottom: 40px;
  }
  .page-the-thao-ca-cuoc-esports__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao-ca-cuoc-esports__hero-content {
    padding: 0 15px;
  }
  .page-the-thao-ca-cuoc-esports__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-the-thao-ca-cuoc-esports__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-the-thao-ca-cuoc-esports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .page-the-thao-ca-cuoc-esports__btn-primary,
  .page-the-thao-ca-cuoc-esports__btn-secondary,
  .page-the-thao-ca-cuoc-esports a[class*="button"],
  .page-the-thao-ca-cuoc-esports 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: 15px 20px !important;
    text-align: center;
  }
  .page-the-thao-ca-cuoc-esports__intro-section,
  .page-the-thao-ca-cuoc-esports__bet-types,
  .page-the-thao-ca-cuoc-esports__guide-section,
  .page-the-thao-ca-cuoc-esports__top-games,
  .page-the-thao-ca-cuoc-esports__tips-section,
  .page-the-thao-ca-cuoc-esports__promo-section,
  .page-the-thao-ca-cuoc-esports__why-choose,
  .page-the-thao-ca-cuoc-esports__faq-section,
  .page-the-thao-ca-cuoc-esports__cta-final {
    padding: 40px 0;
    margin-bottom: 20px;
  }
  .page-the-thao-ca-cuoc-esports__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao-ca-cuoc-esports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-the-thao-ca-cuoc-esports__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao-ca-cuoc-esports__card {
    padding: 20px;
    text-align: left;
  }
  .page-the-thao-ca-cuoc-esports__card img {
    height: auto; /* Allow image height to adjust */
  }
  .page-the-thao-ca-cuoc-esports__card-title {
    font-size: 1.2em;
  }
  .page-the-thao-ca-cuoc-esports__ordered-list,
  .page-the-thao-ca-cuoc-esports__unordered-list {
    padding-left: 0;
  }
  .page-the-thao-ca-cuoc-esports__ordered-list li,
  .page-the-thao-ca-cuoc-esports__unordered-list li {
    margin-bottom: 10px;
  }
  .page-the-thao-ca-cuoc-esports__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-the-thao-ca-cuoc-esports__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-the-thao-ca-cuoc-esports__btn-large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  /* Universal image and container responsive rules */
  .page-the-thao-ca-cuoc-esports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao-ca-cuoc-esports__section,
  .page-the-thao-ca-cuoc-esports__card,
  .page-the-thao-ca-cuoc-esports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Blog section is not present on this page, but if it were: */
  /* .page-the-thao-ca-cuoc-esports__blog-slide { flex: 0 0 100%; max-width: 100%; } */
  /* .page-the-thao-ca-cuoc-esports__blog-slider-track { display: flex; flex-direction: column; } */
}

@media (max-width: 480px) {
  .page-the-thao-ca-cuoc-esports__section-title {
    font-size: 1.6em;
  }
  .page-the-thao-ca-cuoc-esports__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-the-thao-ca-cuoc-esports__btn-primary,
  .page-the-thao-ca-cuoc-esports__btn-secondary {
    padding: 12px 15px !important;
    font-size: 0.9em;
  }
  .page-the-thao-ca-cuoc-esports__btn-large {
    font-size: 1em;
    padding: 14px 25px;
  }
}