/* style/index-review-hi88.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-color-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-hi88 {
    color: var(--text-color-light); /* Body background is #000 (dark), so use light text */
    background-color: #000; /* Assuming shared.css sets body to #000 */
}

/* Ensure main content starts below fixed header */
.page-index-review-hi88__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    background: #000; /* Match body background */
    color: var(--text-color-light);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-index-review-hi88__hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px 60px;
}

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

.page-index-review-hi88__hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-index-review-hi88__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-index-review-hi88__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.page-index-review-hi88__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
    border: none;
    cursor: pointer;
}

.page-index-review-hi88__cta-button:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 123, 255, 0.4);
}

.page-index-review-hi88__cta-button--bottom {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-index-review-hi88__content-section {
    background: var(--background-color-light);
    padding: 60px 20px;
    color: var(--text-color-dark);
}

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

.page-index-review-hi88__review-article {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    line-height: 1.7;
}

.page-index-review-hi88__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 45px;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.3;
}

.page-index-review-hi88__review-article h2:first-of-type {
    margin-top: 0;
}

.page-index-review-hi88__review-article p {
    font-size: 1.1em;
    margin-bottom: 18px;
    color: var(--text-color-dark);
}

.page-index-review-hi88__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.page-index-review-hi88__image-text-block {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
}

.page-index-review-hi88__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-index-review-hi88__content-image {
    width: 45%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-index-review-hi88__text-content {
    flex: 1;
}

.page-index-review-hi88__text-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

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

.page-index-review-hi88__game-card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-index-review-hi88__game-description {
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-index-review-hi88__game-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-review-hi88__game-button:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

.page-index-review-hi88__promo-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}

.page-index-review-hi88__promo-list li {
    margin-bottom: 10px;
}

.page-index-review-hi88__faq-section {
    margin-top: 60px;
    background: var(--background-color-light);
    padding: 40px 0;
}

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

.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: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-index-review-hi88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-background);
    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-color-dark);
}

.page-index-review-hi88__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

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

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

.page-index-review-hi88__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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(--primary-color);
    transform: rotate(45deg); /* Change '+' to 'x' */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-hi88__main-title {
        font-size: 2.8em;
    }
    .page-index-review-hi88__section-title {
        font-size: 1.8em;
    }
    .page-index-review-hi88__review-article {
        padding: 30px;
    }
    .page-index-review-hi88__hero-container {
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__hero-banner {
        padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 30px;
    }
    .page-index-review-hi88__hero-container {
        padding: 0 15px 30px;
    }
    .page-index-review-hi88__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-index-review-hi88__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index-review-hi88__cta-button {
        padding: 15px 35px;
        font-size: 1em;
    }
    .page-index-review-hi88__content-section {
        padding: 40px 15px;
    }
    .page-index-review-hi88__review-article {
        padding: 25px;
    }
    .page-index-review-hi88__section-title {
        font-size: 1.6em;
        margin-top: 35px;
        margin-bottom: 20px;
    }
    .page-index-review-hi88__review-article p {
        font-size: 1em;
        margin-bottom: 15px;
    }
    .page-index-review-hi88__image-text-block {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
    }
    .page-index-review-hi88__image-text-block--reverse {
        flex-direction: column;
    }
    .page-index-review-hi88__content-image {
        width: 100%;
    }
    .page-index-review-hi88__game-categories {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    .page-index-review-hi88__game-card {
        padding: 20px;
    }
    .page-index-review-hi88__game-thumbnail {
        height: 180px;
    }
    .page-index-review-hi88__game-title {
        font-size: 1.4em;
    }
    .page-index-review-hi88__game-description {
        font-size: 0.95em;
    }
    .page-index-review-hi88__game-button {
        padding: 10px 25px;
        font-size: 0.95em;
    }
    .page-index-review-hi88__promo-list {
        margin-left: 15px;
        font-size: 1em;
    }
    .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;
    }
    /* Mobile image adaptation */
    .page-index-review-hi88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-hi88__section,
    .page-index-review-hi88__card,
    .page-index-review-hi88__container,
    .page-index-review-hi88__review-article {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}