/* style/index-review-saobet.css */
:root {
    --primary-color: #0056B3;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0a0a0a;
    --border-color: #e0e0e0;
}

.page-index-review-saobet {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
    padding-top: 120px; /* Adjust for fixed header */
}

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

/* Sections */
.page-index-review-saobet__intro-section,
.page-index-review-saobet__overview-section,
.page-index-review-saobet__games-section,
.page-index-review-saobet__promotions-section,
.page-index-review-saobet__detailed-review-section,
.page-index-review-saobet__faq-section,
.page-index-review-saobet__latest-news-section {
    padding: 60px 0;
}

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

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

.page-index-review-saobet__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-index-review-saobet__section-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* Intro Section */
.page-index-review-saobet__intro-section {
    text-align: center;
    padding: 80px 0;
}

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

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

.page-index-review-saobet__rating-summary {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-review-saobet__stars {
    color: var(--secondary-color);
    font-size: 28px;
    margin-right: 10px;
}

.page-index-review-saobet__rating-label {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-light);
}

.page-index-review-saobet__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-review-saobet__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.page-index-review-saobet__btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
    border-color: var(--secondary-color);
}

.page-index-review-saobet__btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-review-saobet__btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-index-review-saobet__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Overview Section */
.page-index-review-saobet__content-block {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

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

.page-index-review-saobet__content-block p {
    font-size: 16px;
    margin-bottom: 15px;
}

.page-index-review-saobet__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-index-review-saobet__list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-index-review-saobet__image-full-width {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Games Section */
.page-index-review-saobet__game-category {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
}

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

.page-index-review-saobet__image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-index-review-saobet__game-category p {
    font-size: 16px;
    margin-bottom: 20px;
}

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

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

.page-index-review-saobet__promo-card:hover {
    transform: translateY(-5px);
}

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

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

.page-index-review-saobet__promo-description {
    font-size: 15px;
    margin-bottom: 20px;
}

.page-index-review-saobet__note-text {
    text-align: center;
    font-style: italic;
    font-size: 14px;
    margin-top: 20px;
    color: var(--text-dark);
}

.page-index-review-saobet__view-all-promos {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-index-review-saobet__view-all-promos:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Detailed Review Section */
.page-index-review-saobet__review-dimension {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    color: var(--text-dark);
}

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

.page-index-review-saobet__dimension-title::before {
    content: '✅';
    margin-right: 10px;
    color: var(--secondary-color);
}

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

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

/* FAQ Section */
.page-index-review-saobet__faq-list {
    max-width: 900px;
    margin: 0 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;
}

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

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

/* Latest News Section */
.page-index-review-saobet__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-review-saobet__news-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.page-index-review-saobet__news-card:hover {
    transform: translateY(-5px);
}

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

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

.page-index-review-saobet__news-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-saobet__news-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-index-review-saobet__news-excerpt {
    font-size: 15px;
    margin: 0 15px 10px;
    line-height: 1.5;
}

.page-index-review-saobet__news-date {
    font-size: 13px;
    color: #888888;
    margin: 0 15px 15px;
    display: block;
}

.page-index-review-saobet__read-more {
    display: inline-block;
    margin: 0 15px 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-saobet__read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-index-review-saobet__view-all-news {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-index-review-saobet__view-all-news:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-saobet__section-title {
        font-size: 32px;
    }
    .page-index-review-saobet__main-title {
        font-size: 40px;
    }
    .page-index-review-saobet__intro-text {
        font-size: 18px;
    }
    .page-index-review-saobet__rating-label {
        font-size: 20px;
    }
    .page-index-review-saobet__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-index-review-saobet__content-block h3,
    .page-index-review-saobet__game-category-title,
    .page-index-review-saobet__promo-title,
    .page-index-review-saobet__dimension-title,
    .page-index-review-saobet__news-title {
        font-size: 20px;
    }
    .page-index-review-saobet__promo-image,
    .page-index-review-saobet__news-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-index-review-saobet {
        padding-top: 100px; /* Adjust for mobile fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-review-saobet__container {
        padding: 0 15px;
    }
    .page-index-review-saobet__intro-section,
    .page-index-review-saobet__overview-section,
    .page-index-review-saobet__games-section,
    .page-index-review-saobet__promotions-section,
    .page-index-review-saobet__detailed-review-section,
    .page-index-review-saobet__faq-section,
    .page-index-review-saobet__latest-news-section {
        padding: 40px 0;
    }
    .page-index-review-saobet__main-title {
        font-size: 32px;
    }
    .page-index-review-saobet__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-index-review-saobet__intro-text,
    .page-index-review-saobet__section-description,
    .page-index-review-saobet__content-block p,
    .page-index-review-saobet__list li,
    .page-index-review-saobet__game-category p,
    .page-index-review-saobet__promo-description,
    .page-index-review-saobet__review-dimension p,
    .page-index-review-saobet__news-excerpt {
        font-size: 15px;
    }
    .page-index-review-saobet__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-review-saobet__cta-button {
        width: 100%;
        max-width: 300px; /* Limit width for better appearance */
        margin-left: auto;
        margin-right: auto;
        padding: 12px 20px;
        font-size: 15px;
    }
    .page-index-review-saobet__promotions-grid,
    .page-index-review-saobet__news-grid {
        grid-template-columns: 1fr;
    }
    .page-index-review-saobet__content-block,
    .page-index-review-saobet__game-category,
    .page-index-review-saobet__promo-card,
    .page-index-review-saobet__review-dimension {
        padding: 20px;
    }
    .page-index-review-saobet__content-block h3,
    .page-index-review-saobet__game-category-title,
    .page-index-review-saobet__promo-title,
    .page-index-review-saobet__dimension-title,
    .page-index-review-saobet__news-title {
        font-size: 18px;
    }
    .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__promo-image,
    .page-index-review-saobet__news-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .page-index-review-saobet__main-title {
        font-size: 28px;
    }
    .page-index-review-saobet__section-title {
        font-size: 24px;
    }
    .page-index-review-saobet__rating-label {
        font-size: 18px;
    }
}