/* style/index-review-saobet.css */
:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --bg-light-card: #ffffff;
    --border-color: #e0e0e0;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-index-review-saobet {
    color: var(--text-light); /* Body background is dark (#000), so use light text */
    background: #0d0d0d; /* Slightly lighter than pure black for sections */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Fixed navigation bar spacing */
.page-index-review-saobet__intro-section {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

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

.page-index-review-saobet__intro-section {
    background: linear-gradient(135deg, var(--primary-color), #0d0d0d);
    padding-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-index-review-saobet__intro-text {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-saobet__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-index-review-saobet__link-inline {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.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;
    text-align: center;
    white-space: nowrap;
}

.page-index-review-saobet__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: none;
}

.page-index-review-saobet__btn-primary:hover {
    background: #ffd000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-review-saobet__btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-review-saobet__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-index-review-saobet__review-section {
    background: #f1f3f5; /* Light background for main content cards */
    padding: 60px 0;
    color: var(--text-dark); /* Dark text on light background */
}

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

.page-index-review-saobet__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.page-index-review-saobet__content-card {
    background: var(--bg-light-card);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--text-dark);
}

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

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

.page-index-review-saobet__feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-index-review-saobet__feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 16px;
}

.page-index-review-saobet__feature-list li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 18px;
    line-height: 1.6;
    flex-shrink: 0;
}

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

.page-index-review-saobet__image-medium {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

.page-index-review-saobet__game-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-saobet__game-image {
    width: 100%;
    height: 180px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.page-index-review-saobet__game-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index-review-saobet__game-item p {
    font-size: 14px;
    color: #666666;
}

.page-index-review-saobet__pros-cons {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.page-index-review-saobet__pros, .page-index-review-saobet__cons {
    flex: 1;
    background: #fcfcfc;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-review-saobet__pros h3 {
    color: #28a745; /* Green for Pros */
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.page-index-review-saobet__cons h3 {
    color: #dc3545; /* Red for Cons */
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

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

.page-index-review-saobet__pros li, .page-index-review-saobet__cons li {
    margin-bottom: 8px;
    font-size: 15px;
    position: relative;
    padding-left: 25px;
}

.page-index-review-saobet__pros li::before {
    content: '✔';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

.page-index-review-saobet__cons li::before {
    content: '✖';
    color: #dc3545;
    position: absolute;
    left: 0;
    top: 0;
}

.page-index-review-saobet__step-list {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
    margin-top: 20px;
}

.page-index-review-saobet__step-list li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    color: var(--text-dark);
}

.page-index-review-saobet__step-list li::before {
    content: counter(step-counter);
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* FAQ styles */
.page-index-review-saobet__faq-list {
  margin-top: 40px;
}

.page-index-review-saobet__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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 20px;
  opacity: 0;
}

.page-index-review-saobet__faq-item.active .page-index-review-saobet__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px !important;
  opacity: 1;
  background: #fefefe;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--border-color);
}

.page-index-review-saobet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-light-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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(--primary-color);
}

.page-index-review-saobet__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f0f0f0;
}

.page-index-review-saobet__faq-item.active .page-index-review-saobet__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-saobet__main-title {
        font-size: 36px;
    }
    .page-index-review-saobet__intro-text {
        font-size: 16px;
    }
    .page-index-review-saobet__section-title {
        font-size: 28px;
    }
    .page-index-review-saobet__content-card {
        padding: 25px;
    }
    .page-index-review-saobet__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .page-index-review-saobet__pros-cons {
        flex-direction: column;
        gap: 20px;
    }
    .page-index-review-saobet__pros, .page-index-review-saobet__cons {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-index-review-saobet__intro-section {
        padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
    }
    .page-index-review-saobet__container {
        padding: 0 15px;
    }
    .page-index-review-saobet__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-index-review-saobet__intro-text {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-index-review-saobet__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-index-review-saobet__review-section {
        padding: 40px 0;
    }
    .page-index-review-saobet__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-index-review-saobet__content-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-index-review-saobet__content-card h3 {
        font-size: 19px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-index-review-saobet__content-card p {
        font-size: 15px;
    }
    .page-index-review-saobet__image-full-width,
    .page-index-review-saobet__image-medium,
    .page-index-review-saobet__game-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-index-review-saobet__game-item {
        padding: 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: 28px;
        height: 28px;
        font-size: 24px;
    }
    .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;
    }
}