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

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

.page-no-hu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-no-hu__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  border-radius: 10px;
}

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

.page-no-hu__hero-content {
  padding: 30px 20px;
  max-width: 900px;
  margin-top: 20px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-no-hu__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #2F6BFF;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-no-hu__description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 25px;
}

.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,
.page-no-hu__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  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%;
}

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-no-hu__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4);
}

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

.page-no-hu__btn-secondary:hover {
  background: #F4F7FB;
  color: #1F2D3D;
  border-color: #1F2D3D;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.2);
}

.page-no-hu__btn-outline {
  background: transparent;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-no-hu__btn-outline:hover {
  background: #2F6BFF;
  color: #ffffff;
}

.page-no-hu__section-title {
  font-size: 2.2em;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.3;
}

.page-no-hu__dark-bg {
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 60px 0;
}

.page-no-hu__dark-bg .page-no-hu__section-title,
.page-no-hu__dark-bg .page-no-hu__description,
.page-no-hu__dark-bg .page-no-hu__description-text,
.page-no-hu__dark-bg .page-no-hu__text-block p,
.page-no-hu__dark-bg .page-no-hu__strategy-list-title,
.page-no-hu__dark-bg .page-no-hu__strategy-list p,
.page-no-hu__dark-bg .page-no-hu__benefit-title,
.page-no-hu__dark-bg .page-no-hu__benefit-text,
.page-no-hu__dark-bg a {
  color: #ffffff;
}

.page-no-hu__dark-bg a:hover {
    text-decoration: underline;
}

.page-no-hu__light-bg {
  background-color: #F4F7FB;
  color: #1F2D3D;
  padding: 60px 0;
}

.page-no-hu__light-bg .page-no-hu__section-title {
  color: #2F6BFF;
}

.page-no-hu__light-bg a {
    color: #2F6BFF;
    text-decoration: none;
}

.page-no-hu__light-bg a:hover {
    text-decoration: underline;
}

.page-no-hu__description-text {
  text-align: center;
  font-size: 1.05em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Intro Section */
.page-no-hu__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-no-hu__text-block {
  flex: 1;
  font-size: 1.05em;
}

.page-no-hu__text-block p {
  margin-bottom: 15px;
}

.page-no-hu__image-block {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-no-hu__game-card,
.page-no-hu__promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-no-hu__game-card .page-no-hu__card-image,
.page-no-hu__promo-card .page-no-hu__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-no-hu__card-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-no-hu__benefit-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-no-hu__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-no-hu__benefit-title {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-no-hu__benefit-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* How To Play Section */
.page-no-hu__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__step-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-no-hu__step-number {
  font-size: 2.5em;
  color: #6FA3FF;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

.page-no-hu__step-title {
  font-size: 1.3em;
  color: #2F6BFF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-no-hu__step-text {
  font-size: 1em;
  color: #1F2D3D;
  flex-grow: 1;
}

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

/* Strategy Section */
.page-no-hu__strategy-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

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

.page-no-hu__strategy-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-no-hu__strategy-list li:last-child {
  margin-bottom: 0;
}

.page-no-hu__strategy-list-title {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-no-hu__strategy-list p {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

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

.page-no-hu__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
  content: '-';
}

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

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

.page-no-hu__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
}

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

.page-no-hu__faq-answer p {
  margin: 0;
}

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

/* General Image Responsiveness */
.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__hero-image-wrapper {
    max-height: 500px;
  }

  .page-no-hu__hero-content {
    padding: 25px 15px;
  }

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

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

  .page-no-hu__content-wrapper,
  .page-no-hu__strategy-content {
    flex-direction: column;
  }

  .page-no-hu__image-block {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

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

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

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Fixed small top padding */
    margin-bottom: 30px;
  }

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

  .page-no-hu__hero-content {
    padding: 20px 15px !important;
    margin-top: 15px;
  }

  .page-no-hu__main-title {
    font-size: clamp(1.5em, 6vw, 2em) !important;
    line-height: 1.3 !important;
  }

  .page-no-hu__description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

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

  /* General sections and containers */
  .page-no-hu__container {
    padding: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-no-hu__dark-bg,
  .page-no-hu__light-bg {
    padding: 40px 0 !important;
  }

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

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

  /* Intro/Strategy content blocks */
  .page-no-hu__content-wrapper,
  .page-no-hu__strategy-content {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .page-no-hu__text-block {
    font-size: 1em !important;
  }

  .page-no-hu__image-block {
    margin-bottom: 20px !important;
  }

  /* Game/Promo/Benefit/Step Grids */
  .page-no-hu__game-grid,
  .page-no-hu__benefits-grid,
  .page-no-hu__steps-grid,
  .page-no-hu__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-no-hu__game-card,
  .page-no-hu__promo-card,
  .page-no-hu__benefit-item,
  .page-no-hu__step-card {
    padding: 20px !important;
  }

  .page-no-hu__card-image {
    height: 180px !important;
  }

  .page-no-hu__card-title {
    font-size: 1.2em !important;
  }

  .page-no-hu__card-text {
    font-size: 0.9em !important;
  }

  /* Strategy list */
  .page-no-hu__strategy-list li {
    padding: 15px !important;
    margin-bottom: 15px !important;
  }

  .page-no-hu__strategy-list-title {
    font-size: 1.1em !important;
  }

  .page-no-hu__strategy-list p {
    font-size: 0.9em !important;
  }

  /* FAQ */
  .page-no-hu__faq-list {
    margin-top: 30px !important;
  }

  .page-no-hu__faq-item {
    margin-bottom: 10px !important;
  }

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

  .page-no-hu__faq-answer {
    padding: 0 20px 15px 20px !important;
    font-size: 0.9em !important;
  }

  /* Buttons and button containers */
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .page-no-hu__btn-outline,
  .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 !important;
    padding-right: 15px !important;
  }

  .page-no-hu__cta-buttons,
  .page-no-hu__button-group,
  .page-no-hu__btn-container,
  .page-no-hu__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .page-no-hu__cta-buttons {
    flex-direction: column !important;
  }

  /* All images in content area */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-no-hu__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}