/* style/index-review-sinbet.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #FFC107;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-index-review-sinbet {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-light); /* Default for dark body background */
    background-color: var(--dark-bg-1); /* Assuming shared.css defines a dark background */
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-index-review-sinbet__review-content-section {
    padding: 60px 20px;
    background: var(--bg-light);
    color: var(--text-color-dark); /* Dark text on light background */
}

.page-index-review-sinbet__review-content-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-index-review-sinbet__review-content-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.page-index-review-sinbet__main-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.3;
}

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

.page-index-review-sinbet__review-body {
    color: var(--text-color-dark);
    line-height: 1.7;
}

.page-index-review-sinbet__review-body p {
    margin-bottom: 16px;
    font-size: 16px;
}

.page-index-review-sinbet__sub-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.4;
}

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

.page-index-review-sinbet__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-index-review-sinbet__cta-button:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-sinbet__cta-button--inline {
    margin-left: 20px;
    margin-right: 20px;
}

.page-index-review-sinbet__cta-button--block {
    display: block;
    width: fit-content;
    margin: 30px auto;
    max-width: 90%;
}

/* FAQ Section Styles */
.page-index-review-sinbet__faq-section {
    padding: 60px 20px;
    background-color: var(--dark-bg-1); /* Ensure contrast with text */
    color: var(--text-color-light);
}

.page-index-review-sinbet__faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-index-review-sinbet__faq-list {
    margin-top: 30px;
}

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

.page-index-review-sinbet__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;
    background-color: #2a2a2a; /* Dark background for answer */
    color: var(--text-color-light);
}

.page-index-review-sinbet__faq-item.active .page-index-review-sinbet__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background-color: #2a2a2a; /* Dark background for answer */
    border-radius: 0 0 5px 5px;
}

.page-index-review-sinbet__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 1px solid #0056b3;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-index-review-sinbet__faq-question:hover {
    background: #0056b3;
    border-color: #004499;
}

.page-index-review-sinbet__faq-question:active {
    background: #004499;
}

.page-index-review-sinbet__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-color-light);
}

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

.page-index-review-sinbet__faq-item.active .page-index-review-sinbet__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-sinbet__main-title {
        font-size: 28px;
    }
    .page-index-review-sinbet__sub-title {
        font-size: 22px;
    }
    .page-index-review-sinbet__review-content-card {
        padding: 30px;
    }
    .page-index-review-sinbet__cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }
    .page-index-review-sinbet__faq-title {
        font-size: 26px;
    }
    .page-index-review-sinbet__faq-question h3 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-index-review-sinbet {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-review-sinbet__review-content-section {
        padding: 30px 15px;
    }
    .page-index-review-sinbet__review-content-container,
    .page-index-review-sinbet__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-sinbet__review-content-card {
        padding: 20px;
    }
    .page-index-review-sinbet__main-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-index-review-sinbet__sub-title {
        font-size: 20px;
        margin-top: 28px;
        margin-bottom: 12px;
    }
    .page-index-review-sinbet__review-body p {
        font-size: 15px;
    }
    .page-index-review-sinbet__content-image,
    .page-index-review-sinbet__main-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-left: 0;
        margin-right: 0;
    }
    .page-index-review-sinbet__cta-button {
        display: block;
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        padding: 12px 15px;
        margin-top: 15px;
        word-wrap: break-word;
        white-space: normal;
        box-sizing: border-box;
    }
    .page-index-review-sinbet__cta-button--inline {
        margin-left: 0;
        margin-right: 0;
    }
    .page-index-review-sinbet__cta-button--block {
        margin: 20px auto;
    }
    .page-index-review-sinbet__faq-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-index-review-sinbet__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-sinbet__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-sinbet__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-sinbet__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-sinbet__faq-item.active .page-index-review-sinbet__faq-answer {
        padding: 15px !important;
    }
}