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

/* General Styles for the page content */
.page-index-latest-promotions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0d123d; /* Dark background, slightly lighter than main primary */
  line-height: 1.6;
}

.page-index-latest-promotions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-index-latest-promotions-section:nth-child(even) {
  background-color: #1A237E; /* Primary color for alternating sections */
}

.page-index-latest-promotions-main-title {
  font-size: 3.2em;
  color: #FFD700; /* Auxiliary color for main titles */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-index-latest-promotions-section-title {
  font-size: 2.5em;
  color: #FFD700; /* Auxiliary color for section titles */
  margin-bottom: 25px;
  font-weight: bold;
}

.page-index-latest-promotions-section-subtitle {
  font-size: 1.2em;
  color: #B0BEC5; /* Lighter grey for subtitles */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-promotions-sub-title {
  font-size: 1.8em;
  color: #FFD700; /* Auxiliary color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: left;
}

/* Buttons */
.page-index-latest-promotions-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-index-latest-promotions-btn-primary {
  background-color: #FFD700; /* Auxiliary color for primary action */
  color: #1A237E; /* Primary color for text on auxiliary background */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-latest-promotions-btn-primary:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-latest-promotions-btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary color for secondary action text */
  border: 2px solid #FFD700;
}

.page-index-latest-promotions-btn-secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
  transform: translateY(-2px);
}

.page-index-latest-promotions-btn-outline {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-index-latest-promotions-btn-outline:hover {
  background-color: #FFD700;
  color: #1A237E;
}

/* Hero Section */
.page-index-latest-promotions-hero-section {
  background: linear-gradient(135deg, #1A237E, #0d123d);
  padding: 100px 0;
  color: #FFFFFF;
}

.page-index-latest-promotions-hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #CFD8DC;
}

.page-index-latest-promotions-hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Why Choose Section */
.page-index-latest-promotions-why-choose {
  background-color: #0d123d;
}

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

.page-index-latest-promotions-grid-item {
  background-color: #1A237E;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions-grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.page-index-latest-promotions-item-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-latest-promotions-grid-item p {
  color: #CFD8DC;
}

/* Featured Promotions Section */
.page-index-latest-promotions-featured-promos {
  background-color: #1A237E;
}

.page-index-latest-promotions-promo-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-latest-promotions-promo-card {
  background-color: #0d123d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions-promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.page-index-latest-promotions-promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index-latest-promotions-promo-card .page-index-latest-promotions-card-title {
  font-size: 1.8em;
  color: #FFD700;
  padding: 20px 25px 10px;
  margin-bottom: 0;
}

.page-index-latest-promotions-promo-card p {
  color: #B0BEC5;
  padding: 0 25px;
  flex-grow: 1;
}

.page-index-latest-promotions-list {
  list-style: none;
  padding: 0 25px 15px;
  margin: 0;
  color: #CFD8DC;
  text-align: left;
}

.page-index-latest-promotions-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-index-latest-promotions-list li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-latest-promotions-promo-card .page-index-latest-promotions-btn-outline {
  margin: 20px 25px 25px;
  align-self: flex-start;
  width: calc(100% - 50px);
}

/* How to Claim Section */
.page-index-latest-promotions-how-to-claim {
  background-color: #0d123d;
}

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

.page-index-latest-promotions-step-item {
  background-color: #1A237E;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions-step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions-step-number {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A237E;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
}

.page-index-latest-promotions-step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-latest-promotions-step-item p {
  color: #CFD8DC;
  flex-grow: 1;
}

.page-index-latest-promotions-step-item a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-latest-promotions-step-item a:hover {
  color: #E6C200;
}

.page-index-latest-promotions-step-item .page-index-latest-promotions-btn-primary {
  margin-top: 20px;
  width: 100%;
}

/* Terms and Conditions Section */
.page-index-latest-promotions-terms {
  background-color: #1A237E;
  text-align: left;
}

.page-index-latest-promotions-terms-content {
  max-width: 900px;
  margin: 40px auto 0;
  color: #CFD8DC;
}

.page-index-latest-promotions-terms-content p {
  margin-bottom: 20px;
}

/* App Download Section */
.page-index-latest-promotions-app-download {
  background-color: #0d123d;
}

.page-index-latest-promotions-app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-index-latest-promotions-app-content {
  flex: 1;
}

.page-index-latest-promotions-app-content .page-index-latest-promotions-section-title {
  text-align: left;
  font-size: 2.2em;
}

.page-index-latest-promotions-app-content .page-index-latest-promotions-section-subtitle {
  text-align: left;
  margin-left: 0;
  font-size: 1.1em;
}

.page-index-latest-promotions-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-latest-promotions-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

/* FAQ Section */
.page-index-latest-promotions-faq {
  background-color: #1A237E;
}

.page-index-latest-promotions-accordion {
  max-width: 800px;
  margin: 50px auto 0;
  text-align: left;
}

.page-index-latest-promotions-accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0d123d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-accordion-header {
  background-color: #26327c; /* Slightly lighter primary */
  color: #FFD700;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-index-latest-promotions-accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions-accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-latest-promotions-accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #CFD8DC;
}

.page-index-latest-promotions-accordion-content p {
  padding-bottom: 20px;
  margin-top: 10px;
}

/* Bottom CTA Section */
.page-index-latest-promotions-cta-bottom {
  background: linear-gradient(45deg, #1A237E, #0d123d);
  padding: 80px 0;
}

.page-index-latest-promotions-bottom-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-latest-promotions-main-title {
    font-size: 2.8em;
  }

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

  .page-index-latest-promotions-app-flex {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-index-latest-promotions-app-content .page-index-latest-promotions-section-title,
  .page-index-latest-promotions-app-content .page-index-latest-promotions-section-subtitle {
    text-align: center;
  }

  .page-index-latest-promotions-app-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions-hero-section {
    padding: 80px 0 60px;
  }

  .page-index-latest-promotions-main-title {
    font-size: 2.2em;
  }

  .page-index-latest-promotions-hero-description {
    font-size: 1.1em;
  }

  .page-index-latest-promotions-section-title {
    font-size: 1.8em;
  }

  .page-index-latest-promotions-section-subtitle {
    font-size: 1em;
  }

  .page-index-latest-promotions-grid,
  .page-index-latest-promotions-promo-card-grid,
  .page-index-latest-promotions-steps-grid {
    grid-template-columns: 1fr;
  }

  .page-index-latest-promotions-hero-cta,
  .page-index-latest-promotions-bottom-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-latest-promotions-btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-index-latest-promotions-promo-card .page-index-latest-promotions-btn-outline {
    width: calc(100% - 50px);
  }
}

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

  .page-index-latest-promotions-section-title {
    font-size: 1.5em;
  }

  .page-index-latest-promotions-btn {
    width: 90%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-index-latest-promotions-promo-card .page-index-latest-promotions-btn-outline {
    width: calc(100% - 50px);
  }

  .page-index-latest-promotions-accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}