.page-resources-hi88-platform-review {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #0a0a0a, so use light text */
  background-color: #0a0a0a;
}

.page-resources-hi88-platform-review__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-hi88-platform-review__section {
  padding: 60px 0;
}

.page-resources-hi88-platform-review__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #0a0a0a;
  overflow: hidden;
}

.page-resources-hi88-platform-review__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-resources-hi88-platform-review__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

.page-resources-hi88-platform-review__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-hi88-platform-review__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
}

.page-resources-hi88-platform-review__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-hi88-platform-review__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-hi88-platform-review__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #017439;
  margin: 15px auto 0;
}

.page-resources-hi88-platform-review__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0; /* Light text for readability on dark background */
}

.page-resources-hi88-platform-review__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-hi88-platform-review__btn-primary,
.page-resources-hi88-platform-review__btn-secondary,
.page-resources-hi88-platform-review__btn-card {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-hi88-platform-review__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-hi88-platform-review__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-resources-hi88-platform-review__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-hi88-platform-review__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-hi88-platform-review__btn-primary--large,
.page-resources-hi88-platform-review__btn-secondary--large {
  padding: 18px 40px;
  font-size: 1.1em;
}

.page-resources-hi88-platform-review__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-resources-hi88-platform-review__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hi88-platform-review__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark bg */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-hi88-platform-review__card:hover {
  transform: translateY(-5px);
}

.page-resources-hi88-platform-review__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hi88-platform-review__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Brand color for card titles */
}

.page-resources-hi88-platform-review__card-title a {
  color: #017439;
  text-decoration: none;
}

.page-resources-hi88-platform-review__card-title a:hover {
  text-decoration: underline;
}

.page-resources-hi88-platform-review__card-text {
  font-size: 0.95em;
  line-height: 1.7;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources-hi88-platform-review__btn-card {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
  margin-top: auto; /* Push button to bottom */
}

.page-resources-hi88-platform-review__btn-card:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-resources-hi88-platform-review__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hi88-platform-review__promo-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-hi88-platform-review__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hi88-platform-review__promo-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-resources-hi88-platform-review__promo-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-resources-hi88-platform-review__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hi88-platform-review__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-hi88-platform-review__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hi88-platform-review__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-resources-hi88-platform-review__feature-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-resources-hi88-platform-review__payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hi88-platform-review__payment-icon {
  width: 120px;
  height: 80px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hi88-platform-review__app-download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-resources-hi88-platform-review__app-image {
  max-width: 800px;
  margin: 40px auto;
  display: block;
}

.page-resources-hi88-platform-review__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hi88-platform-review__contact-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-hi88-platform-review__contact-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hi88-platform-review__contact-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-resources-hi88-platform-review__contact-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-resources-hi88-platform-review__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hi88-platform-review__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-resources-hi88-platform-review__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-resources-hi88-platform-review__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-resources-hi88-platform-review__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-resources-hi88-platform-review__faq-item.active .page-resources-hi88-platform-review__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-hi88-platform-review__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-hi88-platform-review__faq-item.active .page-resources-hi88-platform-review__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-resources-hi88-platform-review__faq-answer p {
  margin: 0;
  padding: 0;
  color: #f0f0f0;
}

.page-resources-hi88-platform-review__conclusion-cta {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-hi88-platform-review__hero-title {
    font-size: 3em;
  }
  .page-resources-hi88-platform-review__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-hi88-platform-review {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-hi88-platform-review__container {
    padding: 0 15px !important; /* Important for mobile content area */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-hi88-platform-review__hero-section {
    min-height: 500px;
    padding: 40px 15px !important;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-hi88-platform-review__hero-title {
    font-size: 2.2em;
  }

  .page-resources-hi88-platform-review__hero-description {
    font-size: 1em;
  }

  .page-resources-hi88-platform-review__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-hi88-platform-review__btn-primary,
  .page-resources-hi88-platform-review__btn-secondary,
  .page-resources-hi88-platform-review__btn-card,
  .page-resources-hi88-platform-review a[class*="button"],
  .page-resources-hi88-platform-review 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;
  }

  .page-resources-hi88-platform-review__cta-buttons,
  .page-resources-hi88-platform-review__button-group,
  .page-resources-hi88-platform-review__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-resources-hi88-platform-review__section {
    padding: 40px 0;
  }

  .page-resources-hi88-platform-review__section-title {
    font-size: 1.8em;
  }

  .page-resources-hi88-platform-review__paragraph {
    font-size: 1em;
  }

  .page-resources-hi88-platform-review__card {
    padding: 20px;
  }

  .page-resources-hi88-platform-review__card-image,
  .page-resources-hi88-platform-review__promo-image,
  .page-resources-hi88-platform-review__feature-icon,
  .page-resources-hi88-platform-review__payment-icon,
  .page-resources-hi88-platform-review__app-image,
  .page-resources-hi88-platform-review__contact-icon,
  .page-resources-hi88-platform-review img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size */
    min-height: 200px !important; /* Enforce min size */
  }

  .page-resources-hi88-platform-review__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Specific image container adjustments for mobile */
  .page-resources-hi88-platform-review__hero-section,
  .page-resources-hi88-platform-review__about-us,
  .page-resources-hi88-platform-review__game-categories,
  .page-resources-hi88-platform-review__promotions,
  .page-resources-hi88-platform-review__security-fairness,
  .page-resources-hi88-platform-review__payment-methods,
  .page-resources-hi88-platform-review__mobile-app,
  .page-resources-hi88-platform-review__customer-support,
  .page-resources-hi88-platform-review__faq-section,
  .page-resources-hi88-platform-review__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-hi88-platform-review__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-resources-hi88-platform-review__faq-answer {
    padding: 0 20px;
  }

  .page-resources-hi88-platform-review__faq-item.active .page-resources-hi88-platform-review__faq-answer {
    padding: 10px 20px;
  }

  /* Video responsive */
  .page-resources-hi88-platform-review video,
  .page-resources-hi88-platform-review__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-hi88-platform-review__video-section,
  .page-resources-hi88-platform-review__video-container,
  .page-resources-hi88-platform-review__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-hi88-platform-review__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}