/* 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 assumed light body background */
  background-color: var(--secondary-color); /* Inherited from shared */
}

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

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

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

.page-no-hu__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-no-hu__text-center {
  text-align: center;
}

/* Hero Section */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #0F71B0);
  color: #FFFFFF;
  padding-bottom: 40px;
}

.page-no-hu__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-no-hu__hero-content-wrapper {
  max-width: 900px;
  padding: 0 15px;
}

.page-no-hu__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-no-hu__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-no-hu__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-no-hu__btn-secondary:hover {
  background-color: #F0F0F0;
  border-color: #F0F0F0;
}

/* General Content Image */
.page-no-hu__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Dark 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__text-block {
  color: #FFFFFF;
}

/* Game Types 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__card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-no-hu__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-no-hu__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 5px;
}

/* Guide Section */
.page-no-hu__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__step-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-no-hu__step-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Promotions Section */
.page-no-hu__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-no-hu__promo-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  color: #FFFFFF;
  font-size: 1.1em;
}

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

.page-no-hu__btn-wrapper {
  margin-top: 30px;
}

/* Benefits Section */
.page-no-hu__benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-no-hu__benefits-list li {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px;
  font-size: 1.1em;
  color: #333333;
  position: relative;
  padding-left: 40px;
}

.page-no-hu__benefits-list li::before {
  content: '✔';
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 20px;
}

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

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

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #F0F8FF;
  border-bottom: 1px solid #E0E0E0;
  list-style: none; /* For details/summary */
}

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

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  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: 15px 25px;
  font-size: 1.05em;
  color: #333333;
  background-color: #FFFFFF;
}

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

/* Conclusion Section */
.page-no-hu__conclusion-section .page-no-hu__cta-buttons {
  margin-top: 40px;
}

/* Responsive Styles */
@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-description {
    font-size: 1.1em;
  }

  .page-no-hu__game-cards-grid,
  .page-no-hu__step-by-step {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-no-hu__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }
  .page-no-hu__hero-image-wrapper {
    margin-bottom: 15px !important;
  }
  .page-no-hu__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-no-hu__hero-content-wrapper {
    padding: 0 10px !important;
  }
  .page-no-hu__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 15px !important;
  }
  .page-no-hu__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  /* 按钮与按钮容器 */
  .page-no-hu__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-no-hu__section-padding {
    padding: 30px 15px !important;
  }
  .page-no-hu__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-no-hu__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px !important;
  }
  .page-no-hu__text-block {
    font-size: 1em !important;
  }
  .page-no-hu__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
  }

  /* 卡片布局图片要求 */
  .page-no-hu__game-cards-grid,
  .page-no-hu__step-by-step {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-no-hu__card {
    padding: 25px !important;
  }
  .page-no-hu__card-title {
    font-size: 1.5em !important;
  }

  /* FAQ展开折叠功能 */
  .page-no-hu__faq-question {
    padding: 15px 20px !important;
    font-size: 1.1em !important;
  }
  .page-no-hu__faq-answer {
    padding: 10px 20px !important;
    font-size: 1em !important;
  }
  .page-no-hu__faq-toggle {
    font-size: 1.3em !important;
  }

  /* Promotions & Benefits Lists */
  .page-no-hu__promo-list li,
  .page-no-hu__benefits-list li {
    font-size: 1em !important;
    padding: 12px 15px !important;
    padding-left: 35px !important;
  }
  .page-no-hu__benefits-list li::before {
    top: 15px !important;
  }
}