/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F3F3F3; /* Page background color */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  background-color: #191E2D; /* Dark background for hero content */
  color: #ffffff;
}

.page-promotions__hero-image {
  width: 100%;
  height: 640px; /* Fixed height for desktop hero image */
  object-fit: cover;
  display: block;
  opacity: 0.7;
}

.page-promotions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  z-index: 10;
}

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

.page-promotions__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button--primary {
  background-color: #1266EC; /* Register color */
  color: #ffffff;
}

.page-promotions__cta-button--primary:hover {
  background-color: #0d4fa6;
  transform: translateY(-2px);
}

.page-promotions__cta-button--secondary {
  background-color: #E5EEFD; /* Login color */
  color: #1266EC;
  border: 2px solid #1266EC;
}

.page-promotions__cta-button--secondary:hover {
  background-color: #d1e0fc;
  transform: translateY(-2px);
}

/* Section Titles and Descriptions */
.page-promotions__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #191E2D;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #404040;
}

/* Featured Promotions */
.page-promotions__featured-promotions {
  padding: 40px 20px;
  background-color: #F3F3F3;
}

.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__promotion-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #191E2D;
}

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

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #025BE8; /* Auxiliary color */
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  background-color: #0142b3;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-promotions__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__step-card {
  text-align: center;
  padding: 30px;
  background-color: #F3F3F3;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #025BE8;
  color: #ffffff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-promotions__step-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #191E2D;
}

.page-promotions__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #404040;
}

.page-promotions__step-text a {
  color: #025BE8;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__step-text a:hover {
  text-decoration: underline;
}

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

/* Terms and Conditions Section */
.page-promotions__terms-conditions {
  padding: 60px 20px;
  background-color: #F3F3F3;
}

.page-promotions__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__info-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__info-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #191E2D;
}

.page-promotions__info-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #404040;
}

.page-promotions__full-terms {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: #404040;
}

.page-promotions__full-terms a {
  color: #025BE8;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__full-terms a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

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

.page-promotions__faq-item {
  background-color: #F3F3F3;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #191E2D;
  cursor: pointer;
  list-style: none;
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #025BE8;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #404040;
}

/* CTA Banner */
.page-promotions__cta-banner {
  background-color: #191E2D; /* Footer background color */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-promotions__cta-banner-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__cta-banner-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__cta-banner-text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-promotions__cta-button--banner {
  background-color: #1266EC; /* Register color */
  color: #ffffff;
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 10px;
}

.page-promotions__cta-button--banner:hover {
  background-color: #0d4fa6;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-image {
    height: 500px;
  }

  .page-promotions__main-title {
    font-size: 3rem;
  }

  .page-promotions__section-title {
    font-size: 2rem;
  }

  .page-promotions__cta-banner-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px;
  }

  .page-promotions__hero-image {
    height: 350px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-promotions__hero-content {
    width: 95%;
    padding: 15px;
  }

  .page-promotions__main-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .page-promotions__subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-promotions__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
  }

  .page-promotions__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-promotions__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promotion-image {
    height: 180px;
  }

  .page-promotions__card-title {
    font-size: 1.4rem;
  }

  .page-promotions__card-text {
    font-size: 0.95rem;
  }

  .page-promotions__steps-container,
  .page-promotions__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__step-card,
  .page-promotions__info-card {
    padding: 25px;
  }

  .page-promotions__step-title {
    font-size: 1.3rem;
  }

  .page-promotions__info-title {
    font-size: 1.2rem;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px 20px;
  }

  .page-promotions__cta-banner {
    padding: 50px 15px;
  }

  .page-promotions__cta-banner-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-promotions__cta-banner-text {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-promotions__cta-button--banner {
    padding: 15px 30px;
    font-size: 1rem;
  }

  /* General image and container responsive rules */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-section,
  .page-promotions__featured-promotions,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__cta-banner,
  .page-promotions__promotions-grid,
  .page-promotions__steps-container,
  .page-promotions__info-grid,
  .page-promotions__faq-list,
  .page-promotions__cta-group,
  .page-promotions__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button specific mobile adaptations */
  .page-promotions__cta-button,
  .page-promotions__card-button,
  .page-promotions__cta-button--banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}