/* style/index-review-one88.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f1f3f5;
  --background-white: #ffffff;
  --border-light: #e0e0e0;
}

.page-index-review-one88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.7;
}

/* Fixed navigation bar spacing for desktop */
.page-index-review-one88__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-index-review-one88__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-index-review-one88__hero-image {
  width: 100%;
  max-width: 800px; /* Limit image width for better presentation */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-one88__hero-content {
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
}

.page-index-review-one88__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-one88__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-index-review-one88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index-review-one88__cta-button:hover {
  background: #e6b800; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-one88__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-index-review-one88__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-index-review-one88__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index-review-one88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-review-one88__review-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-index-review-one88__feature-card {
  background-color: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-one88__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-review-one88__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.page-index-review-one88__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index-review-one88__feature-card p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
}

.page-index-review-one88__game-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--secondary-color), #000066); /* Darker blue */
}

.page-index-review-one88__dark-bg-text {
  color: var(--text-light);
}

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

.page-index-review-one88__game-card {
  background-color: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-review-one88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-review-one88__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-review-one88__game-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
  text-align: center;
}

.page-index-review-one88__game-card p {
  font-size: 15px;
  color: var(--text-dark);
  padding: 0 20px 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-index-review-one88__game-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-review-one88__game-button:hover {
  background-color: #e6b800;
}

.page-index-review-one88__promo-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-index-review-one88__promo-card {
  background-color: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-review-one88__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-review-one88__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-index-review-one88__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
  text-align: center;
}

.page-index-review-one88__promo-card p {
  font-size: 15px;
  color: var(--text-dark);
  padding: 0 20px 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-index-review-one88__promo-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-review-one88__promo-button:hover {
  background-color: #e6b800;
}

.page-index-review-one88__faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-index-review-one88__faq-list {
  margin-top: 40px;
}

.page-index-review-one88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-review-one88__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-one88__faq-item.active .page-index-review-one88__faq-answer {
  max-height: 2000px !important; /* Ensure it expands sufficiently */
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-index-review-one88__faq-answer p {
  margin: 0;
  color: var(--text-dark);
  font-size: 15px;
}

.page-index-review-one88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-one88__faq-item.active .page-index-review-one88__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--primary-color);
}

.page-index-review-one88__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-one88__faq-question:active {
  background: #eeeeee;
}

.page-index-review-one88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Allows click on parent div */
  color: var(--secondary-color);
}

.page-index-review-one88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 32px;
  height: 32px;
}

.page-index-review-one88__faq-item.active .page-index-review-one88__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

.page-index-review-one88__conclusion-section {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-index-review-one88__conclusion-section .page-index-review-one88__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-one88__cta-wrapper {
  margin-top: 40px;
}

.page-index-review-one88__btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  padding: 15px 50px;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-block;
}

.page-index-review-one88__btn-primary:hover {
  background: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-one88__main-title {
    font-size: 38px;
  }
  .page-index-review-one88__section-title {
    font-size: 32px;
  }
  .page-index-review-one88__feature-title,
  .page-index-review-one88__game-title,
  .page-index-review-one88__promo-title {
    font-size: 20px;
  }
  .page-index-review-one88__cta-button,
  .page-index-review-one88__btn-primary {
    font-size: 18px;
    padding: 12px 35px;
  }
}

@media (max-width: 768px) {
  .page-index-review-one88 {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-index-review-one88__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
  }

  .page-index-review-one88__hero-container {
    padding: 0 15px;
  }

  .page-index-review-one88__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .page-index-review-one88__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-index-review-one88__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index-review-one88__text-block {
    font-size: 15px;
  }

  .page-index-review-one88__container {
    padding: 0 15px;
  }

  .page-index-review-one88__review-section,
  .page-index-review-one88__game-section,
  .page-index-review-one88__promo-section,
  .page-index-review-one88__faq-section,
  .page-index-review-one88__conclusion-section {
    padding: 40px 0;
  }

  .page-index-review-one88__feature-grid,
  .page-index-review-one88__game-grid,
  .page-index-review-one88__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-one88__feature-card,
  .page-index-review-one88__game-card,
  .page-index-review-one88__promo-card {
    padding: 20px;
  }

  .page-index-review-one88__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-index-review-one88__feature-title,
  .page-index-review-one88__game-title,
  .page-index-review-one88__promo-title {
    font-size: 18px;
  }

  .page-index-review-one88__game-image,
  .page-index-review-one88__promo-image {
    height: 150px;
  }

  .page-index-review-one88__game-card p,
  .page-index-review-one88__promo-card p {
    font-size: 14px;
    padding: 0 15px 15px;
  }

  .page-index-review-one88__game-button,
  .page-index-review-one88__promo-button {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    font-size: 14px;
    padding: 10px 0;
  }

  .page-index-review-one88__faq-question {
    padding: 15px;
  }

  .page-index-review-one88__faq-question h3 {
    font-size: 16px;
  }

  .page-index-review-one88__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-index-review-one88__faq-item.active .page-index-review-one88__faq-answer {
    padding: 15px !important;
  }

  .page-index-review-one88__btn-primary {
    font-size: 18px;
    padding: 12px 30px;
  }

  /* Ensure all images and their containers adapt */
  .page-index-review-one88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-one88__section,
  .page-index-review-one88__card,
  .page-index-review-one88__container,
  .page-index-review-one88__hero-container,
  .page-index-review-one88__feature-card,
  .page-index-review-one88__game-card,
  .page-index-review-one88__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-index-review-one88__main-title {
    font-size: 28px;
  }
  .page-index-review-one88__section-title {
    font-size: 24px;
  }
  .page-index-review-one88__cta-button,
  .page-index-review-one88__btn-primary {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-index-review-one88__faq-question h3 {
    font-size: 15px;
  }
  .page-index-review-one88__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
}