:root {
  --page-primary-color: #2F6BFF;
  --page-secondary-color: #6FA3FF;
  --page-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --page-card-bg: #FFFFFF;
  --page-background: #F4F7FB;
  --page-text-main: #1F2D3D;
  --page-text-black: #000000;
  --page-border-color: #D6E2FF;
  --page-glow-color: #A5C4FF;
}

.page-huong-dan-ca-cuoc {
  font-family: 'Arial', sans-serif;
  color: var(--page-text-main);
  background-color: var(--page-background);
  line-height: 1.6;
}

.page-huong-dan-ca-cuoc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-huong-dan-ca-cuoc__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--page-text-black);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-huong-dan-ca-cuoc__sub-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--page-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-huong-dan-ca-cuoc__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--page-primary-color);
}

.page-huong-dan-ca-cuoc__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-huong-ca-cuoc__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-huong-dan-ca-cuoc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.page-huong-dan-ca-cuoc__hero-title {
  font-size: clamp(36px, 5vw, 60px); /* H1 font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-huong-dan-ca-cuoc__hero-description {
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-huong-dan-ca-cuoc__btn-primary {
  display: inline-block;
  background: var(--page-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-ca-cuoc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-ca-cuoc__intro-section,
.page-huong-dan-ca-cuoc__why-hi8-section,
.page-huong-dan-ca-cuoc__sports-guide-section,
.page-huong-dan-ca-cuoc__casino-guide-section,
.page-huong-dan-ca-cuoc__other-games-guide,
.page-huong-dan-ca-cuoc__responsible-section,
.page-huong-dan-ca-cuoc__faq-section,
.page-huong-dan-ca-cuoc__cta-section {
  padding: 60px 0;
}

.page-huong-dan-ca-cuoc__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-huong-dan-ca-cuoc__list li {
  margin-bottom: 10px;
}

.page-huong-dan-ca-cuoc__why-hi8-section {
  background-color: var(--page-card-bg);
  color: var(--page-text-main);
}

.page-huong-dan-ca-cuoc__why-hi8-section .page-huong-dan-ca-cuoc__list li strong {
  color: var(--page-primary-color);
}

.page-huong-dan-ca-cuoc__article-figure {
  margin-bottom: 30px;
  text-align: center;
}

.page-huong-dan-ca-cuoc__article-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-ca-cuoc__article-body p {
  margin-bottom: 15px;
}

.page-huong-dan-ca-cuoc__article-body a {
  color: var(--page-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-huong-dan-ca-cuoc__article-body a:hover {
  text-decoration: underline;
}

.page-huong-dan-ca-cuoc__dark-section {
  background-color: var(--page-primary-color);
  color: #ffffff;
}

.page-huong-dan-ca-cuoc__dark-section .page-huong-dan-ca-cuoc__section-title,
.page-huong-dan-ca-cuoc__dark-section .page-huong-dan-ca-cuoc__sub-title {
  color: #ffffff;
}

.page-huong-dan-ca-cuoc__dark-section .page-huong-dan-ca-cuoc__list li strong {
  color: var(--page-secondary-color);
}

.page-huong-dan-ca-cuoc__cta-section {
  background-color: var(--page-primary-color);
  color: #ffffff;
  text-align: center;
}

.page-huong-dan-ca-cuoc__cta-section p {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 30px;
}

.page-huong-dan-ca-cuoc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* FAQ Styles */
details.page-huong-dan-ca-cuoc__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-border-color);
  overflow: hidden;
  background: var(--page-card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__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;
  font-size: 17px;
  font-weight: 600;
  color: var(--page-text-black);
}
details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question:hover {
  background: #f5f8ff; /* Light blue hover */
}
.page-huong-dan-ca-cuoc__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-huong-dan-ca-cuoc__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--page-primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer {
  padding: 0 25px 20px;
  background: #fcfdff; /* Very light blue */
  border-radius: 0 0 8px 8px;
  color: var(--page-text-main);
  font-size: 15px;
}
details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer p {
  margin-bottom: 10px;
}
details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer a {
  color: var(--page-primary-color);
  text-decoration: none;
  font-weight: 600;
}
details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer a:hover {
  text-decoration: underline;
}

/* General Image Responsiveness */
.page-huong-dan-ca-cuoc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 849px) {
  .page-huong-ca-cuoc__hero-image {
    object-fit: contain !important; /* HERO 主图区域 */
    aspect-ratio: unset !important;
    filter: brightness(0.8); /* Adjust brightness for better text readability */
  }
  .page-huong-dan-ca-cuoc__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-huong-dan-ca-cuoc__hero-content {
    padding: 15px;
  }
  .page-huong-dan-ca-cuoc__hero-title {
    font-size: clamp(30px, 6vw, 45px);
  }
  .page-huong-dan-ca-cuoc__hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-huong-dan-ca-cuoc__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
    min-height: 350px;
  }
  .page-huong-ca-cuoc__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    filter: brightness(0.8);
  }
  .page-huong-dan-ca-cuoc__hero-title {
    font-size: clamp(28px, 7vw, 38px); /* H1 font size */
  }
  .page-huong-dan-ca-cuoc__hero-description {
    font-size: 16px;
  }
  
  /* 产品展示图区域 - N/A for this page, but general image rules apply */

  /* 装饰主标题 + 长文 SEO 区 */
  .page-huong-dan-ca-cuoc__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 30px;
  }
  .page-huong-dan-ca-cuoc__sub-title {
    font-size: clamp(20px, 4vw, 24px);
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-huong-dan-ca-cuoc__article-figure {
    margin-bottom: 20px;
  }
  .page-huong-dan-ca-cuoc__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-huong-dan-ca-cuoc__article-body,
  .page-huong-dan-ca-cuoc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* 防溢出 */
  }
  .page-huong-dan-ca-cuoc__intro-section,
  .page-huong-dan-ca-cuoc__why-hi8-section,
  .page-huong-dan-ca-cuoc__sports-guide-section,
  .page-huong-dan-ca-cuoc__casino-guide-section,
  .page-huong-dan-ca-cuoc__other-games-guide,
  .page-huong-dan-ca-cuoc__responsible-section,
  .page-huong-dan-ca-cuoc__faq-section,
  .page-huong-dan-ca-cuoc__cta-section {
    padding: 40px 0;
  }

  /* 通用图片与容器 */
  .page-huong-dan-ca-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 按钮与按钮容器 */
  .page-huong-dan-ca-cuoc__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-huong-dan-ca-cuoc__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* 移动端垂直排列 */
    gap: 15px;
  }

  /* FAQ */
  details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-huong-dan-ca-cuoc__faq-qtext {
    font-size: 15px;
  }
  .page-huong-dan-ca-cuoc__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
  }
}