/* style/index-review-fa88.css */

/* Biến CSS cục bộ cho trang */
:root {
    --primary-color-fa88: #FFD700; /* Vàng kim */
    --secondary-color-fa88: #8B0000; /* Đỏ đậm */
    --text-color-light-bg: #333333;
    --text-color-dark-bg: #ffffff;
    --card-bg-color: #ffffff;
    --section-bg-light: #f1f3f5; /* Nền sáng */
    --section-bg-dark: var(--dark-bg-1); /* Nền tối từ shared.css */
    --border-color-light: #e0e0e0;
}

/* CSS Reset/Base for this page */
.page-index-review-fa88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Mặc định chữ trắng trên nền tối của body */
    background-color: var(--section-bg-dark);
    padding-top: 120px; /* Đảm bảo nội dung không bị che bởi header cố định */
}

/* Hero Section */
.page-index-review-fa88__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: Đảm bảo nội dung không bị che bởi header cố định */
    background: linear-gradient(135deg, var(--primary-color-fa88), var(--secondary-color-fa88));
    color: var(--text-color-dark-bg);
    overflow: hidden;
}

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

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

.page-index-review-fa88__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-dark-bg);
}

.page-index-review-fa88__main-title .page-index-review-fa88__link {
    color: var(--primary-color-fa88);
    text-decoration: underline;
}

.page-index-review-fa88__main-title .page-index-review-fa88__link:hover {
    color: #ffd966;
}

.page-index-review-fa88__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-index-review-fa88__hero-description .page-index-review-fa88__link {
    color: #f0f0f0;
    text-decoration: underline;
}

.page-index-review-fa88__hero-description .page-index-review-fa88__link:hover {
    color: var(--primary-color-fa88);
}

.page-index-review-fa88__hero-image {
    width: 100%;
    margin-top: 30px;
    max-width: 1000px;
}

.page-index-review-fa88__hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-index-review-fa88__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color-fa88);
}

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

.page-index-review-fa88__content-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-color-light-bg);
}

/* Introduction Section */
.page-index-review-fa88__introduction-section {
    padding: 60px 0;
    background-color: var(--section-bg-light);
}

.page-index-review-fa88__introduction-section .page-index-review-fa88__section-title {
    color: var(--secondary-color-fa88);
}

.page-index-review-fa88__introduction-section p {
    font-size: 17px;
    margin-bottom: 15px;
}

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

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

.page-index-review-fa88__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index-review-fa88__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    border-radius: 8px;
}

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

.page-index-review-fa88__feature-item p {
    font-size: 15px;
    color: #555555;
}

/* Detailed Review Section */
.page-index-review-fa88__detailed-review-section {
    padding: 60px 0;
    background-color: var(--section-bg-light);
}

.page-index-review-fa88__detailed-review-section .page-index-review-fa88__section-title {
    color: var(--secondary-color-fa88);
}

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

.page-index-review-fa88__content-card p {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Games Section */
.page-index-review-fa88__games-section {
    padding: 60px 0;
    background-color: var(--section-bg-dark);
    color: var(--text-color-dark-bg);
}

.page-index-review-fa88__games-section .page-index-review-fa88__section-title {
    color: var(--primary-color-fa88);
}

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

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

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

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

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

.page-index-review-fa88__game-title .page-index-review-fa88__link {
    color: var(--secondary-color-fa88);
    text-decoration: none;
}

.page-index-review-fa88__game-title .page-index-review-fa88__link:hover {
    text-decoration: underline;
}

.page-index-review-fa88__game-description {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index-review-fa88__promotions-section {
    padding: 60px 0;
    background-color: var(--section-bg-light);
}

.page-index-review-fa88__promotions-section .page-index-review-fa88__section-title {
    color: var(--secondary-color-fa88);
}

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

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

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

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

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

.page-index-review-fa88__promotion-description {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
}

/* News Section */
.page-index-review-fa88__news-section {
    padding: 60px 0;
    background-color: var(--section-bg-dark);
    color: var(--text-color-dark-bg);
}

.page-index-review-fa88__news-section .page-index-review-fa88__section-title {
    color: var(--primary-color-fa88);
}

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

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

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

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

.page-index-review-fa88__news-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color-fa88);
    margin-bottom: 10px;
}

.page-index-review-fa88__news-title .page-index-review-fa88__link {
    color: var(--secondary-color-fa88);
    text-decoration: none;
}

.page-index-review-fa88__news-title .page-index-review-fa88__link:hover {
    text-decoration: underline;
}

.page-index-review-fa88__news-excerpt {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
}

.page-index-review-fa88__read-more {
    display: inline-block;
    color: var(--primary-color-fa88);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-fa88__read-more:hover {
    color: var(--secondary-color-fa88);
    text-decoration: underline;
}

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

.page-index-review-fa88__faq-section .page-index-review-fa88__section-title {
    color: var(--secondary-color-fa88);
}

.page-index-review-fa88__faq-list {
    max-width: 900px;
    margin: 40px auto 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, 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: var(--card-bg-color);
    border: 1px solid var(--border-color-light);
    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: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-light-bg);
}

.page-index-review-fa88__faq-question h3 .page-index-review-fa88__link {
    color: var(--text-color-light-bg);
    text-decoration: none;
}

.page-index-review-fa88__faq-question h3 .page-index-review-fa88__link:hover {
    text-decoration: underline;
}

.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-fa88);
    transform: rotate(45deg);
}

/* CTA Buttons */
.page-index-review-fa88__cta-button {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-index-review-fa88__btn-primary {
    background: var(--primary-color-fa88);
    color: var(--text-color-dark-bg);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.page-index-review-fa88__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.page-index-review-fa88__btn-secondary {
    background: var(--secondary-color-fa88);
    color: var(--text-color-dark-bg);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.page-index-review-fa88__btn-secondary:hover {
    background: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
}

/* Text Links */
.page-index-review-fa88__link {
    color: var(--primary-color-fa88);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-fa88__link:hover {
    color: var(--secondary-color-fa88);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-fa88__main-title {
        font-size: 40px;
    }
    .page-index-review-fa88__section-title {
        font-size: 32px;
    }
    .page-index-review-fa88__sub-title {
        font-size: 24px;
    }
    .page-index-review-fa88__hero-section {
        padding-top: 160px; /* Tablet */
    }
}

@media (max-width: 768px) {
    .page-index-review-fa88 {
        padding-top: 100px; /* Mobile */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-review-fa88__hero-section {
        padding-top: 160px !important; /* Mobile: Đảm bảo nội dung không bị che bởi header cố định */
        padding: 40px 15px;
    }

    .page-index-review-fa88__hero-container {
        flex-direction: column-reverse; /* Đảo ngược thứ tự ảnh và nội dung trên di động */
    }

    .page-index-review-fa88__hero-content {
        margin-bottom: 20px;
    }

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

    .page-index-review-fa88__hero-description {
        font-size: 17px;
        margin-bottom: 25px;
    }

    .page-index-review-fa88__hero-image {
        margin-top: 0;
    }

    .page-index-review-fa88__hero-img {
        border-radius: 8px;
    }

    .page-index-review-fa88__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }

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

    .page-index-review-fa88__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-review-fa88__content-card {
        padding: 25px;
    }

    .page-index-review-fa88__sub-title {
        font-size: 22px;
        margin-top: 30px;
    }

    .page-index-review-fa88__content-card p {
        font-size: 16px;
    }

    .page-index-review-fa88__features-grid,
    .page-index-review-fa88__games-grid,
    .page-index-review-fa88__promotion-grid,
    .page-index-review-fa88__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-index-review-fa88__feature-title {
        font-size: 20px;
    }

    .page-index-review-fa88__game-image,
    .page-index-review-fa88__promotion-image,
    .page-index-review-fa88__news-image {
        height: 150px;
    }

    .page-index-review-fa88__game-title,
    .page-index-review-fa88__promotion-title,
    .page-index-review-fa88__news-title {
        font-size: 20px;
    }

    .page-index-review-fa88__game-description,
    .page-index-review-fa88__promotion-description,
    .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: 16px;
        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 are responsive and do not overflow */
    .page-index-review-fa88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-index-review-fa88__section,
    .page-index-review-fa88__card,
    .page-index-review-fa88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}