/* style/index-review-saobet.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f1f3f5;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
}

/* Ensure the main content area has enough top padding to clear the fixed header */
.page-index-review-saobet {
    padding-top: 0; /* Initial value, will be overridden by specific sections */
    color: var(--text-color-dark);
    background: var(--background-light);
}

/* HERO Section */
.page-index-review-saobet__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust based on navigation bar height */
    background: linear-gradient(135deg, var(--primary-color), #004d99); /* Darker gradient for text contrast */
    color: var(--text-color-light);
}

.page-index-review-saobet__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-review-saobet__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index-review-saobet__hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-index-review-saobet__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

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

.page-index-review-saobet__hero-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

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

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

/* General Section & Card Styles */
.page-index-review-saobet__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-index-review-saobet__card {
    background: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.page-index-review-saobet__secondary-heading {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color-dark);
    margin-bottom: 30px;
    text-align: center;
}

.page-index-review-saobet__secondary-heading--white {
    color: var(--text-color-light);
}

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

.page-index-review-saobet__paragraph {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

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

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

.page-index-review-saobet__link:hover {
    text-decoration: underline;
}

.page-index-review-saobet__review-introduction-section,
.page-index-review-saobet__detailed-review-section,
.page-index-review-saobet__promotions-section,
.page-index-review-saobet__registration-section,
.page-index-review-saobet__faq-section,
.page-index-review-saobet__conclusion-section {
    padding: 40px 0;
    background: var(--background-light);
}

.page-index-review-saobet__review-item {
    margin-bottom: 25px;
}

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

.page-index-review-saobet__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 15px;
}

/* Game Showcase Section */
.page-index-review-saobet__game-showcase-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), #004d99);
    text-align: center;
}

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

.page-index-review-saobet__game-card {
    background: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-index-review-saobet__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%; /* Ensure image fills card width */
    aspect-ratio: 4/3; /* Maintain aspect ratio */
}

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

.page-index-review-saobet__game-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions List */
.page-index-review-saobet__promotion-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.page-index-review-saobet__promotion-item {
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-index-review-saobet__promotion-item strong {
    color: var(--primary-color);
}

/* Registration Steps */
.page-index-review-saobet__step-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.page-index-review-saobet__step-item {
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-index-review-saobet__step-item strong {
    color: var(--primary-color);
}

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

.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 #e0e0e0;
  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(--text-color-dark);
}

.page-index-review-saobet__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

.page-index-review-saobet__faq-item.active .page-index-review-saobet__faq-toggle {
  color: var(--text-color-dark);
  transform: rotate(45deg); /* Change + to X or similar */
}

/* Conclusion Section */
.page-index-review-saobet__conclusion-section .page-index-review-saobet__card {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-saobet__main-heading {
        font-size: 36px;
    }
    .page-index-review-saobet__hero-description {
        font-size: 17px;
    }
    .page-index-review-saobet__secondary-heading {
        font-size: 28px;
    }
    .page-index-review-saobet__tertiary-heading {
        font-size: 22px;
    }
    .page-index-review-saobet__paragraph,
    .page-index-review-saobet__promotion-item,
    .page-index-review-saobet__step-item,
    .page-index-review-saobet__game-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-index-review-saobet__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust for mobile nav bar */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-saobet__hero-img {
        border-radius: 4px;
    }
    .page-index-review-saobet__main-heading {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .page-index-review-saobet__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-index-review-saobet__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-index-review-saobet__container {
        padding: 0 15px;
    }
    .page-index-review-saobet__card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    .page-index-review-saobet__secondary-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-index-review-saobet__tertiary-heading {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-index-review-saobet__paragraph,
    .page-index-review-saobet__promotion-item,
    .page-index-review-saobet__step-item,
    .page-index-review-saobet__game-description {
        font-size: 14px;
    }
    .page-index-review-saobet__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-review-saobet__game-image {
        aspect-ratio: 3/2; /* Adjust aspect ratio for mobile cards */
    }
    
    /* Ensure all images are responsive and prevent horizontal scroll */
    .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__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

@media (max-width: 480px) {
    .page-index-review-saobet__main-heading {
        font-size: 26px;
    }
    .page-index-review-saobet__hero-description {
        font-size: 15px;
    }
    .page-index-review-saobet__cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }
    .page-index-review-saobet__secondary-heading {
        font-size: 22px;
    }
    .page-index-review-saobet__tertiary-heading {
        font-size: 18px;
    }
    .page-index-review-saobet__paragraph,
    .page-index-review-saobet__promotion-item,
    .page-index-review-saobet__step-item,
    .page-index-review-saobet__game-description {
        font-size: 13px;
    }
    .page-index-review-saobet__card {
        padding: 20px 15px;
    }
}