/* Base styles for the Nổ Hũ page */
.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Default light background */
}

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

.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  background-color: #017439;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

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

.page-no-hu__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-no-hu__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom color for H1 as per instructions, ensuring contrast */
  line-height: 1.2;
}

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

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

.page-no-hu__cta-buttons--center {
  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;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn-primary {
  background-color: #C30808; /* Custom color for register/login buttons */
  color: #FFFF00; /* Custom font color for register/login buttons */
  border: 2px solid #C30808;
}

.page-no-hu__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-no-hu__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

.page-no-hu__btn-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-no-hu__btn-link:hover {
  color: #005f2c;
  text-decoration: underline;
}

.page-no-hu__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #017439;
}

.page-no-hu__section-title--white {
  color: #FFFFFF;
}

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

.page-no-hu__text-block--white {
  color: #FFFFFF;
}

.page-no-hu__highlight {
  font-weight: bold;
  color: #017439;
}

.page-no-hu__dark-bg .page-no-hu__highlight {
  color: #FFFF00;
}

/* Introduction Section */
.page-no-hu__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

/* Games Showcase Section */
.page-no-hu__games-showcase-section {
  padding: 60px 0;
  background-color: #017439;
}

.page-no-hu__game-list {
  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: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-no-hu__game-card-title {
  font-size: 1.5rem;
  margin: 20px 15px 10px;
  color: #017439;
}

.page-no-hu__game-card-description {
  font-size: 1rem;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-no-hu__view-all-games {
  text-align: center;
  margin-top: 50px;
}

/* Benefits Section */
.page-no-hu__benefits-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

.page-no-hu__benefits-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-no-hu__benefits-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-no-hu__benefits-title {
  font-size: 1.4rem;
  color: #017439;
  margin-bottom: 15px;
}

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

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

.page-no-hu__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-no-hu__guide-title {
  font-size: 1.3rem;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-no-hu__guide-item p {
  color: #F0F0F0;
}

.page-no-hu__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}