/* style/index-review-lucky88.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #28A745;
  --accent-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e0e0e0;
}

.page-index-review-lucky88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default to dark text for light body background */
  background-color: var(--bg-light);
  padding-top: 120px; /* Adjust for fixed header */
}

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

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

@media (max-width: 768px) {
  .page-index-review-lucky88__container {
    padding: 0 15px;
  }
}

.page-index-review-lucky88__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-top: 25px;
  }
}

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

.page-index-review-lucky88__hero-review-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 180px; /* Desktop: Ensure content is below fixed header */
}

@media (max-width: 768px) {
  .page-index-review-lucky88__hero-review-section {
    padding: 60px 15px;
    padding-top: 160px !important; /* Mobile: Override desktop padding-top */
  }
}

.page-index-review-lucky88__hero-review-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-index-review-lucky88__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__main-title {
    font-size: 32px;
  }
}

.page-index-review-lucky88__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__subtitle {
    font-size: 16px;
  }
}

.page-index-review-lucky88__rating-overview {
  margin-bottom: 30px;
}

.page-index-review-lucky88__stars {
  color: var(--accent-color);
  font-size: 28px;
  margin-right: 10px;
}

.page-index-review-lucky88__overall-score {
  font-size: 24px;
  font-weight: bold;
}

.page-index-review-lucky88__rating-text {
  font-size: 16px;
  opacity: 0.9;
  margin-top: 5px;
}

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

.page-index-review-lucky88__cta-group--center {
  margin-top: 40px;
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-index-review-lucky88__cta-button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-index-review-lucky88__cta-group {
    flex-direction: column;
  }
}

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

@media (max-width: 768px) {
  .page-index-review-lucky88__content-section {
    padding: 30px 0;
  }
}

.page-index-review-lucky88__intro-card {
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 40px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__intro-card {
    padding: 25px;
    margin-bottom: 25px;
  }
}

.page-index-review-lucky88__intro-card p {
  font-size: 16px;
  margin-bottom: 15px;
}

.page-index-review-lucky88__review-dimensions {
  margin-bottom: 60px;
}

.page-index-review-lucky88__dimension-item {
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 25px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__dimension-item {
    padding: 20px;
    margin-bottom: 20px;
  }
}

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

@media (max-width: 768px) {
  .page-index-review-lucky88__dimension-title {
    font-size: 20px;
  }
}

.page-index-review-lucky88__dimension-item p {
  font-size: 16px;
}

.page-index-review-lucky88__pros-cons-section {
  margin-bottom: 60px;
}

.page-index-review-lucky88__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__grid-2-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.page-index-review-lucky88__card {
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__card {
    padding: 20px;
  }
}

.page-index-review-lucky88__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__card-title {
    font-size: 18px;
  }
}

.page-index-review-lucky88__list {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 16px;
}

.page-index-review-lucky88__list li {
  margin-bottom: 8px;
}

.page-index-review-lucky88__how-to-section {
  margin-bottom: 60px;
}

.page-index-review-lucky88__how-to-section p {
  font-size: 16px;
  margin-bottom: 25px;
  text-align: center;
}

.page-index-review-lucky88__step-by-step {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.page-index-review-lucky88__step-by-step .page-index-review-lucky88__card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-lucky88__step-by-step .page-index-review-lucky88__card p {
  flex-grow: 1;
  text-align: left;
}

.page-index-review-lucky88__payment-methods-section {
  margin-bottom: 60px;
}

.page-index-review-lucky88__conclusion-section {
  margin-bottom: 60px;
  text-align: center;
}

.page-index-review-lucky88__conclusion-section p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .page-index-review-lucky88__conclusion-section p {
    font-size: 16px;
  }
}

.page-index-review-lucky88__faq-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

@media (max-width: 768px) {
  .page-index-review-lucky88__faq-section {
    padding: 30px 0;
  }
}

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

@media (max-width: 768px) {
  .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;
  }
}

/* Global image responsiveness */
.page-index-review-lucky88 img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index-review-lucky88__image-full-width {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-review-lucky88__image-margin-top {
  margin-top: 25px;
}

@media (max-width: 768px) {
  .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__intro-card,
  .page-index-review-lucky88__dimension-item,
  .page-index-review-lucky88__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Ensure contrast for links in text */
.page-index-review-lucky88 p a,
.page-index-review-lucky88 li a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-review-lucky88 p a:hover,
.page-index-review-lucky88 li a:hover {
  color: #0056b3;
}