/* style/index-review-saobet.css */
:root {
    --primary-color: #FF4500; /* OrangeRed */
    --secondary-color: #FFD700; /* Gold */
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --light-bg-color: #f1f3f5;
    --card-bg-color: #ffffff;
    --border-color: #e4e4e4;
}

.page-index-review-saobet {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Assuming shared.css body is dark-bg, so page content default text is light */
    background-color: var(--light-bg-color); /* Override section background for overall page look */
}

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

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

.page-index-review-saobet__section-description {
    font-size: 18px;
    color: var(--dark-text-color);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-saobet__card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-text-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-index-review-saobet__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), #FF6347); /* Dùng màu chính */
    color: var(--light-text-color);
    text-decoration: none;
    border-radius: 8px;
    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);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-review-saobet__cta-button:hover {
    background: linear-gradient(135deg, #FF6347, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-saobet__cta-button--small {
    padding: 10px 20px;
    font-size: 15px;
    margin-top: 15px;
}

/* HERO Section */
.page-index-review-saobet__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 for fixed header */
    background: var(--light-bg-color);
}

.page-index-review-saobet__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-saobet__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index-review-saobet__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-index-review-saobet__hero-description {
    font-size: 20px;
    color: var(--dark-text-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

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

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

.page-index-review-saobet__game-card-segment:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border-color);
}

.page-index-review-saobet__segment-1 {
    min-width: 150px;
    max-width: 150px;
    padding-left: 0;
}

.page-index-review-saobet__rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: var(--light-text-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index-review-saobet__rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.page-index-review-saobet__rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
}

.page-index-review-saobet__rank-3 {
    background: linear-gradient(135deg, #CD7F32, #B87333);
}

.page-index-review-saobet__game-icon {
    max-width: 100px;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 10px; /* Space for badge */
}

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

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

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

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

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

.page-index-review-saobet__game-description a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
}

.page-index-review-saobet__game-description a:hover {
    color: #004499;
    text-decoration: underline;
}

.page-index-review-saobet__segment-3 {
    min-width: 180px;
    max-width: 180px;
    text-align: center;
}

.page-index-review-saobet__game-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.page-index-review-saobet__stars {
    color: #FFD700;
    font-size: 18px;
    margin-right: 5px;
    font-weight: bold;
}

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

.page-index-review-saobet__promotion-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #0066cc;
}

.page-index-review-saobet__promotion-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

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

.page-index-review-saobet__hot-badge {
    background-color: #FF4500;
    color: var(--light-text-color);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: bold;
}

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

.page-index-review-saobet__btn-download,
.page-index-review-saobet__btn-review {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-review-saobet__btn-download {
    background: linear-gradient(135deg, var(--primary-color), #FF6347);
    color: var(--light-text-color);
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.3);
}

.page-index-review-saobet__btn-download:hover {
    background: linear-gradient(135deg, #FF6347, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 69, 0, 0.4);
}

.page-index-review-saobet__btn-review {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-review-saobet__btn-review:hover {
    background: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-saobet__review-content-container {
    max-width: 1400px; /* Slightly wider */
    margin: 0 auto;
}

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

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

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

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

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

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

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

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

.page-index-review-saobet__intro-card:hover {
    transform: translateY(-5px);
}

.page-index-review-saobet__intro-image {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index-review-saobet__intro-card p {
    font-size: 15px;
    color: #555555;
}

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

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

.page-index-review-saobet__game-type-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--dark-text-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-review-saobet__game-type-card:hover {
    transform: translateY(-5px);
}

.page-index-review-saobet__game-type-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-index-review-saobet__game-type-card p {
    font-size: 15px;
    color: #555555;
    flex-grow: 1;
}

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

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

.page-index-review-saobet__promo-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--dark-text-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-review-saobet__promo-card:hover {
    transform: translateY(-5px);
}

.page-index-review-saobet__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-index-review-saobet__promo-card p {
    font-size: 15px;
    color: #555555;
    flex-grow: 1;
}

/* Latest Blog Section */
.page-index-review-saobet__latest-blog-section {
    padding: 60px 20px;
    background-color: var(--light-bg-color);
}

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

.page-index-review-saobet__blog-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease;
    color: var(--dark-text-color);
    display: flex;
    flex-direction: column;
}

.page-index-review-saobet__blog-card:hover {
    transform: translateY(-5px);
}

.page-index-review-saobet__blog-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-index-review-saobet__blog-card p {
    font-size: 15px;
    color: #555555;
    flex-grow: 1;
}

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

.page-index-review-saobet__blog-link:hover {
    color: var(--primary-color);
}

.page-index-review-saobet__blog-summary {
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
}

.page-index-review-saobet__blog-date {
    font-size: 13px;
    color: #999999;
    margin-top: auto;
}

.page-index-review-saobet__view-all {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .page-index-review-saobet__game-card {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .page-index-review-saobet__game-card-segment {
        width: 100%;
        padding: 10px 0;
    }
    .page-index-review-saobet__game-card-segment:not(:first-child)::before {
        display: none;
    }
    .page-index-review-saobet__segment-1, .page-index-review-saobet__segment-3, .page-index-review-saobet__segment-4 {
        min-width: unset;
        max-width: 100%;
    }
    .page-index-review-saobet__rank-badge {
        position: static;
        margin: 0 auto 10px auto;
    }
    .page-index-review-saobet__game-icon {
        margin: 0 auto;
    }
    .page-index-review-saobet__segment-2, .page-index-review-saobet__segment-3, .page-index-review-saobet__segment-4 {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .page-index-review-saobet__hero-section {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-index-review-saobet__hero-title {
        font-size: 36px;
    }
    .page-index-review-saobet__hero-description {
        font-size: 16px;
    }
    .page-index-review-saobet__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-index-review-saobet__section-title {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-index-review-saobet__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-index-review-saobet__container,
    .page-index-review-saobet__review-content-container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-review-saobet__game-card {
        padding: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-index-review-saobet__game-card-segment {
        width: 100%;
        padding: 10px 0;
    }

    .page-index-review-saobet__segment-1 {
        min-width: unset;
        max-width: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding-left: 0;
    }
    .page-index-review-saobet__rank-badge {
        position: static;
        margin: 0;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    .page-index-review-saobet__game-icon {
        max-width: 80px;
        margin-top: 0;
    }

    .page-index-review-saobet__segment-2, .page-index-review-saobet__segment-3 {
        padding-left: 0;
        padding-right: 0;
    }

    .page-index-review-saobet__game-name {
        font-size: 20px;
    }
    .page-index-review-saobet__game-description {
        font-size: 13px;
    }

    .page-index-review-saobet__segment-4 {
        min-width: unset;
        max-width: 100%;
        width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-index-review-saobet__btn-download,
    .page-index-review-saobet__btn-review {
        font-size: 14px;
        padding: 10px 12px;
        white-space: normal;
        word-wrap: break-word;
        min-width: auto;
    }

    .page-index-review-saobet__review-content-card {
        padding: 25px 20px;
    }
    .page-index-review-saobet__review-title {
        font-size: 24px;
    }
    .page-index-review-saobet__review-content-card h3 {
        font-size: 18px;
    }
    .page-index-review-saobet__review-body p {
        font-size: 15px;
    }

    .page-index-review-saobet__intro-image,
    .page-index-review-saobet__game-type-image,
    .page-index-review-saobet__promo-image,
    .page-index-review-saobet__blog-image {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-index-review-saobet__intro-card,
    .page-index-review-saobet__game-type-card,
    .page-index-review-saobet__promo-card,
    .page-index-review-saobet__blog-card {
        padding: 20px;
    }
    .page-index-review-saobet__card-title {
        font-size: 18px;
    }
    .page-index-review-saobet__intro-card p,
    .page-index-review-saobet__game-type-card p,
    .page-index-review-saobet__promo-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-index-review-saobet__hero-title {
        font-size: 32px;
    }
    .page-index-review-saobet__page-title {
        font-size: 24px;
    }
    .page-index-review-saobet__game-name {
        font-size: 18px;
    }
    .page-index-review-saobet__btn-download,
    .page-index-review-saobet__btn-review {
        font-size: 13px;
        padding: 8px 10px;
    }
    .page-index-review-saobet__card-title {
        font-size: 16px;
    }
    .page-index-review-saobet__hero-description {
        font-size: 15px;
    }
}