/* style/index-review-lucky88.css */

/* Variables */
:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --dark-background: #0a0a0a;
  --light-text: #ffffff;
  --dark-text: #333333;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Page-specific styles */
.page-index-review-lucky88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text); /* Default text color for body background */
  background-color: var(--dark-background); /* Ensure consistency with body */
}

/* Fixed header spacing */
.page-index-review-lucky88__hero-banner {
  position: relative;
  width: 100%;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  padding-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-index-review-lucky88__hero-container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.page-index-review-lucky88__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  max-width: 100%; /* Ensure image responsiveness */
}

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

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

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

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

.page-index-review-lucky88__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-index-review-lucky88__cta-button--primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-lucky88__cta-button--secondary:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Review Content Section */
.page-index-review-lucky88__review-content-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Light background for the section holding the white card */
}

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

.page-index-review-lucky88__review-content-card {
  background: var(--card-background); /* White background for the card */
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-color);
  padding: 40px;
  color: var(--dark-text); /* Dark text on white background */
}

.page-index-review-lucky88__card-title,
.page-index-review-lucky88__section-heading {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-index-review-lucky88__review-content-card h2 {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-index-review-lucky88__review-content-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--dark-text);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-review-lucky88__review-content-card p {
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--dark-text);
}

.page-index-review-lucky88__review-content-card ul {
  margin-bottom: 16px;
  padding-left: 20px;
  list-style-type: disc;
}

.page-index-review-lucky88__review-content-card li {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--dark-text);
}

.page-index-review-lucky88__rating-summary {
  background: #f9f9f9;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  text-align: center;
}

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

.page-index-review-lucky88__stars {
  color: var(--secondary-color);
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.page-index-review-lucky88__review-dimension {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.page-index-review-lucky88__review-dimension:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-index-review-lucky88__dimension-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-index-review-lucky88__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}

.page-index-review-lucky88__cta-button--wide {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--light-text);
  font-size: 20px;
}

.page-index-review-lucky88__cta-button--wide:hover {
  background: linear-gradient(135deg, #0056b3, var(--primary-color));
}

.page-index-review-lucky88__conclusion {
  margin-top: 40px;
  text-align: center;
}

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

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

.page-index-review-lucky88__cta-button--large {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 20px 50px;
  background: linear-gradient(135deg, var(--secondary-color), #e0a800);
  color: var(--dark-text);
  font-size: 22px;
}

.page-index-review-lucky88__cta-button--large:hover {
  background: linear-gradient(135deg, #e0a800, var(--secondary-color));
}

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

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

.page-index-review-lucky88__faq-section .page-index-review-lucky88__section-heading {
  color: var(--light-text); /* Light text on dark background */
  margin-bottom: 30px;
}

.page-index-review-lucky88__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-index-review-lucky88__faq-item {
  margin-bottom: 0;
  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;
  padding: 0 15px;
  opacity: 0;
  color: var(--dark-text); /* Dark text for answer content */
}

.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: var(--card-background);
  border: 1px solid var(--border-color);
  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(--dark-text); /* Dark text for question title */
}

.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: 38px;
  }
  .page-index-review-lucky88__intro-text {
    font-size: 17px;
  }
  .page-index-review-lucky88__review-content-card {
    padding: 30px;
  }
  .page-index-review-lucky88__card-title,
  .page-index-review-lucky88__section-heading {
    font-size: 28px;
  }
  .page-index-review-lucky88__review-content-card h3 {
    font-size: 20px;
  }
  .page-index-review-lucky88__review-content-card p,
  .page-index-review-lucky88__review-content-card li {
    font-size: 15px;
  }
  .page-index-review-lucky88__cta-button--wide,
  .page-index-review-lucky88__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-index-review-lucky88__game-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-index-review-lucky88__hero-banner {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-lucky88__hero-overlay {
    padding: 15px;
  }
  .page-index-review-lucky88__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-index-review-lucky88__intro-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .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__review-content-section {
    padding: 30px 15px;
  }
  .page-index-review-lucky88__review-content-card {
    padding: 20px;
  }
  .page-index-review-lucky88__card-title,
  .page-index-review-lucky88__section-heading {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-index-review-lucky88__review-content-card h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-index-review-lucky88__review-content-card p,
  .page-index-review-lucky88__review-content-card li {
    font-size: 14px;
  }
  .page-index-review-lucky88__rating-summary {
    padding: 15px;
    margin: 20px 0;
  }
  .page-index-review-lucky88__rating-title {
    font-size: 20px;
  }
  .page-index-review-lucky88__stars {
    font-size: 24px;
  }
  .page-index-review-lucky88__game-gallery {
    grid-template-columns: 1fr;
  }
  .page-index-review-lucky88__game-image {
    height: auto;
  }
  .page-index-review-lucky88__cta-button--wide,
  .page-index-review-lucky88__cta-button--large {
    width: 100%;
    padding: 15px 25px;
    font-size: 18px;
  }
  .page-index-review-lucky88__faq-section {
    padding: 30px 15px;
  }
  .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;
  }
  /* Ensure all images 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-container,
  .page-index-review-lucky88__review-content-container,
  .page-index-review-lucky88__faq-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: 26px;
  }
  .page-index-review-lucky88__intro-text {
    font-size: 14px;
  }
  .page-index-review-lucky88__card-title,
  .page-index-review-lucky88__section-heading {
    font-size: 22px;
  }
  .page-index-review-lucky88__review-content-card h3 {
    font-size: 16px;
  }
  .page-index-review-lucky88__cta-button--primary,
  .page-index-review-lucky88__cta-button--secondary {
    font-size: 14px;
    padding: 10px 15px;
  }
  .page-index-review-lucky88__cta-button--wide,
  .page-index-review-lucky88__cta-button--large {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-index-review-lucky88__game-gallery {
    gap: 10px;
  }
}