/* style/promotions.css */
.page-promotions {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--secondary-color); /* #FFFFFF */
}

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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio */
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-promotions__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-promotions__overview-section,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions,
.page-promotions__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-promotions__bonuses-section,
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-promotions__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

.page-promotions__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: inherit;
}

.page-promotions__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #EA7C07;
  font-weight: bold;
}

.page-promotions__list-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: inherit;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-promotions__steps-list .page-promotions__list-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #333333;
}

.page-promotions__steps-list .page-promotions__list-item:last-child {
  margin-bottom: 0;
}

.page-promotions__steps-list .page-promotions__list-item .page-promotions__list-heading {
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-promotions__terms-list .page-promotions__list-item {
  margin-bottom: 10px;
  padding-left: 0;
  position: relative;
}

.page-promotions__terms-list .page-promotions__list-item::before {
  content: '';
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-promotions__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: 20px;
  }
  .page-promotions__main-title {
    font-size: 3rem;
  }
  .page-promotions__section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-promotions__hero-content {
    margin-top: 20px;
  }
  .page-promotions__main-title {
    font-size: 2.5rem;
  }
  .page-promotions__hero-description {
    font-size: 1rem;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .page-promotions__overview-section,
  .page-promotions__bonuses-section,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8rem;
  }
  .page-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-promotions__grid-container {
    grid-template-columns: 1fr;
  }
  .page-promotions__card-title {
    font-size: 1.3rem;
  }
  .page-promotions__card-text {
    font-size: 0.9rem;
  }
  .page-promotions__list-item {
    font-size: 0.9rem;
  }
  .page-promotions__list-heading {
    font-size: 1.1rem;
  }
  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    font-size: 0.9rem;
    padding: 10px 20px 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-promotions__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile button responsiveness */
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions 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-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__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;
    overflow: hidden !important;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
  }
}