/* style/index-review-fa88.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark-card: rgba(0, 0, 0, 0.2);
  --border-light: #e0e0e0;
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-index-review-fa88 {
  color: var(--text-light); /* Default light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, typically dark */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-index-review-fa88__main-title,
.page-index-review-fa88__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-light); /* Default light text */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-index-review-fa88__intro-text,
.page-index-review-fa88__overview-section p {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-index-review-fa88__intro-text strong {
  color: var(--secondary-color);
}

/* Specific section backgrounds for contrast */
.page-index-review-fa88__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-index-review-fa88__light-bg .page-index-review-fa88__main-title,
.page-index-review-fa88__light-bg .page-index-review-fa88__section-title {
  color: var(--text-dark);
}

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

.page-index-review-fa88__dark-bg .page-index-review-fa88__main-title,
.page-index-review-fa88__dark-bg .page-index-review-fa88__section-title {
  color: var(--text-light);
}

/* Fixed navigation bar spacing */
.page-index-review-fa88__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

/* Main Visual */
.page-index-review-fa88__main-visual,
.page-index-review-fa88__gameplay-image,
.page-index-review-fa88__mobile-app-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* CTA Buttons */
.page-index-review-fa88__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index-review-fa88__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 220px;
}

.page-index-review-fa88__cta-button--primary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-index-review-fa88__cta-button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-index-review-fa88__cta-button--secondary {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.page-index-review-fa88__cta-button--secondary:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

/* Card Grid for Evaluation Factors */
.page-index-review-fa88__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-fa88__card {
  background-color: var(--text-light); /* White background for cards */
  color: var(--text-dark); /* Dark text on white background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index-review-fa88__card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-index-review-fa88__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

/* Steps Container */
.page-index-review-fa88__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-review-fa88__step-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.2s ease;
}

.page-index-review-fa88__step-card:hover {
  transform: translateY(-3px);
}

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

/* Pros and Cons Section */
.page-index-review-fa88__pros-cons-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-fa88__pros-card,
.page-index-review-fa88__cons-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.page-index-review-fa88__pros-card h3,
.page-index-review-fa88__cons-card h3 {
  color: var(--primary-color);
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.page-index-review-fa88__pros-card ul,
.page-index-review-fa88__cons-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index-review-fa88__pros-card li,
.page-index-review-fa88__cons-card li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 16px;
}

.page-index-review-fa88__pros-card li::before {
  content: '✔';
  color: green;
  font-weight: bold;
  margin-right: 10px;
  font-size: 18px;
  line-height: 1.5;
}

.page-index-review-fa88__cons-card li::before {
  content: '✖';
  color: red;
  font-weight: bold;
  margin-right: 10px;
  font-size: 18px;
  line-height: 1.5;
}

.page-index-review-fa88__text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-review-fa88__text-link:hover {
  color: #e0a800;
  text-decoration: underline;
}

/* FAQ Section */
.page-index-review-fa88__faq-list {
  margin-top: 40px;
}

.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, opacity 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;
}

.page-index-review-fa88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  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;
}

.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: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-index-review-fa88__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-fa88__faq-item.active .page-index-review-fa88__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Rotate to form an 'X' or minus sign */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fa88__main-title,
  .page-index-review-fa88__section-title {
    font-size: 32px;
  }
  .page-index-review-fa88__intro-text,
  .page-index-review-fa88__overview-section p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fa88__container {
    padding: 30px 15px;
  }

  .page-index-review-fa88__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
  }

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

  .page-index-review-fa88__intro-text,
  .page-index-review-fa88__overview-section p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-index-review-fa88__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-review-fa88__cta-button {
    width: 100%;
    min-width: unset;
    font-size: 16px;
    padding: 12px 20px;
  }

  .page-index-review-fa88__card-grid,
  .page-index-review-fa88__steps-container,
  .page-index-review-fa88__pros-cons-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-fa88__card,
  .page-index-review-fa88__step-card,
  .page-index-review-fa88__pros-card,
  .page-index-review-fa88__cons-card {
    padding: 20px;
  }

  .page-index-review-fa88__card-title {
    font-size: 20px;
  }

  .page-index-review-fa88__step-title {
    font-size: 18px;
  }

  .page-index-review-fa88__pros-card h3,
  .page-index-review-fa88__cons-card h3 {
    font-size: 22px;
  }

  .page-index-review-fa88__pros-card li,
  .page-index-review-fa88__cons-card li {
    font-size: 15px;
  }

  .page-index-review-fa88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-fa88__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-fa88__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .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;
  }
  /* Ensure all images are responsive */
  .page-index-review-fa88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-fa88__intro-section,
  .page-index-review-fa88__overview-section,
  .page-index-review-fa88__evaluation-factors-section,
  .page-index-review-fa88__game-experience-section,
  .page-index-review-fa88__registration-download-section,
  .page-index-review-fa88__pros-cons-section,
  .page-index-review-fa88__conclusion-section,
  .page-index-review-fa88__faq-section,
  .page-index-review-fa88__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}