/* Base styles for the Nổ Hũ page */
.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-text-main, #FFF3E6); /* Default text color from custom palette */
  background-color: var(--site-bg, #0D0E12); /* Default background from custom palette */
}

.page-no-hu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-no-hu__section {
  padding: 60px 0;
}

.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
}

.page-no-hu__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-no-hu__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-no-hu__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-no-hu__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-no-hu__hero-description {
  font-size: 1.2em;
  color: #FFF3E6; /* Text Main color */
  margin-bottom: 30px;
}

.page-no-hu__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-no-hu__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-no-hu__btn-secondary {
  background: #17191F; /* Card BG color */
  color: #FFA53A; /* Auxiliary color for text */
  border: 2px solid #A84F0C; /* Border color */
}

.page-no-hu__btn-secondary:hover {
  background: #A84F0C; /* Border color as background */
  color: #FFF3E6; /* Text Main color */
}

.page-no-hu__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #FFB04D; /* Glow color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-no-hu__text-block {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-no-hu__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-no-hu__dark-section {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-no-hu__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__card {
  background-color: #17191F; /* Card BG color */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #FFF3E6;
}

.page-no-hu__card-title {
  font-size: 1.5em;
  color: #FFA53A; /* Auxiliary color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-no-hu__card-text {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-no-hu__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  display: block;
}

.page-no-hu__benefits-list,
.page-no-hu__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-no-hu__benefits-item,
.page-no-hu__strategy-item {
  background-color: #17191F; /* Card BG color */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-no-hu__benefits-title,
.page-no-hu__strategy-title {
  font-size: 1.4em;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-no-hu__benefits-text,
.page-no-hu__strategy-text {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-no-hu__link-text {
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-no-hu__link-text:hover {
  color: #FFB04D;
  text-decoration: underline;
}

.page-no-hu__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__step-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #FFF3E6;
}

.page-no-hu__step-title {
  font-size: 1.6em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-no-hu__step-text {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-no-hu__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFA53A;
  list-style: none; /* Hide default details marker */
  transition: background-color 0.3s ease;
}

.page-no-hu__faq-question::-webkit-details-marker {
  display: none;
}

.page-no-hu__faq-question:hover {
  background-color: rgba(255, 165, 58, 0.1);
}

.page-no-hu__faq-item[open] .page-no-hu__faq-question {
  background-color: rgba(255, 165, 58, 0.15);
}

.page-no-hu__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
  transform: rotate(45deg);
}

.page-no-hu__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #FFF3E6;
  text-align: justify;
}

.page-no-hu__faq-answer p {
  margin-bottom: 10px;
}

.page-no-hu__faq-answer .page-no-hu__link-text {
  margin-top: 10px;
}

.page-no-hu__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-no-hu__container {
    padding: 20px 30px;
  }

  .page-no-hu__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-no-hu__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }

  .page-no-hu__grid-layout,
  .page-no-hu__benefits-list,
  .page-no-hu__strategy-list,
  .page-no-hu__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-no-hu__container {
    padding: 0 15px; /* Adjust padding for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-no-hu__section {
    padding: 40px 0;
  }

  .page-no-hu__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-no-hu__hero-image-wrapper {
    max-height: 300px;
  }

  .page-no-hu__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-no-hu__hero-description {
    font-size: 1em;
  }

  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-no-hu__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
    margin-bottom: 30px;
  }

  .page-no-hu__text-block {
    font-size: 0.95em;
  }

  /* General image and container responsiveness */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-no-hu__card,
  .page-no-hu__benefits-item,
  .page-no-hu__strategy-item,
  .page-no-hu__step-card {
    padding: 20px;
    box-sizing: border-box !important;
  }

  .page-no-hu__grid-layout,
  .page-no-hu__benefits-list,
  .page-no-hu__strategy-list,
  .page-no-hu__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-no-hu__card-title,
  .page-no-hu__benefits-title,
  .page-no-hu__strategy-title,
  .page-no-hu__step-title {
    font-size: 1.2em;
  }

  .page-no-hu__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-no-hu__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-no-hu__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* Specific overrides for mobile-only items (not present in this page, but as a checklist reminder) */
  /* .page-no-hu__home-content {} */
  /* .page-no-hu__slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; } */
  /* .page-no-hu__game-slide { flex: 0 0 160px; max-width: 160px; } */
  /* .page-no-hu__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); } */
  /* .page-no-hu__blog-masonry { grid-template-columns: 1fr; } */
  /* .page-no-hu__blog-slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; } */
  /* .page-no-hu__blog-slide { flex: 0 0 100%; max-width: 100%; } */
}