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

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --bg-dark: #0a0a0a; /* Body background from shared.css */
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --button-hover-dark: #0056b3;
    --button-hover-light: #e0a800;
}

.page-index-review-hi88 {
    color: var(--text-on-dark); /* Default text color for the main content area */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-dark);
}

/* Ensure the first section has padding-top to clear fixed header */
.page-index-review-hi88__intro-section {
    padding-top: 180px; /* Desktop: Adjust based on actual header height */
    padding-bottom: 60px;
    background: var(--bg-dark);
    text-align: center;
    color: var(--text-on-dark);
}

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

.page-index-review-hi88__main-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--text-on-dark);
    line-height: 1.3;
}

.page-index-review-hi88__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-hi88__intro-image-wrapper {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__intro-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-index-review-hi88__cta-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-review-hi88__btn-primary {
    background: var(--primary-color);
    color: var(--text-on-dark);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.page-index-review-hi88__btn-primary:hover {
    background: var(--button-hover-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.page-index-review-hi88__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-on-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__features-section {
    padding: 60px 0;
    background: var(--bg-light);
    color: var(--text-on-light);
}

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

.page-index-review-hi88__feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-on-light);
}

.page-index-review-hi88__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-review-hi88__feature-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-index-review-hi88__feature-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88__feature-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

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

.page-index-review-hi88__promo-link:hover {
    color: var(--button-hover-dark);
    text-decoration: underline;
}

.page-index-review-hi88__guide-section {
    padding: 60px 0;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    text-align: center;
}

.page-index-review-hi88__guide-intro {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-review-hi88__step-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-index-review-hi88__step-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-index-review-hi88__step-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-index-review-hi88__guide-conclusion {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-hi88__conclusion-section {
    padding: 60px 0;
    background: var(--bg-light);
    color: var(--text-on-light);
    text-align: center;
}

.page-index-review-hi88__conclusion-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-hi88__faq-section {
    padding: 60px 0;
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.page-index-review-hi88__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-review-hi88__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.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;
    color: var(--text-on-dark);
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    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: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    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: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-index-review-hi88__faq-question:active {
    background: rgba(255, 255, 255, 0.2);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-review-hi88__main-title {
        font-size: 32px;
    }
    .page-index-review-hi88__section-title {
        font-size: 28px;
    }
    .page-index-review-hi88__intro-text, .page-index-review-hi88__conclusion-text, .page-index-review-hi88__guide-intro, .page-index-review-hi88__guide-conclusion {
        font-size: 16px;
    }
    .page-index-review-hi88__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-index-review-hi88__feature-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__intro-section {
        padding-top: 160px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-hi88__features-section, .page-index-review-hi88__guide-section, .page-index-review-hi88__conclusion-section, .page-index-review-hi88__faq-section {
        padding: 40px 0;
    }
    .page-index-review-hi88__container {
        padding: 0 15px;
        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__intro-text, .page-index-review-hi88__conclusion-text, .page-index-review-hi88__guide-intro, .page-index-review-hi88__guide-conclusion {
        font-size: 15px;
    }
    .page-index-review-hi88__feature-card {
        padding: 20px;
    }
    .page-index-review-hi88__feature-title {
        font-size: 20px;
    }
    .page-index-review-hi88__feature-text {
        font-size: 14px;
    }
    .page-index-review-hi88__step-item {
        padding: 20px;
    }
    .page-index-review-hi88__step-title {
        font-size: 18px;
    }
    .page-index-review-hi88__step-text {
        font-size: 14px;
    }
    .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__intro-image-wrapper,
    .page-index-review-hi88__feature-image-wrapper,
    .page-index-review-hi88__step-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}