/* style/index-review-tot88.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light-gray: #f1f3f5;
    --border-light: #e0e0e0;
    --dark-bg-1: #1a1a1a; /* Assuming this is a dark background from shared.css */
}

.page-index-review-tot88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for the page, assuming dark body background */
    background-color: var(--dark-bg-1); /* Ensure consistency with shared.css body background */
    line-height: 1.6;
    padding-top: 120px; /* Desktop: Adjust for fixed header */
}

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

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

.page-index-review-tot88__intro-text {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.7;
}

.page-index-review-tot88__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-index-review-tot88__section-title {
    font-size: 32px;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

/* CTA Banner */
.page-index-review-tot88__cta-banner {
    background: linear-gradient(90deg, var(--primary-color), #2a4a8a);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__banner-image {
    width: 40%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-index-review-tot88__banner-content {
    flex-grow: 1;
    color: var(--text-light);
}

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

.page-index-review-tot88__banner-description {
    font-size: 17px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Review Cards */
.page-index-review-tot88__review-details-section {
    background-color: var(--dark-bg-1); /* Match body background */
    padding: 40px 0;
}

.page-index-review-tot88__review-card {
    background-color: #2a2a2a; /* Slightly lighter dark for cards */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

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

.page-index-review-tot88__review-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

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

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

.page-index-review-tot88__promotion-link:hover {
    color: #ffd700;
}

/* CTA Buttons */
.page-index-review-tot88__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index-review-tot88__cta-button:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__cta-button--large {
    padding: 18px 45px;
    font-size: 20px;
    margin-top: 30px;
}

.page-index-review-tot88__cta-button--medium {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
}

/* Summary Section */
.page-index-review-tot88__summary-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--text-light);
    text-align: center;
}

.page-index-review-tot88__benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-index-review-tot88__benefit-list li {
    background-color: #2a4a8a; /* Darker blue for list items */
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-index-review-tot88__benefit-list li p {
    margin: 0;
    font-size: 17px;
    color: var(--text-light);
}

.page-index-review-tot88__benefit-list li strong {
    color: var(--secondary-color);
}

.page-index-review-tot88__conclusion-text {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* How to Join Section */
.page-index-review-tot88__how-to-join-section {
    background-color: var(--dark-bg-1);
    padding: 60px 0;
    color: var(--text-light);
}

.page-index-review-tot88__steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

.page-index-review-tot88__steps-list li {
    counter-increment: step-counter;
    background-color: #2a2a2a;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    padding: 20px 20px 20px 60px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-index-review-tot88__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.page-index-review-tot88__steps-list li p {
    margin: 0;
    font-size: 17px;
    color: var(--text-light);
}

.page-index-review-tot88__steps-list li strong {
    color: var(--secondary-color);
}

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

.page-index-review-tot88__link-text:hover {
    color: #ffd700;
}

/* Responsible Gambling Section */
.page-index-review-tot88__responsible-gambling-section {
    background-color: #0A2463; /* Primary color background */
    padding: 60px 0;
    color: var(--text-light);
    text-align: center;
}

.page-index-review-tot88__responsible-gambling-section p {
    font-size: 17px;
    max-width: 900px;
    margin: 0 auto 20px auto;
    line-height: 1.7;
}

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

.page-index-review-tot88__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-tot88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #2a2a2a; /* Darker background for question */
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    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: #3a3a3a;
    border-color: #555555;
}

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

.page-index-review-tot88__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--text-light);
    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: 32px;
    height: 32px;
}

.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 25px;
    opacity: 0;
    background: #222222; /* Even darker background for answer */
    color: var(--text-light);
    border-radius: 0 0 8px 8px;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change '+' to 'x' visually */
}

.page-index-review-tot88__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

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

    .page-index-review-tot88__banner-image {
        width: 80%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .page-index-review-tot88__banner-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-index-review-tot88 {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-index-review-tot88__main-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .page-index-review-tot88__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-index-review-tot88__section-title {
        font-size: 26px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-index-review-tot88__cta-banner {
        padding: 20px;
        gap: 20px;
        margin-bottom: 40px;
    }

    .page-index-review-tot88__banner-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .page-index-review-tot88__banner-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-index-review-tot88__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-index-review-tot88__cta-button--large {
        padding: 15px 35px;
        font-size: 18px;
    }

    .page-index-review-tot88__review-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-index-review-tot88__card-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .page-index-review-tot88__review-card p {
        font-size: 15px;
    }

    .page-index-review-tot88__summary-section,
    .page-index-review-tot88__how-to-join-section,
    .page-index-review-tot88__responsible-gambling-section,
    .page-index-review-tot88__faq-section {
        padding: 40px 0;
    }

    .page-index-review-tot88__benefit-list {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .page-index-review-tot88__benefit-list li {
        padding: 15px;
    }

    .page-index-review-tot88__benefit-list li p {
        font-size: 16px;
    }

    .page-index-review-tot88__conclusion-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-index-review-tot88__steps-list {
        margin-bottom: 30px;
    }

    .page-index-review-tot88__steps-list li {
        padding: 15px 15px 15px 50px;
        margin-bottom: 15px;
    }

    .page-index-review-tot88__steps-list li::before {
        left: 15px;
        width: 25px;
        height: 25px;
        font-size: 16px;
    }

    .page-index-review-tot88__steps-list li p {
        font-size: 16px;
    }

    .page-index-review-tot88__responsible-gambling-section p {
        font-size: 16px;
    }

    .page-index-review-tot88__faq-question {
        padding: 15px 20px;
    }

    .page-index-review-tot88__faq-question h3 {
        font-size: 16px;
    }

    .page-index-review-tot88__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .page-index-review-tot88__faq-answer {
        padding: 0 20px;
    }

    .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
        padding: 15px 20px !important;
    }
    
    /* Ensure all images are responsive and do not overflow */
    .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,
    .page-index-review-tot88__cta-banner {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}