.page-no-hu {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #F5F7FA;
}

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

.page-no-hu__container--flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-no-hu__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 20px;
}

.page-no-hu__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-no-hu__description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-no-hu__text-block p a,
.page-no-hu__description a {
  color: #E53935;
  text-decoration: underline;
  font-weight: bold;
}

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

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.page-no-hu__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.6);
}

.page-no-hu__btn-secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-no-hu__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #E53935;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

.page-no-hu__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-no-hu__hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Consistent with shared.css body padding-top */
  margin-bottom: 40px;
  background-color: #F5F7FA;
}

.page-no-hu__hero-slider {
  position: relative;
  width: 100%;
  height: 351px; /* Fixed height for desktop carousel */
  overflow: hidden;
}

.page-no-hu__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.page-no-hu__hero-slide.is-active {
  opacity: 1;
}

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

.page-no-hu__hero-slider-prev,
.page-no-hu__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5em;
  border-radius: 5px;
}

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

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

.page-no-hu__hero-slider-prev::before {
  content: '❮';
}

.page-no-hu__hero-slider-next::before {
  content: '❯';
}

.page-no-hu__hero-content {
  padding: 40px 20px;
  text-align: center;
  background-color: #F5F7FA;
  z-index: 5;
  position: relative;
}

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

/* Games Section */
.page-no-hu__games-section {
  padding: 60px 0;
  background-color: #E53935; /* Dark background */
  color: #ffffff;
}

.page-no-hu__games-section .page-no-hu__section-title,
.page-no-hu__games-section .page-no-hu__description {
  color: #ffffff;
}

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

.page-no-hu__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-no-hu__game-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #E0E0E0;
  display: block;
}

.page-no-hu__game-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 20px 15px 10px;
  color: #E53935;
}

.page-no-hu__game-description {
  font-size: 1em;
  line-height: 1.5;
  padding: 0 15px;
}

/* Guide Section */
.page-no-hu__guide-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-no-hu__guide-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align items to the top for staggered effect */
  gap: 20px;
  margin-top: 40px;
}

.page-no-hu__guide-card {
  flex: 0 0 18%; /* Approx 5 cards */
  max-width: 18%;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease-in-out;
}

.page-no-hu__guide-card:hover {
  transform: translateY(-10px);
}

.page-no-hu__guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical images */
  object-fit: contain;
  display: block;
}

/* Staggered effect for desktop */
.page-no-hu__guide-card--pos-1 {
  padding-top: 50px;
}

.page-no-hu__guide-card--pos-2 {
  padding-top: 25px;
}

.page-no-hu__guide-card--pos-4 {
  padding-top: 25px;
}

.page-no-hu__guide-card--pos-5 {
  padding-top: 50px;
}

/* Strategy Section */
.page-no-hu__strategy-section {
  padding: 60px 0;
  background-color: #E53935; /* Dark background */
  color: #ffffff;
}

.page-no-hu__strategy-section .page-no-hu__section-title,
.page-no-hu__strategy-section .page-no-hu__description {
  color: #ffffff;
}

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

.page-no-hu__strategy-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  color: #333333;
  text-align: left;
}

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

.page-no-hu__strategy-description {
  font-size: 1em;
  line-height: 1.6;
}

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

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

.page-no-hu__promo-card {
  background-color: #F5F7FA;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  color: #333333;
}

.page-no-hu__promo-card a {
  color: #E53935;
  text-decoration: underline;
  font-weight: bold;
}

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

.page-no-hu__promo-description {
  font-size: 1em;
  line-height: 1.6;
}

/* Final CTA Section */
.page-no-hu__final-cta-section {
  padding: 60px 0;
  background-color: #E53935; /* Dark background */
  color: #ffffff;
}

.page-no-hu__final-cta-section .page-no-hu__section-title,
.page-no-hu__final-cta-section .page-no-hu__description {
  color: #ffffff;
}

.page-no-hu__final-cta-section .page-no-hu__description a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}

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

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

  .page-no-hu__sub-title {
    font-size: 1.5em;
  }

  .page-no-hu__hero-slider {
    height: 300px;
  }

  .page-no-hu__guide-card {
    flex: 0 0 22%;
    max-width: 22%;
  }
}

@media (max-width: 768px) {
  .page-no-hu__container {
    padding: 15px !important;
  }

  .page-no-hu__section-title {
    font-size: 1.8em !important;
    padding-top: 15px !important;
  }

  .page-no-hu__sub-title {
    font-size: 1.3em !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
  }

  .page-no-hu__description,
  .page-no-hu__text-block {
    font-size: 1em !important;
    line-height: 1.5 !important;
  }

  /* Hero Carousel Section */
  .page-no-hu__hero-carousel-section {
    padding-top: 10px !important; /* Ensure consistent top spacing */
    margin-bottom: 20px !important;
  }

  .page-no-hu__hero-slider {
    height: 200px !important; /* Adjust height for mobile */
  }

  .page-no-hu__hero-slider-prev,
  .page-no-hu__hero-slider-next {
    padding: 8px 12px !important;
    font-size: 1.2em !important;
  }

  .page-no-hu__hero-content {
    padding: 20px 15px !important;
  }

  .page-no-hu__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em) !important; /* Responsive font size */
  }

  .page-no-hu__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    padding: 0 15px !important;
  }

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

  /* Games Section */
  .page-no-hu__games-section,
  .page-no-hu__intro-section,
  .page-no-hu__guide-section,
  .page-no-hu__strategy-section,
  .page-no-hu__promo-section,
  .page-no-hu__final-cta-section {
    padding: 30px 0 !important;
  }

  .page-no-hu__game-grid {
    grid-template-columns: 1fr !important; /* Single column for games */
    gap: 20px !important;
  }

  /* Guide Section - Five cards layout (上二下三) */
  .page-no-hu__guide-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important; /* 6 column grid for flexibility */
    gap: 15px !important;
    margin-top: 20px !important;
  }

  .page-no-hu__guide-card {
    padding-top: 0 !important; /* Remove staggered effect on mobile */
    flex: auto !important;
    max-width: 100% !important;
  }

  .page-no-hu__guide-card--pos-1,
  .page-no-hu__guide-card--pos-2 {
    grid-column: span 3 !important;
  }

  .page-no-hu__guide-card--pos-3,
  .page-no-hu__guide-card--pos-4,
  .page-no-hu__guide-card--pos-5 {
    grid-column: span 2 !important;
  }

  /* Strategy Section */
  .page-no-hu__strategy-grid {
    grid-template-columns: 1fr !important; /* Single column for strategies */
    gap: 20px !important;
  }

  /* Promo Section */
  .page-no-hu__promo-grid {
    grid-template-columns: 1fr !important; /* Single column for promos */
    gap: 20px !important;
  }

  /* Image Responsiveness */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-no-hu__section,
  .page-no-hu__card,
  .page-no-hu__container,
  .page-no-hu__game-card,
  .page-no-hu__strategy-card,
  .page-no-hu__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}