/* style/index-latest-promotions.css */

:root {
  --page-index-latest-promotions-primary-color: #0A2463;
  --page-index-latest-promotions-secondary-color: #FFD700;
  --page-index-latest-promotions-text-light: #F8F8F8;
  --page-index-latest-promotions-text-dark: #2C3E50;
  --page-index-latest-promotions-bg-light: #E0E0E0;
  --page-index-latest-promotions-bg-dark: #071C3D;
  --page-index-latest-promotions-accent-color: #f5db9c; /* Complementary to primary */
  --page-index-latest-promotions-border-radius: 8px;
  --page-index-latest-promotions-spacing-sm: 10px;
  --page-index-latest-promotions-spacing-md: 20px;
  --page-index-latest-promotions-spacing-lg: 40px;
}

.page-index-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-index-latest-promotions-text-dark);
  background-color: var(--page-index-latest-promotions-bg-light);
}

.page-index-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--page-index-latest-promotions-spacing-md);
}

.page-index-latest-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-latest-promotions__section:nth-of-type(even) {
  background-color: var(--page-index-latest-promotions-bg-dark);
  color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__section-title,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__section-subtitle,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__text-content,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__feature-title,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__feature-item p,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__tip-list li,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__faq-question,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__faq-answer {
  color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__keyword {
  color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__section-title {
  font-size: 2.5em;
  color: var(--page-index-latest-promotions-primary-color);
  margin-bottom: var(--page-index-latest-promotions-spacing-md);
  font-weight: bold;
}

.page-index-latest-promotions__section-subtitle {
  font-size: 1.2em;
  color: var(--page-index-latest-promotions-text-dark);
  margin-bottom: var(--page-index-latest-promotions-spacing-lg);
}

.page-index-latest-promotions__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--page-index-latest-promotions-border-radius);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-index-latest-promotions__btn--primary {
  background-color: var(--page-index-latest-promotions-secondary-color);
  color: var(--page-index-latest-promotions-primary-color);
  border: 2px solid var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__btn--primary:hover {
  background-color: var(--page-index-latest-promotions-primary-color);
  color: var(--page-index-latest-promotions-secondary-color);
  border-color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__btn--secondary {
  background-color: var(--page-index-latest-promotions-primary-color);
  color: var(--page-index-latest-promotions-secondary-color);
  border: 2px solid var(--page-index-latest-promotions-primary-color);
}

.page-index-latest-promotions__btn--secondary:hover {
  background-color: var(--page-index-latest-promotions-secondary-color);
  color: var(--page-index-latest-promotions-primary-color);
  border-color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__mt-40 {
  margin-top: var(--page-index-latest-promotions-spacing-lg);
}

/* Hero Section */
.page-index-latest-promotions__hero {
  background: linear-gradient(135deg, var(--page-index-latest-promotions-primary-color) 0%, #3B5998 100%);
  padding: 80px 0;
  color: var(--page-index-latest-promotions-text-light);
  position: relative;
  overflow: hidden;
}

.page-index-latest-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: var(--page-index-latest-promotions-spacing-md);
  color: var(--page-index-latest-promotions-secondary-color);
  font-weight: 700;
}

.page-index-latest-promotions__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto var(--page-index-latest-promotions-spacing-lg);
  color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__hero-image {
  max-width: 100%;
  height: auto;
  margin-top: var(--page-index-latest-promotions-spacing-lg);
  border-radius: var(--page-index-latest-promotions-border-radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-index-latest-promotions__why-choose {
  background-color: var(--page-index-latest-promotions-bg-light);
}

.page-index-latest-promotions__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--page-index-latest-promotions-spacing-lg);
  margin-top: var(--page-index-latest-promotions-spacing-lg);
}

.page-index-latest-promotions__feature-item {
  background-color: #ffffff;
  padding: var(--page-index-latest-promotions-spacing-md);
  border-radius: var(--page-index-latest-promotions-border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-index-latest-promotions__feature-title {
  font-size: 1.5em;
  color: var(--page-index-latest-promotions-primary-color);
  margin-bottom: var(--page-index-latest-promotions-spacing-sm);
}

/* Latest Promotions Section */
.page-index-latest-promotions__latest-promotions {
  background-color: var(--page-index-latest-promotions-bg-dark);
  color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__latest-promotions .page-index-latest-promotions__section-title {
  color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__latest-promotions .page-index-latest-promotions__section-subtitle {
  color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--page-index-latest-promotions-spacing-lg);
  margin-top: var(--page-index-latest-promotions-spacing-lg);
}

.page-index-latest-promotions__promotion-card {
  background-color: var(--page-index-latest-promotions-primary-color);
  padding: var(--page-index-latest-promotions-spacing-md);
  border-radius: var(--page-index-latest-promotions-border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__promotion-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: var(--page-index-latest-promotions-border-radius);
  margin-bottom: var(--page-index-latest-promotions-spacing-sm);
}

.page-index-latest-promotions__card-title {
  font-size: 1.3em;
  color: var(--page-index-latest-promotions-secondary-color);
  margin-bottom: var(--page-index-latest-promotions-spacing-sm);
}

.page-index-latest-promotions__card-description {
  font-size: 0.95em;
  margin-bottom: var(--page-index-latest-promotions-spacing-md);
  flex-grow: 1;
}

.page-index-latest-promotions__promotion-card .page-index-latest-promotions__btn {
  align-self: flex-start;
  margin-top: auto; /* Pushes button to the bottom */
}

.page-index-latest-promotions__cta-bottom {
  margin-top: 60px;
  padding-top: var(--page-index-latest-promotions-spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-latest-promotions__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: var(--page-index-latest-promotions-spacing-md);
  color: var(--page-index-latest-promotions-text-light);
}

/* Guide Section */
.page-index-latest-promotions__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--page-index-latest-promotions-spacing-lg);
  margin-top: var(--page-index-latest-promotions-spacing-lg);
  text-align: left;
}

.page-index-latest-promotions__step-item {
  background-color: #ffffff;
  padding: var(--page-index-latest-promotions-spacing-md);
  border-radius: var(--page-index-latest-promotions-border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__step-title {
  font-size: 1.4em;
  color: var(--page-index-latest-promotions-primary-color);
  margin-bottom: var(--page-index-latest-promotions-spacing-sm);
}

.page-index-latest-promotions__step-item p a {
  color: var(--page-index-latest-promotions-primary-color);
  text-decoration: underline;
}

.page-index-latest-promotions__step-item p a:hover {
  color: var(--page-index-latest-promotions-secondary-color);
}

/* App Download Section */
.page-index-latest-promotions__app-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.page-index-latest-promotions__app-content {
  flex: 1;
  min-width: 300px;
  padding-right: var(--page-index-latest-promotions-spacing-lg);
}

.page-index-latest-promotions__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-latest-promotions__app-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--page-index-latest-promotions-border-radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__app-features {
  list-style: none;
  padding: 0;
  margin-top: var(--page-index-latest-promotions-spacing-md);
}

.page-index-latest-promotions__app-features li {
  margin-bottom: var(--page-index-latest-promotions-spacing-sm);
  position: relative;
  padding-left: 25px;
  color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__app-features li::before {
  content: '✔';
  color: var(--page-index-latest-promotions-secondary-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* About M88 Section */
.page-index-latest-promotions__text-content {
  text-align: left;
  margin-bottom: var(--page-index-latest-promotions-spacing-md);
  font-size: 1.1em;
}

.page-index-latest-promotions__keyword {
  font-weight: bold;
  color: var(--page-index-latest-promotions-primary-color);
}

.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__keyword {
  color: var(--page-index-latest-promotions-secondary-color);
}

/* Tips Section */
.page-index-latest-promotions__tip-list {
  list-style: none;
  padding: 0;
  margin-top: var(--page-index-latest-promotions-spacing-lg);
  text-align: left;
}

.page-index-latest-promotions__tip-list li {
  background-color: #ffffff;
  padding: var(--page-index-latest-promotions-spacing-md);
  margin-bottom: var(--page-index-latest-promotions-spacing-sm);
  border-radius: var(--page-index-latest-promotions-border-radius);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--page-index-latest-promotions-primary-color);
  color: var(--page-index-latest-promotions-text-dark);
}

.page-index-latest-promotions__tip-list li strong {
  color: var(--page-index-latest-promotions-primary-color);
}

/* FAQ Section */
.page-index-latest-promotions__faq-item {
  background-color: #ffffff;
  padding: var(--page-index-latest-promotions-spacing-md);
  margin-bottom: var(--page-index-latest-promotions-spacing-sm);
  border-radius: var(--page-index-latest-promotions-border-radius);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #ddd;
}

.page-index-latest-promotions__faq-question {
  font-size: 1.3em;
  color: var(--page-index-latest-promotions-primary-color);
  margin-bottom: var(--page-index-latest-promotions-spacing-sm);
  cursor: pointer;
}

.page-index-latest-promotions__faq-answer {
  font-size: 1em;
  color: var(--page-index-latest-promotions-text-dark);
  display: none; /* Hidden by default, toggled by JS */
}

.page-index-latest-promotions__faq-question.active + .page-index-latest-promotions__faq-answer {
  display: block;
}

.page-index-latest-promotions__faq-answer a {
  color: var(--page-index-latest-promotions-primary-color);
  text-decoration: underline;
}

.page-index-latest-promotions__faq-answer a:hover {
  color: var(--page-index-latest-promotions-secondary-color);
}

/* Conclusion Section */
.page-index-latest-promotions__conclusion {
  background-color: var(--page-index-latest-promotions-primary-color);
  color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__conclusion .page-index-latest-promotions__section-title {
  color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__conclusion .page-index-latest-promotions__section-subtitle {
  color: var(--page-index-latest-promotions-text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2.5em;
  }

  .page-index-latest-promotions__hero-description {
    font-size: 1em;
  }

  .page-index-latest-promotions__section-title {
    font-size: 2em;
  }

  .page-index-latest-promotions__app-content {
    padding-right: 0;
    margin-bottom: var(--page-index-latest-promotions-spacing-lg);
  }

  .page-index-latest-promotions__app-flex {
    flex-direction: column;
  }

  .page-index-latest-promotions__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-index-latest-promotions__guide-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2em;
  }

  .page-index-latest-promotions__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index-latest-promotions__section {
    padding: 40px 0;
  }
}