/* style/index-review-hi88.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-index-review-hi88 {
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #1a1a1a; /* Slightly lighter than body for depth */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

/* Fixed navigation bar spacing for the first content module that is not hero/carousel */
.page-index-review-hi88__intro-section {
  padding-top: 120px; /* Adjusted for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-index-review-hi88__intro-section {
    padding-top: 100px; /* Adjusted for fixed header on mobile */
  }
}

.page-index-review-hi88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-review-hi88__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-review-hi88__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for titles */
}

.page-index-review-hi88__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-index-review-hi88__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-index-review-hi88__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-index-review-hi88__btn--primary {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
}

.page-index-review-hi88__btn--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-index-review-hi88__btn--secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary brand color */
  border: 2px solid #ffc107;
}

.page-index-review-hi88__btn--secondary:hover {
  background-color: #ffc107;
  color: #121212;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.page-index-review-hi88__btn--small {
  padding: 8px 15px;
  font-size: 14px;
}

/* HERO Section */
.page-index-review-hi88__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-index-review-hi88__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-index-review-hi88__hero-image {
  width: 100%;
  margin: 0;
}

.page-index-review-hi88__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* LOGO Carousel Section */
.page-index-review-hi88__logo-carousel-section {
  width: 100%;
  padding: 40px 20px;
  background: #121212; /* Dark background from body */
}

.page-index-review-hi88__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-index-review-hi88__logo-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.page-index-review-hi88__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-index-review-hi88__logo-item {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a; /* Slightly lighter dark background for contrast */
  border: 1px solid #3a3a3a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.page-index-review-hi88__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-index-review-hi88__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Games Section */
.page-index-review-hi88__games-section {
  width: 100%;
  padding: 60px 20px;
  background: #1a1a1a;
}

.page-index-review-hi88__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-index-review-hi88__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-index-review-hi88__featured-game-area {
  width: 100%;
}

.page-index-review-hi88__featured-game-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #ffd700; /* Yellow text for jackpot */
  text-align: left;
}

.page-index-review-hi88__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-hi88__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index-review-hi88__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-index-review-hi88__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-review-hi88__games-grid-area {
  width: 100%;
}

.page-index-review-hi88__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.page-index-review-hi88__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.page-index-review-hi88__games-tab:hover {
  color: #ffffff;
}

.page-index-review-hi88__games-tab.active {
  color: #ff0000; /* Red for active tab */
  text-decoration: underline;
}

.page-index-review-hi88__games-tab.active + .page-index-review-hi88__games-tab {
  color: #ffffff;
}

.page-index-review-hi88__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-index-review-hi88__games-grid.active {
  display: grid;
}

.page-index-review-hi88__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-hi88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-index-review-hi88__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index-review-hi88__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-index-review-hi88__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-review-hi88__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0 0;
  padding: 0 5px 10px;
  color: #f0f0f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

/* Quick Access Section */
.page-index-review-hi88__quick-access-section {
  background-color: #222222;
}

.page-index-review-hi88__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-index-review-hi88__link-card {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-index-review-hi88__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-index-review-hi88__link-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index-review-hi88__link-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffc107;
  margin: 0;
}

/* Games Intro Section */
.page-index-review-hi88__games-intro-section {
  background-color: #1a1a1a;
}

.page-index-review-hi88__game-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-hi88__game-category-card {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-review-hi88__game-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__game-category-card img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-hi88__game-category-title {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
}

.page-index-review-hi88__game-category-description {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotion Section */
.page-index-review-hi88__promo-section {
  background-color: #222222;
}

.page-index-review-hi88__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-hi88__promo-card {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-review-hi88__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__promo-card img {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-hi88__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-index-review-hi88__promo-card-description {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Section */
.page-index-review-hi88__security-section {
  background-color: #1a1a1a;
}

.page-index-review-hi88__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-hi88__security-item {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-review-hi88__security-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-review-hi88__security-item-title {
  font-size: 22px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-index-review-hi88__faq-section {
  background-color: #222222;
}

.page-index-review-hi88__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-hi88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-index-review-hi88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #333333; /* Darker background for question */
  border: 1px solid #444444;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-hi88__faq-question:hover {
  background: #444444;
  border-color: #555555;
}

.page-index-review-hi88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-index-review-hi88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-toggle {
  color: #007bff;
  transform: rotate(45deg);
}

.page-index-review-hi88__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 8px 8px;
}

.page-index-review-hi88__faq-answer p {
  font-size: 16px;
  color: #e0e0e0;
  margin: 0;
  text-align: left;
}

/* Blog Section */
.page-index-review-hi88__blog-section {
  background-color: #1a1a1a;
}

.page-index-review-hi88__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-hi88__blog-card {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-index-review-hi88__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index-review-hi88__blog-card-content {
  padding: 20px;
}

.page-index-review-hi88__blog-card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index-review-hi88__blog-card-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-hi88__blog-card-title a:hover {
  color: #ffc107;
}

.page-index-review-hi88__blog-card-excerpt {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-index-review-hi88__blog-card-date {
  font-size: 14px;
  color: #999999;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-hi88__section-title {
    font-size: 30px;
  }
  .page-index-review-hi88__main-title {
    font-size: 36px;
  }
  .page-index-review-hi88__games-layout {
    grid-template-columns: 1fr;
  }
  .page-index-review-hi88__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index-review-hi88__featured-game-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88__section {
    padding: 40px 0;
  }
  .page-index-review-hi88__container {
    padding: 0 15px;
  }
  .page-index-review-hi88__section-title {
    font-size: 26px;
  }
  .page-index-review-hi88__main-title {
    font-size: 30px;
  }
  .page-index-review-hi88__paragraph {
    font-size: 16px;
  }
  .page-index-review-hi88__btn {
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-index-review-hi88__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .page-index-review-hi88__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-hi88__logo-carousel-section {
    padding: 30px 15px;
  }
  .page-index-review-hi88__logo-item {
    width: 150px;
    height: 150px;
  }
  .page-index-review-hi88__logo-carousel {
    gap: 15px;
  }
  .page-index-review-hi88__games-section {
    padding: 40px 15px;
  }
  .page-index-review-hi88__games-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-hi88__featured-game-title {
    font-size: 20px;
  }
  .page-index-review-hi88__featured-game-image {
    height: 300px;
  }
  .page-index-review-hi88__games-tabs {
    gap: 15px;
  }
  .page-index-review-hi88__games-tab {
    font-size: 16px;
  }
  .page-index-review-hi88__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-index-review-hi88__game-card-image {
    height: 150px;
  }
  .page-index-review-hi88__game-card-title {
    font-size: 13px;
    margin: 8px 0 0 0;
    padding: 0 3px 8px;
  }
  .page-index-review-hi88__link-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .page-index-review-hi88__link-card img {
    width: 60px;
    height: 60px;
  }
  .page-index-review-hi88__link-card-title {
    font-size: 16px;
  }
  .page-index-review-hi88__game-category-grid {
    grid-template-columns: 1fr;
  }
  .page-index-review-hi88__game-category-title {
    font-size: 20px;
  }
  .page-index-review-hi88__promo-grid,
  .page-index-review-hi88__security-grid,
  .page-index-review-hi88__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index-review-hi88__promo-card img,
  .page-index-review-hi88__blog-card img {
    height: 180px;
  }
  .page-index-review-hi88__promo-card-title,
  .page-index-review-hi88__security-item-title,
  .page-index-review-hi88__blog-card-title {
    font-size: 18px;
  }
  .page-index-review-hi88__faq-question h3 {
    font-size: 16px;
  }
  .page-index-review-hi88__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-index-review-hi88__faq-answer p {
    font-size: 15px;
  }
  /* Mobile specific overrides for image containers */
  .page-index-review-hi88__section,
  .page-index-review-hi88__container,
  .page-index-review-hi88__link-grid,
  .page-index-review-hi88__game-category-grid,
  .page-index-review-hi88__promo-grid,
  .page-index-review-hi88__security-grid,
  .page-index-review-hi88__blog-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-review-hi88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-index-review-hi88__link-grid {
    grid-template-columns: 1fr;
  }
  .page-index-review-hi88__featured-game-image {
    height: 250px;
  }
  .page-index-review-hi88__games-grid {
    grid-template-columns: 1fr;
  }
  .page-index-review-hi88__game-card-image {
    height: 120px;
  }
}