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

/* Biến màu */
:root {
  --page-primary-color: #1A2B4C;
  --page-secondary-color: #FFD700;
  --page-text-light: #FFFFFF;
  --page-text-dark: #333333;
  --page-text-dark-contrast: #1A2B4C; /* Sử dụng màu chính làm màu chữ tối trên nền sáng */
}

.page-index-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-light); /* Mặc định chữ trắng trên nền tối */
  background-color: var(--page-primary-color);
}

.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-of-type(even) {
  background-color: rgba(255, 215, 0, 0.1); /* Màu vàng nhạt hơn để tạo độ tương phản nhẹ nhàng */
  color: var(--page-text-dark-contrast);
}

.page-index-latest-promotions__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index-latest-promotions__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-text-light);
}

.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__section-description {
  color: var(--page-text-dark-contrast);
}

/* Hero Section */
.page-index-latest-promotions__hero {
  background: linear-gradient(135deg, var(--page-primary-color) 0%, #0F1D36 100%); /* Gradient đậm hơn */
  padding: 100px 0;
  text-align: center;
  color: var(--page-text-light);
  position: relative;
  overflow: hidden;
}

.page-index-latest-promotions__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: var(--page-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-index-latest-promotions__hero-subtitle {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #E0E0E0;
}

/* Buttons */
.page-index-latest-promotions__btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.page-index-latest-promotions__btn--primary:hover {
  background-color: #E6C200; /* Darker gold */
  transform: translateY(-3px);
}

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

.page-index-latest-promotions__btn--secondary:hover {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  transform: translateY(-3px);
}

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

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

.page-index-latest-promotions__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Nền hơi trong suốt */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions__feature-item:hover {
  transform: translateY(-10px);
}

.page-index-latest-promotions__feature-title {
  font-size: 1.8em;
  color: var(--page-secondary-color);
  margin-bottom: 15px;
}

.page-index-latest-promotions__feature-text {
  font-size: 1em;
  color: #E0E0E0;
}

/* Promo Types Section */
.page-index-latest-promotions__promo-types {
  background-color: var(--page-text-light);
  color: var(--page-text-dark-contrast);
  padding-bottom: 80px;
}

.page-index-latest-promotions__promo-types .page-index-latest-promotions__section-title,
.page-index-latest-promotions__promo-types .page-index-latest-promotions__section-description {
  color: var(--page-text-dark-contrast);
}

.page-index-latest-promotions__promo-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: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-latest-promotions__promo-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-latest-promotions__promo-title {
  font-size: 1.6em;
  color: var(--page-primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index-latest-promotions__promo-text {
  font-size: 1em;
  color: var(--page-text-dark);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* How To Claim Section */
.page-index-latest-promotions__how-to-claim {
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
}

.page-index-latest-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-latest-promotions__steps-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-index-latest-promotions__steps-list li strong {
  color: var(--page-secondary-color);
  margin-right: 15px;
  font-size: 1.2em;
}

/* Terms & Conditions Section */
.page-index-latest-promotions__terms-conditions {
  background-color: var(--page-text-light);
  color: var(--page-text-dark-contrast);
}

.page-index-latest-promotions__terms-conditions .page-index-latest-promotions__section-title,
.page-index-latest-promotions__terms-conditions .page-index-latest-promotions__section-description {
  color: var(--page-text-dark-contrast);
}

.page-index-latest-promotions__terms-list {
  list-style: disc;
  text-align: left;
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding-left: 20px;
  color: var(--page-text-dark);
}

.page-index-latest-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

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

/* Responsible Gaming Section */
.page-index-latest-promotions__responsible-gaming {
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
}

/* FAQ Section */
.page-index-latest-promotions__faq {
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--page-text-dark-contrast);
}

.page-index-latest-promotions__faq .page-index-latest-promotions__section-title {
  color: var(--page-primary-color);
}

.page-index-latest-promotions__faq .page-index-latest-promotions__section-description {
  color: var(--page-text-dark-contrast);
}

.page-index-latest-promotions__faq-item {
  background-color: #FFFFFF;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-promotions__faq-question {
  font-size: 1.4em;
  color: var(--page-primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-latest-promotions__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: var(--page-secondary-color);
}

.page-index-latest-promotions__faq-question.active::after {
  content: '-';
}

.page-index-latest-promotions__faq-answer {
  font-size: 1em;
  color: var(--page-text-dark);
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

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

/* Call To Action Section */
.page-index-latest-promotions__cta {
  background-color: var(--page-secondary-color);
  padding: 80px 0;
  color: var(--page-primary-color);
}

.page-index-latest-promotions__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--page-primary-color);
}

.page-index-latest-promotions__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--page-primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-latest-promotions__hero-title {
    font-size: 3em;
  }
  .page-index-latest-promotions__section-title {
    font-size: 2.2em;
  }
  .page-index-latest-promotions__cta-title {
    font-size: 2.5em;
  }
  .page-index-latest-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions__hero {
    padding: 80px 0;
  }
  .page-index-latest-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-index-latest-promotions__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-latest-promotions__section {
    padding: 40px 0;
  }
  .page-index-latest-promotions__section-title {
    font-size: 2em;
  }
  .page-index-latest-promotions__section-description {
    font-size: 0.95em;
  }
  .page-index-latest-promotions__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index-latest-promotions__promo-card {
    padding: 20px;
  }
  .page-index-latest-promotions__promo-title {
    font-size: 1.4em;
  }
  .page-index-latest-promotions__steps-list li {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 15px 20px;
  }
  .page-index-latest-promotions__steps-list li strong {
    margin-bottom: 10px;
    margin-right: 0;
  }
  .page-index-latest-promotions__cta-title {
    font-size: 2em;
  }
  .page-index-latest-promotions__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2em;
  }
  .page-index-latest-promotions__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-promotions__btn {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-index-latest-promotions__promo-image {
    height: 150px;
  }
  .page-index-latest-promotions__faq-question {
    font-size: 1.2em;
  }
  .page-index-latest-promotions__faq-answer {
    font-size: 0.9em;
  }
  .page-index-latest-promotions__cta-title {
    font-size: 1.8em;
  }
}