/* Base styles for the Nổ Hũ page */
.page-no-hu {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background: #ffffff;
}

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

.page-no-hu__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-no-hu__section-title--white {
  color: #ffffff;
}

.page-no-hu__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-no-hu__btn-primary:hover {
  background: #1e87b6;
  border-color: #1e87b6;
}

.page-no-hu__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-no-hu__btn-secondary:hover {
  background: #f0f8ff;
  color: #1e87b6;
  border-color: #1e87b6;
}

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

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

.page-no-hu__cta-buttons--center {
  justify-content: center;
}

.page-no-hu__cta-buttons--left {
  justify-content: flex-start;
}

/* Hero Section */
.page-no-hu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-no-hu__hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

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

.page-no-hu__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px 60px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual effect, but not over image */
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

.page-no-hu__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FFFFFF;
}

.page-no-hu__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Introduction Section */
.page-no-hu__introduction-section {
  padding: 80px 0;
  background: #f9f9f9;
}

/* Advantages Section */
.page-no-hu__advantages-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
}

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

.page-no-hu__advantage-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-no-hu__advantage-card:hover {
  transform: translateY(-5px);
}

.page-no-hu__advantage-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-no-hu__advantage-card p {
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
  flex-grow: 1;
}

/* Game Types Section */
.page-no-hu__game-types-section {
  padding: 80px 0;
  background: #ffffff;
}

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

.page-no-hu__game-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-no-hu__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-no-hu__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-no-hu__game-card .page-no-hu__card-title {
  color: #26A9E0;
  font-size: 22px;
}

.page-no-hu__game-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-no-hu__game-card .page-no-hu__btn-secondary {
  width: 100%;
}

/* How To Play Section */
.page-no-hu__how-to-play-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
}

.page-no-hu__how-to-play-content {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.page-no-hu__how-to-play-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-no-hu__step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-no-hu__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #26A9E0;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.page-no-hu__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-no-hu__step-item p {
  font-size: 16px;
  color: #f0f0f0;
  margin-top: 0;
}

.page-no-hu__how-to-play-image {
  flex: 1;
  text-align: center;
}

.page-no-hu__how-to-play-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Promotions Section */
.page-no-hu__promotions-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.page-no-hu__promo-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  font-size: 17px;
  color: #333333;
}

.page-no-hu__promo-list li {
  margin-bottom: 10px;
}

.page-no-hu__promo-list li strong {
  color: #26A9E0;
}

/* App Section */
.page-no-hu__app-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
}

.page-no-hu__app-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

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

.page-no-hu__app-features {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-no-hu__app-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.page-no-hu__app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

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

.page-no-hu__app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

/* FAQ Section */
details.page-no-hu__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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;
}
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: #f5f5f5;
}
.page-no-hu__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-no-hu__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555;
  font-size: 16px;
}

/* Conclusion Section */
.page-no-hu__conclusion-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-no-hu__conclusion-content {
  max-width: 900px;
}

.page-no-hu__conclusion-section .page-no-hu__text-block {
  color: #f0f0f0;
  font-size: 18px;
}

/* Global image and button responsive styles */
.page-no-hu img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-no-hu__section,
.page-no-hu__card,
.page-no-hu__container,
.page-no-hu__hero-section,
.page-no-hu__introduction-section,
.page-no-hu__advantages-section,
.page-no-hu__game-types-section,
.page-no-hu__how-to-play-section,
.page-no-hu__promotions-section,
.page-no-hu__app-section,
.page-no-hu__faq-section,
.page-no-hu__conclusion-section {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive Styles for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-no-hu__container {
    padding: 0 15px;
  }

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

  .page-no-hu__text-block {
    font-size: 16px;
  }

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

  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .page-no-hu__cta-buttons--center {
    align-items: center;
  }

  .page-no-hu__cta-buttons--left {
    align-items: flex-start;
  }

  /* Hero Section */
  .page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
  }

  .page-no-hu__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio for better fit */
    height: auto !important;
  }

  .page-no-hu__hero-content {
    margin-top: 0; /* No overlap on mobile */
    padding: 30px 15px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.7); /* Slightly darker background for text readability */
  }

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

  .page-no-hu__hero-description {
    font-size: 17px;
    margin-bottom: 25px;
  }

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

  /* Advantages Section */
  .page-no-hu__advantages-section {
    padding: 50px 0;
  }

  .page-no-hu__advantages-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-no-hu__advantage-card {
    padding: 25px;
  }

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

  /* Game Types Section */
  .page-no-hu__game-types-section {
    padding: 50px 0;
  }

  .page-no-hu__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-no-hu__game-card {
    padding: 20px;
  }

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

  /* How To Play Section */
  .page-no-hu__how-to-play-section {
    padding: 50px 0;
  }

  .page-no-hu__how-to-play-content {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  .page-no-hu__how-to-play-steps {
    gap: 20px;
  }

  .page-no-hu__step-number {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

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

  .page-no-hu__how-to-play-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Promotions Section */
  .page-no-hu__promotions-section {
    padding: 50px 0;
  }

  .page-no-hu__promo-list {
    margin-left: 20px;
    font-size: 16px;
  }

  /* App Section */
  .page-no-hu__app-section {
    padding: 50px 0;
  }

  .page-no-hu__app-container {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .page-no-hu__app-features {
    font-size: 16px;
  }

  .page-no-hu__app-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ Section */
  details.page-no-hu__faq-item summary.page-no-hu__faq-question { padding: 15px; }
  .page-no-hu__faq-qtext { font-size: 16px; }
  .page-no-hu__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
  details.page-no-hu__faq-item .page-no-hu__faq-answer { padding: 0 15px 15px; }

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

  .page-no-hu__conclusion-section .page-no-hu__text-block {
    font-size: 17px;
  }

  /* Ensure no horizontal scroll for images and buttons */
  .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-section,
  .page-no-hu__introduction-section,
  .page-no-hu__advantages-section,
  .page-no-hu__game-types-section,
  .page-no-hu__how-to-play-section,
  .page-no-hu__promotions-section,
  .page-no-hu__app-section,
  .page-no-hu__faq-section,
  .page-no-hu__conclusion-section,
  .page-no-hu__cta-buttons,
  .page-no-hu__button-group,
  .page-no-hu__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Desktop specific adjustments (e.g., for products-grid if it were 6 columns) */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-no-hu__container {
    padding: 0 30px;
  }
  .page-no-hu__section-title {
    font-size: 32px;
  }
  .page-no-hu__hero-content {
    margin-top: -100px;
    padding: 30px;
  }
  .page-no-hu__main-title {
    font-size: 48px;
  }
  .page-no-hu__hero-description {
    font-size: 18px;
  }
  .page-no-hu__advantages-grid,
  .page-no-hu__game-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-no-hu__how-to-play-content,
  .page-no-hu__app-container {
    flex-direction: column;
  }
  .page-no-hu__how-to-play-image,
  .page-no-hu__app-image {
    order: -1; /* Image above text on tablet for these sections */
  }
  .page-no-hu__step-title {
    font-size: 20px;
  }
  .page-no-hu__promo-list,
  .page-no-hu__app-features {
    font-size: 16px;
  }
  .page-no-hu__faq-qtext {
    font-size: 17px;
  }
  .page-no-hu__conclusion-section .page-no-hu__text-block {
    font-size: 17px;
  }
}