/* style/index-review-saobet.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark-card: rgba(255, 255, 255, 0.1);
  --border-light: #e0e0e0;
  --neutral-bg: #f1f3f5;
}

.page-index-review-saobet {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
  line-height: 1.7;
  font-family: 'Arial', sans-serif;
}

/* Offset for fixed header */
.page-index-review-saobet__hero-review-section {
  padding-top: 120px; /* Desktop offset */
}

@media (max-width: 768px) {
  .page-index-review-saobet__hero-review-section {
    padding-top: 100px; /* Mobile offset */
  }
}

.page-index-review-saobet__hero-review-section {
  background: linear-gradient(135deg, var(--secondary-color), #000050);
  padding-bottom: 60px;
  text-align: center;
}

.page-index-review-saobet__hero-review-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-review-saobet__main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-review-saobet__intro-text {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-index-review-saobet__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-index-review-saobet__cta-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index-review-saobet__cta-button--large {
  padding: 18px 45px;
  font-size: 20px;
}

.page-index-review-saobet__content-section {
  padding: 60px 0;
}

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

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

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

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

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

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

.page-index-review-saobet__text-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}

.page-index-review-saobet__text-block p {
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
}

.page-index-review-saobet__text-block--reverse {
  flex-direction: column-reverse;
}

.page-index-review-saobet__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

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

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

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

.page-index-review-saobet__review-card p {
  font-size: 16px;
  line-height: 1.6;
}

.page-index-review-saobet__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

.page-index-review-saobet__game-card {
  background: var(--background-dark-card);
  color: var(--text-light);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

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

.page-index-review-saobet__game-card-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-review-saobet__game-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-index-review-saobet__game-card-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-saobet__step-item {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-review-saobet__step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

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

.page-index-review-saobet__step-item p {
  font-size: 15px;
  line-height: 1.6;
}

.page-index-review-saobet__faq-list {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-index-review-saobet__faq-item.active .page-index-review-saobet__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--neutral-bg);
  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-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.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(--secondary-color);
}

.page-index-review-saobet__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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-saobet__faq-item.active .page-index-review-saobet__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

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

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

  .page-index-review-saobet__review-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-index-review-saobet__game-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-index-review-saobet__game-card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-index-review-saobet__main-title {
    font-size: 30px;
  }

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

  .page-index-review-saobet__section-title {
    font-size: 24px;
  }

  .page-index-review-saobet__text-block {
    flex-direction: column;
  }

  .page-index-review-saobet__text-block--reverse {
    flex-direction: column;
  }

  .page-index-review-saobet__image {
    max-width: 100%;
  }

  .page-index-review-saobet__review-grid {
    grid-template-columns: 1fr;
  }

  .page-index-review-saobet__game-showcase-grid {
    grid-template-columns: 1fr;
  }

  .page-index-review-saobet__game-card-image {
    height: 220px;
  }

  .page-index-review-saobet__guide-steps {
    grid-template-columns: 1fr;
  }

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

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

  .page-index-review-saobet__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
  }
}