/* style/index-review-lucky88.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --dark-bg-1: #1a1a2e; /* Assuming this is the dark background from shared.css */
    --text-light: #f0f0f0;
    --text-dark: #333333;
    --border-light: #e0e0e0;
}

.page-index-review-lucky88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--dark-bg-1);
    padding-top: 120px; /* Default padding for fixed header on desktop */
}

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

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

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

.page-index-review-lucky88__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
}

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

/* CTA Button Styles */
.page-index-review-lucky88__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-index-review-lucky88__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

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

.page-index-review-lucky88__cta-button--primary:hover {
    background: #071a41;
    border-color: #071a41;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-lucky88__cta-button--secondary:hover {
    background: var(--border-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-lucky88__cta-group--center {
    margin-top: 50px;
}

@media (max-width: 768px) {
    .page-index-review-lucky88__cta-group {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .page-index-review-lucky88__cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        font-size: 16px;
        padding: 12px 20px;
    }
}

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

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

.page-index-review-lucky88__intro-text {
    font-size: 18px;
    text-align: justify;
    margin-bottom: 30px;
}

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

.page-index-review-lucky88__intro-text a:hover {
    text-decoration: underline;
}

.page-index-review-lucky88__intro-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

@media (max-width: 768px) {
    .page-index-review-lucky88__intro-section {
        padding: 40px 0;
    }

    .page-index-review-lucky88__main-title {
        font-size: 28px;
    }

    .page-index-review-lucky88__intro-text {
        font-size: 16px;
    }
}

/* Review Content Section (Module 1.5) */
.page-index-review-lucky88__review-content-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1);
}

.page-index-review-lucky88__review-content-container {
    max-width: 1400px; /* Wider for better readability */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-index-review-lucky88__review-content-card {
    background: #ffffff; /* White background for card */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-dark); /* Dark text for white background */
}

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

.page-index-review-lucky88__review-content-card h3 {
    font-size: 24px;
    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: 17px;
    line-height: 1.7;
}

.page-index-review-lucky88__review-body ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 16px;
}

.page-index-review-lucky88__review-body li {
    margin-bottom: 8px;
    font-size: 17px;
}

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

.page-index-review-lucky88__review-body a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .page-index-review-lucky88__review-content-section {
        padding: 30px 0;
    }

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

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

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

    .page-index-review-lucky88__review-body p,
    .page-index-review-lucky88__review-body li {
        font-size: 15px;
    }
}

/* Platform Intro Section (Adapted Module 2) */
.page-index-review-lucky88__platform-intro-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1);
    color: var(--text-light);
}

.page-index-review-lucky88__intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-review-lucky88__intro-item {
    background: #ffffff; /* White background for items */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: var(--text-dark); /* Dark text for white background */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-lucky88__intro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-lucky88__intro-item-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-review-lucky88__intro-item p {
    font-size: 16px;
}

@media (max-width: 768px) {
    .page-index-review-lucky88__platform-intro-section {
        padding: 30px 0;
    }

    .page-index-review-lucky88__intro-item {
        padding: 20px;
    }

    .page-index-review-lucky88__intro-item h3 {
        font-size: 20px;
    }

    .page-index-review-lucky88__intro-item p {
        font-size: 15px;
    }
}

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

.page-index-review-lucky88__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-review-lucky88__game-card {
    background: #ffffff; /* White background for cards */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: var(--text-dark); /* Dark text for white background */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-lucky88__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-lucky88__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    max-width: 100%;
}

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

.page-index-review-lucky88__game-card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-index-review-lucky88__game-card-title a:hover {
    text-decoration: underline;
}

.page-index-review-lucky88__game-card-description {
    font-size: 16px;
    padding: 0 15px 20px;
}

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

.page-index-review-lucky88__game-card-button:hover {
    background: #e6c200;
}

@media (max-width: 768px) {
    .page-index-review-lucky88__games-section {
        padding: 30px 0;
    }

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

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

    .page-index-review-lucky88__game-card-description {
        font-size: 15px;
    }
}

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

.page-index-review-lucky88__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-review-lucky88__promo-card {
    background: #ffffff; /* White background for cards */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: var(--text-dark); /* Dark text for white background */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-lucky88__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-lucky88__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    max-width: 100%;
}

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

.page-index-review-lucky88__promo-card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-index-review-lucky88__promo-card-title a:hover {
    text-decoration: underline;
}

.page-index-review-lucky88__promo-card-description {
    font-size: 16px;
    padding: 0 15px 20px;
}

.page-index-review-lucky88__promo-card-button {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-index-review-lucky88__promo-card-button:hover {
    background: #071a41;
}

@media (max-width: 768px) {
    .page-index-review-lucky88__promotions-section {
        padding: 30px 0;
    }

    .page-index-review-lucky88__promo-card-image {
        height: 180px;
    }

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

    .page-index-review-lucky88__promo-card-description {
        font-size: 15px;
    }
}

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

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

.page-index-review-lucky88__blog-card {
    background: #ffffff; /* White background for cards */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: var(--text-dark); /* Dark text for white background */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-lucky88__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-lucky88__blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.page-index-review-lucky88__blog-card-content {
    padding: 20px;
}

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

.page-index-review-lucky88__blog-card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-index-review-lucky88__blog-card-title a:hover {
    text-decoration: underline;
}

.page-index-review-lucky88__blog-card-excerpt {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
}

.page-index-review-lucky88__blog-card-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
}

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

.page-index-review-lucky88__blog-card-date {
    font-size: 13px;
    color: #888888;
}

@media (max-width: 768px) {
    .page-index-review-lucky88__blog-section {
        padding: 30px 0;
    }

    .page-index-review-lucky88__blog-card-image {
        height: 180px;
    }

    .page-index-review-lucky88__blog-card-title {
        font-size: 18px;
    }

    .page-index-review-lucky88__blog-card-excerpt {
        font-size: 14px;
    }
}

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

.page-index-review-lucky88__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.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 15px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--text-dark);
}

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

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

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

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

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

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

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

.page-index-review-lucky88__faq-answer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-index-review-lucky88__faq-section {
        padding: 30px 0;
    }

    .page-index-review-lucky88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-index-review-lucky88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-index-review-lucky88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-index-review-lucky88__faq-answer {
        padding: 0 15px;
    }
    
    .page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
        padding: 15px !important;
    }
}

/* Responsive image fix for all images */
.page-index-review-lucky88 img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .page-index-review-lucky88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}