/* 基础样式 cho trang Nổ Hũ */
.page-no-hu {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color, #FFFFFF);
}

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

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

.page-no-hu__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-no-hu__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-no-hu__content-wrapper p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1em;
}

.page-no-hu__content-wrapper a {
  color: #26A9E0;
  text-decoration: none;
}

.page-no-hu__content-wrapper a:hover {
  text-decoration: underline;
}

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

.page-no-hu__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-no-hu__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-no-hu__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-no-hu__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-no-hu__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

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

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

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

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

.page-no-hu__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-no-hu__btn-download {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-no-hu__btn-download:hover {
  background-color: #cc6d06;
  border-color: #cc6d06;
}

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

/* Introduction Section */
.page-no-hu__introduction .page-no-hu__content-image {
  width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
}

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

.page-no-hu__game-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 20px; /* Add padding for button */
}

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

.page-no-hu__game-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  padding: 15px 20px 10px;
  font-weight: bold;
}

.page-no-hu__game-card-text {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 15px;
  line-height: 1.6;
  flex-grow: 1; /* Make text grow to push button to bottom */
}

.page-no-hu__game-card .page-no-hu__btn-primary {
  margin: 0 20px;
  width: calc(100% - 40px); /* Adjust width to fit padding */
}

.page-no-hu__game-list-outro {
  margin-top: 30px;
  font-style: italic;
}

/* Features Section */
.page-no-hu__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-no-hu__dark-section .page-no-hu__section-title,
.page-no-hu__dark-section .page-no-hu__section-description {
  color: #FFFFFF;
}

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

.page-no-hu__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-no-hu__feature-item h3 {
  font-size: 1.3em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-no-hu__feature-item p {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-no-hu__features .page-no-hu__content-image {
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 8px;
}

/* Promotions Section */
.page-no-hu__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__promotion-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 20px;
}

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

.page-no-hu__promotion-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  padding: 15px 20px 10px;
  font-weight: bold;
}

.page-no-hu__promotion-card-text {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-no-hu__promotion-card .page-no-hu__btn-primary {
  margin: 0 20px;
  width: calc(100% - 40px);
}

/* Guide Section */
.page-no-hu__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-no-hu__guide-step {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.page-no-hu__guide-step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-no-hu__guide-step p {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
}

.page-no-hu__guide .page-no-hu__content-image {
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 8px;
}

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

.page-no-hu__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  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;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

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

/* Final CTA Section */
.page-no-hu__final-cta .page-no-hu__dark-section {
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 40px;
}

/* General Image styles */
.page-no-hu img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-no-hu__section-title {
    font-size: 2em;
  }

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

  .page-no-hu__game-cards-grid,
  .page-no-hu__promotion-grid,
  .page-no-hu__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-no-hu__features-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-no-hu__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }
  .page-no-hu__hero-description {
    font-size: 1em !important;
  }
  .page-no-hu__hero-cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 按钮与按钮容器 */
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .page-no-hu a[class*="button"],
  .page-no-hu a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-no-hu__cta-buttons--center {
    flex-direction: column !important;
  }

  /* 通用图片与容器 */
  .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__content-wrapper,
  .page-no-hu__game-card,
  .page-no-hu__promotion-card,
  .page-no-hu__guide-step,
  .page-no-hu__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-no-hu__section-title {
    font-size: 1.8em !important;
  }

  .page-no-hu__section-description {
    font-size: 0.95em !important;
  }

  .page-no-hu__game-cards-grid,
  .page-no-hu__promotion-grid,
  .page-no-hu__guide-steps,
  .page-no-hu__features-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Long text / Gold frame section (if applicable, though not used explicitly for this page) */
  /* This is a placeholder as per instructions, even if not directly matching 'Nổ Hũ' page structure */
  .page-no-hu__home-content { /* Placeholder for a long text area if it existed */
    height: auto !important; /* Allow content to expand */
    overflow-y: visible !important;
    padding: 20px 15px !important;
  }
  .page-no-hu__home-content h2 { /* Placeholder for H2 in long text area */
    font-size: 1.5em !important;
  }

  /* Game carousel (if applicable, not used for non-homepage) */
  /* This is a placeholder as per instructions, even if not directly matching 'Nổ Hũ' page structure */
  .page-no-hu__slider-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-no-hu__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }
  .page-no-hu__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  /* Partner brands / six-grid (if applicable, not used for non-homepage) */
  /* This is a placeholder as per instructions, even if not directly matching 'Nổ Hũ' page structure */
  .page-no-hu__banners-top-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3 columns */
    gap: 10px !important;
  }
  .page-no-hu__banner-item img {
    
    
  }

  /* Blog card section */
  .page-no-hu__blog-masonry {
    grid-template-columns: 1fr !important;
  }
  .page-no-hu__blog-card-link {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }
  .page-no-hu__btn-outline {
    margin-top: 15px !important;
  }
  .page-no-hu__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 15px !important;
  }
  .page-no-hu__blog-slide {
    flex: 0 0 80% !important; /* Make slides wider for better mobile tap */
    max-width: 80% !important;
  }

  /* FAQ */
  .page-no-hu__faq-question {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }
  .page-no-hu__faq-answer {
    padding: 0 20px 15px !important;
  }
}