/* style/huong-dan-choi.css */

:root {
  --page-primary-color: #F2C14E;
  --page-secondary-color: #FFD36B;
  --page-card-bg: #111111;
  --page-background: #0A0A0A;
  --page-text-main: #FFF6D6;
  --page-border-color: #3A2A12;
  --page-glow-color: #FFD36B;
  --page-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-huong-dan-choi {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-main); /* Light text for dark body background */
  background-color: var(--page-background); /* From shared.css */
}

.page-huong-dan-choi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-huong-dan-choi__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 50px;
  text-align: center;
  overflow: hidden;
}

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

.page-huong-dan-choi__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Dim the image for text readability */
}

.page-huong-dan-choi__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--page-text-main);
}

.page-huong-dan-choi__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-huong-dan-choi__sub-title {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-huong-dan-choi__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General Section Styling */
.page-huong-dan-choi__intro-section,
.page-huong-dan-choi__registration-guide,
.page-huong-dan-choi__promotions,
.page-huong-dan-choi__faq-section {
  padding: 60px 0;
  background-color: var(--page-background);
  color: var(--page-text-main);
}

.page-huong-dan-choi__why-choose-us,
.page-huong-dan-choi__transaction-guide,
.page-huong-dan-choi__tips-strategies,
.page-huong-dan-choi__customer-support,
.page-huong-dan-choi__conclusion-section {
  padding: 60px 0;
  background-color: var(--page-card-bg);
  color: var(--page-text-main);
}

.page-huong-dan-choi__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-secondary-color);
}

.page-huong-dan-choi__sub-section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--page-primary-color);
}

.page-huong-dan-choi__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-huong-dan-choi__text-block:last-of-type {
  margin-bottom: 0;
}

/* Buttons */
.page-huong-dan-choi__btn-primary,
.page-huong-dan-choi__btn-secondary,
.page-huong-dan-choi__game-card-button,
.page-huong-dan-choi__support-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-huong-dan-choi__btn-primary {
  background: var(--page-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-huong-dan-choi__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-huong-dan-choi__btn-secondary {
  background: transparent;
  color: var(--page-primary-color);
  border: 2px solid var(--page-primary-color);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.2);
}

.page-huong-dan-choi__btn-secondary:hover {
  background: var(--page-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

.page-huong-dan-choi__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Why Choose Us Section */
.page-huong-dan-choi__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-choi__feature-item {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-huong-dan-choi__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-choi__feature-title {
  font-size: 1.5rem;
  color: var(--page-primary-color);
  margin-bottom: 15px;
}

.page-huong-dan-choi__feature-description {
  font-size: 1rem;
  color: var(--page-text-main);
}

/* Guide Steps */
.page-huong-dan-choi__guide-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-huong-dan-choi__guide-image-wrapper {
  text-align: center;
}

.page-huong-dan-choi__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-huong-dan-choi__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-huong-dan-choi__step-item {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi__step-item:last-child {
  margin-bottom: 0;
}

.page-huong-dan-choi__step-title {
  font-size: 1.3rem;
  color: var(--page-primary-color);
  margin-bottom: 10px;
}

.page-huong-dan-choi__step-item p,
.page-huong-dan-choi__step-item ul {
  font-size: 1rem;
  color: var(--page-text-main);
}

.page-huong-dan-choi__step-item ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style: disc;
}

.page-huong-dan-choi__step-item ul li {
  margin-bottom: 5px;
}

.page-huong-dan-choi__transaction-content {
  padding: 0 20px;
}

/* Game Guides Section */
.page-huong-dan-choi__game-showcase {
  text-align: center;
  margin-bottom: 50px;
}

.page-huong-dan-choi__game-showcase-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.page-huong-dan-choi__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-huong-dan-choi__game-card {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-huong-dan-choi__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-huong-dan-choi__game-card-title {
  font-size: 1.6rem;
  color: var(--page-primary-color);
  margin-bottom: 15px;
}

.page-huong-dan-choi__game-card-description {
  font-size: 1rem;
  color: var(--page-text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-huong-dan-choi__game-features {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--page-text-main);
}

.page-huong-dan-choi__game-features li {
  margin-bottom: 5px;
}

.page-huong-dan-choi__game-card-button {
  background: var(--page-button-gradient);
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: auto; /* Push button to bottom */
  box-shadow: 0 4px 10px rgba(255, 216, 106, 0.3);
}

.page-huong-dan-choi__game-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 216, 106, 0.5);
}

/* Tips & Strategies Section */
.page-huong-dan-choi__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-choi__tip-item {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-huong-dan-choi__tip-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-choi__tip-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-huong-dan-choi__tip-title {
  font-size: 1.4rem;
  color: var(--page-primary-color);
  margin-bottom: 10px;
}

.page-huong-dan-choi__tip-description {
  font-size: 1rem;
  color: var(--page-text-main);
}

/* Customer Support Section */
.page-huong-dan-choi__support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-choi__support-item {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-huong-dan-choi__support-title {
  font-size: 1.5rem;
  color: var(--page-primary-color);
  margin-bottom: 15px;
}

.page-huong-dan-choi__support-item p {
  font-size: 1rem;
  color: var(--page-text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-huong-dan-choi__support-button {
  background: var(--page-button-gradient);
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: auto;
  box-shadow: 0 4px 10px rgba(255, 216, 106, 0.3);
}

.page-huong-dan-choi__support-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 216, 106, 0.5);
}

/* FAQ Section */
.page-huong-dan-choi__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-huong-dan-choi__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--page-border-color);
  overflow: hidden;
  background: var(--page-card-bg);
  color: var(--page-text-main);
}

details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--page-primary-color);
}

details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question::-webkit-details-marker {
  display: none;
}

details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question:hover {
  background: rgba(var(--page-primary-color-rgb), 0.1);
}

.page-huong-dan-choi__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-huong-dan-choi__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-huong-dan-choi__faq-item .page-huong-dan-choi__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--page-primary-color-rgb), 0.05);
  border-radius: 0 0 5px 5px;
  color: var(--page-text-main);
}

.page-huong-dan-choi__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-huong-dan-choi__conclusion-section .page-huong-dan-choi__text-block {
  margin-bottom: 30px;
}

/* Global image responsiveness */
.page-huong-dan-choi img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-huong-dan-choi__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }

  .page-huong-dan-choi__sub-title {
    font-size: 1.2rem;
  }

  .page-huong-dan-choi__section-title {
    font-size: 2.2rem;
  }

  .page-huong-dan-choi__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-huong-dan-choi__guide-image-wrapper {
    order: -1; /* Image appears above steps */
    margin-bottom: 30px;
  }

  .page-huong-dan-choi__transaction-content {
    padding: 0;
  }

  .page-huong-dan-choi__text-block {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  /* Top Section */
  .page-huong-dan-choi__hero-section {
    min-height: 400px;
    padding-bottom: 30px;
    padding-top: 10px; /* Ensure small top padding */
  }

  .page-huong-dan-choi__main-title {
    font-size: 2rem !important;
    margin-bottom: 15px;
  }

  .page-huong-dan-choi__sub-title {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }

  .page-huong-dan-choi__hero-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* Buttons - Mobile responsiveness */
  .page-huong-dan-choi__btn-primary,
  .page-huong-dan-choi__btn-secondary,
  .page-huong-dan-choi__game-card-button,
  .page-huong-dan-choi__support-button,
  .page-huong-dan-choi a[class*="button"],
  .page-huong-dan-choi a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-huong-dan-choi__cta-buttons,
  .page-huong-dan-choi__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    overflow: hidden !important;
  }

  /* General Section */
  .page-huong-dan-choi__intro-section,
  .page-huong-dan-choi__why-choose-us,
  .page-huong-dan-choi__registration-guide,
  .page-huong-dan-choi__transaction-guide,
  .page-huong-dan-choi__game-guides,
  .page-huong-dan-choi__tips-strategies,
  .page-huong-dan-choi__promotions,
  .page-huong-dan-choi__customer-support,
  .page-huong-dan-choi__faq-section,
  .page-huong-dan-choi__conclusion-section {
    padding: 40px 0;
  }

  .page-huong-dan-choi__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-huong-dan-choi__text-block {
    font-size: 0.95rem !important;
    padding: 0 15px;
    text-align: left;
  }

  /* Images - Mobile responsiveness */
  .page-huong-dan-choi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-huong-dan-choi__guide-image-wrapper,
  .page-huong-dan-choi__game-showcase,
  .page-huong-dan-choi__tip-item .page-huong-dan-choi__tip-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* Why Choose Us Section */
  .page-huong-dan-choi__features-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-huong-dan-choi__feature-item {
    padding: 25px;
  }

  /* Guide Steps */
  .page-huong-dan-choi__guide-steps {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-huong-dan-choi__guide-image-wrapper {
    margin-bottom: 20px;
  }

  .page-huong-dan-choi__steps-list {
    padding: 0;
  }

  .page-huong-dan-choi__step-item {
    padding: 20px;
  }

  .page-huong-dan-choi__step-title {
    font-size: 1.2rem;
  }

  /* Game Guides Section */
  .page-huong-dan-choi__game-list {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-huong-dan-choi__game-card {
    padding: 25px;
  }

  .page-huong-dan-choi__game-card-title {
    font-size: 1.4rem;
  }

  /* Tips & Strategies Section */
  .page-huong-dan-choi__tips-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-huong-dan-choi__tip-item {
    padding: 20px;
  }

  .page-huong-dan-choi__tip-title {
    font-size: 1.3rem;
  }

  /* Customer Support Section */
  .page-huong-dan-choi__support-options {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-huong-dan-choi__support-item {
    padding: 25px;
  }

  .page-huong-dan-choi__support-title {
    font-size: 1.4rem;
  }

  /* FAQ Section */
  .page-huong-dan-choi__faq-list {
    padding: 0 15px;
  }

  details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question {
    padding: 15px;
  }

  .page-huong-dan-choi__faq-qtext {
    font-size: 1rem;
  }

  .page-huong-dan-choi__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-huong-dan-choi__faq-item .page-huong-dan-choi__faq-answer {
    padding: 0 15px 15px;
  }
}