/* Base styles for the Nổ Hũ page */
.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-no-hu__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFB04D; /* Glow */
}

.page-no-hu__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

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

.page-no-hu__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #FFF3E6; /* Text Main */
  border: none;
}

.page-no-hu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-no-hu__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary */
  border: 2px solid #FFA53A;
}

.page-no-hu__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12; /* Background */
}

.page-no-hu__btn-outline {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-no-hu__btn-outline:hover {
  background: #FFA53A;
  color: #0D0E12;
}

.page-no-hu__margin-top {
  margin-top: 20px;
}

/* HERO Section */
.page-no-hu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 50px;
  overflow: hidden;
}

.page-no-hu__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
}

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

.page-no-hu__hero-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

/* Content Wrapper - Giới Thiệu */
.page-no-hu__content-wrapper {
  padding: 60px 20px;
  background-color: #17191F; /* Card BG */
  border-bottom: 1px solid #A84F0C; /* Border */
}

/* Games Showcase Section */
.page-no-hu__games-showcase {
  padding: 60px 20px;
  background-color: #0D0E12; /* Background */
}

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

.page-no-hu__game-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-no-hu__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-no-hu__game-card-title {
  font-size: 1.5em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-no-hu__game-card-description {
  font-size: 0.95em;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Guide Section */
.page-no-hu__guide-section {
  padding: 60px 20px;
  background-color: #17191F; /* Card BG */
  border-bottom: 1px solid #A84F0C;
}

.page-no-hu__guide-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-no-hu__guide-content {
  flex: 1;
}

.page-no-hu__guide-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-no-hu__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #A84F0C;
}

.page-no-hu__guide-subtitle {
  font-size: 1.8em;
  color: #FFA53A; /* Auxiliary */
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Tips Section */
.page-no-hu__tips-section {
  padding: 60px 20px;
  background-color: #0D0E12; /* Background */
}

.page-no-hu__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-no-hu__tip-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

.page-no-hu__tip-card-title {
  font-size: 1.4em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-no-hu__tip-card-description {
  font-size: 0.95em;
  color: #FFF3E6; /* Text Main */
}

.page-no-hu__tips-image-wrapper {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-no-hu__tips-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #A84F0C;
}

/* Promotion Section */
.page-no-hu__promo-section {
  padding: 60px 20px;
  background-color: #17191F; /* Card BG */
  border-bottom: 1px solid #A84F0C;
}

.page-no-hu__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-no-hu__promo-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

.page-no-hu__promo-card-title {
  font-size: 1.5em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-no-hu__promo-card-description {
  font-size: 0.95em;
  color: #FFF3E6; /* Text Main */
}

.page-no-hu__promo-image-wrapper {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.page-no-hu__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #A84F0C;
}

/* FAQ Section */
.page-no-hu__faq-section {
  padding: 60px 20px;
  background-color: #0D0E12; /* Background */
}

.page-no-hu__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: #FFB04D; /* Glow */
  font-weight: bold;
  font-size: 1.2em;
  list-style: none;
  user-select: none;
}

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

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  color: #FFF3E6; /* Text Main */
  font-size: 1em;
}

.page-no-hu__faq-answer .page-no-hu__text-block {
  padding: 0;
  margin-bottom: 10px;
}

/* Blog Section */
.page-no-hu__blog-section {
  padding: 60px 20px;
  background-color: #17191F; /* Card BG */
  border-bottom: 1px solid #A84F0C;
}

.page-no-hu__blog-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.page-no-hu__blog-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-no-hu__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-no-hu__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-no-hu__blog-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-no-hu__blog-card-title a {
  color: #FFB04D; /* Glow */
  text-decoration: none;
}

.page-no-hu__blog-card-title a:hover {
  text-decoration: underline;
}

.page-no-hu__blog-card-meta {
  font-size: 0.9em;
  color: #FFA53A; /* Auxiliary */
  margin-bottom: 15px;
}

.page-no-hu__blog-card-excerpt {
  font-size: 0.95em;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Conclusion Section */
.page-no-hu__conclusion-section {
  padding: 60px 20px;
  background-color: #0D0E12; /* Background */
}

/* Color Contrast Fixes (as per requirements) */
.page-no-hu__dark-section {
  background-color: #17191F;
  color: #FFF3E6;
}

.page-no-hu__light-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-no-hu__text-contrast-fix {
  color: #FFB04D; /* Ensure titles are visible on dark background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-no-hu__section-title {
    font-size: 2em;
  }
  .page-no-hu__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-no-hu__hero-image {
    min-height: 350px;
    max-height: 600px;
  }
  .page-no-hu__guide-flex {
    flex-direction: column;
  }
  .page-no-hu__guide-content,
  .page-no-hu__guide-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* General mobile adaptations */
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-no-hu__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-no-hu__text-block {
    font-size: 1em;
    padding: 0 15px;
  }

  /* HERO Section */
  .page-no-hu__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-no-hu__hero-image {
    min-height: 250px;
    max-height: 450px;
  }
  .page-no-hu__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-no-hu__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Content Wrapper */
  .page-no-hu__content-wrapper {
    padding: 40px 15px;
  }

  /* Games Showcase Section */
  .page-no-hu__games-showcase {
    padding: 40px 15px;
  }
  .page-no-hu__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-no-hu__game-card-image {
    height: 180px;
  }

  /* Guide Section */
  .page-no-hu__guide-section {
    padding: 40px 15px;
  }
  .page-no-hu__guide-flex {
    gap: 20px;
  }
  .page-no-hu__guide-subtitle {
    font-size: 1.5em;
  }

  /* Tips Section */
  .page-no-hu__tips-section {
    padding: 40px 15px;
  }
  .page-no-hu__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  /* Promotion Section */
  .page-no-hu__promo-section {
    padding: 40px 15px;
  }
  .page-no-hu__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  /* FAQ Section */
  .page-no-hu__faq-section {
    padding: 40px 15px;
  }
  .page-no-hu__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-no-hu__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Blog Section */
  .page-no-hu__blog-section {
    padding: 40px 15px;
  }
  .page-no-hu__blog-masonry {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-no-hu__blog-card-image {
    height: 180px;
  }
  .page-no-hu__blog-card-title {
    font-size: 1.2em;
  }

  /* Conclusion Section */
  .page-no-hu__conclusion-section {
    padding: 40px 15px;
  }

  /* Universal image and container adaptation */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-no-hu__section,
  .page-no-hu__card,
  .page-no-hu__container,
  .page-no-hu__hero-content,
  .page-no-hu__content-wrapper,
  .page-no-hu__games-showcase,
  .page-no-hu__guide-section,
  .page-no-hu__tips-section,
  .page-no-hu__promo-section,
  .page-no-hu__faq-section,
  .page-no-hu__blog-section,
  .page-no-hu__conclusion-section,
  .page-no-hu__cta-buttons,
  .page-no-hu__game-card,
  .page-no-hu__tip-card,
  .page-no-hu__promo-card,
  .page-no-hu__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-no-hu__cta-buttons,
  .page-no-hu__button-group,
  .page-no-hu__btn-container {
    flex-wrap: wrap !important;
    gap: 15px;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column;
  }
}