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

:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-grey: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-fabet {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default to light text for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
}

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

/* HERO-like Intro Section */
.page-index-review-fabet__hero-intro-section {
    background: linear-gradient(135deg, var(--primary-color), #004488);
    padding: 180px 0 80px; /* Desktop padding-top to clear fixed header */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-index-review-fabet__hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: var(--text-color-light);
}

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

.page-index-review-fabet__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-index-review-fabet__cta-button {
    display: inline-block;
    background: var(--secondary-color);
    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 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index-review-fabet__cta-button:hover {
    background: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__hero-image-wrapper {
    margin-top: 40px;
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Section Styling */
.page-index-review-fabet__section {
    padding: 60px 0;
    background-color: var(--background-grey);
    color: var(--text-color-dark);
}

.page-index-review-fabet__section:nth-of-type(even) {
    background-color: #f8f8f8;
}

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

.page-index-review-fabet__card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    color: var(--text-color-dark);
}

.page-index-review-fabet__card p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

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

.page-index-review-fabet__feature-list,
.page-index-review-fabet__advantage-list,
.page-index-review-fabet__promotion-list,
.page-index-review-fabet__steps-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-index-review-fabet__feature-list li,
.page-index-review-fabet__advantage-list li,
.page-index-review-fabet__promotion-list li,
.page-index-review-fabet__steps-list li {
    background: #e9ecef;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.page-index-review-fabet__feature-list li::before,
.page-index-review-fabet__advantage-list li::before,
.page-index-review-fabet__promotion-list li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 18px;
}

.page-index-review-fabet__steps-list li {
    counter-increment: step-counter;
}

.page-index-review-fabet__steps-list li::before {
    content: counter(step-counter) '. ';
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.page-index-review-fabet__game-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-index-review-fabet__game-list li {
    margin-bottom: 8px;
    font-size: 16px;
    background: none;
    padding: 0;
    border-radius: 0;
}

.page-index-review-fabet__game-list li::before {
    content: '';
    margin-right: 0;
}

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

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

.page-index-review-fabet__image-content {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-index-review-fabet__btn-secondary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-color-light);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

.page-index-review-fabet__btn-secondary:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.page-index-review-fabet__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-index-review-fabet__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;
    color: var(--text-color-dark);
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-index-review-fabet__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;
    color: var(--text-color-dark);
}

.page-index-review-fabet__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-index-review-fabet__faq-question:active {
    background: #eeeeee;
}

.page-index-review-fabet__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: inherit;
}

.page-index-review-fabet__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-fabet__faq-item.active .page-index-review-fabet__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

/* Latest News Section */
.page-index-review-fabet__latest-news-section {
    background-color: #f8f8f8;
}

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

.page-index-review-fabet__news-card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-fabet__news-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-index-review-fabet__news-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 20px 10px;
    line-height: 1.4;
}

.page-index-review-fabet__news-card h3 a {
    color: inherit;
    text-decoration: none;
}

.page-index-review-fabet__news-card h3 a:hover {
    text-decoration: underline;
}

.page-index-review-fabet__news-excerpt {
    font-size: 15px;
    color: #555555;
    padding: 0 20px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-index-review-fabet__news-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0 20px 20px;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-fabet__main-title {
        font-size: 40px;
    }
    .page-index-review-fabet__intro-text {
        font-size: 16px;
    }
    .page-index-review-fabet__section-title {
        font-size: 30px;
    }
    .page-index-review-fabet__sub-title {
        font-size: 22px;
    }
    .page-index-review-fabet__card {
        padding: 25px;
    }
    .page-index-review-fabet__news-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-index-review-fabet__hero-intro-section {
        padding-top: 140px !important; /* Mobile padding-top to clear fixed header */
        padding-bottom: 40px;
    }
    .page-index-review-fabet__main-title {
        font-size: 32px;
    }
    .page-index-review-fabet__intro-text {
        font-size: 15px;
    }
    .page-index-review-fabet__cta-button {
        padding: 12px 25px;
        font-size: 18px;
    }
    .page-index-review-fabet__section {
        padding: 40px 0;
    }
    .page-index-review-fabet__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-index-review-fabet__sub-title {
        font-size: 20px;
    }
    .page-index-review-fabet__card {
        padding: 20px;
    }
    .page-index-review-fabet__card p,
    .page-index-review-fabet__feature-list li,
    .page-index-review-fabet__advantage-list li,
    .page-index-review-fabet__promotion-list li,
    .page-index-review-fabet__steps-list li,
    .page-index-review-fabet__game-list li {
        font-size: 15px;
    }
    .page-index-review-fabet__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-fabet__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-fabet__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-fabet__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
        padding: 15px !important;
    }
    .page-index-review-fabet__news-grid {
        grid-template-columns: 1fr;
    }
    .page-index-review-fabet__news-card h3 {
        font-size: 18px;
    }
    .page-index-review-fabet img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-fabet__section,
    .page-index-review-fabet__card,
    .page-index-review-fabet__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}