/* style/index-review-lucky88.css */
:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light: #f1f3f5;
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-lucky88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark);
}

/* Ensure main content is below fixed header */
.page-index-review-lucky88__hero-review-section {
    padding-top: 120px; /* Desktop: Adjust based on fixed header height */
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0a0a0a); /* Dark gradient for hero */
    color: var(--text-light);
}

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

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

.page-index-review-lucky88__hero-review-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index-review-lucky88__hero-review-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-index-review-lucky88__hero-review-title .page-index-review-lucky88__hero-review-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

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

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

.page-index-review-lucky88__hero-review-description .page-index-review-lucky88__hero-review-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-index-review-lucky88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index-review-lucky88__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-review-lucky88__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-review-lucky88__btn-secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-review-lucky88__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

/* Review Content Section */
.page-index-review-lucky88__review-content-section {
    padding: 60px 20px;
    background: var(--bg-light); /* Light background for main content */
    color: var(--text-dark);
}

.page-index-review-lucky88__review-content-container {
    max-width: 1000px; /* Adjusted width for readability */
    margin: 0 auto;
}

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

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

.page-index-review-lucky88__sub-heading {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.page-index-review-lucky88__text-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-lucky88__text-link:hover {
    color: #004499;
    text-decoration: underline;
}

.page-index-review-lucky88__content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-index-review-lucky88__games-section {
    padding: 60px 20px;
    background: var(--primary-color); /* Dark background */
    color: var(--text-light);
}

.page-index-review-lucky88__games-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-index-review-lucky88__games-heading {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-index-review-lucky88__games-intro {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.page-index-review-lucky88__game-card {
    background: var(--card-bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.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-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-review-lucky88__game-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

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

.page-index-review-lucky88__promotions-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-index-review-lucky88__promotions-heading {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-index-review-lucky88__promotions-intro {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 40px;
}

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

.page-index-review-lucky88__promo-card {
    background: var(--primary-color); /* Dark background for promo cards */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-index-review-lucky88__promo-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* News Section */
.page-index-review-lucky88__news-section {
    padding: 60px 20px;
    background: var(--primary-color); /* Dark background */
    color: var(--text-light);
}

.page-index-review-lucky88__news-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-index-review-lucky88__news-heading {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-index-review-lucky88__news-intro {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.page-index-review-lucky88__news-card {
    background: var(--card-bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.page-index-review-lucky88__news-card: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; /* Fixed height for consistent look */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

.page-index-review-lucky88__news-title .page-index-review-lucky88__news-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

.page-index-review-lucky88__news-summary {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-review-lucky88__read-more-button {
    display: inline-block;
    margin-top: auto; /* Push button to bottom */
}

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

.page-index-review-lucky88__faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-index-review-lucky88__faq-heading {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.page-index-review-lucky88__faq-list {
    text-align: left;
}

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

.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, opacity 0.4s ease;
    padding: 0 20px;
    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 !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-index-review-lucky88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg-light);
    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;
    position: relative;
    color: var(--primary-color);
}

.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: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-index-review-lucky88__faq-toggle {
    font-size: 28px;
    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: 32px;
    height: 32px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-lucky88__hero-review-title {
        font-size: 36px;
    }
    .page-index-review-lucky88__review-main-heading,
    .page-index-review-lucky88__games-heading,
    .page-index-review-lucky88__promotions-heading,
    .page-index-review-lucky88__news-heading,
    .page-index-review-lucky88__faq-heading {
        font-size: 28px;
    }
    .page-index-review-lucky88__sub-heading {
        font-size: 22px;
    }
    .page-index-review-lucky88__game-grid,
    .page-index-review-lucky88__promo-grid,
    .page-index-review-lucky88__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Mobile specific padding-top for fixed header */
    .page-index-review-lucky88__hero-review-section {
        padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 40px;
    }

    .page-index-review-lucky88__hero-review-container,
    .page-index-review-lucky88__review-content-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-left: 15px;
        padding-right: 15px;
    }

    .page-index-review-lucky88__hero-review-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-index-review-lucky88__hero-review-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-index-review-lucky88__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-index-review-lucky88__review-content-card {
        padding: 25px;
    }
    .page-index-review-lucky88__review-main-heading,
    .page-index-review-lucky88__games-heading,
    .page-index-review-lucky88__promotions-heading,
    .page-index-review-lucky88__news-heading,
    .page-index-review-lucky88__faq-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-index-review-lucky88__sub-heading {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    .page-index-review-lucky88 p {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-index-review-lucky88__game-card,
    .page-index-review-lucky88__promo-card,
    .page-index-review-lucky88__news-card {
        padding: 20px;
    }
    .page-index-review-lucky88__game-title,
    .page-index-review-lucky88__promo-title,
    .page-index-review-lucky88__news-title {
        font-size: 18px;
    }
    .page-index-review-lucky88__game-description,
    .page-index-review-lucky88__promo-description,
    .page-index-review-lucky88__news-summary {
        font-size: 14px;
    }
    .page-index-review-lucky88__news-image {
        height: 160px;
    }

    .page-index-review-lucky88__faq-question {
        padding: 15px;
    }
    .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-item.active .page-index-review-lucky88__faq-answer {
        padding: 15px !important;
    }
    
    /* Ensure all images are responsive and don't overflow */
    .page-index-review-lucky88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-lucky88__hero-review-section,
    .page-index-review-lucky88__review-content-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__hero-review-container,
    .page-index-review-lucky88__review-content-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__review-content-card,
    .page-index-review-lucky88__game-card,
    .page-index-review-lucky88__promo-card,
    .page-index-review-lucky88__news-card,
    .page-index-review-lucky88__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}