/* style/index-review-fa88.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --bg-white: #ffffff;
  --border-light: #e0e0e0;
}

/* 🚨 Fixed Header Padding - Desktop */
.page-index-review-fa88__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-index-review-fa88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
}

.page-index-review-fa88__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), #2A4C87); /* Darker blue gradient */
}

.page-index-review-fa88__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-fa88__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-review-fa88__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-review-fa88__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.page-index-review-fa88__hero-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold title for contrast */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-review-fa88__hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-index-review-fa88__cta-button:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-fa88__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
  border-radius: 8px;
}

.page-index-review-fa88__content-section {
  padding: 60px 20px;
}

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

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

.page-index-review-fa88__light-bg {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.page-index-review-fa88__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-index-review-fa88__sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-index-review-fa88__text-block {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: inherit;
}

.page-index-review-fa88__text-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-fa88__text-block a:hover {
  text-decoration: underline;
  color: #e0b800;
}

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

.page-index-review-fa88__game-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px 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: var(--text-dark);
}

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

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

.page-index-review-fa88__game-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-index-review-fa88__game-card-description {
  font-size: 15px;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index-review-fa88__game-card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-review-fa88__game-card-button:hover {
  background: #061742;
}

.page-index-review-fa88__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-index-review-fa88__list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.page-index-review-fa88__list-icon {
  font-size: 20px;
  margin-right: 10px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.page-index-review-fa88__numbered-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  counter-reset: list-counter;
}

.page-index-review-fa88__numbered-list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.page-index-review-fa88__list-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  font-size: 14px;
  margin-right: 10px;
  flex-shrink: 0;
}

.page-index-review-fa88__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* FAQ Styles */
.page-index-review-fa88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

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

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

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

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

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

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

.page-index-review-fa88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-toggle {
  color: var(--primary-color);
}

/* 🚨 Responsive Design for Images and general content */
@media (max-width: 1024px) {
  .page-index-review-fa88__hero-title {
    font-size: 38px;
  }
  .page-index-review-fa88__hero-description {
    font-size: 17px;
  }
  .page-index-review-fa88__section-title {
    font-size: 32px;
  }
  .page-index-review-fa88__sub-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  /* 🚨 Fixed Header Padding - Mobile */
  .page-index-review-fa88__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-review-fa88__hero-title {
    font-size: 30px;
  }
  .page-index-review-fa88__hero-description {
    font-size: 16px;
  }
  .page-index-review-fa88__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index-review-fa88__cta-button--large {
    padding: 15px 40px;
    font-size: 18px;
  }

  .page-index-review-fa88__content-section {
    padding: 40px 15px;
  }

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

  .page-index-review-fa88__sub-title {
    font-size: 20px;
    margin-top: 25px;
  }

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

  .page-index-review-fa88__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-index-review-fa88__game-image {
    height: 180px;
  }

  .page-index-review-fa88__game-card-title {
    font-size: 20px;
  }
  
  /* FAQ Mobile Styles */
  .page-index-review-fa88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-fa88__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-fa88__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index-review-fa88__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
    padding: 15px !important;
  }

  /* 🚨 Mobile image responsive styles - MUST use !important */
  .page-index-review-fa88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-fa88__section,
  .page-index-review-fa88__card,
  .page-index-review-fa88__container,
  .page-index-review-fa88__hero-container,
  .page-index-review-fa88__hero-image,
  .page-index-review-fa88__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-review-fa88__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}