:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg-1: #0d0d0d; /* Assuming this is from shared.css */
}

.page-index-review-fa88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-color-dark);
}

/* Fixed Nav Bar Spacing */
.page-index-review-fa88__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
}

.page-index-review-fa88__introduction-section,
.page-index-review-fa88__review-section,
.page-index-review-fa88__promotions-section,
.page-index-review-fa88__faq-section,
.page-index-review-fa88__cta-section {
    padding: 60px 20px;
}

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

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

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

.page-index-review-fa88__section-title {
    font-size: 32px;
    font-weight: bold;
    color: inherit;
    text-align: center;
    margin-bottom: 40px;
}

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

.page-index-review-fa88__subtitle {
    font-size: 20px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-fa88__paragraph {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-index-review-fa88__paragraph--center {
    text-align: center;
}

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

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

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

.page-index-review-fa88__hero-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    background-image: url('[GALLERY:content:fa88_hero_banner_background,baccarat_game,online_casino]'); /* Using a background image for hero banner */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-index-review-fa88__hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7); /* Dark overlay for text readability */
    z-index: 1;
}

.page-index-review-fa88__hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-index-review-fa88__introduction-section .page-index-review-fa88__image-wrapper,
.page-index-review-fa88__review-card .page-index-review-fa88__image-wrapper,
.page-index-review-fa88__game-card .page-index-review-fa88__image-wrapper,
.page-index-review-fa88__promotion-card .page-index-review-fa88__image-wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-review-fa88__content-image,
.page-index-review-fa88__game-image,
.page-index-review-fa88__promotion-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-index-review-fa88__review-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    color: var(--text-color-dark);
}

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

.page-index-review-fa88__core-games-section .page-index-review-fa88__section-title {
    color: var(--text-color-light);
}

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

.page-index-review-fa88__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    color: var(--text-color-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-review-fa88__game-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

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

.page-index-review-fa88__cta-button--small {
    padding: 10px 20px;
    font-size: 16px;
}

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

.page-index-review-fa88__promotion-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    color: var(--text-color-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

/* FAQ Styles */
.page-index-review-fa88__faq-section .page-index-review-fa88__section-title {
    color: var(--text-color-dark);
}

.page-index-review-fa88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-review-fa88__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-fa88__faq-item.active .page-index-review-fa88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index-review-fa88__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-fa88__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-fa88__faq-question:active {
  background: #eeeeee;
}

.page-index-review-fa88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-index-review-fa88__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-fa88__faq-item.active .page-index-review-fa88__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

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

.page-index-review-fa88__link-in-faq:hover {
    text-decoration: underline;
}

.page-index-review-fa88__cta-section {
    text-align: center;
}

.page-index-review-fa88__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-review-fa88__main-title {
        font-size: 40px;
    }
    .page-index-review-fa88__section-title {
        font-size: 28px;
    }
    .page-index-review-fa88__review-card,
    .page-index-review-fa88__game-card,
    .page-index-review-fa88__promotion-card {
        padding: 25px;
    }
    .page-index-review-fa88__card-title {
        font-size: 22px;
    }
    .page-index-review-fa88__game-name {
        font-size: 18px;
    }
    .page-index-review-fa88__promotion-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-index-review-fa88__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
        min-height: 300px;
    }
    .page-index-review-fa88__introduction-section,
    .page-index-review-fa88__review-section,
    .page-index-review-fa88__core-games-section,
    .page-index-review-fa88__promotions-section,
    .page-index-review-fa88__faq-section,
    .page-index-review-fa88__cta-section {
        padding: 40px 15px;
    }
    .page-index-review-fa88__container {
        padding: 0;
    }
    .page-index-review-fa88__main-title {
        font-size: 32px;
    }
    .page-index-review-fa88__subtitle {
        font-size: 16px;
    }
    .page-index-review-fa88__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-index-review-fa88__paragraph {
        font-size: 15px;
    }
    .page-index-review-fa88__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-index-review-fa88__review-card,
    .page-index-review-fa88__game-card,
    .page-index-review-fa88__promotion-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-index-review-fa88__card-title {
        font-size: 20px;
    }
    .page-index-review-fa88__game-name {
        font-size: 17px;
    }
    .page-index-review-fa88__promotion-title {
        font-size: 18px;
    }
    .page-index-review-fa88__game-card-grid,
    .page-index-review-fa88__promotion-grid {
        gap: 20px;
    }
    .page-index-review-fa88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-fa88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-fa88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-fa88__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
        padding: 15px !important;
    }
    .page-index-review-fa88__cta-title {
        font-size: 28px;
    }
    .page-index-review-fa88__cta-description {
        font-size: 16px;
    }
    /* Mobile image adaptation - must be !important */
    .page-index-review-fa88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-fa88__section,
    .page-index-review-fa88__card,
    .page-index-review-fa88__container,
    .page-index-review-fa88__review-card,
    .page-index-review-fa88__game-card,
    .page-index-review-fa88__promotion-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}