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

:root {
    --primary-color: #0A192F; /* Deep Navy Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: var(--dark-bg-1);
    --border-color: #e0e0e0;
}

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

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

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

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

.page-index-review-tot88__section-title {
    color: var(--text-dark);
}

.page-index-review-tot88__description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

/* --- Color Contrast Classes --- */
.page-index-review-tot88__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-index-review-tot88__card {
    background: #ffffff;
    color: var(--text-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-tot88__dark-card {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* --- Buttons --- */
.page-index-review-tot88__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-index-review-tot88__btn-primary,
.page-index-review-tot88__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-index-review-tot88__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-index-review-tot88__btn-primary:hover {
    background-color: #e6c100;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

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

.page-index-review-tot88__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-index-review-tot88__btn-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-index-review-tot88__btn-link:hover {
    color: #e6c100;
    text-decoration: underline;
}

.page-index-review-tot88__text-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-tot88__text-link:hover {
    color: #e6c100;
}

/* --- Sections --- */
.page-index-review-tot88__intro-section,
.page-index-review-tot88__review-summary-section,
.page-index-review-tot88__detailed-review-section,
.page-index-review-tot88__pros-cons-section,
.page-index-review-tot88__guide-section,
.page-index-review-tot88__faq-section,
.page-index-review-tot88__conclusion-section {
    padding: 60px 0;
}

/* Review Summary */
.page-index-review-tot88__summary-card {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.page-index-review-tot88__summary-image {
    flex: 0 0 400px; /* Fixed width for image */
    max-width: 400px;
}

.page-index-review-tot88__summary-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-index-review-tot88__summary-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Detailed Review Grid */
.page-index-review-tot88__review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-review-tot88__review-item .page-index-review-tot88__item-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-review-tot88__review-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-index-review-tot88__review-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

/* Pros and Cons */
.page-index-review-tot88__comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.page-index-review-tot88__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-index-review-tot88__list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-light);
}

.page-index-review-tot88__icon {
    font-size: 18px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Guide Section */
.page-index-review-tot88__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.page-index-review-tot88__steps-list li {
    counter-increment: step-counter;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-index-review-tot88__steps-list li::before {
    content: counter(step-counter);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -25px;
    border: 4px solid var(--bg-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-tot88__steps-list li p {
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-index-review-tot88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

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

.page-index-review-tot88__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-tot88__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-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

/* Conclusion Section */
.page-index-review-tot88__conclusion-section .page-index-review-tot88__section-title {
    color: var(--text-light);
}

.page-index-review-tot88__conclusion-section .page-index-review-tot88__description {
    color: var(--text-light);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-index-review-tot88__summary-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-index-review-tot88__summary-image {
        flex: none;
        max-width: 80%;
        margin-bottom: 30px;
    }
}

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

    .page-index-review-tot88__main-title,
    .page-index-review-tot88__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .page-index-review-tot88__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-index-review-tot88__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-review-tot88__btn-primary,
    .page-index-review-tot88__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }

    .page-index-review-tot88__intro-section,
    .page-index-review-tot88__review-summary-section,
    .page-index-review-tot88__detailed-review-section,
    .page-index-review-tot88__pros-cons-section,
    .page-index-review-tot88__guide-section,
    .page-index-review-tot88__faq-section,
    .page-index-review-tot88__conclusion-section {
        padding: 40px 0;
    }

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

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

    .page-index-review-tot88__review-grid,
    .page-index-review-tot88__comparison-grid,
    .page-index-review-tot88__steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-review-tot88__review-item .page-index-review-tot88__item-title {
        font-size: 20px;
    }

    .page-index-review-tot88__sub-title {
        font-size: 22px;
    }

    .page-index-review-tot88__list li,
    .page-index-review-tot88__review-item p,
    .page-index-review-tot88__steps-list li p {
        font-size: 14px;
    }

    .page-index-review-tot88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-index-review-tot88__faq-question h3 {
        font-size: 15px;
        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;
    }

    /* Mobile image adaptation */
    .page-index-review-tot88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index-review-tot88__intro-section,
    .page-index-review-tot88__review-summary-section,
    .page-index-review-tot88__detailed-review-section,
    .page-index-review-tot88__pros-cons-section,
    .page-index-review-tot88__guide-section,
    .page-index-review-tot88__faq-section,
    .page-index-review-tot88__conclusion-section,
    .page-index-review-tot88__container,
    .page-index-review-tot88__summary-card,
    .page-index-review-tot88__review-item,
    .page-index-review-tot88__pros,
    .page-index-review-tot88__cons,
    .page-index-review-tot88__steps-list li,
    .page-index-review-tot88__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}