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

.page-no-hu__hero-section {
  padding-top: 10px; /* Aligns with body padding from shared.css */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Primary brand gradient */
  color: #ffffff;
}

.page-no-hu__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 16px;
  gap: 24px;
}

.page-no-hu__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  padding-right: 20px;
}

.page-no-hu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-no-hu__hero-image {
  flex: 1 1 45%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-no-hu__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-no-hu__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-no-hu__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-no-hu__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a4a9f;
  border-color: #1a4a9f;
}

.page-no-hu__intro-section,
.page-no-hu__guide-section,
.page-no-hu__promo-section,
.page-no-hu__faq-section {
  padding: 80px 0;
}

.page-no-hu__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-no-hu__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Primary to auxiliary gradient */
  color: #ffffff;
  padding: 80px 0;
}

.page-no-hu__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-no-hu__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text Main */
}

.page-no-hu__dark-section .page-no-hu__section-title {
  color: #ffffff;
}

.page-no-hu__text-block {
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-no-hu__text-block--light {
  color: #f0f0f0;
}

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

.page-no-hu__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-no-hu__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F4F7FB; /* Background */
  box-shadow: 0 0 0 8px #D6E2FF; /* Border with Glow */
}

.page-no-hu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-no-hu__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-no-hu__feature-description {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
}

.page-no-hu__guide-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-no-hu__guide-steps {
  flex: 1;
}

.page-no-hu__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-no-hu__guide-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-no-hu__step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2F6BFF;
}

.page-no-hu__guide-image {
  flex: 1;
  text-align: center;
}

.page-no-hu__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-no-hu__game-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
}

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

.page-no-hu__game-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-no-hu__game-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-no-hu__game-card-title a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-no-hu__game-card-title a:hover {
  text-decoration: underline;
}

.page-no-hu__game-card-description {
  font-size: 0.9rem;
  color: #1F2D3D;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-no-hu__btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
  align-self: flex-start;
}

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

.page-no-hu__promo-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
}

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

.page-no-hu__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-no-hu__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-no-hu__promo-title a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-no-hu__promo-title a:hover {
  text-decoration: underline;
}

.page-no-hu__promo-description {
  font-size: 0.95rem;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-no-hu__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

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

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

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2F6BFF;
  cursor: pointer;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.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.5rem;
  line-height: 1;
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
  content: '−';
}

.page-no-hu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #1F2D3D;
  line-height: 1.7;
}

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

.page-no-hu__cta-content-wrapper {
  max-width: 900px;
}

.page-no-hu__cta-buttons--center {
  justify-content: center;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-no-hu__hero-content {
    padding-right: 0;
  }
  .page-no-hu__hero-container {
    padding: 30px 16px;
  }
  .page-no-hu__section-title {
    font-size: 2.2rem;
  }
  .page-no-hu__intro-section, .page-no-hu__guide-section, .page-no-hu__promo-section, .page-no-hu__faq-section, .page-no-hu__cta-banner {
    padding: 60px 0;
  }
  .page-no-hu__icon-box-media {
    width: 160px;
    height: 160px;
  }
  .page-no-hu__game-card-image, .page-no-hu__promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* HERO Section - Mobile */
  .page-no-hu__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-no-hu__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }
  .page-no-hu__hero-content {
    flex: 1 1 100%;
    text-align: center;
    padding-right: 0;
  }
  .page-no-hu__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-no-hu__hero-description {
    font-size: 1rem;
  }
  .page-no-hu__hero-image {
    flex: 1 1 100%;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%; /* Ensure container takes full width */
  }
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Intro Section / Module 1 - Mobile */
  .page-no-hu__intro-section, .page-no-hu__guide-section, .page-no-hu__promo-section, .page-no-hu__faq-section, .page-no-hu__cta-banner {
    padding: 40px 0;
  }
  .page-no-hu__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-no-hu__text-block {
    margin-bottom: 30px;
  }
  .page-no-hu__features-grid {
    grid-template-columns: 1fr;
  }
  .page-no-hu__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
  .page-no-hu__feature-item {
    padding: 25px;
  }
  .page-no-hu__feature-title {
    font-size: 1.3rem;
  }

  /* Guide Section - Mobile */
  .page-no-hu__guide-layout {
    flex-direction: column-reverse; /* Image above steps */
    gap: 30px;
  }
  .page-no-hu__guide-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-no-hu__step-title {
    font-size: 1.15rem;
  }

  /* Popular Games / Game Cards - Mobile */
  .page-no-hu__game-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-no-hu__game-card-image, .page-no-hu__promo-image {
    height: 160px;
  }
  .page-no-hu__game-card-title {
    font-size: 1.2rem;
  }
  .page-no-hu__game-card-content, .page-no-hu__promo-content {
    padding: 15px;
  }
  .page-no-hu__btn-small {
    align-self: stretch;
    text-align: center;
  }

  /* Promo Section - Mobile */
  .page-no-hu__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-no-hu__promo-title {
    font-size: 1.3rem;
  }

  /* FAQ Section - Mobile */
  .page-no-hu__faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }
  .page-no-hu__faq-answer {
    padding: 0 20px 18px;
  }

  /* CTA Banner - Mobile */
  .page-no-hu__cta-content-wrapper {
    padding: 0 15px;
  }
  .page-no-hu__cta-buttons--center {
    flex-direction: column;
    gap: 10px;
  }

  /* General Image & Container Responsiveness */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-no-hu__section,
  .page-no-hu__card,
  .page-no-hu__container,
  .page-no-hu__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}