/* style/index-review-fabet.css */

/* Biến CSS */
:root {
  --primary-color: #8B0000; /* Deep Red */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-dark: #111;
  --background-light: #f1f3f5;
  --card-background-light: #ffffff;
  --border-light: #e0e0e0;
}

.page-index-review-fabet {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Body background from shared.css */
  line-height: 1.6;
}

/* Fixed Nav Bar Spacing */
.page-index-review-fabet__hero-review-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-index-review-fabet__section {
  padding: 60px 20px;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-index-review-fabet__page-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for main title */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-index-review-fabet__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-fabet__rating-summary {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  color: var(--secondary-color);
}

.page-index-review-fabet__stars {
  color: var(--secondary-color);
  margin-right: 10px;
}

.page-index-review-fabet__score {
  font-weight: bold;
}

.page-index-review-fabet__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--secondary-color), #FFC107); /* Gold gradient */
  color: var(--primary-color); /* Deep Red text on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.page-index-review-fabet__cta-button:hover {
  background: linear-gradient(135deg, #FFC107, var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: var(--primary-color);
}

.page-index-review-fabet__main-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-index-review-fabet__card {
  background-color: var(--card-background-light); /* White background for cards */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  margin-bottom: 30px;
  color: var(--text-dark); /* Dark text for light background cards */
  border: 1px solid var(--border-light);
}

.page-index-review-fabet__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Deep Red for card titles */
  margin-bottom: 20px;
  text-align: center;
}

.page-index-review-fabet__card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-index-review-fabet__card .page-index-review-fabet__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-review-fabet__dark-bg {
  background-color: var(--primary-color); /* Deep Red background */
  color: var(--text-light); /* Light text */
}

.page-index-review-fabet__dark-bg .page-index-review-fabet__card-title {
  color: var(--secondary-color); /* Gold title on dark background */
}

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

.page-index-review-fabet__light-bg {
  background-color: var(--card-background-light); /* White background */
  color: var(--text-dark); /* Dark text */
}

.page-index-review-fabet__light-bg .page-index-review-fabet__card-title {
  color: var(--primary-color); /* Deep Red title on light background */
}

.page-index-review-fabet__light-bg p {
  color: var(--text-dark);
}

.page-index-review-fabet__how-to-play ol {
  list-style-type: decimal;
  margin-left: 20px;
  padding-left: 0;
  color: var(--text-light);
}

.page-index-review-fabet__how-to-play li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-index-review-fabet__how-to-play li strong {
  color: var(--secondary-color);
}

.page-index-review-fabet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-index-review-fabet__list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-index-review-fabet__list li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.page-index-review-fabet__pros-cons .page-index-review-fabet__card {
  margin-bottom: 0; /* Remove extra margin for grid layout */
}

/* FAQ Styles */
.page-index-review-fabet__faq-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-index-review-fabet__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-review-fabet__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-fabet__faq-item.active .page-index-review-fabet__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #222;
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}

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

.page-index-review-fabet__faq-question:hover {
  background: #444;
  border-color: #555;
}

.page-index-review-fabet__faq-question:active {
  background: #555;
}

.page-index-review-fabet__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-index-review-fabet__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color); /* Gold toggle icon */
  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-fabet__faq-item.active .page-index-review-fabet__faq-toggle {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fabet__page-title {
    font-size: 36px;
  }
  .page-index-review-fabet__section-title {
    font-size: 28px;
  }
  .page-index-review-fabet__intro-text {
    font-size: 17px;
  }
  .page-index-review-fabet__cta-button {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-index-review-fabet__card-title {
    font-size: 22px;
  }
  .page-index-review-fabet__card p, .page-index-review-fabet__list li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fabet__hero-review-section {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
  }
  .page-index-review-fabet__section {
    padding: 40px 15px;
  }
  .page-index-review-fabet__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-review-fabet__page-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-index-review-fabet__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-index-review-fabet__intro-text {
    font-size: 16px;
  }
  .page-index-review-fabet__cta-button {
    font-size: 16px;
    padding: 10px 25px;
    margin-top: 30px;
  }
  .page-index-review-fabet__main-image {
    margin-bottom: 30px;
    border-radius: 8px;
  }
  .page-index-review-fabet__card {
    padding: 25px;
    margin-bottom: 20px;
  }
  .page-index-review-fabet__card-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .page-index-review-fabet__card p, .page-index-review-fabet__list li {
    font-size: 14px;
  }
  .page-index-review-fabet__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-fabet__how-to-play ol, .page-index-review-fabet__list {
    margin-left: 15px;
  }
  .page-index-review-fabet__how-to-play li {
    font-size: 15px;
  }

  /* FAQ Responsive */
  .page-index-review-fabet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-review-fabet__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-index-review-fabet__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-index-review-fabet__faq-answer {
    padding: 0 15px;
  }
  .page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
    padding: 15px !important;
  }
  
  /* Mobile image specific styles */
  .page-index-review-fabet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-index-review-fabet__section, .page-index-review-fabet__card, .page-index-review-fabet__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}