/* style/index-review-go88.css */
:root {
    --primary-color: #FF4500;
    --secondary-color: #00CED1;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f1f3f5;
    --bg-white: #ffffff;
    --border-light: #e4e4e4;
}

/* Ensure body background color determines overall text color for non-card elements */
.page-index-review-go88 {
    color: var(--text-light); /* Assuming --dark-bg-1 is dark, so text is light */
    background: var(--dark-bg-1);
}

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

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

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

/* HERO Section */
.page-index-review-go88__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 navbar */
    background-color: var(--dark-bg-1); /* Use shared dark background */
    color: var(--text-light);
}

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

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

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

.page-index-review-go88__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-index-review-go88__hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-index-review-go88__hero-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-go88__hero-description a:hover {
    color: var(--primary-color);
}

.page-index-review-go88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: #ffffff;
    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-go88__cta-button:hover {
    background: #e03c00; /* Slightly darker primary color */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

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

.page-index-review-go88__game-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1400px; /* Slightly wider for leaderboard */
    margin: 0 auto;
}

.page-index-review-go88__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-go88__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-index-review-go88__game-card-segment {
    padding-left: 20px;
    padding-right: 20px;
    border-left: 1px solid var(--border-light);
    height: 100%; /* Ensure segments have same height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-index-review-go88__segment-1 {
    border-left: none; /* No border on the very first segment */
    padding-left: 0;
    min-width: 150px;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-index-review-go88__rank-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default for 4+ */
    color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-index-review-go88__segment-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-index-review-go88__game-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
}

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

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

.page-index-review-go88__game-description {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-index-review-go88__game-description a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-index-review-go88__segment-3 {
    min-width: 180px;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

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

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

.page-index-review-go88__promotion-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-index-review-go88__promotion-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.page-index-review-go88__hot-badge {
    background: var(--primary-color);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.page-index-review-go88__segment-4 {
    min-width: 220px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.page-index-review-go88__cta-button {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
}

.page-index-review-go88__cta-button:hover {
    background: #e03c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-go88__btn-review:hover {
    background: #00a8ad;
}

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

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

.page-index-review-go88__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-go88__review-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

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

.page-index-review-go88__review-body h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-index-review-go88__review-body p a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-go88__review-body p a:hover {
    color: #004499;
    text-decoration: underline;
}

.page-index-review-go88__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.page-index-review-go88__intro-item h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-review-go88__intro-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-index-review-go88__intro-item p a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-go88__intro-item p a:hover {
    color: #004499;
    text-decoration: underline;
}

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

.page-index-review-go88__core-games-section .page-index-review-go88__section-title {
    color: var(--text-light);
}

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

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

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

.page-index-review-go88__game-type-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

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

.page-index-review-go88__game-type-card h3 a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-go88__game-type-card h3 a:hover {
    color: var(--secondary-color);
}

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

.page-index-review-go88__game-type-card p a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-go88__game-type-card p a:hover {
    color: var(--text-light);
}

.page-index-review-go88__btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-review-go88__btn-primary:hover {
    background: #00a8ad;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-index-review-go88__promo-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

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

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

.page-index-review-go88__promo-card h3 a:hover {
    color: #e03c00;
}

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

.page-index-review-go88__promo-card p a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-go88__promo-card p a:hover {
    color: #004499;
    text-decoration: underline;
}

.page-index-review-go88__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-review-go88__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.page-index-review-go88__blog-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

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

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

.page-index-review-go88__blog-card h3 a:hover {
    color: #e03c00;
}

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

.page-index-review-go88__blog-card p a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-go88__blog-card p a:hover {
    color: #004499;
    text-decoration: underline;
}

.page-index-review-go88__blog-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-index-review-go88__blog-link:hover {
    background: #00a8ad;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-go88__hero-title {
        font-size: 40px;
    }

    .page-index-review-go88__hero-description {
        font-size: 18px;
    }

    .page-index-review-go88__page-title,
    .page-index-review-go88__section-title {
        font-size: 30px;
    }

    .page-index-review-go88__review-title {
        font-size: 28px;
    }

    .page-index-review-go88__review-body h3 {
        font-size: 22px;
    }

    .page-index-review-go88__game-card-segment {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .page-index-review-go88__hero-section {
        padding-top: 160px !important; /* Mobile: Adjust for fixed navbar */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-review-go88__hero-title {
        font-size: 32px;
    }

    .page-index-review-go88__hero-description {
        font-size: 16px;
    }

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

    .page-index-review-go88__game-leaderboard-section,
    .page-index-review-go88__review-content-section,
    .page-index-review-go88__intro-section,
    .page-index-review-go88__core-games-section,
    .page-index-review-go88__promotions-section,
    .page-index-review-go88__latest-blog-section {
        padding: 40px 0;
    }

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

    .page-index-review-go88__page-title,
    .page-index-review-go88__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

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

    .page-index-review-go88__review-content-card,
    .page-index-review-go88__intro-item,
    .page-index-review-go88__game-type-card,
    .page-index-review-go88__promo-card,
    .page-index-review-go88__blog-card {
        padding: 25px 20px;
    }

    .page-index-review-go88__review-body h3 {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-index-review-go88__review-body p {
        font-size: 16px;
    }

    .page-index-review-go88__game-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 15px;
    }

    .page-index-review-go88__game-card-segment {
        border-left: none;
        padding-left: 0;
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }
    
    .page-index-review-go88__segment-1 {
        flex-direction: row;
        align-items: center;
        min-width: unset;
        max-width: 100%;
        position: relative;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border-light);
    }

    .page-index-review-go88__rank-badge {
        position: static;
        margin-right: 15px;
        top: unset;
        left: unset;
    }

    .page-index-review-go88__game-icon {
        margin-top: 0;
        max-width: 80px;
        height: auto;
    }

    .page-index-review-go88__segment-2 {
        border-top: 1px solid var(--border-light);
        padding-top: 15px;
        align-items: flex-start;
        text-align: left;
    }

    .page-index-review-go88__game-name {
        font-size: 20px;
        text-align: left;
    }

    .page-index-review-go88__game-description {
        font-size: 13px;
        text-align: left;
    }

    .page-index-review-go88__segment-3 {
        border-top: 1px solid var(--border-light);
        padding-top: 15px;
        align-items: flex-start;
        min-width: unset;
        max-width: 100%;
    }

    .page-index-review-go88__segment-4 {
        border-top: 1px solid var(--border-light);
        padding-top: 15px;
        min-width: unset;
        max-width: 100%;
        width: 100%;
        flex-direction: row; /* Buttons side-by-side on mobile */
        flex-wrap: wrap;
        gap: 10px;
    }

    .page-index-review-go88__btn-download,
    .page-index-review-go88__btn-review {
        max-width: calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        font-size: 13px;
        padding: 10px 10px;
        white-space: normal;
        word-wrap: break-word;
        min-width: auto;
    }

    .page-index-review-go88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-index-review-go88__section,
    .page-index-review-go88__card,
    .page-index-review-go88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-review-go88__game-type-image,
    .page-index-review-go88__promo-image,
    .page-index-review-go88__blog-image {
        height: 150px; /* Adjust height for mobile */
    }
}

@media (max-width: 480px) {
    .page-index-review-go88__hero-title {
        font-size: 28px;
    }

    .page-index-review-go88__page-title,
    .page-index-review-go88__section-title {
        font-size: 24px;
    }

    .page-index-review-go88__review-title {
        font-size: 22px;
    }

    .page-index-review-go88__btn-download,
    .page-index-review-go88__btn-review {
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 10px; /* Stack buttons */
    }
    .page-index-review-go88__segment-4 {
        flex-direction: column;
        align-items: center;
    }
}