/* style/index-review-hi88.css */

:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-index-review-hi88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
}

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

/* Fixed Header Spacing */
.page-index-review-hi88__intro-section {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

/* Section Styling */
.page-index-review-hi88__section {
    padding: 60px 0;
}

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

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

.page-index-review-hi88__main-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-index-review-hi88__section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherits color from parent section (dark-bg or light-bg) */
}

.page-index-review-hi88__sub-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-index-review-hi88__intro-text,
.page-index-review-hi88__content-block p {
    font-size: 17px;
    margin-bottom: 15px;
}

.page-index-review-hi88__content-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-index-review-hi88__content-block--reversed {
    flex-direction: column-reverse;
}

.page-index-review-hi88__image-wrapper {
    text-align: center;
    margin: 20px 0;
}

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

/* Lists */
.page-index-review-hi88__feature-list,
.page-index-review-hi88__promotion-list,
.page-index-review-hi88__support-channels,
.page-index-review-hi88__pros-list,
.page-index-review-hi88__cons-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-index-review-hi88__feature-list li,
.page-index-review-hi88__promotion-list li,
.page-index-review-hi88__support-channels li,
.page-index-review-hi88__pros-list li,
.page-index-review-hi88__cons-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
}

.page-index-review-hi88__feature-list li::before,
.page-index-review-hi88__promotion-list li::before,
.page-index-review-hi88__support-channels li::before,
.page-index-review-hi88__pros-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 20px;
    line-height: 1;
}

.page-index-review-hi88__cons-list li::before {
    content: '❌';
    position: absolute;
    left: 0;
    color: #dc3545; /* Red for cons */
    font-size: 20px;
    line-height: 1;
}

/* CTA Buttons */
.page-index-review-hi88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.page-index-review-hi88__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    border: none;
}

.page-index-review-hi88__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-index-review-hi88__btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__btn-secondary:hover {
    background: #1a2a47;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__conclusion-section .page-index-review-hi88__cta-button {
    display: block;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

/* Pros & Cons Grid */
.page-index-review-hi88__pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-index-review-hi88__card {
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    color: var(--text-dark);
}

.page-index-review-hi88__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

/* FAQ Section */
.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;
    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: #fff;
    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;
}

.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: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-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);
}

.page-index-review-hi88__faq-answer p {
    color: var(--text-dark);
    font-size: 16px;
}

.page-index-review-hi88__link-in-text {
    color: #007bff; /* Standard link color */
    text-decoration: underline;
}

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

/* Responsive Design */
@media (min-width: 769px) {
    .page-index-review-hi88__content-block {
        flex-direction: row;
        align-items: center;
    }
    .page-index-review-hi88__content-block--reversed {
        flex-direction: row-reverse;
    }
    .page-index-review-hi88__content-block > *:first-child {
        flex: 1;
        padding-right: 30px;
    }
    .page-index-review-hi88__content-block > *:last-child {
        flex: 1;
        padding-left: 30px;
    }
    .page-index-review-hi88__image-wrapper {
        flex: 1;
        padding: 0;
        margin: 0;
    }
    .page-index-review-hi88__pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__intro-section {
        padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
    }
    .page-index-review-hi88__section {
        padding: 40px 0;
    }
    .page-index-review-hi88__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-review-hi88__main-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .page-index-review-hi88__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-index-review-hi88__sub-title {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-index-review-hi88__intro-text,
    .page-index-review-hi88__content-block p,
    .page-index-review-hi88__feature-list li,
    .page-index-review-hi88__promotion-list li,
    .page-index-review-hi88__support-channels li,
    .page-index-review-hi88__pros-list li,
    .page-index-review-hi88__cons-list li,
    .page-index-review-hi88__faq-answer p {
        font-size: 15px;
    }
    .page-index-review-hi88__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-index-review-hi88__image-wrapper {
        margin: 15px 0;
    }
    .page-index-review-hi88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }
    .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-item.active .page-index-review-hi88__faq-answer {
        padding: 15px !important;
    }
    .page-index-review-hi88__card {
        padding: 20px;
    }
    .page-index-review-hi88__card-title {
        font-size: 20px;
    }
}