:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --page-bg: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red: #7A0E0E;
}

.page-no-hu {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--page-bg);
  padding-bottom: 50px; /* Ensure space above footer */
}

/* HERO Section */
.page-no-hu__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background: var(--deep-red);
}

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

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

.page-no-hu__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-no-hu__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
}

.page-no-hu__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--text-main);
  opacity: 0.9;
}

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

.page-no-hu__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-no-hu__btn--primary {
  background: var(--button-gradient);
  color: #333333; /* Dark text for contrast on gold gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
}

.page-no-hu__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.6);
}

.page-no-hu__btn--secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-no-hu__btn--secondary:hover {
  background: rgba(255, 204, 102, 0.1);
  transform: translateY(-3px);
}

.page-no-hu__btn--small {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
}

.page-no-hu__btn--center {
  margin: 30px auto 0 auto;
  display: block;
  max-width: 300px;
}

/* General Section Styles */
.page-no-hu__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

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

.page-no-hu__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  color: var(--gold-color);
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-no-hu__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-no-hu__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-no-hu__text-block {
  flex: 1;
}

.page-no-hu__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-main);
}

.page-no-hu__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-no-hu__image-block--center {
  margin-top: 40px;
}

/* Game Types Section */
.page-no-hu__game-grid,
.page-no-hu__advantages-grid,
.page-no-hu__promotions-grid,
.page-no-hu__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-no-hu__game-card,
.page-no-hu__promo-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-no-hu__game-card img,
.page-no-hu__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-no-hu__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-no-hu__card-description {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Advantages Section */
.page-no-hu__advantage-item {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.page-no-hu__advantage-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 15px;
}

/* Guide Section */
.page-no-hu__guide-list {
  list-style: none;
  padding: 0;
}

.page-no-hu__guide-list li {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  counter-increment: guide-step;
}

.page-no-hu__guide-list li::before {
  content: counter(guide-step);
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold-color);
  color: #333333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-no-hu__guide-list li h3 {
  font-size: 1.3rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  padding-left: 30px;
}

.page-no-hu__guide-list li p {
  font-size: 1rem;
  color: var(--text-main);
  padding-left: 30px;
}

.page-no-hu__guide-list li .page-no-hu__btn {
  margin-top: 15px;
  margin-left: 30px;
}

/* Tips Section */
.page-no-hu__tip-item {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-no-hu__tip-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 10px;
}

/* FAQ Section */
details.page-no-hu__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

details.page-no-hu__faq-item summary.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: var(--deep-red);
}

.page-no-hu__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-no-hu__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-no-hu__faq-item .page-no-hu__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-red);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-no-hu__hero-image img {
    max-height: 450px;
  }

  .page-no-hu__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

  .page-no-hu__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-no-hu__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-no-hu__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-no-hu__game-grid,
  .page-no-hu__advantages-grid,
  .page-no-hu__promotions-grid,
  .page-no-hu__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-no-hu__hero-section {
    padding-top: 10px;
  }
  .page-no-hu__hero-image img {
    object-fit: contain !important; /* 禁止 cover 裁切两侧 */
    aspect-ratio: unset !important;
    max-height: 300px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-no-hu__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-no-hu__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column !important; /* 移动端垂直排列 */
    gap: 15px !important;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-no-hu__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* General Section Styles */
  .page-no-hu__section {
    padding: 40px 0;
  }
  .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: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-no-hu__content-wrapper {
    gap: 20px;
  }
  .page-no-hu__text-block p {
    font-size: 0.95rem;
  }
  /* 通用图片与容器 */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-no-hu__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 产品展示图区域 - 桌面 6 列，768px 2 列×3 行 */
  .page-no-hu__game-grid,
  .page-no-hu__promotions-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 列 */
    gap: 20px;
    overflow-x: hidden;
  }
  .page-no-hu__game-card img,
  .page-no-hu__promo-card img {
    
  }
  .page-no-hu__card-title {
    font-size: 1.2rem;
  }
  .page-no-hu__card-description {
    font-size: 0.85rem;
  }

  /* Advantages Section */
  .page-no-hu__advantages-grid {
    grid-template-columns: 1fr !important;
  }

  /* Guide Section */
  .page-no-hu__guide-list li {
    padding: 20px;
  }
  .page-no-hu__guide-list li::before {
    left: 5px;
    top: 15px;
    transform: translateY(0);
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .page-no-hu__guide-list li h3,
  .page-no-hu__guide-list li p,
  .page-no-hu__guide-list li .page-no-hu__btn {
    padding-left: 45px;
  }
  .page-no-hu__guide-list li h3 {
    font-size: 1.2rem;
  }
  .page-no-hu__guide-list li .page-no-hu__btn {
    margin-left: 45px;
  }

  /* Tips Section */
  .page-no-hu__tips-grid {
    grid-template-columns: 1fr !important;
  }

  /* FAQ Section */
  details.page-no-hu__faq-item summary.page-no-hu__faq-question {
    padding: 15px;
  }
  .page-no-hu__faq-qtext {
    font-size: 1rem;
  }
  .page-no-hu__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-no-hu__faq-item .page-no-hu__faq-answer {
    padding: 0 15px 15px;
  }
}