/* CSS cho trang Nổ Hũ */

:root {
  --page-no-hu-primary-color: #FF8C1A;
  --page-no-hu-secondary-color: #FFA53A;
  --page-no-hu-dark-bg: #0D0E12;
  --page-no-hu-card-bg: #17191F;
  --page-no-hu-text-main: #FFF3E6;
  --page-no-hu-border-color: #A84F0C;
  --page-no-hu-glow-color: #FFB04D;
  --page-no-hu-deep-orange: #D96800;
}

.page-no-hu {
  color: var(--page-no-hu-text-main);
  background-color: var(--page-no-hu-dark-bg);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-no-hu__hero-section {
  position: relative;
  padding-top: 10px; /* Consistent with fixed header spacing rule */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--page-no-hu-dark-bg);
  overflow: hidden;
}

.page-no-hu__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-no-hu__hero-content {
  z-index: 1;
  position: relative;
  max-width: 800px;
  margin-bottom: 30px;
  padding: 0 20px;
}

.page-no-hu__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--page-no-hu-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
}

.page-no-hu__hero-description {
  font-size: 1.1rem;
  color: var(--page-no-hu-text-main);
  margin-bottom: 30px;
}

.page-no-hu__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styling */
.page-no-hu__introduction-section,
.page-no-hu__features-section,
.page-no-hu__popular-games-section,
.page-no-hu__guide-section,
.page-no-hu__promotions-section,
.page-no-hu__faq-section,
.page-no-hu__cta-section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-no-hu__introduction-section,
.page-no-hu__popular-games-section,
.page-no-hu__promotions-section,
.page-no-hu__cta-section {
  background-color: var(--page-no-hu-card-bg);
  color: var(--page-no-hu-text-main);
}

.page-no-hu__features-section,
.page-no-hu__guide-section,
.page-no-hu__faq-section {
  background-color: var(--page-no-hu-dark-bg);
  color: var(--page-no-hu-text-main);
}

.page-no-hu__section-title {
  font-size: 2.5rem;
  color: var(--page-no-hu-secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 165, 58, 0.3);
}

.page-no-hu__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--page-no-hu-text-main);
}

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

/* Buttons */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  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, var(--page-no-hu-secondary-color) 0%, var(--page-no-hu-deep-orange) 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

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

.page-no-hu__btn-secondary {
  background: var(--page-no-hu-card-bg);
  color: var(--page-no-hu-secondary-color);
  border: 2px solid var(--page-no-hu-secondary-color);
}

.page-no-hu__btn-secondary:hover {
  background: var(--page-no-hu-secondary-color);
  color: var(--page-no-hu-text-main);
  transform: translateY(-3px);
}

.page-no-hu__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-no-hu__feature-item {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background-color: var(--page-no-hu-card-bg);
  border: 1px solid var(--page-no-hu-border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  height: 100%; /* Ensure cards in a row have equal height */
  display: flex;
  flex-direction: column;
}

.page-no-hu__feature-title {
  font-size: 1.5rem;
  color: var(--page-no-hu-secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-no-hu__feature-text {
  font-size: 1rem;
  color: var(--page-no-hu-text-main);
}

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

.page-no-hu__game-card {
  background-color: var(--page-no-hu-dark-bg);
  border: 1px solid var(--page-no-hu-border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-no-hu__game-card-title {
  font-size: 1.4rem;
  color: var(--page-no-hu-secondary-color);
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

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

.page-no-hu__game-card-btn {
  margin: 0 20px 20px;
}

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

.page-no-hu__guide-item {
  background-color: var(--page-no-hu-card-bg);
  border: 1px solid var(--page-no-hu-border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-no-hu__guide-item:last-child {
  margin-bottom: 0;
}

.page-no-hu__guide-step-title {
  font-size: 1.3rem;
  color: var(--page-no-hu-secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-no-hu__guide-step-text {
  font-size: 1rem;
  color: var(--page-no-hu-text-main);
}

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

.page-no-hu__promo-card {
  background-color: var(--page-no-hu-dark-bg);
  border: 1px solid var(--page-no-hu-border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-no-hu__promo-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-no-hu__promo-card-title {
  font-size: 1.4rem;
  color: var(--page-no-hu-secondary-color);
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

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

.page-no-hu__promo-card-btn {
  margin: 0 20px 20px;
}

/* FAQ Section */
.page-no-hu__faq-list {
  margin-top: 40px;
}

.page-no-hu__faq-item {
  background-color: var(--page-no-hu-card-bg);
  border: 1px solid var(--page-no-hu-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-no-hu__faq-item:last-child {
  margin-bottom: 0;
}

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--page-no-hu-secondary-color);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-no-hu__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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 25px 20px;
  font-size: 1rem;
  color: var(--page-no-hu-text-main);
  border-top: 1px solid rgba(168, 79, 12, 0.3);
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-no-hu__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-no-hu__section-title {
    font-size: 2.2rem;
  }

  .page-no-hu__features-grid,
  .page-no-hu__game-cards-grid,
  .page-no-hu__promo-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

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

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

  .page-no-hu__guide-item {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Fixed header spacing, small top padding */
    padding-bottom: 30px;
  }

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

  .page-no-hu__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }

  .page-no-hu__hero-description {
    font-size: 0.95rem;
  }

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

  /* General content sections */
  .page-no-hu__introduction-section,
  .page-no-hu__features-section,
  .page-no-hu__popular-games-section,
  .page-no-hu__guide-section,
  .page-no-hu__promotions-section,
  .page-no-hu__faq-section,
  .page-no-hu__cta-section {
    padding: 40px 0;
  }

  .page-no-hu__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

  .page-no-hu__section-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  /* Long text gold frame (Placeholder, as not explicitly used here, but required to be present) */
  .page-no-hu__home-content { /* Assuming this would be the class for a long text gold frame */
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
  }

  /* Game carousel (Placeholder, as not explicitly used here, but required for homepage) */
  .page-no-hu__slider-track { /* Placeholder for game slider track */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-no-hu__game-slide { /* Placeholder for game slide item */
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }

  /* Partner brand 6-grid (Placeholder, as not explicitly used here, but required for homepage) */
  .page-no-hu__banners-top-wrapper { /* Placeholder for partner brands grid */
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .page-no-hu__banner-item img { /* Placeholder for partner brand image */
    
    
  }

  /* Blog card area (Placeholder, as not explicitly used here, but required for homepage) */
  .page-no-hu__blog-masonry { /* Placeholder for blog masonry grid */
    grid-template-columns: 1fr !important;
  }
  .page-no-hu__blog-slider-track { /* Placeholder for blog slider track */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-no-hu__blog-slide { /* Placeholder for blog slide item */
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }

  /* Generic Images and Containers */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons and Button Containers */
  .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-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
  }

  .page-no-hu__hero-cta-buttons,
  .page-no-hu__cta-buttons-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-no-hu__features-grid,
  .page-no-hu__game-cards-grid,
  .page-no-hu__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__game-card-image,
  .page-no-hu__promo-card-image {
    height: auto;
  }

  .page-no-hu__guide-list,
  .page-no-hu__faq-list {
    margin-top: 30px;
  }

  .page-no-hu__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

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

  /* Ensure text readability on mobile */
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }
}