.page-slot-games-popular-n-h-reviews {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--bg-color, #FFFFFF);
}

.page-slot-games-popular-n-h-reviews__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games-popular-n-h-reviews__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games-popular-n-h-reviews__sub-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-slot-games-popular-n-h-reviews__text-block {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-slot-games-popular-n-h-reviews__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games-popular-n-h-reviews__list-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.page-slot-games-popular-n-h-reviews__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #FFFFFF;
  background-color: #017439;
}

.page-slot-games-popular-n-h-reviews__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-slot-games-popular-n-h-reviews__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games-popular-n-h-reviews__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-slot-games-popular-n-h-reviews__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-slot-games-popular-n-h-reviews__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-slot-games-popular-n-h-reviews__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-slot-games-popular-n-h-reviews__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

/* Buttons */
.page-slot-games-popular-n-h-reviews__btn-primary,
.page-slot-games-popular-n-h-reviews__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games-popular-n-h-reviews__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
  margin-right: 15px;
}

.page-slot-games-popular-n-h-reviews__btn-primary:hover {
  background-color: #a80707;
  border-color: #a80707;
}

.page-slot-games-popular-n-h-reviews__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-slot-games-popular-n-h-reviews__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
}

.page-slot-games-popular-n-h-reviews__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-slot-games-popular-n-h-reviews__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Introduction Section */
.page-slot-games-popular-n-h-reviews__introduction-section {
  padding: 60px 0;
  text-align: center;
}

/* Benefits Section */
.page-slot-games-popular-n-h-reviews__benefits-section {
  padding: 80px 0;
}

.page-slot-games-popular-n-h-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slot-games-popular-n-h-reviews__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Ensure text is dark on light card background */
}

.page-slot-games-popular-n-h-reviews__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games-popular-n-h-reviews__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games-popular-n-h-reviews__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games-popular-n-h-reviews__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px;
}

/* Selection Guide Section */
.page-slot-games-popular-n-h-reviews__selection-guide-section {
  padding: 80px 0;
}

.page-slot-games-popular-n-h-reviews__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-slot-games-popular-n-h-reviews__text-content {
  flex: 2;
}

.page-slot-games-popular-n-h-reviews__image-aside {
  flex: 1;
  min-width: 300px;
}

.page-slot-games-popular-n-h-reviews__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Top Games Section */
.page-slot-games-popular-n-h-reviews__top-games-section {
  padding: 80px 0;
  text-align: center;
}

/* Tips Section */
.page-slot-games-popular-n-h-reviews__tips-section {
  padding: 80px 0;
}

/* FAQ Section */
.page-slot-games-popular-n-h-reviews__faq-section {
  padding: 80px 0;
}

.page-slot-games-popular-n-h-reviews__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-slot-games-popular-n-h-reviews__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
}

.page-slot-games-popular-n-h-reviews__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.page-slot-games-popular-n-h-reviews__faq-question:hover {
  background-color: #e8e8e8;
}

.page-slot-games-popular-n-h-reviews__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-slot-games-popular-n-h-reviews__faq-item.active .page-slot-games-popular-n-h-reviews__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-popular-n-h-reviews__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.05em;
  color: #555555;
}

.page-slot-games-popular-n-h-reviews__faq-item.active .page-slot-games-popular-n-h-reviews__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

/* Conclusion Section */
.page-slot-games-popular-n-h-reviews__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-popular-n-h-reviews__hero-title {
    font-size: 3em;
  }
  .page-slot-games-popular-n-h-reviews__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games-popular-n-h-reviews__section-title {
    font-size: 2em;
  }
  .page-slot-games-popular-n-h-reviews__sub-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular-n-h-reviews {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games-popular-n-h-reviews__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games-popular-n-h-reviews__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games-popular-n-h-reviews__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games-popular-n-h-reviews__btn-primary,
  .page-slot-games-popular-n-h-reviews__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0;
    margin-bottom: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games-popular-n-h-reviews__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games-popular-n-h-reviews__grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-slot-games-popular-n-h-reviews__card {
    padding: 15px;
  }
  .page-slot-games-popular-n-h-reviews__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }
  .page-slot-games-popular-n-h-reviews__sub-title {
    font-size: 1.2em;
  }
  .page-slot-games-popular-n-h-reviews__content-wrapper {
    flex-direction: column;
    padding: 0 15px;
  }
  .page-slot-games-popular-n-h-reviews__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games-popular-n-h-reviews__image-aside {
    min-width: unset;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games-popular-n-h-reviews__faq-question,
  .page-slot-games-popular-n-h-reviews__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games-popular-n-h-reviews__faq-list {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games-popular-n-h-reviews img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games-popular-n-h-reviews__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games-popular-n-h-reviews__section,
  .page-slot-games-popular-n-h-reviews__card,
  .page-slot-games-popular-n-h-reviews__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games-popular-n-h-reviews__video-section {
    padding-top: var(--header-offset, 120px) !important; /* 与公用片段约定一致 */
  }
}

@media (max-width: 480px) {
  .page-slot-games-popular-n-h-reviews__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games-popular-n-h-reviews__hero-description {
    font-size: 1em;
  }
  .page-slot-games-popular-n-h-reviews__section-title {
    font-size: 1.5em;
  }
  .page-slot-games-popular-n-h-reviews__btn-primary,
  .page-slot-games-popular-n-h-reviews__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}