/* style/index-review-fa88.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E5B80B;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #000000;
  --card-background: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-index-review-fa88 {
  color: var(--text-color-light); /* Body background is dark, so text should be light */
  background-color: var(--background-dark);
  padding-top: 120px; /* Space for fixed header */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-index-review-fa88 {
    padding-top: 100px; /* Mobile space for fixed header */
  }
}

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

/* Review Content Section (Module 1.5) */
.page-index-review-fa88__review-content-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-index-review-fa88__review-content-container {
  max-width: 1400px; /* Wider for review content */
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-review-fa88__review-content-card {
  background: var(--card-background); /* Semi-transparent white on dark background */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  padding: 40px;
  color: var(--text-color-light);
}

.page-index-review-fa88__review-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-fa88__subtitle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--secondary-color);
  padding-left: 15px;
}

.page-index-review-fa88__review-body p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-color-light);
}

.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: #fff;
  text-decoration: underline;
}

.page-index-review-fa88__cta-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-review-fa88__cta-wrapper--center {
  text-align: center;
}

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

.page-index-review-fa88__cta-button--primary {
  background: linear-gradient(135deg, var(--primary-color), #2a5298);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.page-index-review-fa88__cta-button--primary:hover {
  background: linear-gradient(135deg, #2a5298, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-fa88__cta-button--secondary {
  background: linear-gradient(135deg, var(--secondary-color), #f7d34b);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-index-review-fa88__cta-button--secondary:hover {
  background: linear-gradient(135deg, #f7d34b, var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Games Section (Module 3) */
.page-index-review-fa88__games-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-index-review-fa88__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-fa88__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-fa88__game-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color-light);
}

.page-index-review-fa88__game-image {
  width: 100%;
  max-width: 300px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Min height requirement */
  min-width: 200px; /* Min width requirement */
}

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

.page-index-review-fa88__game-text {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section (Module 4) */
.page-index-review-fa88__promotions-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-index-review-fa88__promo-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color-light);
}

.page-index-review-fa88__promo-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Min height requirement */
  min-width: 200px; /* Min width requirement */
}

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

.page-index-review-fa88__promo-text {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Blog Section (Module 5) */
.page-index-review-fa88__blog-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-index-review-fa88__blog-post-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: var(--text-color-light);
  overflow: hidden;
}

.page-index-review-fa88__blog-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  min-width: 200px; /* Min width requirement */
}

.page-index-review-fa88__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-review-fa88__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

.page-index-review-fa88__blog-summary {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index-review-fa88__blog-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  align-self: flex-end;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-review-fa88__review-title {
    font-size: 32px;
  }
  .page-index-review-fa88__subtitle {
    font-size: 22px;
  }
  .page-index-review-fa88__section-title {
    font-size: 28px;
  }
  .page-index-review-fa88__section-description {
    font-size: 16px;
  }
  .page-index-review-fa88__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    min-width: 180px;
  }
  .page-index-review-fa88__games-grid, .page-index-review-fa88__promo-grid, .page-index-review-fa88__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-review-fa88__review-content-card {
    padding: 25px;
  }
  .page-index-review-fa88__review-title {
    font-size: 28px;
  }
  .page-index-review-fa88__subtitle {
    font-size: 20px;
  }
  .page-index-review-fa88__review-body p {
    font-size: 15px;
  }
  .page-index-review-fa88__section-title {
    font-size: 24px;
  }
  .page-index-review-fa88__section-description {
    font-size: 15px;
  }
  .page-index-review-fa88__cta-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .page-index-review-fa88__cta-button {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-index-review-fa88__games-grid, .page-index-review-fa88__promo-grid, .page-index-review-fa88__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index-review-fa88__game-image, .page-index-review-fa88__promo-image, .page-index-review-fa88__blog-image {
    min-width: unset;
  }
  .page-index-review-fa88__blog-image {
    height: 180px;
  }
  .page-index-review-fa88__blog-title {
    font-size: 18px;
  }
  .page-index-review-fa88__blog-summary {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-index-review-fa88__review-title {
    font-size: 24px;
  }
  .page-index-review-fa88__subtitle {
    font-size: 18px;
  }
  .page-index-review-fa88__review-body p {
    font-size: 14px;
  }
  .page-index-review-fa88__section-title {
    font-size: 22px;
  }
  .page-index-review-fa88__section-description {
    font-size: 14px;
  }
  .page-index-review-fa88__cta-button {
    font-size: 14px;
    padding: 10px 15px;
  }
  .page-index-review-fa88__blog-image {
    height: 150px;
  }
}