/* style/index-review-fa88.css */
:root {
    --primary-color: #FF4500;
    --secondary-color: #00CED1;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-grey: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
    --dark-bg-1: #1a1a1a; /* Assuming shared.css defines this as a dark background */
}

.page-index-review-fa88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for the main page content, assuming a dark body background from shared.css */
    background-color: var(--dark-bg-1); /* Ensure page content matches body background if not explicitly set by a section */
}

/* Fixed nav bar spacing for the first content section */
.page-index-review-fa88__hero-placeholder-section {
    padding-top: 120px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-review-fa88__hero-placeholder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.page-index-review-fa88__intro-text {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

.page-index-review-fa88__cta-button:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-fa88__image-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index-review-fa88__overview-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-index-review-fa88__review-content-section {
    padding: 60px 20px;
    background: var(--background-grey);
    color: var(--text-dark);
}

.page-index-review-fa88__review-content-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-index-review-fa88__review-content-card {
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

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

.page-index-review-fa88__review-body {
    color: var(--text-dark);
    line-height: 1.7;
}

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

.page-index-review-fa88__review-body p {
    margin-bottom: 16px;
    font-size: 16px;
}

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

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

.page-index-review-fa88__featured-games-section {
    padding: 60px 20px;
    background: var(--dark-bg-1);
    color: var(--text-light);
}

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

.page-index-review-fa88__section-description {
    font-size: 17px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

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

.page-index-review-fa88__game-card {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-index-review-fa88__game-category-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

.page-index-review-fa88__game-category-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.page-index-review-fa88__game-category-button:hover {
    background: #e03c00;
}

.page-index-review-fa88__promotions-section {
    padding: 60px 20px;
    background: var(--background-grey);
    color: var(--text-dark);
}

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

.page-index-review-fa88__promo-card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

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

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

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

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

.page-index-review-fa88__promo-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-review-fa88__promo-description a:hover {
    text-decoration: underline;
}

.page-index-review-fa88__promo-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-index-review-fa88__promo-button:hover {
    background: #00a0a2;
}

.page-index-review-fa88__news-section {
    padding: 60px 20px;
    background: var(--dark-bg-1);
    color: var(--text-light);
}

.page-index-review-fa88__news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-index-review-fa88__news-item {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-fa88__news-image {
    width: 280px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-index-review-fa88__news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.page-index-review-fa88__news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

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

.page-index-review-fa88__news-title a:hover {
    color: #00a0a2;
    text-decoration: underline;
}

.page-index-review-fa88__news-excerpt {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.page-index-review-fa88__news-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.page-index-review-fa88__faq-section {
    padding: 60px 20px;
    background: var(--background-grey);
    color: var(--text-dark);
}

.page-index-review-fa88__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-fa88__main-title {
        font-size: 36px;
    }
    .page-index-review-fa88__intro-text {
        font-size: 17px;
    }
    .page-index-review-fa88__section-title {
        font-size: 28px;
    }
    .page-index-review-fa88__sub-title {
        font-size: 22px;
    }
    .page-index-review-fa88__game-category-title {
        font-size: 20px;
    }
    .page-index-review-fa88__promo-title {
        font-size: 22px;
    }
    .page-index-review-fa88__news-image {
        width: 200px;
        height: 150px;
    }
    .page-index-review-fa88__news-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-index-review-fa88__hero-placeholder-section {
        padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 40px;
    }
    .page-index-review-fa88__main-title {
        font-size: 30px;
    }
    .page-index-review-fa88__intro-text {
        font-size: 16px;
    }
    .page-index-review-fa88__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
    .page-index-review-fa88__section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-index-review-fa88__sub-title {
        font-size: 20px;
        margin-top: 20px;
    }
    .page-index-review-fa88__review-content-card {
        padding: 25px;
    }
    .page-index-review-fa88__review-body p {
        font-size: 15px;
    }
    .page-index-review-fa88__game-categories {
        grid-template-columns: 1fr;
    }
    .page-index-review-fa88__game-card {
        padding: 20px;
    }
    .page-index-review-fa88__game-category-image {
        height: 180px;
    }
    .page-index-review-fa88__game-category-title {
        font-size: 18px;
    }
    .page-index-review-fa88__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-index-review-fa88__promo-card {
        padding: 25px;
    }
    .page-index-review-fa88__promo-image {
        height: 180px;
    }
    .page-index-review-fa88__promo-title {
        font-size: 20px;
    }
    .page-index-review-fa88__news-item {
        flex-direction: column;
    }
    .page-index-review-fa88__news-image {
        width: 100%;
        height: 200px;
    }
    .page-index-review-fa88__news-content {
        padding: 15px;
    }
    .page-index-review-fa88__news-title {
        font-size: 17px;
    }
    .page-index-review-fa88__news-excerpt {
        font-size: 14px;
    }
    .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;
    }

    /* Ensure all images and their containers are responsive on mobile */
    .page-index-review-fa88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-fa88__hero-placeholder-section,
    .page-index-review-fa88__review-content-section,
    .page-index-review-fa88__featured-games-section,
    .page-index-review-fa88__promotions-section,
    .page-index-review-fa88__news-section,
    .page-index-review-fa88__faq-section,
    .page-index-review-fa88__review-content-container,
    .page-index-review-fa88__container,
    .page-index-review-fa88__game-card,
    .page-index-review-fa88__promo-card,
    .page-index-review-fa88__news-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}