/* style/index-review-lucky88.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f8f9fa;
    --background-card: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-lucky88 {
    color: var(--text-color-light); /* Default text color for dark body bg */
    background-color: var(--dark-bg-1); /* Assuming shared.css defines --dark-bg-1 */
    padding-top: 120px; /* Space for fixed header on desktop */
}

@media (max-width: 768px) {
    .page-index-review-lucky88 {
        padding-top: 100px !important; /* Space for fixed header on mobile */
    }
}

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

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

.page-index-review-lucky88__section-description {
    font-size: 16px;
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-index-review-lucky88__review-content-section,
.page-index-review-lucky88__intro-section,
.page-index-review-lucky88__games-section,
.page-index-review-lucky88__promotions-section,
.page-index-review-lucky88__news-section,
.page-index-review-lucky88__faq-section {
    padding: 60px 20px;
    background: var(--background-light);
}

.page-index-review-lucky88__review-content-section {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    padding-top: 180px; /* Specific padding for main content after fixed header */
}

@media (max-width: 768px) {
    .page-index-review-lucky88__review-content-section {
        padding-top: 160px !important;
    }
}

.page-index-review-lucky88__review-content-container,
.page-index-review-lucky88__intro-container,
.page-index-review-lucky88__games-container,
.page-index-review-lucky88__promotions-container,
.page-index-review-lucky88__news-container,
.page-index-review-lucky88__faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-index-review-lucky88__review-content-card,
.page-index-review-lucky88__intro-content {
    background: var(--background-card);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-color-dark);
}

.page-index-review-lucky88__review-content-card h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 24px;
    text-align: center;
}

.page-index-review-lucky88__review-content-card h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

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

.page-index-review-lucky88__text-link:hover {
    color: var(--secondary-color);
}

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

.page-index-review-lucky88__cta-button:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.page-index-review-lucky88__cta-button--large {
    display: block;
    width: fit-content;
    margin: 40px auto 20px auto;
    font-size: 20px;
    padding: 18px 40px;
}

/* Games Section */
.page-index-review-lucky88__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-review-lucky88__game-card {
    background: var(--background-card);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

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

.page-index-review-lucky88__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-review-lucky88__game-card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index-review-lucky88__game-card-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-index-review-lucky88__game-card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-review-lucky88__game-card-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

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

.page-index-review-lucky88__promotion-item {
    background: var(--background-card);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

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

.page-index-review-lucky88__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-index-review-lucky88__promotion-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* News Section */
.page-index-review-lucky88__news-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-review-lucky88__news-item {
    background: var(--background-card);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

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

.page-index-review-lucky88__news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-review-lucky88__news-title {
    font-size: 20px;
    font-weight: bold;
    margin: 15px 15px 10px;
}

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

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

.page-index-review-lucky88__news-excerpt {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 15px 15px;
}

.page-index-review-lucky88__news-date {
    display: block;
    font-size: 13px;
    color: #888;
    margin: 0 15px 15px;
}

.page-index-review-lucky88__view-all {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-index-review-lucky88__faq-list {
    margin-top: 30px;
}

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

.page-index-review-lucky88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.page-index-review-lucky88__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color-dark);
    pointer-events: none; /* Allow click on entire question area */
}

.page-index-review-lucky88__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    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-lucky88__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 25px;
    opacity: 0;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    color: var(--text-color-dark);
}

.page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to cover any content */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-lucky88__review-content-container,
    .page-index-review-lucky88__intro-container,
    .page-index-review-lucky88__games-container,
    .page-index-review-lucky88__promotions-container,
    .page-index-review-lucky88__news-container,
    .page-index-review-lucky88__faq-container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .page-index-review-lucky88__page-main-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .page-index-review-lucky88__section-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-index-review-lucky88__review-content-section,
    .page-index-review-lucky88__intro-section,
    .page-index-review-lucky88__games-section,
    .page-index-review-lucky88__promotions-section,
    .page-index-review-lucky88__news-section,
    .page-index-review-lucky88__faq-section {
        padding: 40px 15px;
    }

    .page-index-review-lucky88__review-content-card,
    .page-index-review-lucky88__intro-content {
        padding: 25px;
    }

    .page-index-review-lucky88__review-content-card h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .page-index-review-lucky88__review-content-card h3 {
        font-size: 18px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-index-review-lucky88__review-body p {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-index-review-lucky88__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-review-lucky88__cta-button--large {
        margin-top: 30px;
        font-size: 18px;
        padding: 15px 30px;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-review-lucky88__game-cards,
    .page-index-review-lucky88__promotion-grid,
    .page-index-review-lucky88__news-articles {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-review-lucky88__game-card-image,
    .page-index-review-lucky88__promotion-image,
    .page-index-review-lucky88__news-image {
        height: 180px;
    }

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

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

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

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

    .page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
        padding: 15px 20px !important;
    }

    /* Mobile image responsive adaptation */
    .page-index-review-lucky88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-lucky88__review-content-section,
    .page-index-review-lucky88__intro-section,
    .page-index-review-lucky88__games-section,
    .page-index-review-lucky88__promotions-section,
    .page-index-review-lucky88__news-section,
    .page-index-review-lucky88__faq-section,
    .page-index-review-lucky88__review-content-container,
    .page-index-review-lucky88__intro-container,
    .page-index-review-lucky88__games-container,
    .page-index-review-lucky88__promotions-container,
    .page-index-review-lucky88__news-container,
    .page-index-review-lucky88__faq-container,
    .page-index-review-lucky88__game-card,
    .page-index-review-lucky88__promotion-item,
    .page-index-review-lucky88__news-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-index-review-lucky88__page-main-title {
        font-size: 24px;
    }

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

    .page-index-review-lucky88__review-content-card h2 {
        font-size: 20px;
    }

    .page-index-review-lucky88__review-content-card h3 {
        font-size: 16px;
    }

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

    .page-index-review-lucky88__faq-question h3 {
        font-size: 15px;
    }
}