/* style/index-review-saobet.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --dark-bg-1: #1a1a2e; /* Giả định từ shared.css, cần tương thích */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --medium-gray: #f1f3f5;
  --border-color: #e0e0e0;
}

.page-index-review-saobet {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-text-color); /* Default text color for light backgrounds */
  background-color: var(--medium-gray);
}

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

/* --- Review Content Section (Module 1.5) --- */
.page-index-review-saobet__review-content-section {
  padding: 40px 20px;
  background: var(--medium-gray);
}

.page-index-review-saobet__review-content-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-index-review-saobet__review-content-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-index-review-saobet__main-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

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

.page-index-review-saobet__review-body {
  color: var(--dark-text-color);
  line-height: 1.7;
  font-size: 16px;
}

.page-index-review-saobet__review-body p {
  margin-bottom: 16px;
}

.page-index-review-saobet__review-body strong {
    color: var(--primary-color);
}

.page-index-review-saobet__inline-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* --- Overview Section (Module 2) --- */
.page-index-review-saobet__overview-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-index-review-saobet__overview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-review-saobet__overview-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--light-text-color);
}

.page-index-review-saobet__overview-content p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 17px;
}

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

.page-index-review-saobet__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-index-review-saobet__feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-index-review-saobet__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-saobet__feature-item p {
  font-size: 15px;
  color: #e0e0e0;
}

/* --- Games Section (Module 3) --- */
.page-index-review-saobet__games-section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-review-saobet__light-bg {
  background: #ffffff;
  color: var(--dark-text-color);
}

.page-index-review-saobet__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.page-index-review-saobet__games-description {
  font-size: 17px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-saobet__game-card {
  background: var(--medium-gray);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-saobet__game-category-img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide */
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-saobet__game-card p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
}

/* --- Promotions Section (Module 4) --- */
.page-index-review-saobet__promotions-section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-review-saobet__promotions-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-index-review-saobet__promotions-title {
  font-size: 30px;
  font-weight: bold;
  color: var(--light-text-color);
  margin-bottom: 20px;
}

.page-index-review-saobet__promotions-intro {
  font-size: 17px;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-saobet__promotion-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-saobet__promotion-img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide */
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-saobet__promotion-card p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
}

/* --- News Section (Module 5) --- */
.page-index-review-saobet__news-section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-review-saobet__news-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.page-index-review-saobet__news-intro {
  font-size: 17px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-saobet__article-card {
  background: var(--medium-gray);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding-bottom: 25px; /* Adjust padding for button at bottom */
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-saobet__article-img {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}

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

.page-index-review-saobet__article-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-saobet__article-link:hover {
  text-decoration: underline;
  color: #0066cc;
}

.page-index-review-saobet__article-excerpt {
  font-size: 15px;
  color: #555555;
  margin-bottom: 15px;
  padding: 0 20px;
  flex-grow: 1; /* Allow excerpt to take available space */
}

.page-index-review-saobet__article-date {
  font-size: 13px;
  color: #888888;
  padding: 0 20px;
}

/* --- FAQ Section --- */
.page-index-review-saobet__faq-section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-review-saobet__faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-index-review-saobet__faq-title {
  font-size: 30px;
  font-weight: bold;
  color: var(--light-text-color);
  margin-bottom: 40px;
}

.page-index-review-saobet__faq-list {
  text-align: left;
}

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

.page-index-review-saobet__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-saobet__faq-item.active .page-index-review-saobet__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

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

.page-index-review-saobet__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-saobet__faq-question:active {
  background: #eeeeee;
}

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

.page-index-review-saobet__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-saobet__faq-item.active .page-index-review-saobet__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* --- CTA Buttons --- */
.page-index-review-saobet__cta-wrapper {
  margin-top: 40px;
}

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

.page-index-review-saobet__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-index-review-saobet__btn-primary:hover {
  background: darken(var(--secondary-color), 10%);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-saobet__btn-secondary {
  background: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.page-index-review-saobet__btn-secondary:hover {
  background: darken(var(--primary-color), 10%);
  color: var(--light-text-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-index-review-saobet__review-content-card,
  .page-index-review-saobet__overview-container,
  .page-index-review-saobet__games-container,
  .page-index-review-saobet__promotions-container,
  .page-index-review-saobet__news-container,
  .page-index-review-saobet__faq-container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .page-index-review-saobet__review-content-section {
    padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
    padding: 20px 15px;
  }

  .page-index-review-saobet__review-content-card,
  .page-index-review-saobet__overview-container,
  .page-index-review-saobet__games-container,
  .page-index-review-saobet__promotions-container,
  .page-index-review-saobet__news-container,
  .page-index-review-saobet__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-review-saobet__review-content-card {
    padding: 24px 20px;
  }

  .page-index-review-saobet__main-title {
    font-size: 28px;
  }

  .page-index-review-saobet__sub-title,
  .page-index-review-saobet__overview-title,
  .page-index-review-saobet__games-title,
  .page-index-review-saobet__promotions-title,
  .page-index-review-saobet__news-title,
  .page-index-review-saobet__faq-title {
    font-size: 24px;
  }

  .page-index-review-saobet__review-body p,
  .page-index-review-saobet__overview-content p,
  .page-index-review-saobet__games-description,
  .page-index-review-saobet__promotions-intro,
  .page-index-review-saobet__news-intro {
    font-size: 15px;
  }

  .page-index-review-saobet__feature-item {
    padding: 20px;
  }

  .page-index-review-saobet__feature-title,
  .page-index-review-saobet__game-category-title,
  .page-index-review-saobet__promotion-card-title,
  .page-index-review-saobet__article-card-title {
    font-size: 20px;
  }

  .page-index-review-saobet__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-index-review-saobet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-saobet__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-saobet__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index-review-saobet__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-review-saobet__faq-item.active .page-index-review-saobet__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive */
  .page-index-review-saobet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}