/* style/index-review-tot88.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #FFC107;
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --background-color-dark: #0a0a0a; /* Body background from shared.css */
    --background-color-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-index-review-tot88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: var(--background-color-dark); /* Ensure consistency with body background */
}

/* Fixed navigation bar spacing */
.page-index-review-tot88__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed nav bar height */
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

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

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

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

.page-index-review-tot88__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-color-dark-bg);
    opacity: 0.9;
}

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

.page-index-review-tot88__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-review-tot88__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.page-index-review-tot88__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    border: 2px solid var(--primary-color);
}

.page-index-review-tot88__btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-index-review-tot88__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-review-tot88__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color-light-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-index-review-tot88__review-section {
    padding: 60px 0;
}

.page-index-review-tot88__review-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-color-light-bg);
}

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

.page-index-review-tot88__sub-title {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-index-review-tot88__text-block {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444444;
}

.page-index-review-tot88__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.page-index-review-tot88__image--large {
    max-height: 500px;
}

.page-index-review-tot88__image--medium {
    max-height: 350px;
}

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

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

.page-index-review-tot88__conclusion {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.page-index-review-tot88__conclusion p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #222222;
}

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

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

.page-index-review-tot88__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-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #222222; /* Darker background for FAQ answer */
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark-bg);
}

.page-index-review-tot88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #1a1a1a;
    border: 1px solid #333333;
    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-bg);
}

.page-index-review-tot88__faq-question:hover {
    background: #2a2a2a;
    border-color: #555555;
}

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

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

.page-index-review-tot88__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #999;
    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-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-tot88__main-title {
        font-size: 40px;
    }
    .page-index-review-tot88__subtitle {
        font-size: 18px;
    }
    .page-index-review-tot88__section-title {
        font-size: 30px;
    }
    .page-index-review-tot88__sub-title {
        font-size: 22px;
    }
    .page-index-review-tot88__review-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-review-tot88__hero-banner {
        padding-top: 140px !important; /* Mobile: Adjust based on fixed nav bar height */
        padding-bottom: 60px;
    }
    .page-index-review-tot88__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-index-review-tot88__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-index-review-tot88__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-review-tot88__btn {
        width: 100%;
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-index-review-tot88__review-section,
    .page-index-review-tot88__faq-section {
        padding: 40px 0;
    }
    .page-index-review-tot88__review-card {
        padding: 25px;
    }
    .page-index-review-tot88__section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .page-index-review-tot88__sub-title {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .page-index-review-tot88__text-block {
        font-size: 15px;
    }
    .page-index-review-tot88__conclusion p {
        font-size: 16px;
    }
    
    /* FAQ Mobile Styles */
    .page-index-review-tot88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-index-review-tot88__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-index-review-tot88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-index-review-tot88__faq-answer {
        padding: 0 15px;
    }
    
    .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images and containers adapt to mobile */
    .page-index-review-tot88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index-review-tot88__section,
    .page-index-review-tot88__card,
    .page-index-review-tot88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}