.page-index-review-lucky88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #111; /* Inherited from shared.css, ensures contrast */
}

/* HERO Section */
.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: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, #8B0000, #4a0000); /* Darker gradient for text contrast */
  color: #ffffff;
}

.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: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-lucky88__hero-content h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-index-review-lucky88__hero-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index-review-lucky88__hero-content p a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-lucky88__hero-content p a:hover {
  text-decoration: underline;
}

.page-index-review-lucky88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #8B0000; /* Deep red text on gold button for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-index-review-lucky88__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFC107);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Review Content Section */
.page-index-review-lucky88__review-content-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Lighter background for main content card */
  color: #333333; /* Dark text on light background */
}

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

.page-index-review-lucky88__review-content-card {
  background: #ffffff; /* White background for the card */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 50px;
}

.page-index-review-lucky88__review-content-card h2 {
  font-size: 36px;
  font-weight: bold;
  color: #8B0000; /* Brand primary color for main headings */
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
}

.page-index-review-lucky88__review-content-card h3 {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  margin-top: 40px;
  margin-bottom: 18px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-index-review-lucky88__review-content-card h4 {
  font-size: 22px;
  font-weight: bold;
  color: #555555;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-review-lucky88__review-body {
  color: #333333;
  line-height: 1.7;
  font-size: 17px;
}

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

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

.page-index-review-lucky88__review-body li {
  margin-bottom: 10px;
}

.page-index-review-lucky88__review-body a {
  color: #8B0000; /* Brand primary color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-lucky88__review-body a:hover {
  text-decoration: underline;
  color: #FFD700; /* Gold on hover */
}

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

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

.page-index-review-lucky88__image-wrapper {
  margin: 30px 0;
  text-align: center;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-index-review-lucky88__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
}

.page-index-review-lucky88__image-caption {
  font-size: 15px;
  color: #666666;
  margin-top: 10px;
  font-style: italic;
}

.page-index-review-lucky88__image-caption a {
  color: #8B0000;
  font-weight: bold;
  text-decoration: none;
}

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

/* FAQ Section */
.page-index-review-lucky88__faq-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Consistent with review content section */
  color: #333333;
}

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

.page-index-review-lucky88__faq-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: #8B0000;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
}

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

.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;
  color: #555555;
}

.page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
}

.page-index-review-lucky88__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
}

.page-index-review-lucky88__faq-answer a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

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

.page-index-review-lucky88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #d0d0d0;
}

.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: #333333;
}

.page-index-review-lucky88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #8B0000;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  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: #333;
  transform: rotate(45deg);
}

/* General image styling */
.page-index-review-lucky88__img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-lucky88__review-content-card {
    padding: 40px;
  }

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

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

  .page-index-review-lucky88__review-body {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index-review-lucky88__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-review-lucky88__hero-content h1 {
    font-size: 32px;
  }

  .page-index-review-lucky88__hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-index-review-lucky88__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    margin-top: 20px;
  }

  .page-index-review-lucky88__review-content-section,
  .page-index-review-lucky88__faq-section {
    padding: 30px 15px;
  }
  
  .page-index-review-lucky88__review-content-card {
    padding: 25px;
    border-radius: 8px;
  }

  .page-index-review-lucky88__review-content-card h2 {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .page-index-review-lucky88__review-content-card h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-index-review-lucky88__review-content-card h4 {
    font-size: 19px;
    margin-top: 25px;
    margin-bottom: 12px;
  }

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

  .page-index-review-lucky88__review-body ul {
    margin-left: 20px;
  }

  .page-index-review-lucky88__image-wrapper {
    margin: 25px 0;
    padding: 10px;
  }

  .page-index-review-lucky88__image-caption {
    font-size: 14px;
  }

  .page-index-review-lucky88__faq-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index-review-lucky88__faq-question {
    padding: 18px 20px;
    border-radius: 8px;
  }

  .page-index-review-lucky88__faq-question h3 {
    font-size: 16px;
  }

  .page-index-review-lucky88__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }

  .page-index-review-lucky88__faq-answer {
    padding: 0 20px;
  }
  
  .page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images and containers are responsive */
  .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-section,
  .page-index-review-lucky88__review-content-section,
  .page-index-review-lucky88__faq-section {
    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__hero-content h1 {
    font-size: 28px;
  }

  .page-index-review-lucky88__hero-content p {
    font-size: 15px;
  }

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

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

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

  .page-index-review-lucky88__review-body {
    font-size: 14px;
  }

  .page-index-review-lucky88__faq-section h2 {
    font-size: 24px;
  }

  .page-index-review-lucky88__faq-question h3 {
    font-size: 15px;
  }

  .page-index-review-lucky88__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
}