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

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

.page-no-hu__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #F2FFF6; /* Text Main */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-no-hu__section-title--dark {
  color: #000000; /* Dark text for light sections */
}

.page-no-hu__section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

.page-no-hu__section-subtitle--dark {
  color: #333333; /* Dark text for light sections */
}

.page-no-hu__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__text-block--dark {
  color: #333333; /* Dark text for light sections */
}

/* Buttons */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-no-hu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-no-hu__btn-secondary {
  background: #08160F; /* Background */
  color: #2AD16F; /* From Button gradient start */
  border: 2px solid #2AD16F; /* From Button gradient start */
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.2);
}

.page-no-hu__btn-secondary:hover {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  border-color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.4);
}

.page-no-hu__btn-play-game {
  background: linear-gradient(180deg, #F2C14E 0%, #E0A800 100%); /* Gold gradient */
  color: #08160F; /* Background */
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.4);
}

.page-no-hu__btn-play-game:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.6);
}

.page-no-hu__btn-center {
  display: block;
  margin: 40px auto 20px auto;
  width: fit-content;
}

.page-no-hu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-no-hu__hero-image-wrap {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-no-hu__hero-content {
  position: relative;
  z-index: 10;
  margin-top: -120px; /* Pull content up over image a bit */
  padding: 0 15px;
  max-width: 900px;
  width: 100%;
}

.page-no-hu__main-title {
  font-size: clamp(38px, 5vw, 60px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-no-hu__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-no-hu__intro-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

/* Game Showcase Section */
.page-no-hu__game-showcase {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-no-hu__game-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-no-hu__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-no-hu__game-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-no-hu__game-desc {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Benefits Section */
.page-no-hu__benefits-section {
  padding: 80px 0;
  background-color: #F2FFF6; /* Text Main (light background) */
  color: #333333; /* Dark text for light background */
}

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

.page-no-hu__benefit-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-no-hu__benefit-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

.page-no-hu__benefit-title {
  font-size: 22px;
  color: #11A84E; /* Main color */
  margin-bottom: 10px;
}

.page-no-hu__benefit-desc {
  font-size: 16px;
  color: #666666;
}

/* Guide Section */
.page-no-hu__guide-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-no-hu__step-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-no-hu__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-no-hu__step-title {
  font-size: 22px;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-no-hu__step-desc {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* Tips Section */
.page-no-hu__tips-section {
  padding: 80px 0;
  background-color: #F2FFF6; /* Text Main (light background) */
  color: #333333; /* Dark text for light background */
}

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

.page-no-hu__tip-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-no-hu__tip-title {
  font-size: 22px;
  color: #11A84E; /* Main color */
  margin-bottom: 10px;
}

.page-no-hu__tip-desc {
  font-size: 16px;
  color: #666666;
}

/* FAQ Section */
.page-no-hu__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  border-top: 1px solid #1E3A2A; /* Divider */
}

details.page-no-hu__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-no-hu__faq-item summary.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #1e3a2a; /* Slightly lighter version of divider */
}

.page-no-hu__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}

.page-no-hu__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-no-hu__faq-item .page-no-hu__faq-answer {
  padding: 0 25px 20px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 8px 8px;
  color: #A7D9B8; /* Text Secondary */
}

.page-no-hu__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Contact Section */
.page-no-hu__contact-section {
  padding: 80px 0;
  background-color: #F2FFF6; /* Text Main (light background) */
  color: #333333; /* Dark text for light background */
  text-align: center;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-no-hu__hero-content {
    margin-top: -80px;
  }

  .page-no-hu__main-title {
    font-size: clamp(32px, 4.5vw, 55px);
  }

  .page-no-hu__hero-description {
    font-size: clamp(16px, 2vw, 20px);
  }

  .page-no-hu__cta-buttons {
    gap: 15px;
  }

  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    padding: 12px 24px;
    font-size: 16px;
  }

  .page-no-hu__game-grid,
  .page-no-hu__benefits-grid,
  .page-no-hu__guide-steps,
  .page-no-hu__tips-grid {
    gap: 20px;
  }

  .page-no-hu__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }
  .page-no-hu__hero-image-wrap {
    max-height: 400px;
  }
  .page-no-hu__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-no-hu__hero-content {
    margin-top: -60px; /* Adjust margin for smaller screens */
    padding: 0 10px;
  }
  .page-no-hu__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-no-hu__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  /* 通用图片与容器 */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }
  .page-no-hu__container,
  .page-no-hu__section,
  .page-no-hu__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 (Game Grid) */
  .page-no-hu__game-showcase {
    overflow-x: hidden !important;
  }
  .page-no-hu__game-grid {
    grid-template-columns: 1fr 1fr !important; /* Two columns */
    gap: 15px;
  }
  .page-no-hu__game-card {
    padding-bottom: 15px;
  }
  .page-no-hu__game-thumbnail {
    height: 150px;
  }
  .page-no-hu__game-title {
    font-size: 20px;
  }
  .page-no-hu__game-desc {
    font-size: 14px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-no-hu__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 20px;
  }
  .page-no-hu__section-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-no-hu__text-block {
    font-size: 16px;
    text-align: left;
  }

  /* Benefits Section */
  .page-no-hu__benefits-grid {
    grid-template-columns: 1fr !important;
  }
  .page-no-hu__benefit-item {
    padding: 20px;
  }
  .page-no-hu__benefit-title {
    font-size: 20px;
  }

  /* Guide Section */
  .page-no-hu__guide-steps {
    grid-template-columns: 1fr !important;
  }
  .page-no-hu__step-item {
    padding: 25px;
  }
  .page-no-hu__step-title {
    font-size: 20px;
  }

  /* Tips Section */
  .page-no-hu__tips-grid {
    grid-template-columns: 1fr !important;
  }
  .page-no-hu__tip-item {
    padding: 20px;
  }
  .page-no-hu__tip-title {
    font-size: 20px;
  }

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

  /* Sections padding */
  .page-no-hu__intro-section,
  .page-no-hu__game-showcase,
  .page-no-hu__benefits-section,
  .page-no-hu__guide-section,
  .page-no-hu__tips-section,
  .page-no-hu__faq-section,
  .page-no-hu__contact-section {
    padding: 50px 0;
  }
}