.page-no-hu-cac-loai-game {
  color: #FFF3E6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-no-hu-cac-loai-game__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 30px; 
  padding-top: 10px; /* Rely on body padding for header offset, small top padding for first section */
}

.page-no-hu-cac-loai-game__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-no-hu-cac-loai-game__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-no-hu-cac-loai-game__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-no-hu-cac-loai-game__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-no-hu-cac-loai-game__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

/* CTA Buttons */
.page-no-hu-cac-loai-game__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; 
}

.page-no-hu-cac-loai-game__cta-buttons--center {
  margin-top: 40px;
}

.page-no-hu-cac-loai-game__btn-primary,
.page-no-hu-cac-loai-game__btn-secondary,
.page-no-hu-cac-loai-game__btn-play,
.page-no-hu-cac-loai-game__btn-promo {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box; 
  max-width: 100%; 
  white-space: normal; 
  word-wrap: break-word; 
}

.page-no-hu-cac-loai-game__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  border: none;
}

.page-no-hu-cac-loai-game__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-no-hu-cac-loai-game__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #A84F0C; /* Border color */
}

.page-no-hu-cac-loai-game__btn-secondary:hover {
  background: #252830;
  color: #FFB04D; /* Glow */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.2);
}

/* General Section Styles */
.page-no-hu-cac-loai-game__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(168, 79, 12, 0.2); /* Border color with transparency */
}

.page-no-hu-cac-loai-game__section:last-of-type {
  border-bottom: none;
}

.page-no-hu-cac-loai-game__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-no-hu-cac-loai-game__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  color: #FFF3E6;
}

.page-no-hu-cac-loai-game p {
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-no-hu-cac-loai-game ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-no-hu-cac-loai-game li {
  margin-bottom: 8px;
  color: #FFF3E6;
}

.page-no-hu-cac-loai-game strong {
  color: #FFA53A; /* Auxiliary color */
}

/* Game Types Grid */
.page-no-hu-cac-loai-game__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-no-hu-cac-loai-game__game-card,
.page-no-hu-cac-loai-game__promo-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-no-hu-cac-loai-game__game-card:hover,
.page-no-hu-cac-loai-game__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 165, 58, 0.2);
}

.page-no-hu-cac-loai-game__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-no-hu-cac-loai-game__game-title,
.page-no-hu-cac-loai-game__promo-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  flex-grow: 0; 
}

.page-no-hu-cac-loai-game__game-description,
.page-no-hu-cac-loai-game__promo-description {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1; 
}

.page-no-hu-cac-loai-game__btn-play,
.page-no-hu-cac-loai-game__btn-promo {
  margin-top: auto; 
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6;
  border: none;
}

.page-no-hu-cac-loai-game__btn-play:hover,
.page-no-hu-cac-loai-game__btn-promo:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(255, 165, 58, 0.4);
}

/* Tips Section */
.page-no-hu-cac-loai-game__tips-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap; 
}

.page-no-hu-cac-loai-game__tips-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #A84F0C;
}

.page-no-hu-cac-loai-game__tips-list {
  flex: 1;
  min-width: 300px;
  list-style-type: decimal;
  margin-left: 20px;
  color: #FFF3E6;
}

.page-no-hu-cac-loai-game__tips-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Promo Grid */
.page-no-hu-cac-loai-game__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* FAQ Section */
details.page-no-hu-cac-loai-game__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
details.page-no-hu-cac-loai-game__faq-item summary.page-no-hu-cac-loai-game__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
details.page-no-hu-cac-loai-game__faq-item summary.page-no-hu-cac-loai-game__faq-question::-webkit-details-marker {
  display: none;
}
details.page-no-hu-cac-loai-game__faq-item summary.page-no-hu-cac-loai-game__faq-question:hover {
  background: #252830; /* Slightly lighter Card BG on hover */
  color: #FFA53A;
}
.page-no-hu-cac-loai-game__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-no-hu-cac-loai-game__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-no-hu-cac-loai-game__faq-item[open] .page-no-hu-cac-loai-game__faq-question {
  background: #252830; /* Keep hover background when open */
}
details.page-no-hu-cac-loai-game__faq-item .page-no-hu-cac-loai-game__faq-answer {
  padding: 0 25px 25px;
  background: #17191F; /* Card BG */
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
}
.page-no-hu-cac-loai-game__faq-answer p {
  margin-top: 10px;
}

/* Final CTA Section */
.page-no-hu-cac-loai-game__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-no-hu-cac-loai-game__final-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF3E6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-no-hu-cac-loai-game__main-title {
    font-size: 2.8em;
  }
  .page-no-hu-cac-loai-game__section-title {
    font-size: 2em;
  }
  .page-no-hu-cac-loai-game__game-grid,
  .page-no-hu-cac-loai-game__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-no-hu-cac-loai-game__tips-image {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  /* Top text / Hero section */
  .page-no-hu-cac-loai-game__hero-section {
    padding-top: 10px; /* Small top padding for first section */
  }
  .page-no-hu-cac-loai-game__hero-content {
    padding: 30px 15px;
  }
  .page-no-hu-cac-loai-game__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-no-hu-cac-loai-game__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-no-hu-cac-loai-game__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-no-hu-cac-loai-game__btn-primary,
  .page-no-hu-cac-loai-game__btn-secondary,
  .page-no-hu-cac-loai-game__btn-play,
  .page-no-hu-cac-loai-game__btn-promo,
  .page-no-hu-cac-loai-game a[class*="button"],
  .page-no-hu-cac-loai-game a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}