/* style/index-review-fabet.css */
:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --background-light: #f1f3f5;
    --background-dark: #0a0a0a;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-fabet {
    color: var(--text-on-dark); /* Default text color for the page, adapting to body's dark background */
    background-color: var(--background-dark);
}

/* Ensure content is not hidden by fixed header */
.page-index-review-fabet__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #2A4C8C); /* Darker gradient for hero */
}

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

.page-index-review-fabet__hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--text-on-dark);
    margin-bottom: 40px;
}

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

.page-index-review-fabet__highlight {
    color: var(--secondary-color);
}

.page-index-review-fabet__hero-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-review-fabet__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

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

.page-index-review-fabet__hero-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

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

.page-index-review-fabet__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-index-review-fabet__review-overview, 
.page-index-review-fabet__promotions-section, 
.page-index-review-fabet__faq-section {
    background-color: var(--background-light);
    padding: 80px 0;
    color: var(--text-on-light);
}

.page-index-review-fabet__games-overview, 
.page-index-review-fabet__news-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: var(--text-on-dark);
}

.page-index-review-fabet__text-block {
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: inherit;
}

.page-index-review-fabet__link-in-text {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-index-review-fabet__dark-bg .page-index-review-fabet__link-in-text {
    color: var(--secondary-color);
}

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

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

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

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

.page-index-review-fabet__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-on-light);
}

.page-index-review-fabet__cta-section {
    text-align: center;
    margin-top: 60px;
}

.page-index-review-fabet__cta-text {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 500;
    color: inherit;
}

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

.page-index-review-fabet__btn-primary:hover {
    background: #FFC107;
}

.page-index-review-fabet__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

.page-index-review-fabet__games-overview .page-index-review-fabet__section-title {
    color: var(--text-on-dark);
}

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

.page-index-review-fabet__game-category-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: var(--text-on-dark);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-review-fabet__game-category-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

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

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

.page-index-review-fabet__game-category-description {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.page-index-review-fabet__promotions-section .page-index-review-fabet__section-title {
    color: var(--primary-color);
}

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

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

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

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

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

.page-index-review-fabet__promotion-description {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-on-light);
    margin-bottom: 20px;
}

.page-index-review-fabet__promo-button {
    display: inline-block;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.page-index-review-fabet__news-section .page-index-review-fabet__section-title {
    color: var(--text-on-dark);
}

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

.page-index-review-fabet__news-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: left;
    color: var(--text-on-dark);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-review-fabet__news-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

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

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

.page-index-review-fabet__news-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-index-review-fabet__news-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

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

.page-index-review-fabet__read-more:hover {
    color: #FFC107;
    text-decoration: underline;
}

.page-index-review-fabet__faq-section .page-index-review-fabet__section-title {
    color: var(--primary-color);
}

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

.page-index-review-fabet__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.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, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--text-on-light);
    font-size: 15px;
    line-height: 1.6;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    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-bg);
    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-on-light);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-fabet__main-title {
        font-size: 40px;
    }
    .page-index-review-fabet__section-title {
        font-size: 32px;
    }
    .page-index-review-fabet__hero-description, .page-index-review-fabet__text-block {
        font-size: 16px;
    }
    .page-index-review-fabet__review-card, .page-index-review-fabet__game-category-card, .page-index-review-fabet__promotion-card, .page-index-review-fabet__news-card {
        padding: 25px;
    }
    .page-index-review-fabet__card-title, .page-index-review-fabet__game-category-title, .page-index-review-fabet__promotion-title, .page-index-review-fabet__news-title {
        font-size: 20px;
    }
    .page-index-review-fabet__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-index-review-fabet__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-fabet__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-review-fabet__main-title {
        font-size: 32px;
    }
    .page-index-review-fabet__hero-description {
        font-size: 15px;
    }
    .page-index-review-fabet__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-index-review-fabet__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-index-review-fabet__review-overview, .page-index-review-fabet__games-overview, .page-index-review-fabet__promotions-section, .page-index-review-fabet__news-section, .page-index-review-fabet__faq-section {
        padding: 50px 0;
    }
    .page-index-review-fabet__text-block {
        font-size: 15px;
        margin-bottom: 40px;
    }
    .page-index-review-fabet__review-card, .page-index-review-fabet__game-category-card, .page-index-review-fabet__promotion-card, .page-index-review-fabet__news-card {
        padding: 20px;
    }
    .page-index-review-fabet__card-title, .page-index-review-fabet__game-category-title, .page-index-review-fabet__promotion-title, .page-index-review-fabet__news-title {
        font-size: 18px;
    }
    .page-index-review-fabet__card-text, .page-index-review-fabet__game-category-description, .page-index-review-fabet__promotion-description, .page-index-review-fabet__news-excerpt {
        font-size: 14px;
    }
    .page-index-review-fabet__game-category-image, .page-index-review-fabet__promotion-image, .page-index-review-fabet__news-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .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;
    }
}