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

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

.page-no-hu__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFB04D; /* Glow from custom colors */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-no-hu__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

/* Hero Section */
.page-no-hu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-no-hu__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the image wrapper */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-no-hu__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
}

.page-no-hu__main-title {
  font-size: 56px;
  font-weight: 800;
  color: #FFF3E6;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-no-hu__description {
  font-size: 22px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-no-hu__cta-buttons--center {
  margin-top: 50px;
}

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

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

.page-no-hu__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E67A00 100%);
  transform: translateY(-2px);
}

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

.page-no-hu__btn-secondary:hover {
  background: rgba(255, 140, 26, 0.1);
  color: #FFB04D;
  transform: translateY(-2px);
}

.page-no-hu__btn-inline {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}

/* Card styles */
.page-no-hu__card {
  background-color: #17191F; /* Card BG from custom colors */
  border: 1px solid #A84F0C; /* Border from custom colors */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #FFF3E6;
}

.page-no-hu__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-no-hu__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-no-hu__card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-no-hu__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-no-hu__card-button:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E67A00 100%);
}

/* Introduction Section */
.page-no-hu__introduction-section {
  padding: 50px 0;
  margin-bottom: 50px;
}

/* Game Types Section */
.page-no-hu__game-types-section {
  padding: 50px 0;
  margin-bottom: 50px;
  background-color: rgba(255, 140, 26, 0.05); /* Slightly transparent brand color */
}

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

/* Benefits Section */
.page-no-hu__benefits-section {
  padding: 50px 0;
  margin-bottom: 50px;
}

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

.page-no-hu__benefit-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFB04D;
  margin-bottom: 15px;
}

.page-no-hu__benefit-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* Guide Section */
.page-no-hu__guide-section {
  padding: 50px 0;
  margin-bottom: 50px;
  background-color: rgba(255, 140, 26, 0.05);
}

.page-no-hu__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-no-hu__step-item {
  position: relative;
  padding-top: 50px;
}

.page-no-hu__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border: 2px solid #A84F0C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-no-hu__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFB04D;
  margin-bottom: 10px;
  margin-top: 15px;
}

.page-no-hu__step-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-no-hu__step-link {
  display: inline-block;
  padding: 8px 15px;
  background: #A84F0C;
  color: #FFF3E6;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-no-hu__step-link:hover {
  background: #D96800;
}

/* Strategy Section */
.page-no-hu__strategy-section {
  padding: 50px 0;
  margin-bottom: 50px;
}

.page-no-hu__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-no-hu__strategy-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.page-no-hu__strategy-item h3 {
  font-size: 22px;
  color: #FFB04D;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-no-hu__strategy-item p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* Promotions Section */
.page-no-hu__promotions-section {
  padding: 50px 0;
  margin-bottom: 50px;
  background-color: rgba(255, 140, 26, 0.05);
}

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

.page-no-hu__promo-card .page-no-hu__card-image {
  height: 200px; /* Adjust height for promo cards */
}

/* Download App Section */
.page-no-hu__download-app-section {
  padding: 50px 0;
  margin-bottom: 50px;
}

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

.page-no-hu__feature-item {
  text-align: center;
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-no-hu__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFB04D;
  margin-bottom: 10px;
}

.page-no-hu__feature-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* FAQ Section */
.page-no-hu__faq-section {
  padding: 50px 0;
  margin-bottom: 50px;
  background-color: rgba(255, 140, 26, 0.05);
}

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

details.page-no-hu__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border from custom colors */
  overflow: hidden;
  background: #17191F; /* Card BG from custom colors */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
details.page-no-hu__faq-item summary.page-no-hu__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: #FFF3E6;
}
details.page-no-hu__faq-item summary.page-no-hu__faq-question::-webkit-details-marker {
  display: none;
}
details.page-no-hu__faq-item summary.page-no-hu__faq-question:hover {
  background: #252830; /* Slightly lighter version of Card BG */
}
.page-no-hu__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow */
}
.page-no-hu__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-no-hu__faq-item .page-no-hu__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Background from custom colors */
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
  font-size: 16px;
}

/* Conclusion Section */
.page-no-hu__conclusion-section {
  padding: 50px 0;
  text-align: center;
}

/* Dark background sections for contrast */
.page-no-hu__dark-section {
  background-color: rgba(255, 140, 26, 0.05); /* Light tint of brand color for depth */
  color: #FFF3E6;
}

/* --- Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .page-no-hu__main-title {
    font-size: 48px;
  }

  .page-no-hu__description {
    font-size: 20px;
  }

  .page-no-hu__section-title {
    font-size: 32px;
  }

  .page-no-hu__game-grid,
  .page-no-hu__benefits-grid,
  .page-no-hu__guide-steps,
  .page-no-hu__promo-list,
  .page-no-hu__app-features {
    gap: 20px;
  }
}

/* --- Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  /* 1. Top Section Padding */
  .page-no-hu__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }

  .page-no-hu__hero-content {
    margin-top: -60px; /* Adjust overlap for smaller screens */
  }

  .page-no-hu__main-title {
    font-size: 36px !important;
    margin-bottom: 15px;
  }

  .page-no-hu__description {
    font-size: 16px !important;
    margin-bottom: 30px;
  }

  .page-no-hu__section-title {
    font-size: 28px !important;
    margin-bottom: 30px;
  }

  .page-no-hu__text-block {
    font-size: 16px !important;
    margin-bottom: 20px;
  }

  /* 2. Landing page two-column modules stack to one column */
  .page-no-hu__game-grid,
  .page-no-hu__benefits-grid,
  .page-no-hu__guide-steps,
  .page-no-hu__promo-list,
  .page-no-hu__app-features {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  /* General content padding */
  .page-no-hu__container {
    padding: 0 15px !important;
  }

  /* Section paddings */
  .page-no-hu__introduction-section,
  .page-no-hu__game-types-section,
  .page-no-hu__benefits-section,
  .page-no-hu__guide-section,
  .page-no-hu__strategy-section,
  .page-no-hu__promotions-section,
  .page-no-hu__download-app-section,
  .page-no-hu__faq-section,
  .page-no-hu__conclusion-section {
    padding: 30px 0 !important;
    margin-bottom: 30px !important;
  }

  /* 3. General images and containers max-width: 100% */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-no-hu__hero-image-wrapper,
  .page-no-hu__game-card,
  .page-no-hu__benefit-item,
  .page-no-hu__step-item,
  .page-no-hu__promo-card,
  .page-no-hu__feature-item,
  .page-no-hu__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Card specific adjustments */
  .page-no-hu__card-image {
    height: 180px;
  }

  .page-no-hu__card-title {
    font-size: 20px;
  }

  .page-no-hu__card-text {
    font-size: 15px;
  }

  /* Guide steps */
  .page-no-hu__step-title {
    font-size: 20px;
  }

  /* Strategy list */
  .page-no-hu__strategy-item h3 {
    font-size: 20px;
  }

  /* App features */
  .page-no-hu__feature-icon {
    width: 150px;
    height: 150px;
  }

  .page-no-hu__feature-title {
    font-size: 20px;
  }

  /* FAQ */
  details.page-no-hu__faq-item summary.page-no-hu__faq-question {
    padding: 15px !important;
  }
  .page-no-hu__faq-qtext {
    font-size: 16px !important;
  }
  .page-no-hu__faq-answer {
    padding: 0 15px 15px !important;
    font-size: 15px !important;
  }

  /* 4. Buttons responsiveness */
  .page-no-hu__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .page-no-hu__card-button,
  .page-no-hu__step-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 16px !important;
  }

  .page-no-hu__btn-inline {
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
}