/* style/index-review-lucky88.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0d0d0d; /* Assuming --dark-bg-1 from shared.css is dark */
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-lucky88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-light); /* Main text on dark body background */
    background-color: var(--background-dark); /* Should match shared.css body background */
}

/* Fixed Nav Bar Spacing - Desktop */
.page-index-review-lucky88__hero-section {
    padding-top: 180px; /* Adjust based on actual fixed header height */
}

.page-index-review-lucky88__section {
    padding: 40px 20px;
}

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

.page-index-review-lucky88__card {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
    color: var(--text-dark); /* Dark text on light card background */
    border: 1px solid var(--border-color);
}

.page-index-review-lucky88__hero-section {
    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), #2c529e); /* Slightly lighter gradient for visual appeal */
    color: var(--text-light);
}

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

.page-index-review-lucky88__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

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

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

.page-index-review-lucky88__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-lucky88__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

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

.page-index-review-lucky88__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    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-lucky88__cta-button:hover {
    background: #d4a704;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

.page-index-review-lucky88__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-index-review-lucky88__introduction-section p,
.page-index-review-lucky88__detailed-review-section p,
.page-index-review-lucky88__guide-section p,
.page-index-review-lucky88__tips-section p,
.page-index-review-lucky88__promotions-section p,
.page-index-review-lucky88__comparison-section p,
.page-index-review-lucky88__conclusion-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.page-index-review-lucky88__review-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-lucky88__review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index-review-lucky88__review-icon {
    width: 150px; /* Increased size, min 200x200px rule applies to source images, not display size if aspect ratio maintained */
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-index-review-lucky88__review-item p {
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.6;
}

.page-index-review-lucky88__cta-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.page-index-review-lucky88__cta-section p {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.page-index-review-lucky88__guide-list,
.page-index-review-lucky88__tips-list,
.page-index-review-lucky88__promo-list,
.page-index-review-lucky88__comparison-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-index-review-lucky88__guide-list li,
.page-index-review-lucky88__tips-list li,
.page-index-review-lucky88__promo-list li,
.page-index-review-lucky88__comparison-list li {
    background: #f1f3f5;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.05em;
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    border-left: 5px solid var(--secondary-color);
}

.page-index-review-lucky88__guide-list li strong {
    color: var(--primary-color);
    margin-right: 10px;
    flex-shrink: 0;
}

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

.page-index-review-lucky88__guide-list li a:hover {
    text-decoration: underline;
}

.page-index-review-lucky88__faq-section {
    padding-bottom: 60px;
}

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

.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 25px;
    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; /* Sufficiently large to contain content */
    padding: 20px 25px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

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

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

.page-index-review-lucky88__conclusion-section .page-index-review-lucky88__section-title {
    color: var(--primary-color);
}

.page-index-review-lucky88__conclusion-section p {
    color: var(--text-dark);
}

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

.page-index-review-lucky88__conclusion-section p a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-lucky88__main-title {
        font-size: 2.8em;
    }
    .page-index-review-lucky88__hero-description {
        font-size: 1.2em;
    }
    .page-index-review-lucky88__section-title {
        font-size: 2em;
    }
    .page-index-review-lucky88__review-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Fixed Nav Bar Spacing - Mobile */
    .page-index-review-lucky88__hero-section {
        padding-top: 160px !important; /* Adjust for mobile fixed header height */
        padding-bottom: 40px;
    }

    .page-index-review-lucky88__section {
        padding: 25px 15px;
    }

    .page-index-review-lucky88__card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .page-index-review-lucky88__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-index-review-lucky88__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-index-review-lucky88__cta-button {
        padding: 14px 30px;
        font-size: 1em;
    }

    .page-index-review-lucky88__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

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

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

    .page-index-review-lucky88__item-title {
        font-size: 1.2em;
    }

    .page-index-review-lucky88__introduction-section p,
    .page-index-review-lucky88__detailed-review-section p,
    .page-index-review-lucky88__guide-section p,
    .page-index-review-lucky88__tips-section p,
    .page-index-review-lucky88__promotions-section p,
    .page-index-review-lucky88__comparison-section p,
    .page-index-review-lucky88__conclusion-section p {
        font-size: 0.95em;
    }

    .page-index-review-lucky88__guide-list li,
    .page-index-review-lucky88__tips-list li,
    .page-index-review-lucky88__promo-list li,
    .page-index-review-lucky88__comparison-list li {
        font-size: 0.9em;
        padding: 12px 15px;
    }

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

    .page-index-review-lucky88__faq-question h3 {
        font-size: 1em;
    }

    .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 20px !important;
    }
    
    /* Mobile image adaptation */
    .page-index-review-lucky88 img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-index-review-lucky88__section,
    .page-index-review-lucky88__card,
    .page-index-review-lucky88__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-review-lucky88__main-title {
        font-size: 1.8em;
    }
    .page-index-review-lucky88__hero-description {
        font-size: 0.9em;
    }
    .page-index-review-lucky88__section-title {
        font-size: 1.6em;
    }
    .page-index-review-lucky88__card {
        padding: 20px;
    }
}