/* style/resources-hi88-latest-game-reviews.css */

/* Base styles for the page content */
.page-resources-hi88-latest-game-reviews {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-hi88-latest-game-reviews__dark-bg {
  background-color: #121212; /* Match body background */
  color: #ffffff;
}

.page-resources-hi88-latest-game-reviews__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-resources-hi88-latest-game-reviews__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

.page-resources-hi88-latest-game-reviews__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-hi88-latest-game-reviews__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-hi88-latest-game-reviews__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-hi88-latest-game-reviews__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-latest-game-reviews__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-hi88-latest-game-reviews__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-resources-hi88-latest-game-reviews__btn-primary,
.page-resources-hi88-latest-game-reviews__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-hi88-latest-game-reviews__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom color for register/login font */
  border: 2px solid #C30808;
}

.page-resources-hi88-latest-game-reviews__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-hi88-latest-game-reviews__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-hi88-latest-game-reviews__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-hi88-latest-game-reviews__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* Content Area */
.page-resources-hi88-latest-game-reviews__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-hi88-latest-game-reviews__section-title {
  font-size: 2.5em;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 15px;
  margin-top: 40px;
}

.page-resources-hi88-latest-game-reviews__content-area p,
.page-resources-hi88-latest-game-reviews__content-area li {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.8;
  color: #333333;
}

.page-resources-hi88-latest-game-reviews__content-area a {
  color: #017439;
  text-decoration: underline;
}

.page-resources-hi88-latest-game-reviews__content-area a:hover {
  color: #005f2e;
}

.page-resources-hi88-latest-game-reviews__download-guide {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-hi88-latest-game-reviews__download-item {
  flex: 1;
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-resources-hi88-latest-game-reviews__download-item h3 {
  color: #017439;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-resources-hi88-latest-game-reviews__download-item p {
  font-size: 1em;
  color: #555555;
}

.page-resources-hi88-latest-game-reviews__game-category {
  margin-bottom: 60px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-resources-hi88-latest-game-reviews__game-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-hi88-latest-game-reviews__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-hi88-latest-game-reviews__feature-list,
.page-resources-hi88-latest-game-reviews__comparison-list,
.page-resources-hi88-latest-game-reviews__advice-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  color: #333333;
}

.page-resources-hi88-latest-game-reviews__feature-list li,
.page-resources-hi88-latest-game-reviews__comparison-list li,
.page-resources-hi88-latest-game-reviews__advice-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-hi88-latest-game-reviews__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-hi88-latest-game-reviews__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

/* FAQ Section */
.page-resources-hi88-latest-game-reviews__faq-container {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hi88-latest-game-reviews__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-hi88-latest-game-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: #eaf7ed; /* Lighter green for question background */
  transition: background-color 0.3s ease;
}

.page-resources-hi88-latest-game-reviews__faq-question:hover {
  background-color: #dcf0e0;
}

.page-resources-hi88-latest-game-reviews__faq-question h3 {
  margin: 0;
  color: #017439;
}

.page-resources-hi88-latest-game-reviews__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-hi88-latest-game-reviews__faq-item.active .page-resources-hi88-latest-game-reviews__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-hi88-latest-game-reviews__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-hi88-latest-game-reviews__faq-item.active .page-resources-hi88-latest-game-reviews__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

/* CTA Banner */
.page-resources-hi88-latest-game-reviews__cta-banner {
  padding: 80px 20px;
  text-align: center;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  margin-top: 60px;
}

.page-resources-hi88-latest-game-reviews__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-hi88-latest-game-reviews__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-hi88-latest-game-reviews__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Global image styles */
.page-resources-hi88-latest-game-reviews img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image for full width within content area */
.page-resources-hi88-latest-game-reviews__image-full-width {
  width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
}

/* Button group for responsiveness */
.page-resources-hi88-latest-game-reviews__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-hi88-latest-game-reviews__hero-title {
    font-size: 3em;
  }

  .page-resources-hi88-latest-game-reviews__section-title {
    font-size: 2em;
  }

  .page-resources-hi88-latest-game-reviews__cta-title {
    font-size: 2.5em;
  }
}

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

  .page-resources-hi88-latest-game-reviews__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-hi88-latest-game-reviews__hero-title {
    font-size: 2em;
  }

  .page-resources-hi88-latest-game-reviews__hero-description {
    font-size: 1em;
  }

  .page-resources-hi88-latest-game-reviews__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-hi88-latest-game-reviews__btn-primary,
  .page-resources-hi88-latest-game-reviews__btn-secondary,
  .page-resources-hi88-latest-game-reviews a[class*="button"],
  .page-resources-hi88-latest-game-reviews a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-hi88-latest-game-reviews__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-hi88-latest-game-reviews__content-area {
    padding: 30px 15px;
  }

  .page-resources-hi88-latest-game-reviews__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-resources-hi88-latest-game-reviews__download-guide {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-hi88-latest-game-reviews__download-item {
    padding: 20px;
  }

  .page-resources-hi88-latest-game-reviews__game-title {
    font-size: 1.5em;
  }

  .page-resources-hi88-latest-game-reviews__cta-banner {
    padding: 50px 15px;
  }

  .page-resources-hi88-latest-game-reviews__cta-title {
    font-size: 2em;
  }

  .page-resources-hi88-latest-game-reviews__cta-description {
    font-size: 1em;
  }

  .page-resources-hi88-latest-game-reviews img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-hi88-latest-game-reviews__section,
  .page-resources-hi88-latest-game-reviews__card,
  .page-resources-hi88-latest-game-reviews__container,
  .page-resources-hi88-latest-game-reviews__video-section,
  .page-resources-hi88-latest-game-reviews__video-container,
  .page-resources-hi88-latest-game-reviews__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-latest-game-reviews video,
  .page-resources-hi88-latest-game-reviews__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-hi88-latest-game-reviews__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }

  .page-resources-hi88-latest-game-reviews__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-resources-hi88-latest-game-reviews__faq-answer {
    padding: 0 20px;
  }

  .page-resources-hi88-latest-game-reviews__faq-item.active .page-resources-hi88-latest-game-reviews__faq-answer {
    padding: 15px 20px;
  }
}

/* Color contrast enforcement */
.page-resources-hi88-latest-game-reviews__dark-bg {
  color: #ffffff;
}

.page-resources-hi88-latest-game-reviews__light-bg {
  color: #333333;
}

.page-resources-hi88-latest-game-reviews__content-area,
.page-resources-hi88-latest-game-reviews p,
.page-resources-hi88-latest-game-reviews li {
  color: #333333;
}

.page-resources-hi88-latest-game-reviews__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-resources-hi88-latest-game-reviews__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-resources-hi88-latest-game-reviews__btn-primary {
  background: #C30808;
  color: #FFFF00;
}

.page-resources-hi88-latest-game-reviews__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-hi88-latest-game-reviews__hero-buttons .page-resources-hi88-latest-game-reviews__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.page-resources-hi88-latest-game-reviews__hero-buttons .page-resources-hi88-latest-game-reviews__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-hi88-latest-game-reviews__cta-banner .page-resources-hi88-latest-game-reviews__btn-primary {
  background: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-resources-hi88-latest-game-reviews__cta-banner .page-resources-hi88-latest-game-reviews__btn-primary:hover {
  background: #a00606;
  border-color: #a00606;
}