/* style/index-review-fabet.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --bg-light: #f1f3f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet {
    color: var(--text-color-dark);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--dark-bg-1); /* Kế thừa từ shared.css */
}

/* Đảm bảo nội dung không bị header cố định che khuất */
.page-index-review-fabet__intro-section {
    padding-top: 120px; /* Điều chỉnh dựa trên chiều cao header */
}

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

.page-index-review-fabet__light-bg {
    background-color: var(--bg-white);
    color: var(--text-color-dark);
}

.page-index-review-fabet__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-index-review-fabet__dark-bg .page-index-review-fabet__section-title {
    color: var(--secondary-color);
}

.page-index-review-fabet__intro-text,
.page-index-review-fabet__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-fabet__highlight-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 60px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-index-review-fabet__highlight-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-index-review-fabet__highlight-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-index-review-fabet__highlight-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-index-review-fabet__highlight-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.page-index-review-fabet__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index-review-fabet__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: var(--shadow-light);
}

.page-index-review-fabet__btn-primary:hover {
    background-color: #081d4a;
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.page-index-review-fabet__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.page-index-review-fabet__btn-secondary:hover {
    background-color: #e6c200;
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.page-index-review-fabet__features-section,
.page-index-review-fabet__promotions-section,
.page-index-review-fabet__faq-section,
.page-index-review-fabet__blog-section {
    padding: 60px 0;
}

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

.page-index-review-fabet__game-card,
.page-index-review-fabet__promo-card,
.page-index-review-fabet__blog-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-review-fabet__dark-bg .page-index-review-fabet__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index-review-fabet__game-card:hover,
.page-index-review-fabet__promo-card:hover,
.page-index-review-fabet__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.page-index-review-fabet__game-image,
.page-index-review-fabet__promo-icon,
.page-index-review-fabet__blog-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-fabet__game-image { max-height: 200px; }
.page-index-review-fabet__promo-icon { max-height: 150px; }
.page-index-review-fabet__blog-image { max-height: 200px; }

.page-index-review-fabet__game-card-title,
.page-index-review-fabet__promo-title,
.page-index-review-fabet__blog-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-index-review-fabet__dark-bg .page-index-review-fabet__promo-title {
    color: var(--secondary-color);
}

.page-index-review-fabet__game-card-description,
.page-index-review-fabet__promo-description,
.page-index-review-fabet__blog-summary {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--text-color-dark);
}

.page-index-review-fabet__dark-bg .page-index-review-fabet__promo-description {
    color: var(--text-color-light);
}

.page-index-review-fabet__cta-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
    margin-top: auto;
}

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

.page-index-review-fabet__note-text {
    font-style: italic;
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: var(--text-color-light);
}

.page-index-review-fabet__faq-list {
    margin-top: 40px;
}

.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;
}

.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: #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-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: var(--primary-color);
}

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

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

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

.page-index-review-fabet__blog-date {
    font-size: 14px;
    color: #666666;
    margin-top: 15px;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-review-fabet__highlight-card {
        flex-direction: column;
    }

    .page-index-review-fabet__highlight-image {
        max-width: 100%;
    }

    .page-index-review-fabet__highlight-content {
        padding: 30px;
    }

    .page-index-review-fabet__main-title,
    .page-index-review-fabet__section-title {
        font-size: 30px;
    }

    .page-index-review-fabet__intro-text,
    .page-index-review-fabet__section-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-index-review-fabet__intro-section {
        padding-top: 100px !important; /* Mobile specific padding for fixed header */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-review-fabet__container {
        padding: 15px;
    }

    .page-index-review-fabet__main-title,
    .page-index-review-fabet__section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .page-index-review-fabet__intro-text,
    .page-index-review-fabet__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-index-review-fabet__highlight-content {
        padding: 20px;
    }

    .page-index-review-fabet__highlight-title {
        font-size: 24px;
    }

    .page-index-review-fabet__highlight-content p {
        font-size: 15px;
    }

    .page-index-review-fabet__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-index-review-fabet__features-section,
    .page-index-review-fabet__promotions-section,
    .page-index-review-fabet__faq-section,
    .page-index-review-fabet__blog-section {
        padding: 40px 0;
    }

    .page-index-review-fabet__game-grid,
    .page-index-review-fabet__promo-grid,
    .page-index-review-fabet__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-review-fabet__game-card,
    .page-index-review-fabet__promo-card,
    .page-index-review-fabet__blog-card {
        padding: 20px;
    }

    .page-index-review-fabet__game-card-title,
    .page-index-review-fabet__promo-title,
    .page-index-review-fabet__blog-title {
        font-size: 20px;
    }

    .page-index-review-fabet__game-card-description,
    .page-index-review-fabet__promo-description,
    .page-index-review-fabet__blog-summary {
        font-size: 14px;
    }

    .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;
    }

    /* Ensure all images are responsive */
    .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,
    .page-index-review-fabet__highlight-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}