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

:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-index-review-fa88 {
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

.page-index-review-fa88__intro-section {
    padding-top: 120px; /* Adjust for fixed header */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--text-light);
    text-align: center;
}

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

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

.page-index-review-fa88__intro-text {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-index-review-fa88__action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

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

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

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

.page-index-review-fa88__review-content-section {
    padding: 60px 0;
    background: var(--bg-light);
}

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

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

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

.page-index-review-fa88__review-body h3 {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-review-fa88__review-body p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-index-review-fa88__review-point {
    margin-bottom: 25px;
}

.page-index-review-fa88__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-fa88__text-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

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

.page-index-review-fa88__section-description {
    font-size: 1.1em;
    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);
    border-radius: 12px;
    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;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
}

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

.page-index-review-fa88__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 250px; /* Ensure minimum size */
    height: 180px; /* Ensure minimum size */
}

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

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

.page-index-review-fa88__btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index-review-fa88__btn-small:hover {
    background: #218838;
    transform: translateY(-2px);
}

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

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

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

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

.page-index-review-fa88__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 250px; /* Ensure minimum size */
    height: 180px; /* Ensure minimum size */
}

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

.page-index-review-fa88__promo-item p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.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;
    background: rgba(255, 255, 255, 0.08);
}

.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 20px;
    opacity: 0;
    color: var(--text-light);
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    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: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-light);
}

.page-index-review-fa88__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-index-review-fa88__faq-question:active {
    background: rgba(255, 255, 255, 0.2);
}

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

.page-index-review-fa88__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--accent-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: var(--text-light);
    transform: rotate(45deg);
}

.page-index-review-fa88__blog-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.page-index-review-fa88__view-all-button {
    text-align: center;
    margin-top: 40px;
}

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

.page-index-review-fa88__blog-card {
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-fa88__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-index-review-fa88__blog-content {
    padding: 20px;
    color: var(--text-dark);
}

.page-index-review-fa88__blog-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.page-index-review-fa88__blog-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-index-review-fa88__blog-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-index-review-fa88__blog-date {
    font-size: 0.85em;
    color: #6c757d;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-index-review-fa88__main-title {
        font-size: 2.8em;
    }
    .page-index-review-fa88__section-title {
        font-size: 2em;
    }
    .page-index-review-fa88__review-content-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-review-fa88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-fa88__intro-section {
        padding-top: 100px !important; /* Adjust for mobile fixed header */
        padding-bottom: 40px;
    }
    .page-index-review-fa88__container,
    .page-index-review-fa88__review-content-container {
        padding: 0 15px;
    }
    .page-index-review-fa88__main-title {
        font-size: 2.2em;
    }
    .page-index-review-fa88__intro-text {
        font-size: 1em;
    }
    .page-index-review-fa88__action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-review-fa88__btn-primary,
    .page-index-review-fa88__btn-secondary,
    .page-index-review-fa88__btn-small {
        width: 100%;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-review-fa88__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-review-fa88__review-content-card {
        padding: 20px;
    }
    .page-index-review-fa88__review-body h3 {
        font-size: 1.4em;
    }
    .page-index-review-fa88__review-body p {
        font-size: 0.95em;
    }
    .page-index-review-fa88__game-image,
    .page-index-review-fa88__promo-image {
        width: 100%; /* Full width on mobile */
        height: auto;
        max-height: 150px; /* Limit height for better display */
    }
    .page-index-review-fa88__faq-question h3 {
        font-size: 15px;
        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__blog-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .page-index-review-fa88__main-title {
        font-size: 1.8em;
    }
    .page-index-review-fa88__section-title {
        font-size: 1.5em;
    }
    .page-index-review-fa88__intro-text {
        font-size: 0.9em;
    }
}