/* Base styles for the Nổ Hũ page */
.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: 0 20px;
}

.page-no-hu__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-no-hu__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F3C54D, transparent);
  border-radius: 2px;
}

/* Hero Section */
.page-no-hu__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-no-hu__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-no-hu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-no-hu__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
  margin-top: -150px; /* Overlap with image slightly for visual flow, but text is below image */
}

.page-no-hu__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-no-hu__description {
  font-size: 18px;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play,
.page-no-hu__btn-large {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(255, 176, 74, 0.4);
}

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

.page-no-hu__btn-secondary {
  background: #2A1212; /* Card B G */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
  box-shadow: 0 5px 15px rgba(243, 197, 77, 0.2);
}

.page-no-hu__btn-secondary:hover {
  transform: translateY(-3px);
  background: #3A2222;
  box-shadow: 0 8px 20px rgba(243, 197, 77, 0.4);
}

/* Section backgrounds */
.page-no-hu__dark-section {
  background-color: #2A1212; /* Card B G */
  padding: 60px 0;
}

.page-no-hu__light-bg {
  background-color: #140C0C; /* Background (still dark, but contrasting with Card BG) */
  padding: 60px 0;
}

/* About Section */
.page-no-hu__about-section p {
  font-size: 17px;
  color: #FFF1E8;
  margin-bottom: 20px;
  text-align: justify;
}

/* 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-card {
  background-color: #2A1212; /* Card B G */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 12px;
  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;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-no-hu__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-no-hu__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-no-hu__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-no-hu__feature-card p {
  font-size: 16px;
  color: #FFF1E8;
  text-align: center;
  flex-grow: 1;
}

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

.page-no-hu__game-card {
  background-color: #2A1212; /* Card B G */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-no-hu__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-no-hu__game-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-no-hu__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-no-hu__game-card p {
  font-size: 15px;
  color: #FFF1E8;
  text-align: center;
  flex-grow: 1;
  margin-bottom: 20px;
}