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

/* 🚨 Cần thiết để đảm bảo nội dung không bị che bởi header cố định */
.page-index-review-fa88__main-review-section {
  padding-top: 120px; /* Desktop: Điều chỉnh dựa trên chiều cao header */
  padding-bottom: 40px;
  background-color: var(--bg-light);
  color: var(--text-dark); /* Đảm bảo màu chữ tương phản với nền */
}

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

.page-index-review-fa88__title {
  font-size: 38px;
  font-weight: bold;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-index-review-fa88__intro-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-fa88__intro-text a:hover {
  text-decoration: underline;
}

.page-index-review-fa88__review-summary-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-review-fa88__summary-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.page-index-review-fa88__summary-content {
  display: flex;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.page-index-review-fa88__summary-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-index-review-fa88__summary-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-review-fa88__summary-text {
  flex: 2;
  text-align: left;
}

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

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

.page-index-review-fa88__summary-text p a:hover {
  text-decoration: underline;
}

.page-index-review-fa88__section-heading {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

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

.page-index-review-fa88__review-item {
  padding: 30px;
  text-align: center;
}

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

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

.page-index-review-fa88__review-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

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

.page-index-review-fa88__review-item p a:hover {
  text-decoration: underline;
}

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

.page-index-review-fa88__game-card {
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

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

.page-index-review-fa88__game-card-title a {
  color: var(--text-dark);
  text-decoration: none;
}

.page-index-review-fa88__game-card-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-index-review-fa88__game-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-index-review-fa88__game-card p a:hover {
  text-decoration: underline;
}

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

.page-index-review-fa88__promotion-card {
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-index-review-fa88__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-index-review-fa88__promotion-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-index-review-fa88__promotion-card p a:hover {
  text-decoration: underline;
}

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

.page-index-review-fa88__blog-card {
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-index-review-fa88__blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-index-review-fa88__blog-title a {
  color: var(--text-dark);
  text-decoration: none;
}

.page-index-review-fa88__blog-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-index-review-fa88__blog-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-index-review-fa88__blog-excerpt a:hover {
  text-decoration: underline;
}

.page-index-review-fa88__read-more {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-review-fa88__read-more:hover {
  background: #1a7ad0;
}

.page-index-review-fa88__faq-list {
  margin-bottom: 60px;
}

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

.page-index-review-fa88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.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: #333;
  transform: rotate(45deg);
}

.page-index-review-fa88__conclusion-card {
  padding: 40px;
  text-align: center;
}

.page-index-review-fa88__conclusion-card p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #444444;
}

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

.page-index-review-fa88__conclusion-card p a:hover {
  text-decoration: underline;
}

.page-index-review-fa88__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-index-review-fa88__cta-button--primary {
  background: linear-gradient(135deg, var(--primary-color), #f7b733);
  color: var(--text-light);
}

.page-index-review-fa88__cta-button--primary:hover {
  background: linear-gradient(135deg, #f7b733, #FFD700);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-fa88__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--text-light);
}

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

.page-index-review-fa88__card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
}

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

/* 🚨 Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fa88__title {
    font-size: 34px;
  }
  .page-index-review-fa88__section-heading {
    font-size: 28px;
  }
  .page-index-review-fa88__summary-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index-review-fa88__summary-text {
    text-align: center;
  }
  .page-index-review-fa88__review-summary-card {
    padding: 30px;
  }
  .page-index-review-fa88__summary-title {
    font-size: 28px;
  }
  .page-index-review-fa88__item-image, .page-index-review-fa88__game-image, .page-index-review-fa88__promotion-image, .page-index-review-fa88__blog-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-index-review-fa88__main-review-section {
    padding-top: 100px !important; /* Mobile: Điều chỉnh dựa trên chiều cao header */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-fa88__container {
    padding: 0 15px;
  }
  .page-index-review-fa88__title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-index-review-fa88__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index-review-fa88__review-summary-card {
    padding: 20px;
    margin-bottom: 40px;
  }
  .page-index-review-fa88__summary-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-index-review-fa88__summary-text p {
    font-size: 15px;
  }
  .page-index-review-fa88__section-heading {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-index-review-fa88__review-grid, .page-index-review-fa88__game-showcase, .page-index-review-fa88__promotions-grid, .page-index-review-fa88__blog-posts {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .page-index-review-fa88__review-item, .page-index-review-fa88__game-card, .page-index-review-fa88__promotion-card, .page-index-review-fa88__blog-card {
    padding: 20px;
  }
  .page-index-review-fa88__item-title {
    font-size: 20px;
  }
  .page-index-review-fa88__game-card-title, .page-index-review-fa88__promotion-title, .page-index-review-fa88__blog-title {
    font-size: 18px;
  }
  .page-index-review-fa88__game-image, .page-index-review-fa88__promotion-image, .page-index-review-fa88__blog-image {
    height: 150px;
  }
  .page-index-review-fa88__cta-button {
    padding: 12px 25px;
    font-size: 14px;
  }
  .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;
  }
  .page-index-review-fa88__conclusion-card {
    padding: 20px;
  }
  .page-index-review-fa88__conclusion-card p {
    font-size: 16px;
  }

  /* 🚨 Mobile image responsive adaptation */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}