/* style/index-review-fabet.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f1f3f5;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
    --rank-gold: linear-gradient(135deg, #FFD700, #FFA500);
    --rank-silver: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    --rank-bronze: linear-gradient(135deg, #CD7F32, #B87333);
    --rank-default: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.page-index-review-fabet {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    background: var(--dark-bg-1); /* Assuming --dark-bg-1 is defined in shared.css and is dark */
    color: var(--text-light); /* Default text color for dark body background */
}

/* HERO Section */
.page-index-review-fabet__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Darker gradient for text contrast */
    color: var(--text-light);
}

.page-index-review-fabet__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-review-fabet__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index-review-fabet__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-index-review-fabet__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index-review-fabet__hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-index-review-fabet__hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

/* Game Leaderboard Section */
.page-index-review-fabet__game-leaderboard-section {
    padding: 40px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
}

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

.page-index-review-fabet__game-leaderboard {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-index-review-fabet__game-card {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-index-review-fabet__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet__game-card-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}

.page-index-review-fabet__game-card-segment:not(:first-child) {
    border-left: 1px solid var(--border-light);
}

.page-index-review-fabet__segment-1 {
    min-width: 120px;
    max-width: 150px;
    padding-left: 0;
    position: relative;
}

.page-index-review-fabet__rank-badge {
    position: absolute;
    top: -10px;
    left: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rank-default);
    color: var(--text-light);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet__rank-1 {
    background: var(--rank-gold);
}

.page-index-review-fabet__rank-2 {
    background: var(--rank-silver);
}

.page-index-review-fabet__rank-3 {
    background: var(--rank-bronze);
}

.page-index-review-fabet__game-icon {
    max-width: 100px;
    height: auto;
    display: block;
    margin-top: 15px;
    border-radius: 4px;
}

.page-index-review-fabet__segment-2 {
    flex: 1;
    text-align: center;
}

.page-index-review-fabet__game-name {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
    text-align: center;
}

.page-index-review-fabet__game-name-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index-review-fabet__game-name-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index-review-fabet__game-description {
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-index-review-fabet__game-description a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

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

.page-index-review-fabet__segment-3 {
    min-width: 160px;
    max-width: 200px;
}

.page-index-review-fabet__game-rating {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #FFD700;
}

.page-index-review-fabet__stars {
    font-size: 18px;
    margin-right: 5px;
    font-weight: bold;
}

.page-index-review-fabet__rating-number {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
}

.page-index-review-fabet__promotion-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-index-review-fabet__promotion-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin-right: 5px;
}

.page-index-review-fabet__promotion-link:hover {
    text-decoration: underline;
}

.page-index-review-fabet__hot-badge {
    background: #dc3545;
    color: var(--text-light);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
}

.page-index-review-fabet__segment-4 {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 0;
}

.page-index-review-fabet__btn-download,
.page-index-review-fabet__btn-review {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
}

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

.page-index-review-fabet__btn-download:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

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

/* Brand Review Content Section */
.page-index-review-fabet__review-content-section {
    padding: 40px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-index-review-fabet__review-content-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-index-review-fabet__review-content-card {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.page-index-review-fabet__review-content-card h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

.page-index-review-fabet__review-content-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.page-index-review-fabet__review-body {
    color: var(--text-dark);
    line-height: 1.7;
}

.page-index-review-fabet__review-body p {
    margin-bottom: 16px;
    font-size: 16px;
}

.page-index-review-fabet__review-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

/* Introduction Section */
.page-index-review-fabet__introduction-section {
    padding: 60px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
}

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

.page-index-review-fabet__introduction-section h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-index-review-fabet__introduction-section p {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

.page-index-review-fabet__intro-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet__intro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet__intro-icon {
    width: 80px; /* Min 200x200px requirement means this is an example, actual images will be larger */
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-fabet__intro-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index-review-fabet__intro-item p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

/* Core Games Section */
.page-index-review-fabet__core-games-section {
    padding: 60px 20px;
    background: var(--primary-color);
    color: var(--text-light);
}

.page-index-review-fabet__core-games-section h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-index-review-fabet__core-games-section p {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-index-review-fabet__game-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) rgba(255, 255, 255, 0.2);
}

.page-index-review-fabet__game-carousel::-webkit-scrollbar {
    height: 8px;
}

.page-index-review-fabet__game-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.page-index-review-fabet__game-carousel::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.page-index-review-fabet__game-card-large {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--text-light);
    min-width: 280px;
}

.page-index-review-fabet__game-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
    max-width: 100%;
    display: block;
}

.page-index-review-fabet__game-card-large h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-index-review-fabet__game-card-large p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-index-review-fabet__game-link {
    color: var(--text-light);
    text-decoration: none;
}

.page-index-review-fabet__game-link:hover {
    text-decoration: underline;
}

.page-index-review-fabet__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet__btn-secondary:hover {
    background: #218838;
}

/* Promotions Section */
.page-index-review-fabet__promotions-section {
    padding: 60px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-index-review-fabet__promotions-section h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-index-review-fabet__promotions-section p {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

.page-index-review-fabet__promotion-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-fabet__promotion-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
    max-width: 100%;
    display: block;
}

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

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

.page-index-review-fabet__btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

/* Latest News Section */
.page-index-review-fabet__latest-news-section {
    padding: 60px 20px;
    background: var(--dark-bg-1); /* Assuming --dark-bg-1 is dark */
    color: var(--text-light);
}

.page-index-review-fabet__latest-news-section h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-index-review-fabet__latest-news-section p {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-index-review-fabet__news-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
    max-width: 100%;
    display: block;
}

.page-index-review-fabet__news-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-index-review-fabet__news-link {
    color: var(--text-light);
    text-decoration: none;
}

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

.page-index-review-fabet__news-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.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: #218838;
    text-decoration: underline;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-fabet__hero-content h1 {
        font-size: 36px;
    }
    .page-index-review-fabet__page-title {
        font-size: 30px;
    }
    .page-index-review-fabet__game-card {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .page-index-review-fabet__game-card-segment {
        width: 100%;
        border-left: none !important;
        padding: 10px 0;
    }
    .page-index-review-fabet__game-card-segment:not(:first-child) {
        border-top: 1px solid var(--border-light);
    }
    .page-index-review-fabet__segment-1 {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        min-width: unset;
        padding-top: 20px;
    }
    .page-index-review-fabet__rank-badge {
        position: static;
        margin-right: 10px;
    }
    .page-index-review-fabet__game-icon {
        margin-top: 0;
    }
    .page-index-review-fabet__segment-2,
    .page-index-review-fabet__segment-3,
    .page-index-review-fabet__segment-4 {
        min-width: unset;
        max-width: 100%;
        width: 100%;
    }
    .page-index-review-fabet__game-rating {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-index-review-fabet__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-fabet__hero-content h1 {
        font-size: 28px;
    }
    .page-index-review-fabet__hero-content p {
        font-size: 16px;
    }
    .page-index-review-fabet__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-index-review-fabet__page-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-index-review-fabet__game-leaderboard-section,
    .page-index-review-fabet__review-content-section,
    .page-index-review-fabet__introduction-section,
    .page-index-review-fabet__core-games-section,
    .page-index-review-fabet__promotions-section,
    .page-index-review-fabet__latest-news-section {
        padding: 30px 15px;
    }
    .page-index-review-fabet__review-content-card {
        padding: 25px 20px;
    }
    .page-index-review-fabet__review-content-card h2 {
        font-size: 24px;
    }
    .page-index-review-fabet__review-content-card h3 {
        font-size: 18px;
    }
    .page-index-review-fabet__review-body p {
        font-size: 15px;
    }

    .page-index-review-fabet__game-name {
        font-size: 20px;
    }
    .page-index-review-fabet__game-description {
        font-size: 13px;
    }
    .page-index-review-fabet__btn-download,
    .page-index-review-fabet__btn-review {
        font-size: 12px;
        padding: 8px 12px;
        white-space: normal;
        word-wrap: break-word;
        min-width: auto;
    }
    .page-index-review-fabet__segment-4 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-index-review-fabet__intro-grid,
    .page-index-review-fabet__promotion-cards,
    .page-index-review-fabet__news-grid {
        grid-template-columns: 1fr;
    }
    .page-index-review-fabet__introduction-section h2,
    .page-index-review-fabet__core-games-section h2,
    .page-index-review-fabet__promotions-section h2,
    .page-index-review-fabet__latest-news-section h2 {
        font-size: 26px;
    }
    .page-index-review-fabet__introduction-section p,
    .page-index-review-fabet__core-games-section p,
    .page-index-review-fabet__promotions-section p,
    .page-index-review-fabet__latest-news-section p {
        font-size: 16px;
    }

    /* Mobile image 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__game-carousel {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-fabet__game-carousel {
        padding-left: 0;
        padding-right: 0;
    }
    .page-index-review-fabet__game-card-large {
        min-width: calc(100% - 30px);
        margin: 0 15px;
    }
}