.page-huong-dan-ca-cuoc {
  color: #F3F8FF; /* Text Main */
  background-color: #000; /* Body background is black from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* HERO Section */
.page-huong-dan-ca-cuoc__hero-section {
  padding-top: 10px; /* Small top padding to avoid double spacing with body padding */
  padding-bottom: 40px;
  background-color: #08162B; /* Deep Navy, slightly darker than main content for contrast */
}

.page-huong-dan-ca-cuoc__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}

.page-huong-dan-ca-cuoc__hero-image {
  flex: 1 1 50%;
  text-align: center;
  order: 1; /* Image first on desktop */
}

.page-huong-dan-ca-cuoc__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-huong-dan-ca-cuoc__hero-content {
  flex: 1 1 45%;
  order: 2; /* Content second on desktop */
  color: #F3F8FF; /* Text Main */
}

.page-huong-dan-ca-cuoc__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-huong-dan-ca-cuoc__hero-description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-huong-dan-ca-cuoc__hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-huong-dan-ca-cuoc__btn-primary,
.page-huong-dan-ca-cuoc__btn-secondary,
.page-huong-dan-ca-cuoc__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-huong-dan-ca-cuoc__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-huong-dan-ca-cuoc__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-huong-dan-ca-cuoc__btn-secondary {
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #2B73F6; /* Lighter blue for border */
}

.page-huong-dan-ca-cuoc__btn-secondary:hover {
  background-color: rgba(43, 115, 246, 0.1);
  transform: translateY(-2px);
}

.page-huong-dan-ca-cuoc__btn-link {
  color: #4FA8FF; /* Glow */
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.page-huong-dan-ca-cuoc__btn-link:hover {
  color: #F2C14E; /* Gold */
}

/* General Section Styling */
.page-huong-dan-ca-cuoc__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
}

.page-huong-dan-ca-cuoc__section-description {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-huong-dan-ca-cuoc__dark-section {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
}

.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__section-description {
  color: #F3F8FF; /* Text Main */
}

/* Intro Section */
.page-huong-dan-ca-cuoc__intro-section {
  padding: 60px 0;
}

.page-huong-dan-ca-cuoc__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-huong-dan-ca-cuoc__feature-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-huong-dan-ca-cuoc__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #F2C14E; /* Gold border */
  flex-shrink: 0;
}

.page-huong-dan-ca-cuoc__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-huong-dan-ca-cuoc__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-huong-dan-ca-cuoc__feature-text {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
}

/* Guide Section */
.page-huong-dan-ca-cuoc__guide-section {
  padding: 60px 0;
}

.page-huong-dan-ca-cuoc__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.page-huong-dan-ca-cuoc__step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  position: relative;
  padding-left: 80px; /* Space for step number */
}

.page-huong-dan-ca-cuoc__step-number {
  position: absolute;
  left: 20px;
  top: 30px;
  width: 40px;
  height: 40px;
  background-color: #F2C14E; /* Gold */
  color: #08162B; /* Deep Navy */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.page-huong-dan-ca-cuoc__step-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-huong-dan-ca-cuoc__step-text {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-huong-dan-ca-cuoc__step-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
}

/* Tips Section */
.page-huong-dan-ca-cuoc__tips-section {
  padding: 60px 0;
}

.page-huong-dan-ca-cuoc__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-ca-cuoc__tip-card {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-ca-cuoc__tip-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-huong-dan-ca-cuoc__tip-text {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
}

/* FAQ Section */
.page-huong-dan-ca-cuoc__faq-section {
  padding: 60px 0;
}

.page-huong-dan-ca-cuoc__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-huong-dan-ca-cuoc__faq-item {
  background-color: #10233F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-ca-cuoc__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  background-color: #10233F; /* Card BG */
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-huong-dan-ca-cuoc__faq-item summary:hover {
  background-color: rgba(16, 35, 63, 0.8);
}

.page-huong-dan-ca-cuoc__faq-item[open] summary {
  background-color: rgba(16, 35, 63, 0.9);
}

.page-huong-dan-ca-cuoc__faq-item summary::-webkit-details-marker,
.page-huong-dan-ca-cuoc__faq-item summary::marker {
  display: none;
}

.page-huong-dan-ca-cuoc__faq-qtext {
  flex-grow: 1;
  color: #F2C14E; /* Gold */
}

.page-huong-dan-ca-cuoc__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-left: 15px;
}

.page-huong-dan-ca-cuoc__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  background-color: rgba(16, 35, 63, 0.7); /* Slightly transparent Card BG */
}

/* Bottom CTA Section */
.page-huong-dan-ca-cuoc__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-huong-dan-ca-cuoc__cta-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-huong-dan-ca-cuoc__cta-bottom-section .page-huong-dan-ca-cuoc__section-title {
  margin-bottom: 0;
}

.page-huong-dan-ca-cuoc__cta-bottom-section .page-huong-dan-ca-cuoc__section-description {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-ca-cuoc__hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .page-huong-dan-ca-cuoc__hero-description {
    font-size: 1rem;
  }
  .page-huong-dan-ca-cuoc__icon-box-media {
    width: 150px;
    height: 150px;
  }
  .page-huong-dan-ca-cuoc__feature-title {
    font-size: 1.3rem;
  }
  .page-huong-dan-ca-cuoc__step-title {
    font-size: 1.6rem;
  }
  .page-huong-dan-ca-cuoc__tip-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  /* HERO Section - Mobile */
  .page-huong-dan-ca-cuoc__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px !important;
  }
  .page-huong-dan-ca-cuoc__hero-container {
    flex-direction: column;
    padding: 20px 0 !important;
    gap: 20px !important;
  }
  .page-huong-dan-ca-cuoc__hero-image {
    order: 1 !important; /* Image first on mobile */
    flex: 1 1 100% !important;
  }
  .page-huong-dan-ca-cuoc__hero-content {
    order: 2 !important; /* Content second on mobile */
    flex: 1 1 100% !important;
    text-align: center;
  }
  .page-huong-dan-ca-cuoc__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }
  .page-huong-dan-ca-cuoc__hero-description {
    font-size: 0.95rem !important;
  }
  .page-huong-dan-ca-cuoc__hero-cta-group {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 15px;
  }
  .page-huong-dan-ca-cuoc__btn-primary,
  .page-huong-dan-ca-cuoc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Intro Section - Mobile */
  .page-huong-dan-ca-cuoc__intro-section {
    padding: 40px 0 !important;
  }
  .page-huong-dan-ca-cuoc__features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-huong-dan-ca-cuoc__icon-box-media {
    width: 120px !important;
    height: 120px !important;
    border-width: 2px !important;
  }
  .page-huong-dan-ca-cuoc__feature-title {
    font-size: 1.2rem !important;
  }
  .page-huong-dan-ca-cuoc__feature-text {
    font-size: 0.9rem !important;
  }

  /* Guide Section - Mobile */
  .page-huong-dan-ca-cuoc__guide-section {
    padding: 40px 0 !important;
  }
  .page-huong-dan-ca-cuoc__guide-steps {
    gap: 30px !important;
  }
  .page-huong-dan-ca-cuoc__step-item {
    padding: 20px !important;
    padding-left: 60px !important;
  }
  .page-huong-dan-ca-cuoc__step-number {
    left: 15px !important;
    top: 20px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 1.2rem !important;
  }
  .page-huong-dan-ca-cuoc__step-title {
    font-size: 1.4rem !important;
  }
  .page-huong-dan-ca-cuoc__step-text {
    font-size: 0.95rem !important;
  }

  /* Tips Section - Mobile */
  .page-huong-dan-ca-cuoc__tips-section {
    padding: 40px 0 !important;
  }
  .page-huong-dan-ca-cuoc__tips-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-huong-dan-ca-cuoc__tip-card {
    padding: 20px !important;
  }
  .page-huong-dan-ca-cuoc__tip-title {
    font-size: 1.1rem !important;
  }
  .page-huong-dan-ca-cuoc__tip-text {
    font-size: 0.9rem !important;
  }

  /* FAQ Section - Mobile */
  .page-huong-dan-ca-cuoc__faq-section {
    padding: 40px 0 !important;
  }
  .page-huong-dan-ca-cuoc__faq-list {
    gap: 10px !important;
  }
  .page-huong-dan-ca-cuoc__faq-item summary {
    padding: 15px !important;
    font-size: 1rem !important;
  }
  .page-huong-dan-ca-cuoc__faq-qtext {
    font-size: 1rem !important;
  }
  .page-huong-dan-ca-cuoc__faq-toggle {
    font-size: 1.3rem !important;
  }
  .page-huong-dan-ca-cuoc__faq-answer {
    padding: 15px !important;
    font-size: 0.95rem !important;
  }

  /* Bottom CTA Section - Mobile */
  .page-huong-dan-ca-cuoc__cta-bottom-section {
    padding: 50px 0 !important;
  }
  .page-huong-dan-ca-cuoc__cta-bottom-content {
    gap: 15px !important;
  }

  /* General Images - Mobile */
  .page-huong-dan-ca-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General Container Padding - Mobile */
  .page-huong-dan-ca-cuoc__container,
  .page-huong-dan-ca-cuoc__hero-container,
  .page-huong-dan-ca-cuoc__features-grid,
  .page-huong-dan-ca-cuoc__guide-steps,
  .page-huong-dan-ca-cuoc__tips-grid,
  .page-huong-dan-ca-cuoc__faq-list,
  .page-huong-dan-ca-cuoc__cta-bottom-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-huong-dan-ca-cuoc__hero-image img,
  .page-huong-dan-ca-cuoc__step-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}