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

.page-index-review-hi88 {
    color: var(--text-dark); /* Default text color for light backgrounds */
    background: var(--dark-bg-1); /* Assuming shared.css defines a dark background */
}

/* Adjust main content color based on body background */
.page-index-review-hi88 {
    color: var(--text-light);
}

.page-index-review-hi88__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), var(--secondary-color));
    color: var(--text-light);
}

.page-index-review-hi88__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-hi88__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 800px; /* Limit hero image width */
}

.page-index-review-hi88__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-hi88__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index-review-hi88__hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__hero-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-index-review-hi88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-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);
    border: none;
    cursor: pointer;
}

.page-index-review-hi88__cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Main Review Content Section */
.page-index-review-hi88__review-content-section {
    padding: 40px 20px;
    background: var(--dark-bg-1);
}

.page-index-review-hi88__review-content-container {
    max-width: 1400px; /* Wider for better readability */
    margin: 0 auto;
}

.page-index-review-hi88__review-content-card {
    background: #1a1a1a; /* Darker card background for contrast on dark body */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-light);
}

.page-index-review-hi88__review-main-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.3;
}

.page-index-review-hi88__review-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-review-hi88__review-body {
    color: #e0e0e0;
    line-height: 1.7;
}

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

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

.page-index-review-hi88__review-body a:hover {
    color: #00a0a2;
    text-decoration: underline;
}

/* General Section Styling */
.page-index-review-hi88__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-index-review-hi88__section-description {
    font-size: 18px;
    color: #e0e0e0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-index-review-hi88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--dark-bg-1);
}

/* Games Showcase Section */
.page-index-review-hi88__games-showcase-section {
    background: #1a1a1a;
    padding: 60px 20px;
}

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

.page-index-review-hi88__game-card {
    background: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

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

.page-index-review-hi88__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

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

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

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

.page-index-review-hi88__game-text {
    font-size: 15px;
    color: #e0e0e0;
    padding: 0 15px;
    line-height: 1.5;
}

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

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

.page-index-review-hi88__promotion-card {
    background: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

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

.page-index-review-hi88__promotion-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-index-review-hi88__promotion-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-review-hi88__promotion-text {
    font-size: 15px;
    color: #e0e0e0;
    padding: 0 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-index-review-hi88__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 15px;
}

.page-index-review-hi88__call-to-action-text {
    text-align: center;
    font-size: 16px;
    color: #e0e0e0;
    margin-top: 40px;
}

.page-index-review-hi88__link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

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

/* Guide Section */
.page-index-review-hi88__guide-section {
    background: #1a1a1a;
    padding: 60px 20px;
}

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

.page-index-review-hi88__step-item {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

.page-index-review-hi88__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index-review-hi88__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-hi88__step-text {
    font-size: 15px;
    color: #e0e0e0;
    line-height: 1.5;
}

.page-index-review-hi88__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
    margin-top: 50px;
}

/* FAQ Section */
.page-index-review-hi88__faq-section {
    background: var(--dark-bg-1);
    padding: 60px 20px;
}

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

.page-index-review-hi88__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-index-review-hi88__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 15px;
    opacity: 0;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #2a2a2a; /* Darker background for FAQ answer */
    border-radius: 0 0 5px 5px;
    color: #e0e0e0;
}

.page-index-review-hi88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #1a1a1a; /* Dark background for FAQ question */
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-index-review-hi88__faq-question:hover {
    background: #2a2a2a;
    border-color: #5a5a5a;
}

.page-index-review-hi88__faq-question:active {
    background: #3a3a3a;
}

.page-index-review-hi88__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-light);
}

.page-index-review-hi88__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-hi88__faq-item.active .page-index-review-hi88__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change + to X or - */
}

/* News Section */
.page-index-review-hi88__news-section {
    background: #1a1a1a;
    padding: 60px 20px;
}

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

.page-index-review-hi88__news-card {
    background: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

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

.page-index-review-hi88__news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-index-review-hi88__news-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

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

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

.page-index-review-hi88__news-excerpt {
    font-size: 15px;
    color: #e0e0e0;
    padding: 0 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.page-index-review-hi88__news-date {
    font-size: 13px;
    color: #999999;
    padding: 0 15px 15px 15px;
    display: block;
}

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

.page-index-review-hi88 .highlight-keyword {
    color: var(--secondary-color);
    font-weight: bold;
}

/* All images responsive base */
.page-index-review-hi88 img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

    .page-index-review-hi88__review-main-title,
    .page-index-review-hi88__section-title {
        font-size: 28px;
    }

    .page-index-review-hi88__review-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__hero-section {
        padding-top: 160px !important; /* Mobile: Adjust based on mobile header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-review-hi88__hero-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .page-index-review-hi88__hero-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-index-review-hi88__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
    }

    .page-index-review-hi88__review-content-section,
    .page-index-review-hi88__games-showcase-section,
    .page-index-review-hi88__promotions-section,
    .page-index-review-hi88__guide-section,
    .page-index-review-hi88__faq-section,
    .page-index-review-hi88__news-section {
        padding: 30px 15px;
    }

    .page-index-review-hi88__review-content-card {
        padding: 25px;
    }

    .page-index-review-hi88__review-main-title,
    .page-index-review-hi88__section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .page-index-review-hi88__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-index-review-hi88__review-subtitle {
        font-size: 18px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-index-review-hi88__review-body p {
        font-size: 15px;
    }

    .page-index-review-hi88__games-grid,
    .page-index-review-hi88__promotions-grid,
    .page-index-review-hi88__guide-steps,
    .page-index-review-hi88__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-review-hi88__game-image,
    .page-index-review-hi88__promotion-image,
    .page-index-review-hi88__news-image {
        height: 160px;
    }

    .page-index-review-hi88__game-title,
    .page-index-review-hi88__promotion-title,
    .page-index-review-hi88__news-title {
        font-size: 18px;
    }

    .page-index-review-hi88__game-text,
    .page-index-review-hi88__promotion-text,
    .page-index-review-hi88__step-text,
    .page-index-review-hi88__news-excerpt {
        font-size: 14px;
    }

    .page-index-review-hi88__step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .page-index-review-hi88__step-title {
        font-size: 18px;
    }

    .page-index-review-hi88__cta-button--large {
        padding: 15px 40px;
        font-size: 18px;
        margin-top: 30px;
    }

    .page-index-review-hi88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-index-review-hi88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-index-review-hi88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

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

    .page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
        padding: 15px !important;
    }
    
    .page-index-review-hi88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index-review-hi88__hero-section,
    .page-index-review-hi88__review-content-container,
    .page-index-review-hi88__container,
    .page-index-review-hi88__faq-section,
    .page-index-review-hi88__news-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}