/* style/index-review-saobet.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

.page-index-review-saobet {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-color-dark-bg); /* Main text color for body background #0a0a0a */
  background-color: #0a0a0a; /* Inherited from shared.css, specified here for clarity */
}

.page-index-review-saobet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Fixed header spacing for desktop */
.page-index-review-saobet__intro-section {
  padding-top: 120px; /* Adjust based on fixed header height */
}

.page-index-review-saobet__dark-bg {
  background-color: #1a1a1a;
  color: var(--text-color-dark-bg);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-saobet__main-title,
.page-index-review-saobet__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-index-review-saobet__intro-text,
.page-index-review-saobet__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index-review-saobet__image-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.page-index-review-saobet__intro-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.page-index-review-saobet__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 35px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-review-saobet__cta-button--primary {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-color-dark-bg);
  border: none;
}

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

.page-index-review-saobet__cta-button--secondary {
  background: linear-gradient(135deg, var(--secondary-color), #e0a800);
  color: var(--text-color-light-bg);
  border: none;
}

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

.page-index-review-saobet__review-criteria-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-index-review-saobet__review-card {
  background: var(--card-bg);
  color: var(--text-color-light-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-review-saobet__review-heading {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-review-saobet__review-paragraph {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-color-light-bg);
}

.page-index-review-saobet__review-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-saobet__game-library-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

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

.page-index-review-saobet__game-type-card {
  background: var(--card-bg);
  color: var(--text-color-light-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-saobet__game-type-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-index-review-saobet__game-type-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color-light-bg);
}

.page-index-review-saobet__promotions-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

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

.page-index-review-saobet__promotion-card {
  background: var(--card-bg);
  color: var(--text-color-light-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  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 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-review-saobet__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-index-review-saobet__promotion-description {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color-light-bg);
}

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

.page-index-review-saobet__promotion-button:hover {
  background-color: #e0a800;
}

.page-index-review-saobet__guide-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

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

.page-index-review-saobet__guide-step-card {
  background: var(--card-bg);
  color: var(--text-color-light-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-saobet__guide-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-saobet__guide-step-description {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color-light-bg);
}

.page-index-review-saobet__guide-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-color-dark-bg);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-review-saobet__guide-button:hover {
  background-color: #0056b3;
}

.page-index-review-saobet__pros-cons-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-index-review-saobet__pros-cons-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-saobet__pros-card,
.page-index-review-saobet__cons-card {
  background: var(--card-bg);
  color: var(--text-color-light-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: 30px;
}

.page-index-review-saobet__pros-title,
.page-index-review-saobet__cons-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.page-index-review-saobet__pros-title {
  color: #28a745;
}

.page-index-review-saobet__cons-title {
  color: #dc3545;
}

.page-index-review-saobet__pros-list,
.page-index-review-saobet__cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index-review-saobet__pros-list li,
.page-index-review-saobet__cons-list li {
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.page-index-review-saobet__list-icon {
  margin-right: 10px;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

.page-index-review-saobet__pros-list .page-index-review-saobet__list-icon {
  color: #28a745;
}

.page-index-review-saobet__cons-list .page-index-review-saobet__list-icon {
  color: #dc3545;
}

.page-index-review-saobet__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-index-review-saobet__faq-list {
  margin-top: 40px;
}

.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, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-color-light-bg);
}

.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: var(--card-bg);
  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: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-light-bg);
}

.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: #333;
  transform: rotate(45deg); /* Change + to X */
}

.page-index-review-saobet__news-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

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

.page-index-review-saobet__news-card {
  background: var(--card-bg);
  color: var(--text-color-light-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-saobet__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-index-review-saobet__news-link {
  text-decoration: none;
  color: inherit;
}

.page-index-review-saobet__news-link:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-index-review-saobet__news-excerpt {
  font-size: 15px;
  line-height: 1.7;
  padding: 0 15px;
  margin-bottom: 15px;
  color: var(--text-color-light-bg);
}

.page-index-review-saobet__read-more {
  display: inline-block;
  padding: 8px 15px;
  background: var(--secondary-color);
  color: var(--text-color-light-bg);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 15px 15px 15px;
  transition: background-color 0.3s ease;
}

.page-index-review-saobet__read-more:hover {
  background-color: #e0a800;
}

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

.page-index-review-saobet__link:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-saobet__main-title,
  .page-index-review-saobet__section-title {
    font-size: 30px;
  }

  .page-index-review-saobet__intro-text,
  .page-index-review-saobet__section-description {
    font-size: 16px;
  }

  .page-index-review-saobet__pros-cons-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index-review-saobet__container {
    padding: 20px 15px;
  }

  .page-index-review-saobet__intro-section {
    padding-top: 100px !important; /* Mobile fixed header spacing */
  }

  .page-index-review-saobet__dark-bg {
    padding: 25px;
    margin-bottom: 25px;
  }

  .page-index-review-saobet__main-title,
  .page-index-review-saobet__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-index-review-saobet__intro-text,
  .page-index-review-saobet__section-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

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

  .page-index-review-saobet__review-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-index-review-saobet__review-heading {
    font-size: 24px;
  }

  .page-index-review-saobet__review-paragraph {
    font-size: 15px;
  }

  .page-index-review-saobet__game-types,
  .page-index-review-saobet__promotions-grid,
  .page-index-review-saobet__guide-steps,
  .page-index-review-saobet__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }

  .page-index-review-saobet__game-type-card,
  .page-index-review-saobet__promotion-card,
  .page-index-review-saobet__guide-step-card,
  .page-index-review-saobet__news-card {
    padding: 20px;
  }

  .page-index-review-saobet__game-type-title,
  .page-index-review-saobet__promotion-title {
    font-size: 20px;
  }

  .page-index-review-saobet__guide-step-title {
    font-size: 22px;
  }

  .page-index-review-saobet__pros-card,
  .page-index-review-saobet__cons-card {
    padding: 25px;
  }

  .page-index-review-saobet__pros-title,
  .page-index-review-saobet__cons-title {
    font-size: 22px;
  }

  .page-index-review-saobet__pros-list li,
  .page-index-review-saobet__cons-list li {
    font-size: 15px;
  }

  .page-index-review-saobet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-saobet__faq-question h3 {
    font-size: 16px;
    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;
  }

  .page-index-review-saobet__news-title {
    font-size: 18px;
  }

  .page-index-review-saobet__news-image {
    height: 180px;
  }
  
  /* Ensure all images are responsive on mobile */
  .page-index-review-saobet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-saobet__section,
  .page-index-review-saobet__card,
  .page-index-review-saobet__container,
  .page-index-review-saobet__image-wrapper,
  .page-index-review-saobet__review-card,
  .page-index-review-saobet__game-type-card,
  .page-index-review-saobet__promotion-card,
  .page-index-review-saobet__guide-step-card,
  .page-index-review-saobet__pros-card,
  .page-index-review-saobet__cons-card,
  .page-index-review-saobet__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}