/* style/index-review-sinbet.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0f172a;
    --border-light: #e0e0e0;
}

/* Base styles for the page content, considering body background is dark */
.page-index-review-sinbet {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Ensure main content area respects body background */
    line-height: 1.6;
    padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

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

.page-index-review-sinbet__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-index-review-sinbet__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text-dark); /* Override for light background sections */
}

.page-index-review-sinbet__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-review-sinbet__text-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* HERO Section */
.page-index-review-sinbet__hero-review {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Ensure content is not hidden by fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2a4a 100%);
    overflow: hidden;
}

.page-index-review-sinbet__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-review-sinbet__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.page-index-review-sinbet__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light);
}

.page-index-review-sinbet__hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-sinbet__hero-description {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-index-review-sinbet__hero-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-review-sinbet__hero-link:hover {
    text-decoration: underline;
}

.page-index-review-sinbet__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--secondary-color), #FFC107);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index-review-sinbet__cta-button:hover {
    background: linear-gradient(135deg, #FFC107, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Overview and Detailed Analysis Sections */
.page-index-review-sinbet__overview,
.page-index-review-sinbet__detailed-analysis,
.page-index-review-sinbet__promotions,
.page-index-review-sinbet__faq-section {
    background-color: var(--bg-light);
    padding: 60px 20px;
}

.page-index-review-sinbet__overview .page-index-review-sinbet__text-block,
.page-index-review-sinbet__detailed-analysis .page-index-review-sinbet__text-block,
.page-index-review-sinbet__promotions .page-index-review-sinbet__text-block,
.page-index-review-sinbet__faq-section .page-index-review-sinbet__text-block {
    color: var(--text-dark);
}

.page-index-review-sinbet__overview .page-index-review-sinbet__section-title,
.page-index-review-sinbet__detailed-analysis .page-index-review-sinbet__section-title,
.page-index-review-sinbet__promotions .page-index-review-sinbet__section-title,
.page-index-review-sinbet__faq-section .page-index-review-sinbet__section-title {
    color: var(--primary-color);
}

.page-index-review-sinbet__review-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 30px;
    border: 1px solid var(--border-light);
}

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

.page-index-review-sinbet__card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-index-review-sinbet__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    min-height: 200px;
}

.page-index-review-sinbet__review-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-index-review-sinbet__btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-index-review-sinbet__btn-small:hover {
    background-color: #004d99;
    transform: translateY(-2px);
}

/* Baccarat Focus Section */
.page-index-review-sinbet__baccarat-focus {
    background: var(--primary-color);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
}

.page-index-review-sinbet__baccarat-focus .page-index-review-sinbet__section-title {
    color: var(--secondary-color);
}

.page-index-review-sinbet__baccarat-focus .page-index-review-sinbet__text-block {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
}

.page-index-review-sinbet__baccarat-focus .page-index-review-sinbet__text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-review-sinbet__baccarat-focus .page-index-review-sinbet__text-link:hover {
    text-decoration: underline;
}

.page-index-review-sinbet__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-review-sinbet__cta-button--secondary:hover {
    background: #FFC107;
    color: var(--primary-color);
    border-color: #FFC107;
}

/* Promotions Section */
.page-index-review-sinbet__promotion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-review-sinbet__promotion-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-light);
}

.page-index-review-sinbet__promotion-icon {
    max-width: 150px; /* Adjusted from 200px to fit better in cards, still > 200px for height/width if image is square */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-index-review-sinbet__promotion-details {
    flex-grow: 1;
}

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

.page-index-review-sinbet__promotion-item p {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-index-review-sinbet__btn-promotion {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--secondary-color), #FFC107);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.page-index-review-sinbet__btn-promotion:hover {
    background: linear-gradient(135deg, #FFC107, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-index-review-sinbet__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.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;
    padding: 0 15px;
    opacity: 0;
}

.page-index-review-sinbet__faq-item.active .page-index-review-sinbet__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-index-review-sinbet__faq-item.active .page-index-review-sinbet__faq-answer p {
    color: var(--text-dark);
}

.page-index-review-sinbet__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-sinbet__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

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

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

.page-index-review-sinbet__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-sinbet__faq-item.active .page-index-review-sinbet__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-sinbet__hero-title {
        font-size: 40px;
    }

    .page-index-review-sinbet__section-title {
        font-size: 32px;
    }

    .page-index-review-sinbet__card-title {
        font-size: 24px;
    }

    .page-index-review-sinbet__promotion-icon {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .page-index-review-sinbet {
        padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-review-sinbet__hero-review {
        padding-top: 160px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-index-review-sinbet__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

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

    .page-index-review-sinbet__card-content {
        flex-direction: column;
    }

    .page-index-review-sinbet__card-image {
        margin-bottom: 15px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-index-review-sinbet__baccarat-focus {
        padding: 50px 15px;
    }

    .page-index-review-sinbet__baccarat-focus .page-index-review-sinbet__text-block {
        font-size: 16px;
    }

    .page-index-review-sinbet__promotions {
        padding: 40px 15px;
    }

    .page-index-review-sinbet__promotion-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-review-sinbet__promotion-icon {
        max-width: 100px;
        min-width: 100px;
        min-height: 100px;
    }

    .page-index-review-sinbet__promotion-title {
        font-size: 20px;
    }

    .page-index-review-sinbet__btn-promotion {
        padding: 10px 20px;
        font-size: 15px;
    }

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

    /* Ensure all images are responsive */
    .page-index-review-sinbet img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-index-review-sinbet__section,
    .page-index-review-sinbet__card,
    .page-index-review-sinbet__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}