/* style/index-review-fa88.css */
:root {
    --primary-color: #8B0000;
    --secondary-color: #FFD700;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --background-dark: #111;
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-fa88 {
    color: var(--text-on-dark); /* Default text color for dark body background */
    background-color: var(--background-dark);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

/* Intro Section */
.page-index-review-fa88__intro-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 120px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #a00000 100%);
    color: var(--text-on-dark);
}

.page-index-review-fa88__intro-banner {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-fa88__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-fa88__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-on-dark);
}

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

.page-index-review-fa88__btn-primary,
.page-index-review-fa88__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index-review-fa88__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

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

.page-index-review-fa88__btn-secondary {
    background: #444;
    color: var(--text-on-dark);
}

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

/* General Section Styling */
.page-index-review-fa88__section {
    padding: 60px 0;
    color: var(--text-on-light);
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
}

.page-index-review-fa88__section:nth-of-type(even) {
    background-color: var(--background-light);
}

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

/* Overview Section */
.page-index-review-fa88__overview {
    background-color: var(--card-background);
}

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

.page-index-review-fa88__feature-card {
    background: var(--background-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
    border: 1px solid var(--border-color);
}

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

.page-index-review-fa88__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-review-fa88__feature-card p {
    font-size: 0.95em;
    color: var(--text-on-light);
}

/* Detailed Review Section */
.page-index-review-fa88__detailed-review {
    background-color: var(--background-light);
}

.page-index-review-fa88__review-item {
    background: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--text-on-light);
    border: 1px solid var(--border-color);
}

.page-index-review-fa88__review-heading {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-review-fa88__review-item p {
    font-size: 1.0em;
    line-height: 1.7;
    color: var(--text-on-light);
}

.page-index-review-fa88__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page-index-review-fa88__game-types {
    background-color: var(--card-background);
}

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

.page-index-review-fa88__game-type-card {
    background: var(--background-light);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
    border: 1px solid var(--border-color);
}

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

.page-index-review-fa88__game-type-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-fa88__game-type-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-review-fa88__game-type-card p {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-on-light);
    margin-bottom: 20px;
}

.page-index-review-fa88__btn-view-games {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-on-dark);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index-review-fa88__btn-view-games:hover {
    background: #a00000;
}

/* Promotions Section */
.page-index-review-fa88__promotions {
    background-color: var(--background-light);
}

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

.page-index-review-fa88__promo-card {
    background: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
    border: 1px solid var(--border-color);
}

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

.page-index-review-fa88__promo-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-index-review-fa88__promo-card p {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-on-light);
    margin-bottom: 20px;
}

.page-index-review-fa88__btn-promo {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-on-dark);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index-review-fa88__btn-promo:hover {
    background: #a00000;
}

/* How to Join Section */
.page-index-review-fa88__how-to-join {
    background-color: var(--card-background);
}

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

.page-index-review-fa88__step-card {
    background: var(--background-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
    border: 1px solid var(--border-color);
}

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

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

.page-index-review-fa88__step-card p {
    font-size: 1.0em;
    line-height: 1.6;
    color: var(--text-on-light);
    margin-bottom: 20px;
}

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

.page-index-review-fa88__btn-step:hover {
    background: #ffc107;
}

/* FAQ Section */
.page-index-review-fa88__faq-section {
    background-color: var(--background-light);
}

.page-index-review-fa88__faq-list {
    margin-top: 40px;
}

.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: var(--card-background);
    border-radius: 0 0 5px 5px;
    color: var(--text-on-light);
}

.page-index-review-fa88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-background);
    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;
}

.page-index-review-fa88__faq-question:hover {
    background: var(--background-light);
    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(--text-on-light);
}

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

/* Latest News Section */
.page-index-review-fa88__latest-news {
    background-color: var(--card-background);
}

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

.page-index-review-fa88__news-card {
    background: var(--background-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
    border: 1px solid var(--border-color);
}

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

.page-index-review-fa88__news-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-index-review-fa88__news-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-on-light);
    margin-bottom: 15px;
}

.page-index-review-fa88__btn-read-more {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-on-dark);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index-review-fa88__btn-read-more:hover {
    background: #a00000;
}

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

    .page-index-review-fa88__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-review-fa88__intro-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-review-fa88__container {
        padding: 0 15px;
    }

    .page-index-review-fa88__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-index-review-fa88__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-index-review-fa88__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-review-fa88__btn-primary,
    .page-index-review-fa88__btn-secondary,
    .page-index-review-fa88__btn-view-games,
    .page-index-review-fa88__btn-promo,
    .page-index-review-fa88__btn-step,
    .page-index-review-fa88__btn-read-more {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
    }

    .page-index-review-fa88__section {
        padding: 40px 0;
    }

    .page-index-review-fa88__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-index-review-fa88__feature-card,
    .page-index-review-fa88__review-item,
    .page-index-review-fa88__game-type-card,
    .page-index-review-fa88__promo-card,
    .page-index-review-fa88__step-card,
    .page-index-review-fa88__news-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .page-index-review-fa88__review-heading {
        font-size: 1.4em;
    }

    .page-index-review-fa88__feature-icon {
        width: 80px;
    }

    .page-index-review-fa88__game-type-image,
    .page-index-review-fa88__news-image,
    .page-index-review-fa88__intro-banner,
    .page-index-review-fa88__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

/* Contrast Fixes - Ensure text is readable on all backgrounds */
.page-index-review-fa88 h1, .page-index-review-fa88 h2, .page-index-review-fa88 h3, .page-index-review-fa88 p, .page-index-review-fa88 li, .page-index-review-fa88 a {
    /* Default for dark body background */
    color: var(--text-on-dark);
}

.page-index-review-fa88__section,
.page-index-review-fa88__feature-card,
.page-index-review-fa88__review-item,
.page-index-review-fa88__game-type-card,
.page-index-review-fa88__promo-card,
.page-index-review-fa88__step-card,
.page-index-review-fa88__news-card,
.page-index-review-fa88__faq-question,
.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
    /* These sections/cards have light backgrounds, so use dark text */
    color: var(--text-on-light);
}

.page-index-review-fa88__section-title,
.page-index-review-fa88__feature-title,
.page-index-review-fa88__review-heading,
.page-index-review-fa88__game-type-title,
.page-index-review-fa88__promo-title,
.page-index-review-fa88__step-title,
.page-index-review-fa88__news-title a {
    /* Titles can use primary color, but ensure contrast */
    color: var(--primary-color);
}

.page-index-review-fa88__promo-title {
    color: var(--secondary-color);
}

.page-index-review-fa88__btn-primary,
.page-index-review-fa88__btn-step {
    color: var(--primary-color);
}

.page-index-review-fa88__btn-secondary,
.page-index-review-fa88__btn-view-games,
.page-index-review-fa88__btn-promo,
.page-index-review-fa88__btn-read-more {
    color: var(--text-on-dark);
}