/* -------------------------------------------------------------------------- */
/*                              Base Page Styles                              */
/* -------------------------------------------------------------------------- */
.page-no-hu {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  line-height: 1.6;
}

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

.page-no-hu__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

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

.page-no-hu__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #FFF1E8;
}

/* -------------------------------------------------------------------------- */
/*                                 Card Styles                                */
/* -------------------------------------------------------------------------- */
.page-no-hu__card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #FFF1E8;
}

.page-no-hu__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-no-hu__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-no-hu__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  display: block; /* Ensure no extra space below image */
}

/* -------------------------------------------------------------------------- */
/*                               Button Styles                                */
/* -------------------------------------------------------------------------- */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  box-shadow: 0 4px 10px rgba(255, 176, 74, 0.4);
}

.page-no-hu__btn-primary:hover {
  background: linear-gradient(180deg, #FFC57E 0%, #E87A24 100%);
  box-shadow: 0 6px 15px rgba(255, 176, 74, 0.6);
  transform: translateY(-2px);
}

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

.page-no-hu__btn-secondary:hover {
  background: rgba(243, 197, 77, 0.1);
  color: #FFB04A;
  border-color: #FFB04A;
  transform: translateY(-2px);
}

.page-no-hu__btn-text {
  background: none;
  color: #F3C54D; /* Gold */
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  border: none;
}

.page-no-hu__btn-text:hover {
  color: #FFB04A;
  text-decoration: none;
}

.page-no-hu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------- */
/*                               Hero Section                                 */
/* -------------------------------------------------------------------------- */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding */
  background-color: #140C0C; /* Background */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-no-hu__hero-image {
  width: 100%;
  max-height: 700px; /* Limit height on desktop */
  overflow: hidden;
}

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

.page-no-hu__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  position: relative;
  z-index: 2;
  background: linear-gradient(0deg, #140C0C 0%, rgba(20, 12, 12, 0.8) 70%, rgba(20, 12, 12, 0) 100%);
  padding-top: 100px; /* Adjust for overlap */
}

.page-no-hu__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 800;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(243, 197, 77, 0.5);
}

.page-no-hu__hero-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #FFF1E8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------- */
/*                             Intro Section                                  */
/* -------------------------------------------------------------------------- */
.page-no-hu__intro-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

/* -------------------------------------------------------------------------- */
/*                             Why Choose Section                             */
/* -------------------------------------------------------------------------- */
.page-no-hu__why-choose-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
}

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

.page-no-hu__features-grid .page-no-hu__card img {
  height: 200px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------- */
/*                             Game Types Section                             */
/* -------------------------------------------------------------------------- */
.page-no-hu__game-types-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

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

.page-no-hu__types-grid .page-no-hu__card img {
  height: 200px;
  object-fit: cover;
}

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

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

.page-no-hu__step-card {
  justify-content: space-between;
}

/* -------------------------------------------------------------------------- */
/*                            Promotions Section                              */
/* -------------------------------------------------------------------------- */
.page-no-hu__promotions-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

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

.page-no-hu__promo-card .page-no-hu__btn-primary {
  margin-top: auto;
  display: block;
}

.page-no-hu__promo-card img {
  height: 200px;
  object-fit: cover;
}

/* -------------------------------------------------------------------------- */
/*                               Tips Section                                 */
/* -------------------------------------------------------------------------- */
.page-no-hu__tips-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
}

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

/* -------------------------------------------------------------------------- */
/*                                FAQ Section                                 */
/* -------------------------------------------------------------------------- */
details.page-no-hu__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
  box-shadow: 0 2px 10px 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 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  line-height: 1.5;
}
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: rgba(243, 197, 77, 0.05);
}
.page-no-hu__faq-qtext {
  flex: 1;
  text-align: left;
}
.page-no-hu__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  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: rgba(42, 18, 18, 0.8); /* Slightly lighter than card BG */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
}
.page-no-hu__faq-answer p {
    margin-bottom: 10px;
}
.page-no-hu__faq-answer .page-no-hu__btn-text {
    margin-top: 10px;
    display: inline-block;
}

.page-no-hu__faq-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

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

/* -------------------------------------------------------------------------- */
/*                             Final CTA Section                              */
/* -------------------------------------------------------------------------- */
.page-no-hu__cta-final-section {
  padding: 80px 0;
  background-color: #7E0D0D; /* Deep Red */
  text-align: center;
}

.page-no-hu__cta-final-section .page-no-hu__section-title {
  color: #F3C54D; /* Gold */
}

.page-no-hu__cta-final-section .page-no-hu__section-subtitle {
  color: #FFF1E8;
}

/* -------------------------------------------------------------------------- */
/*                                 Responsive Design                          */
/* -------------------------------------------------------------------------- */

/* Images in content area */
.page-no-hu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero image specific override for object-fit on smaller screens */
@media (max-width: 849px) {
  .page-no-hu__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible, not cropped */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio if any */
  }
  .page-no-hu__hero-content {
    margin-top: -50px; /* Adjust overlap */
    padding-top: 80px;
  }
  .page-no-hu__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-no-hu__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* General content area padding */
  .page-no-hu__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Section Titles */
  .page-no-hu__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-no-hu__section-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* Text Blocks */
  .page-no-hu__text-block {
    font-size: 15px;
  }

  /* Cards */
  .page-no-hu__card {
    padding: 20px;
  }

  .page-no-hu__card-title {
    font-size: 20px;
  }

  /* Buttons */
  .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: 10px 20px;
    font-size: 16px;
  }

  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Section */
  .page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }
  .page-no-hu__hero-content {
    margin-top: -30px; /* Adjust overlap for mobile */
    padding-top: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-no-hu__main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
  .page-no-hu__hero-description {
    font-size: 16px;
  }

  /* Feature Grid (Why Choose Section) */
  .page-no-hu__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Game Types Grid */
  .page-no-hu__types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* How To Play Steps Grid */
  .page-no-hu__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promotions Grid */
  .page-no-hu__promos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Tips List */
  .page-no-hu__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQ Section */
  details.page-no-hu__faq-item summary.page-no-hu__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-no-hu__faq-qtext {
    font-size: 16px;
  }
  .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;
  }

  /* All images in content area */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover; /* Default to cover for content images */
  }

  /* Ensure no horizontal overflow for any section */
  .page-no-hu__intro-section,
  .page-no-hu__why-choose-section,
  .page-no-hu__game-types-section,
  .page-no-hu__how-to-play-section,
  .page-no-hu__promotions-section,
  .page-no-hu__tips-section,
  .page-no-hu__faq-section,
  .page-no-hu__cta-final-section {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}