/* CSS cho trang Nổ Hũ */
.page-no-hu {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-no-hu__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #F4F7FB 0%, #D6E2FF 100%);
  position: relative;
  overflow: hidden;
}

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

.page-no-hu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.2);
}

.page-no-hu__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

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

.page-no-hu__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
}

/* General Section Titles */
.page-no-hu__section-title {
  font-size: 2.2em;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

.page-no-hu__section-description {
  text-align: center;
  font-size: 1.05em;
  color: #1F2D3D;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-no-hu__text-block p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-no-hu__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 25px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Buttons */
.page-no-hu__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #2F6BFF;
  text-decoration: none;
  border: 2px solid #2F6BFF;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn-secondary:hover {
  background: #f0f5ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.page-no-hu__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #2F6BFF;
  text-decoration: none;
  border: 1px solid #2F6BFF;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95em;
  transition: all 0.3s ease;
  margin-top: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Benefits Section */
.page-no-hu__benefits-section {
  padding: 60px 0;
}

.page-no-hu__dark-section {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

.page-no-hu__dark-section .page-no-hu__section-title,
.page-no-hu__dark-section .page-no-hu__section-description {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.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-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark section */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.page-no-hu__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

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

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

.page-no-hu__benefit-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f8ff;
}

/* Popular Games Section (adapted from slider-wrapper) */
.page-no-hu__popular-games-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-no-hu__slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.page-no-hu__slider-track {
  display: flex;
  flex-wrap: nowrap; /* Ensure horizontal scroll */
  gap: 20px;
  padding: 10px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.page-no-hu__game-slide {
  flex: 0 0 auto;
  width: 280px; /* Fixed width for game cards */
  max-width: 280px;
}

.page-no-hu__game-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-no-hu__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-no-hu__game-title {
  font-size: 1.3em;
  color: #000000; /* Custom Color_1776249996415 */
  font-weight: bold;
  margin-bottom: 5px;
}

.page-no-hu__game-provider {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 15px;
}

.page-no-hu__slider-prev, .page-no-hu__slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(47, 107, 255, 0.7);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5em;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-no-hu__slider-prev:hover, .page-no-hu__slider-next:hover {
  background-color: #2F6BFF;
}

.page-no-hu__slider-prev {
  left: 10px;
}

.page-no-hu__slider-next {
  right: 10px;
}

/* How to Play Section */
.page-no-hu__how-to-play-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-no-hu__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-no-hu__step-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  background: #F4F7FB;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-no-hu__step-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-no-hu__step-item:nth-child(odd) .page-no-hu__step-content {
  margin-right: 30px;
}

.page-no-hu__step-item:nth-child(even) .page-no-hu__step-content {
  margin-left: 30px;
}

.page-no-hu__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  font-size: 2.5em;
  font-weight: bold;
  color: #6FA3FF;
  margin-right: 20px;
  flex-shrink: 0;
  display: none; /* Hide default counter, use custom styling */
}

.page-no-hu__step-content {
  flex: 1;
}

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

.page-no-hu__step-content p {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-no-hu__step-image {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Tips Section */
.page-no-hu__tips-section {
  padding: 60px 0;
}

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

.page-no-hu__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__tip-item {
  background: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #1F2D3D;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-no-hu__tip-item strong {
  color: #2F6BFF;
}

/* Promotion Section */
.page-no-hu__promo-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-no-hu__promo-card {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-no-hu__promo-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-no-hu__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-no-hu__faq-item {
  background: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-no-hu__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #2F6BFF;
}

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

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

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  color: #6FA3FF;
  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 20px 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
}

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

.page-no-hu__faq-link {
  color: #2F6BFF;
  text-decoration: underline;
}

/* CTA Banner */
.page-no-hu__cta-banner {
  padding: 80px 0;
  text-align: center;
}

.page-no-hu__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-no-hu__cta-content .page-no-hu__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-no-hu__cta-content p {
  color: #f0f8ff;
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

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

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

  .page-no-hu__hero-image {
    width: 90%;
  }

  .page-no-hu__step-item {
    flex-direction: column;
    text-align: center;
  }

  .page-no-hu__step-item:nth-child(even) {
    flex-direction: column;
  }

  .page-no-hu__step-item:nth-child(odd) .page-no-hu__step-content,
  .page-no-hu__step-item:nth-child(even) .page-no-hu__step-content {
    margin: 0 0 20px 0;
  }

  .page-no-hu__step-image {
    width: 100%;
    height: auto;
  }

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

  .page-no-hu__slider-prev, .page-no-hu__slider-next {
    padding: 8px 12px;
    font-size: 1.3em;
  }
}

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

  /* HERO 主图区域 */
  .page-no-hu__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-no-hu__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-no-hu__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 10px;
  }

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

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

  .page-no-hu__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* 游戏轮播 (Popular Games) */
  .page-no-hu__slider-track {
    padding: 5px;
  }

  .page-no-hu__game-slide {
    width: 220px;
    max-width: 220px;
  }

  .page-no-hu__slider-prev, .page-no-hu__slider-next {
    top: 55%;
    padding: 8px 10px;
    font-size: 1.2em;
    left: 5px;
    right: 5px;
  }
  .page-no-hu__slider-prev {
    left: 5px;
  }
  .page-no-hu__slider-next {
    right: 5px;
  }

  /* 博客卡片区 (Promotions) */
  .page-no-hu__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

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

  .page-no-hu__promo-title {
    font-size: 1.2em;
  }

  /* 通用图片与容器 */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-no-hu__container,
  .page-no-hu__benefits-section,
  .page-no-hu__popular-games-section,
  .page-no-hu__how-to-play-section,
  .page-no-hu__tips-section,
  .page-no-hu__promo-section,
  .page-no-hu__faq-section,
  .page-no-hu__cta-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .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;
    padding-right: 15px;
    text-align: center;
  }

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

  .page-no-hu__cta-content p {
    font-size: 1em;
  }

  .page-no-hu__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-no-hu__step-item {
    padding: 15px;
    margin-bottom: 25px;
  }

  .page-no-hu__step-item:nth-child(odd) .page-no-hu__step-content,
  .page-no-hu__step-item:nth-child(even) .page-no-hu__step-content {
    margin: 0;
  }

  .page-no-hu__step-title {
    font-size: 1.4em;
  }

  .page-no-hu__step-image {
    height: auto;
  }

  .page-no-hu__tips-list {
    padding: 0 15px;
  }

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

  .page-no-hu__faq-item summary {
    font-size: 1em;
  }

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

  .page-no-hu__cta-banner {
    padding: 50px 0;
  }
}