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

:root {
    --primary-color: #0056B3; /* Deep Blue */
    --secondary-color: #FFD700; /* Bright Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8;
    --background-medium: #e0e0e0;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

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

.page-index-review-fa88-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-index-review-fa88-hero-section {
    background: linear-gradient(135deg, var(--primary-color), #003f80); /* Slightly darker blue for gradient */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-review-fa88-hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Gold title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-fa88-hero-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e0e0e0; /* Lighter text for contrast */
}

.page-index-review-fa88-hero-section .page-index-review-fa88-cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color); /* Dark blue text on gold button */
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-review-fa88-hero-section .page-index-review-fa88-cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-index-review-fa88-hero-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-index-review-fa88-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-index-review-fa88-section:last-of-type {
    border-bottom: none;
}

.page-index-review-fa88-section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-index-review-fa88-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-index-review-fa88-section h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-review-fa88-section p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-index-review-fa88-section ul,
.page-index-review-fa88-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-index-review-fa88-section li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

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

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

.page-index-review-fa88-game-card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.page-index-review-fa88-game-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
    /* No filter to change color */
}

.page-index-review-fa88-game-card h3 {
    font-size: 1.5em;
    margin: 20px 15px 10px 15px;
    color: var(--primary-color);
}

.page-index-review-fa88-game-card h3 a {
    color: var(--primary-color); /* Ensure link text color is primary */
    text-decoration: none;
}

.page-index-review-fa88-game-card h3 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-index-review-fa88-game-card p {
    padding: 0 15px 20px 15px;
    font-size: 0.95em;
    flex-grow: 1; /* Ensure paragraphs take available space */
}

/* CTA Button general style */
.page-index-review-fa88-cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.page-index-review-fa88-cta-button:hover {
    background: #004085; /* Slightly darker primary on hover */
    transform: translateY(-2px);
}

/* Mobile features specific styling */
.page-index-review-fa88-mobile-features {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index-review-fa88-mobile-features img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* No filter to change color */
}

.page-index-review-fa88-mobile-features ul {
    list-style: none;
    padding-left: 0;
    flex: 1;
    min-width: 300px; /* Ensure list takes enough width */
}

.page-index-review-fa88-mobile-features li {
    background: var(--card-bg);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Safety features specific styling */
.page-index-review-fa88-safety-features {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap-reverse; /* Image on right, text on left for this section */
}

.page-index-review-fa88-safety-features img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* No filter to change color */
}

.page-index-review-fa88-safety-features ul {
    list-style: none;
    padding-left: 0;
    flex: 1;
    min-width: 300px;
}

.page-index-review-fa88-safety-features li {
    background: var(--card-bg);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


/* FAQ Styling */
.page-index-review-fa88-faq {
    background-color: var(--background-medium);
}

.page-index-review-fa88-faq .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-review-fa88-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Rounded corners only on top for initial state */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-index-review-fa88-faq .faq-question:hover {
    background: #f0f0f0;
}

.page-index-review-fa88-faq .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-index-review-fa88-faq .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1; /* Ensures the +/- is centered */
}

/* FAQ default state - Answer hidden */
.page-index-review-fa88-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #ffffff;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px; /* Rounded corners only on bottom for expanded state */
}

/* FAQ expanded state */
.page-index-review-fa88-faq .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px 25px 25px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.page-index-review-fa88-faq .faq-item.active .faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes an X */
    color: var(--secondary-color);
}

.page-index-review-fa88-faq .faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: #f0f0f0;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-index-review-fa88-hero-section h1 {
        font-size: 2.5em;
    }
    .page-index-review-fa88-hero-section p {
        font-size: 1.1em;
    }
    .page-index-review-fa88-section h2 {
        font-size: 2em;
    }
    .page-index-review-fa88-game-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-index-review-fa88-mobile-features,
    .page-index-review-fa88-safety-features {
        flex-direction: column;
        text-align: center;
    }
    .page-index-review-fa88-mobile-features img,
    .page-index-review-fa88-safety-features img {
        margin: 0 auto 20px auto;
    }
    .page-index-review-fa88-mobile-features ul,
    .page-index-review-fa88-safety-features ul {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-index-review-fa88-hero-section {
        padding: 60px 0;
    }
    .page-index-review-fa88-hero-section h1 {
        font-size: 2em;
    }
    .page-index-review-fa88-hero-section p {
        font-size: 1em;
    }
    .page-index-review-fa88-section {
        padding: 40px 0;
    }
    .page-index-review-fa88-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-review-fa88-section h3 {
        font-size: 1.5em;
    }
    .page-index-review-fa88-game-grid {
        gap: 20px;
    }
    .page-index-review-fa88-game-card img {
        height: 180px;
    }
    .page-index-review-fa88-faq .faq-question {
        padding: 15px 20px;
    }
    .page-index-review-fa88-faq .faq-question h3 {
        font-size: 1.1em;
    }
    .page-index-review-fa88-faq .faq-toggle {
        font-size: 20px;
    }
    .page-index-review-fa88-faq .faq-answer {
        padding: 0 20px;
    }
    .page-index-review-fa88-faq .faq-item.active .faq-answer {
        padding: 15px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-index-review-fa88-hero-section h1 {
        font-size: 1.8em;
    }
    .page-index-review-fa88-hero-section .page-index-review-fa88-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-index-review-fa88-section h2 {
        font-size: 1.5em;
    }
    .page-index-review-fa88-game-card {
        margin-left: auto;
        margin-right: auto;
    }
}