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

/* Base styles for the page content, ensuring light text on dark body background */
.page-index-review-lucky88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000) */
}

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

/* Hero Section */
.page-index-review-lucky88__hero-section {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-index-review-lucky88__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-index-review-lucky88__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-index-review-lucky88__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-index-review-lucky88__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-index-review-lucky88__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-review-lucky88__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-index-review-lucky88__content-area {
  padding: 60px 0;
}

.page-index-review-lucky88__light-bg {
  background-color: #ffffff; /* White background for content sections */
  color: #333333; /* Dark text for light background */
}

.page-index-review-lucky88__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff; /* White text for dark brand background */
}

.page-index-review-lucky88__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand primary color for titles on light background */
}

.page-index-review-lucky88__light-bg .page-index-review-lucky88__section-title {
    color: #017439;
}

.page-index-review-lucky88__dark-bg .page-index-review-lucky88__section-title {
    color: #ffffff;
}

.page-index-review-lucky88__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

/* Image with text block */
.page-index-review-lucky88__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-index-review-lucky88__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-index-review-lucky88__image-left, .page-index-review-lucky88__image-right {
  flex: 1;
  min-width: 300px; /* Ensure images are not too small */
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-index-review-lucky88__text-content {
  flex: 2;
  min-width: 300px;
}

.page-index-review-lucky88__full-width-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px 0;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Game Categories Grid */
.page-index-review-lucky88__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index-review-lucky88__game-card {
  background-color: #f8f8f8; /* Light background for cards */
  color: #333333; /* Dark text for light cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-index-review-lucky88__game-card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-index-review-lucky88__btn-text {
  display: inline-flex;
  align-items: center;
  color: #017439;
  font-weight: bold;
  text-decoration: none;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-index-review-lucky88__btn-text:hover {
  color: #005a2d;
}

.page-index-review-lucky88__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-index-review-lucky88__btn-text:hover .page-index-review-lucky88__arrow {
  transform: translateX(5px);
}

/* Video Section */
.page-index-review-lucky88__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index-review-lucky88__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Download Buttons */
.page-index-review-lucky88__download-buttons {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

/* Pros and Cons Section */
.page-index-review-lucky88__pros-cons {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-review-lucky88__card {
  background: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for light cards */
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 300px;
}

.page-index-review-lucky88__card-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #017439;
}

.page-index-review-lucky88__pros-card .page-index-review-lucky88__card-title {
  color: #017439;
}

.page-index-review-lucky88__cons-card .page-index-review-lucky88__card-title {
  color: #C30808;
}

.page-index-review-lucky88__list {
  list-style: none;
  padding: 0;
}

.page-index-review-lucky88__list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.page-index-review-lucky88__list-icon {
  margin-right: 10px;
  font-weight: bold;
  font-size: 1.2em;
}

.page-index-review-lucky88__pros-card .page-index-review-lucky88__list-icon {
  color: #017439;
}

.page-index-review-lucky88__cons-card .page-index-review-lucky88__list-icon {
  color: #C30808;
}

/* CTA Buttons Centered */
.page-index-review-lucky88__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-index-review-lucky88__faq-container {
  margin-top: 40px;
}

.page-index-review-lucky88__faq-item {
  background-color: #f8f8f8; /* Light background for FAQ items */
  color: #333333; /* Dark text for light FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-index-review-lucky88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #e0e0e0; /* Slightly darker background for question */
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-index-review-lucky88__faq-question:hover {
  background-color: #d0d0d0;
}

.page-index-review-lucky88__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-toggle {
  transform: rotate(45deg);
}

.page-index-review-lucky88__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px;
}

/* Button Styles */
.page-index-review-lucky88__btn-primary,
.page-index-review-lucky88__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-index-review-lucky88__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-index-review-lucky88__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-index-review-lucky88__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-index-review-lucky88__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-lucky88__hero-title {
    font-size: 2.8em;
  }
  .page-index-review-lucky88__section-title {
    font-size: 2em;
  }
  .page-index-review-lucky88__image-text-block {
    flex-direction: column;
  }
  .page-index-review-lucky88__image-text-block--reverse {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .page-index-review-lucky88__hero-section {
    min-height: 400px;
  }
  .page-index-review-lucky88__hero-title {
    font-size: 2em;
  }
  .page-index-review-lucky88__hero-description {
    font-size: 1em;
  }
  .page-index-review-lucky88__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-review-lucky88__btn-primary, 
  .page-index-review-lucky88__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto;
  }

  .page-index-review-lucky88__content-area {
    padding: 40px 0;
  }
  .page-index-review-lucky88__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index-review-lucky88__text-block {
    font-size: 1em;
  }
  .page-index-review-lucky88__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-lucky88__pros-cons {
    flex-direction: column;
    gap: 20px;
  }
  .page-index-review-lucky88__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-index-review-lucky88__faq-answer {
    padding: 0 20px;
  }
  .page-index-review-lucky88__faq-item.active .page-index-review-lucky88__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image responsiveness */
  .page-index-review-lucky88 img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-index-review-lucky88__image-text-block,
  .page-index-review-lucky88__game-categories,
  .page-index-review-lucky88__pros-cons,
  .page-index-review-lucky88__faq-container,
  .page-index-review-lucky88__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Mobile video responsiveness */
  .page-index-review-lucky88 video,
  .page-index-review-lucky88__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-index-review-lucky88__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: auto !important; /* Ensure height adjusts */
  }
  .page-index-review-lucky88__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile hero/video if shared doesn't */
  }

  /* Mobile button responsiveness */
  .page-index-review-lucky88__cta-button,
  .page-index-review-lucky88__btn-primary,
  .page-index-review-lucky88__btn-secondary,
  .page-index-review-lucky88 a[class*="button"],
  .page-index-review-lucky88 a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-lucky88__cta-buttons,
  .page-index-review-lucky88__button-group,
  .page-index-review-lucky88__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}