/* Base styles for the Nổ Hũ page */
.page-no-hu {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.page-no-hu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
  text-align: center;
  background-color: #140C0C;
}

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

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

.page-no-hu__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

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

.page-no-hu__hero-description {
  font-size: 1.1em;
  color: #FFF1E8;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-no-hu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
  color: #FFF1E8; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-no-hu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-no-hu__btn-secondary {
  background-color: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
}

.page-no-hu__btn-secondary:hover {
  background-color: #F3C54D;
  color: #140C0C;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-no-hu__section-title {
  font-size: 2.5em;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

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

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

.page-no-hu__text-block p {
  margin-bottom: 15px;
  color: #FFF1E8;
  font-size: 1.05em;
}

.page-no-hu__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-no-hu__image-content--center {
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__image-content--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 45%;
}

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

.page-no-hu__feature-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
  height: 100%;
  box-sizing: border-box;
}

.page-no-hu__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-no-hu__card-title {
  font-size: 1.5em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-no-hu__feature-card p {
  color: #FFF1E8; /* Text Main */
  font-size: 1em;
}

/* Popular Games Section */
.page-no-hu__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-no-hu__game-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-no-hu__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-no-hu__game-card-title {
  font-size: 1.4em;
  color: #F3C54D; /* Gold */
  margin: 20px 15px 10px;
  font-weight: 600;
}

.page-no-hu__game-card-text {
  color: #FFF1E8; /* Text Main */
  padding: 0 15px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-no-hu__btn-play-now {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
  color: #FFF1E8; /* Text Main */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 15px 20px;
  transition: opacity 0.3s ease;
  max-width: calc(100% - 30px);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn-play-now:hover {
  opacity: 0.9;
}

.page-no-hu__button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.page-no-hu__btn-view-all {
  background-color: #C61F1F; /* Main Color */
  color: #FFF1E8; /* Text Main */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn-view-all:hover {
  background-color: #E53030; /* Accent Color */
}

/* How to Play Section */
.page-no-hu__how-to-play-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

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

.page-no-hu__step-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-no-hu__step-title {
  font-size: 1.3em;
  color: #F3C54D; /* Gold */
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-no-hu__step-item p {
  color: #FFF1E8; /* Text Main */
  font-size: 1em;
}

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

.page-no-hu__promo-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-no-hu__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-no-hu__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-no-hu__promo-card h3 {
  font-size: 1.4em;
  color: #F3C54D; /* Gold */
  margin: 20px 15px 10px;
  font-weight: 600;
}

.page-no-hu__promo-card p {
  color: #FFF1E8; /* Text Main */
  padding: 0 15px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

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

.page-no-hu__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  cursor: pointer;
  list-style: none;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  color: #FFF1E8; /* Text Main */
  font-size: 1em;
  line-height: 1.6;
}

/* Final CTA Section */
.page-no-hu__final-cta-section {
  background-color: #C61F1F; /* Main Color */
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-no-hu__final-cta-section .page-no-hu__section-title {
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
}

.page-no-hu__final-cta-section .page-no-hu__section-description {
  color: #FFF1E8; /* Text Main */
  margin-bottom: 40px;
}

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

.page-no-hu__cta-buttons,
.page-no-hu__button-wrapper,
.page-no-hu__game-cards-grid,
.page-no-hu__promo-grid,
.page-no-hu__how-to-play-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- General Mobile Adaptations --- */
@media (max-width: 1024px) {
  .page-no-hu__container {
    padding: 15px;
  }

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

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

  .page-no-hu__image-content--left {
    float: none;
    margin: 20px auto;
    max-width: 100%;
  }

  .page-no-hu__how-to-play-content {
    flex-direction: column;
    align-items: center;
  }
}

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

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

  .page-no-hu__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }

  .page-no-hu__hero-description {
    font-size: 1em;
  }

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

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

  /* 长文金框区 (Placeholder for required rule, not strictly used on this page) */
  .page-no-hu__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px 15px !important;
  }
  .page-no-hu__home-content h2 {
    font-size: 1.8em !important;
  }

  /* 游戏轮播 (Placeholder for required rule) */
  .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: 12px !important;
  }
  .page-no-hu__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  /* 合作品牌六宫格 (Placeholder for required rule) */
  .page-no-hu__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .page-no-hu__banner-item img {
    
    
  }

  /* 博客卡片区 (Placeholder for required rule) */
  .page-no-hu__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    align-items: stretch !important;
  }
  .page-no-hu__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .page-no-hu__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 通用图片与容器 */
  .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__intro-section,
  .page-no-hu__features-section,
  .page-no-hu__popular-games-section,
  .page-no-hu__how-to-play-section,
  .page-no-hu__promotions-section,
  .page-no-hu__faq-section,
  .page-no-hu__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons and button containers */
  .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 {
    flex-direction: column;
  }

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

  .page-no-hu__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-no-hu__image-content--left {
    margin-bottom: 20px;
  }

  .page-no-hu__features-grid,
  .page-no-hu__game-cards-grid,
  .page-no-hu__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__game-card-image,
  .page-no-hu__promo-image {
    height: 180px;
  }

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

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

  .page-no-hu__final-cta-section {
    padding: 40px 15px;
  }
}