/* style/index-review-tot88.css */
:root {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #0A0A0A; /* Đen sâu */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0A0A0A;
  --background-light: #ffffff;
  --card-background-light: #ffffff;
  --card-background-dark: rgba(255, 255, 255, 0.08);
  --border-color: #e0e0e0;
  --button-hover-dark: #FFC107;
}

.page-index-review-tot88 {
  color: var(--text-light); /* Mặc định chữ sáng trên nền tối của body */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 0; /* Sẽ được ghi đè bởi hero-section hoặc section đầu tiên */
}

/* Highlight keyword */
.page-index-review-tot88 .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* 🚨 桌面端HERO主图区域样式（必须严格遵守） */
.page-index-review-tot88__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* 桌面端：根据导航栏实际高度调整，通常为120-200px */
  background: linear-gradient(135deg, var(--secondary-color), #222222); /* Nền gradient tối */
  color: var(--text-light);
  overflow: hidden;
}

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

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

.page-index-review-tot88__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-index-review-tot88__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-index-review-tot88__hero-image {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-index-review-tot88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  border: none;
}

.page-index-review-tot88__cta-button:hover {
  background: var(--button-hover-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-index-review-tot88__cta-button--large {
  padding: 18px 50px;
  font-size: 1.3em;
}

/* General Section Styles */
.page-index-review-tot88__section {
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-index-review-tot88__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-index-review-tot88__dark-bg .page-index-review-tot88__section-title {
  color: var(--primary-color);
}

.page-index-review-tot88__light-bg .page-index-review-tot88__section-title {
  color: var(--secondary-color);
}

.page-index-review-tot88__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-review-tot88__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.page-index-review-tot88__dark-bg .page-index-review-tot88__sub-title {
  color: var(--text-light);
}

.page-index-review-tot88__light-bg .page-index-review-tot88__sub-title {
  color: var(--secondary-color);
}

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

.page-index-review-tot88__card {
  background: var(--card-background-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index-review-tot88__dark-bg .page-index-review-tot88__card {
  background: var(--card-background-dark);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-index-review-tot88__dark-bg .page-index-review-tot88__card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-review-tot88__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-index-review-tot88__dark-bg .page-index-review-tot88__feature-title {
  color: var(--primary-color);
}

.page-index-review-tot88__feature-text {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-index-review-tot88__list {
  list-style: none;
  padding: 0;
  margin: 20px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-index-review-tot88__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: inherit;
}

.page-index-review-tot88__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-index-review-tot88__list--two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
}

.page-index-review-tot88__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-tot88__card.page-index-review-tot88__pros .page-index-review-tot88__sub-title {
  color: #28a745; /* Green for pros */
}

.page-index-review-tot88__card.page-index-review-tot88__cons .page-index-review-tot88__sub-title {
  color: #dc3545; /* Red for cons */
}

.page-index-review-tot88__image-container {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88__dark-bg .page-index-review-tot88__image-container {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index-review-tot88__img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%; /* Ensure image takes full width of its container */
  object-fit: cover;
}

/* FAQ Styles */
.page-index-review-tot88__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-tot88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-tot88__light-bg .page-index-review-tot88__faq-item {
  border: 1px solid var(--border-color);
}

.page-index-review-tot88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-index-review-tot88__light-bg .page-index-review-tot88__faq-question {
  background: #fff;
  border-color: var(--border-color);
}

.page-index-review-tot88__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-index-review-tot88__light-bg .page-index-review-tot88__faq-question:hover {
  background: #f5f5f5;
}

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

.page-index-review-tot88__light-bg .page-index-review-tot88__faq-question h3 {
  color: var(--text-dark);
}

.page-index-review-tot88__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
  transform: rotate(45deg); /* Change to 'x' visually */
  color: var(--primary-color);
}

.page-index-review-tot88__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 20px;
  opacity: 0;
  text-align: left;
  color: var(--text-light);
}

.page-index-review-tot88__light-bg .page-index-review-tot88__faq-answer {
  color: var(--text-dark);
}

.page-index-review-tot88__faq-answer p {
  margin: 0;
  padding-bottom: 15px;
  font-size: 1em;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
  max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
}

.page-index-review-tot88__light-bg .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
  background: #f9f9f9;
}

/* 🚨 移动端响应式设计（必须严格遵守） */
@media (max-width: 768px) {
  .page-index-review-tot88__hero-section {
    padding-top: 140px !important; /* 移动端：根据移动端导航栏实际高度调整 */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-review-tot88__hero-title {
    font-size: 2.2em;
  }

  .page-index-review-tot88__hero-description {
    font-size: 1em;
  }

  .page-index-review-tot88__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-index-review-tot88__section {
    padding: 50px 15px;
  }

  .page-index-review-tot88__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index-review-tot88__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
  }

  .page-index-review-tot88__paragraph,
  .page-index-review-tot88__feature-text,
  .page-index-review-tot88__list-item {
    font-size: 0.95em;
  }

  .page-index-review-tot88__feature-grid,
  .page-index-review-tot88__grid-2-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-tot88__list--two-cols {
    grid-template-columns: 1fr;
  }

  .page-index-review-tot88__faq-question {
    padding: 15px;
  }

  .page-index-review-tot88__faq-question h3 {
    font-size: 1em;
  }

  .page-index-review-tot88__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-index-review-tot88__faq-answer {
    padding: 0 15px;
  }

  .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    padding: 15px !important;
  }

  /* 🚨 移动端强制适配（必须包含） */
  .page-index-review-tot88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-tot88__section,
  .page-index-review-tot88__card,
  .page-index-review-tot88__container,
  .page-index-review-tot88__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-tot88__hero-section .page-index-review-tot88__container {
    padding-left: 0;
    padding-right: 0;
  }
}