/* style/index-review-lucky88.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0a0a0a;
    --background-light-card: #ffffff;
    --background-grey: #f1f3f5;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover-color: rgba(0, 0, 0, 0.2);
}

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

.page-index-review-lucky88 .highlight {
    color: var(--secondary-color);
}

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

.page-index-review-lucky88 .link-style:hover {
    color: #ffc107; /* Slightly darker gold on hover */
    text-decoration: underline;
}

/* Fixed navigation bar padding */
.page-index-review-lucky88__introduction-section {
    padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

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

.page-index-review-lucky88__main-title,
.page-index-review-lucky88__section-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-index-review-lucky88__review-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Introduction Section */
.page-index-review-lucky88__introduction-section {
    background: var(--primary-color);
    padding-bottom: 60px;
    text-align: center;
}

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

.page-index-review-lucky88__intro-text {
    font-size: 18px;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-index-review-lucky88__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-review-lucky88__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center;
}

.page-index-review-lucky88__cta-button--primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-index-review-lucky88__cta-button--primary:hover {
    background: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-hover-color);
}

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

.page-index-review-lucky88__cta-button--secondary:hover {
    background: #0d3b66;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-hover-color);
}

/* Detailed Review Section */
.page-index-review-lucky88__detailed-review-section {
    background: var(--background-dark);
    padding: 60px 0;
}

.page-index-review-lucky88__review-body {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 17px;
}

.page-index-review-lucky88__review-body p {
    margin-bottom: 15px;
}

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

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

/* Game Portfolio Section */
.page-index-review-lucky88__game-portfolio-section {
    background: var(--background-grey);
    padding: 60px 0;
    color: var(--text-dark);
}

.page-index-review-lucky88__game-portfolio-section .page-index-review-lucky88__section-title {
    color: var(--text-dark);
}

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

.page-index-review-lucky88__game-card {
    background: var(--background-light-card);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-index-review-lucky88__game-card-description {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 0 15px;
}

.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;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Promotions Section */
.page-index-review-lucky88__promotions-section {
    background: var(--primary-color);
    padding: 60px 0;
}

.page-index-review-lucky88__promotions-section .page-index-review-lucky88__section-title {
    color: var(--text-light);
}

.page-index-review-lucky88__promo-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
}

.page-index-review-lucky88__promo-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-lucky88__promo-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

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

.page-index-review-lucky88__promo-item p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.page-index-review-lucky88__promo-button:hover {
    background: #ffc107;
    transform: translateY(-2px);
}

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

.page-index-review-lucky88__faq-section .page-index-review-lucky88__section-title {
    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: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.page-index-review-lucky88__faq-question:hover {
    background: #0d3b66;
    border-color: rgba(255, 255, 255, 0.2);
}

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

.page-index-review-lucky88__faq-question h3 .link-style {
    color: var(--secondary-color);
}

.page-index-review-lucky88__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-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, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #1a1a1a;
    border-radius: 0 0 8px 8px;
    color: var(--text-light);
}

.page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Related Articles Section */
.page-index-review-lucky88__related-articles-section {
    background: var(--background-grey);
    padding: 60px 0;
    color: var(--text-dark);
}

.page-index-review-lucky88__related-articles-section .page-index-review-lucky88__section-title {
    color: var(--text-dark);
}

.page-index-review-lucky88__article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index-review-lucky88__article-card {
    background: var(--background-light-card);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-index-review-lucky88__article-title .highlight {
    color: var(--secondary-color);
}

.page-index-review-lucky88__article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.page-index-review-lucky88__article-excerpt {
    font-size: 15px;
    color: var(--text-dark);
    padding: 0 20px 20px;
}

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

    .page-index-review-lucky88__review-subtitle {
        font-size: 22px;
    }
    
    .page-index-review-lucky88__intro-text {
        font-size: 17px;
    }

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

@media (max-width: 768px) {
    /* Mobile fixed navigation bar padding */
    .page-index-review-lucky88__introduction-section {
        padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
    }

    .page-index-review-lucky88__container {
        padding: 0 15px;
    }

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

    .page-index-review-lucky88__review-subtitle {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-index-review-lucky88__intro-text,
    .page-index-review-lucky88__review-body p,
    .page-index-review-lucky88__promo-item p,
    .page-index-review-lucky88__faq-question h3,
    .page-index-review-lucky88__faq-answer p,
    .page-index-review-lucky88__game-card-description,
    .page-index-review-lucky88__article-excerpt {
        font-size: 15px;
    }

    .page-index-review-lucky88__cta-group {
        flex-direction: column;
        gap: 15px;
    }

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

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

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

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

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

    .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;
    }

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

    .page-index-review-lucky88__article-title {
        font-size: 18px;
        margin: 15px 15px 10px;
    }

    .page-index-review-lucky88__article-excerpt {
        padding: 0 15px 15px;
    }

    /* Ensure all images and containers are responsive */
    .page-index-review-lucky88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-index-review-lucky88__container,
    .page-index-review-lucky88__introduction-section,
    .page-index-review-lucky88__detailed-review-section,
    .page-index-review-lucky88__game-portfolio-section,
    .page-index-review-lucky88__promotions-section,
    .page-index-review-lucky88__faq-section,
    .page-index-review-lucky88__related-articles-section,
    .page-index-review-lucky88__game-card,
    .page-index-review-lucky88__promo-item,
    .page-index-review-lucky88__article-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Contrast Fixes for specific elements if needed */
.page-index-review-lucky88__dark-section {
  background: var(--primary-color);
  color: var(--text-light); /* Forced white text */
}

.page-index-review-lucky88__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color); /* Button text always dark on gold */
  border: 2px solid transparent;
}

.page-index-review-lucky88__btn-secondary {
  background: var(--primary-color);
  color: var(--text-light); /* Button text always light on dark blue */
  border: 2px solid var(--secondary-color);
}