/* style/index-review-lucky88.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --border-light: #e0e0e0;
}

/* Base styles for the page content, considering shared.css body background */
.page-index-review-lucky88 {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: transparent; /* Main content background will be handled by sections */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
}

@media (max-width: 768px) {
  .page-index-review-lucky88 {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
  }
}

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

.page-index-review-lucky88__section {
  padding: 60px 0;
}

.page-index-review-lucky88__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-index-review-lucky88__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-review-lucky88__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-index-review-lucky88__paragraph {
  font-size: 17px;
  margin-bottom: 15px;
  text-align: justify;
}

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

.page-index-review-lucky88__cta-link:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
}

/* Hero Banner Section */
.page-index-review-lucky88__hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px; /* Ensure visibility */
}

.page-index-review-lucky88__hero-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Wider for banner */
}

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

.page-index-review-lucky88__hero-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
}

.page-index-review-lucky88__main-title {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-review-lucky88__hero-description {
  font-size: 22px;
  color: var(--text-light);
  max-width: 800px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-index-review-lucky88__hero-cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, var(--secondary-color), #FFC107);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-lucky88__hero-cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #FFC107, var(--secondary-color));
}

/* Review Dimensions Section */
.page-index-review-lucky88__review-dimensions .page-index-review-lucky88__section-title {
  color: var(--text-light);
}

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

.page-index-review-lucky88__card {
  background-color: var(--text-light); /* White background for cards */
  color: var(--text-dark); /* Dark text for cards */
  border-radius: 10px;
  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;
}

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

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

.page-index-review-lucky88__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* How to Join Section */
.page-index-review-lucky88__how-to-join .page-index-review-lucky88__section-title {
  color: var(--primary-color);
}

.page-index-review-lucky88__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  font-size: 17px;
  color: var(--text-dark);
}

.page-index-review-lucky88__ordered-list li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.page-index-review-lucky88__ordered-list li strong {
  color: var(--primary-color);
}

.page-index-review-lucky88__cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  align-items: center;
}

.page-index-review-lucky88__main-cta-button,
.page-index-review-lucky88__secondary-cta-button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  width: fit-content;
  text-align: center;
}

.page-index-review-lucky88__main-cta-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-review-lucky88__main-cta-button:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-review-lucky88__secondary-cta-button {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border: 1px solid var(--secondary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index-review-lucky88__secondary-cta-button:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsible Gaming Section */
.page-index-review-lucky88__responsible-gaming .page-index-review-lucky88__section-title {
  color: var(--text-light);
}

.page-index-review-lucky88__responsible-gaming .page-index-review-lucky88__paragraph {
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-index-review-lucky88__responsible-gaming .page-index-review-lucky88__cta-link {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  margin: 30px auto 0 auto;
  display: block;
  width: fit-content;
}

/* FAQ Section */
.page-index-review-lucky88__faq-section .page-index-review-lucky88__section-title {
  color: var(--primary-color);
}

.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, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  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 #e0e0e0;
  border-radius: 5px;
  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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-lucky88__main-title {
    font-size: 40px;
  }
  .page-index-review-lucky88__hero-description {
    font-size: 20px;
  }
  .page-index-review-lucky88__hero-cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-index-review-lucky88__section-title {
    font-size: 30px;
  }
  .page-index-review-lucky88__paragraph,
  .page-index-review-lucky88__ordered-list {
    font-size: 16px;
  }
  .page-index-review-lucky88__card-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-index-review-lucky88__hero-banner {
    min-height: 400px;
  }
  .page-index-review-lucky88__hero-content-wrapper {
    padding: 0 15px;
  }
  .page-index-review-lucky88__hero-image {
    border-radius: 4px;
  }
  .page-index-review-lucky88__hero-text-overlay {
    border-radius: 4px;
    padding: 15px;
  }
  .page-index-review-lucky88__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-index-review-lucky88__hero-description {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .page-index-review-lucky88__hero-cta-button {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 40px;
  }
  .page-index-review-lucky88__section {
    padding: 40px 0;
  }
  .page-index-review-lucky88__container {
    padding: 0 15px;
  }
  .page-index-review-lucky88__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-index-review-lucky88__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-lucky88__card {
    padding: 20px;
  }
  .page-index-review-lucky88__card-title {
    font-size: 20px;
  }
  .page-index-review-lucky88__paragraph,
  .page-index-review-lucky88__ordered-list {
    font-size: 15px;
  }
  .page-index-review-lucky88__main-cta-button,
  .page-index-review-lucky88__secondary-cta-button {
    width: 100%;
    max-width: 300px;
    font-size: 16px;
    padding: 12px 25px;
  }
  .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;
  }

  /* Mobile image responsive 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,
  .page-index-review-lucky88__hero-content-wrapper {
    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: 28px;
  }
  .page-index-review-lucky88__hero-description {
    font-size: 16px;
  }
  .page-index-review-lucky88__hero-cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-index-review-lucky88__section-title {
    font-size: 24px;
  }
}