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

:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --accent-color: #FF4500; /* OrangeRed for emphasis */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --card-background: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);
  --primary-color-gradient: linear-gradient(135deg, #FFD700, #FFA500);
}

.page-index-review-lucky88 {
  color: var(--text-light); /* Light text for dark body background */
  background-color: var(--background-dark);
}

.page-index-review-lucky88__review-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 based on actual navigation bar height */
  background: var(--primary-color-gradient);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-review-lucky88__review-hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-review-lucky88__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color); /* Darker text for golden background */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-index-review-lucky88__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-dark); /* Darker text for golden background */
}

.page-index-review-lucky88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  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: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-review-lucky88__content-section {
  padding: 50px 20px;
  background-color: var(--background-dark);
}

.page-index-review-lucky88__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-index-review-lucky88__card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
  color: var(--text-light);
  line-height: 1.7;
  border: 1px solid var(--border-color);
}

.page-index-review-lucky88__first-card {
  padding-top: 40px; /* Ensure consistent padding for the first card */
}

.page-index-review-lucky88__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

.page-index-review-lucky88 p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-light);
}

.page-index-review-lucky88 ul,
.page-index-review-lucky88 ol {
  margin-bottom: 15px;
  padding-left: 25px;
  list-style-type: disc;
  color: var(--text-light);
}

.page-index-review-lucky88 ul li,
.page-index-review-lucky88 ol li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-index-review-lucky88 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-lucky88 a:hover {
  color: #FFEB3B;
  text-decoration: underline;
}

.page-index-review-lucky88__image-wrapper {
  margin: 25px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center; /* Center images if they are smaller than container */
}

.page-index-review-lucky88__content-image {
  max-width: 100%;
  height: auto;
  display: block; /* Ensure no extra space below image */
  object-fit: cover;
}

.page-index-review-lucky88__read-more-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index-review-lucky88__read-more-button:hover {
  background: #FFEB3B;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Game Category Specific Styles */
.page-index-review-lucky88__game-category {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-lucky88__game-image-wrapper {
  margin-top: 15px;
  margin-bottom: 20px;
}

/* Promotion Item Specific Styles */
.page-index-review-lucky88__promotion-item {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-lucky88__promo-image-wrapper {
  margin-top: 15px;
  margin-bottom: 20px;
}

/* FAQ Section Styles */
.page-index-review-lucky88__faq-list {
  margin-top: 30px;
}

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

.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 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
}

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

.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: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-index-review-lucky88__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-index-review-lucky88__faq-question:active {
  background: rgba(255, 255, 255, 0.15);
}

.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: var(--primary-color);
}

.page-index-review-lucky88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 30px;
  height: 30px;
}

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

/* News Grid Styles */
.page-index-review-lucky88__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.page-index-review-lucky88__news-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-lucky88__news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-index-review-lucky88__news-image-wrapper {
  height: 200px; /* Fixed height for news images */
  overflow: hidden;
  margin: 0;
  border-radius: 10px 10px 0 0;
}

.page-index-review-lucky88__news-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-index-review-lucky88__news-title {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 20px 10px;
  line-height: 1.4;
}

.page-index-review-lucky88__news-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-lucky88__news-title a:hover {
  text-decoration: underline;
}

.page-index-review-lucky88__news-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin: 0 20px 15px;
  line-height: 1.5;
}

.page-index-review-lucky88__news-date {
  font-size: 13px;
  color: #aaaaaa;
  margin: 0 20px 20px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-lucky88__main-title {
    font-size: 36px;
  }

  .page-index-review-lucky88__hero-description {
    font-size: 16px;
  }

  .page-index-review-lucky88__section-title {
    font-size: 28px;
  }

  .page-index-review-lucky88__sub-title {
    font-size: 22px;
  }

  .page-index-review-lucky88__card {
    padding: 30px;
  }

  .page-index-review-lucky88__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-index-review-lucky88__news-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-index-review-lucky88__review-hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on mobile navigation bar height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-review-lucky88__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-index-review-lucky88__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

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

  .page-index-review-lucky88__content-section {
    padding: 30px 15px;
  }

  .page-index-review-lucky88__card {
    padding: 25px;
    border-radius: 8px;
  }

  .page-index-review-lucky88__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-index-review-lucky88__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 12px;
  }

  .page-index-review-lucky88 p,
  .page-index-review-lucky88 ul li,
  .page-index-review-lucky88 ol li {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .page-index-review-lucky88__image-wrapper {
    margin: 20px 0;
  }

  .page-index-review-lucky88__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-review-lucky88__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-index-review-lucky88__read-more-button {
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-index-review-lucky88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-lucky88__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-lucky88__faq-toggle {
    margin-left: 10px;
    width: 26px;
    height: 26px;
    font-size: 24px;
  }
  
  .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;
  }

  .page-index-review-lucky88__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-lucky88__news-image-wrapper {
    height: 180px;
  }

  .page-index-review-lucky88__news-title,
  .page-index-review-lucky88__news-excerpt,
  .page-index-review-lucky88__news-date {
    margin-left: 15px;
    margin-right: 15px;
  }
}

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

  .page-index-review-lucky88__hero-description {
    font-size: 14px;
  }

  .page-index-review-lucky88__section-title {
    font-size: 22px;
  }

  .page-index-review-lucky88__sub-title {
    font-size: 18px;
  }

  .page-index-review-lucky88__card {
    padding: 20px;
  }

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

  .page-index-review-lucky88 p,
  .page-index-review-lucky88 ul li,
  .page-index-review-lucky88 ol li {
    font-size: 14px;
  }

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

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