/* style/promotions-new-user.css */

/* Custom Colors */
:root {
  --page-promotions-new-user-primary-color: #11A84E;
  --page-promotions-new-user-secondary-color: #22C768;
  --page-promotions-new-user-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-new-user-card-bg: #11271B;
  --page-promotions-new-user-background: #08160F;
  --page-promotions-new-user-text-main: #F2FFF6;
  --page-promotions-new-user-text-secondary: #A7D9B8;
  --page-promotions-new-user-border: #2E7A4E;
  --page-promotions-new-user-glow: #57E38D;
  --page-promotions-new-user-gold: #F2C14E;
  --page-promotions-new-user-divider: #1E3A2A;
  --page-promotions-new-user-deep-green: #0A4B2C;
}

.page-promotions-new-user {
  background-color: var(--page-promotions-new-user-background);
  color: var(--page-promotions-new-user-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-promotions-new-user__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  background-color: var(--page-promotions-new-user-deep-green);
  overflow: hidden;
}

.page-promotions-new-user__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width on larger screens */
  margin-bottom: 30px;
}

.page-promotions-new-user__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-new-user__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-new-user__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: var(--page-promotions-new-user-gold);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-new-user__intro-text {
  font-size: 1.1em;
  color: var(--page-promotions-new-user-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-new-user__btn-primary,
.page-promotions-new-user__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-new-user__btn-primary {
  background: var(--page-promotions-new-user-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions-new-user__btn-secondary {
  background: #ffffff;
  color: var(--page-promotions-new-user-primary-color);
  border: 2px solid var(--page-promotions-new-user-primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background: #f0f0f0;
}

/* General Section Styles */
.page-promotions-new-user__benefits-section,
.page-promotions-new-user__offer-types-section,
.page-promotions-new-user__how-to-claim-section,
.page-promotions-new-user__terms-conditions-section,
.page-promotions-new-user__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-promotions-new-user__dark-section {
  background-color: var(--page-promotions-new-user-card-bg);
  color: var(--page-promotions-new-user-text-main);
}

.page-promotions-new-user__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-new-user__section-title {
  font-size: 2.5em;
  color: var(--page-promotions-new-user-gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-promotions-new-user__section-description {
  font-size: 1.1em;
  color: var(--page-promotions-new-user-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Benefit Cards */
.page-promotions-new-user__benefit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-user__card {
  background-color: var(--page-promotions-new-user-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--page-promotions-new-user-border);
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

.page-promotions-new-user__card-image {
  width: 100%;
  max-width: 400px; /* Larger images for cards */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Min size for card images */
}

.page-promotions-new-user__card-title {
  font-size: 1.5em;
  color: var(--page-promotions-new-user-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-new-user__card-text {
  font-size: 1em;
  color: var(--page-promotions-new-user-text-secondary);
  flex-grow: 1; /* Push content to bottom */
}

/* Offer List */
.page-promotions-new-user__offer-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 40px;
}

.page-promotions-new-user__offer-item {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--page-promotions-new-user-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-promotions-new-user-border);
  text-align: left;
}

.page-promotions-new-user__offer-item:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image position */
}

.page-promotions-new-user__offer-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Min size for offer images */
}

.page-promotions-new-user__offer-content {
  width: 50%;
}

.page-promotions-new-user__offer-title {
  font-size: 1.8em;
  color: var(--page-promotions-new-user-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-new-user__offer-text {
  font-size: 1em;
  color: var(--page-promotions-new-user-text-secondary);
  margin-bottom: 20px;
}

/* How to Claim Steps */
.page-promotions-new-user__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-user__step-item {
  background-color: var(--page-promotions-new-user-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--page-promotions-new-user-border);
  height: 100%; /* Ensure equal height */
  box-sizing: border-box;
}

.page-promotions-new-user__step-icon {
  background: var(--page-promotions-new-user-button-gradient);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user__step-title {
  font-size: 1.5em;
  color: var(--page-promotions-new-user-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-new-user__step-text {
  font-size: 1em;
  color: var(--page-promotions-new-user-text-secondary);
}

.page-promotions-new-user__text-center {
  margin-top: 40px;
}

/* Terms & Conditions */
.page-promotions-new-user__terms-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
  text-align: left;
}

.page-promotions-new-user__terms-list li {
  background-color: var(--page-promotions-new-user-background);
  border: 1px solid var(--page-promotions-new-user-divider);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  color: var(--page-promotions-new-user-text-secondary);
  font-size: 1em;
}

/* FAQ Section */
.page-promotions-new-user__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-promotions-new-user__faq-item {
  background-color: var(--page-promotions-new-user-card-bg);
  border: 1px solid var(--page-promotions-new-user-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-new-user__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-promotions-new-user-gold);
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
}

.page-promotions-new-user__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-new-user__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-promotions-new-user__faq-qtext {
  flex-grow: 1;
}

.page-promotions-new-user__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: var(--page-promotions-new-user-gold);
  transition: transform 0.3s ease;
}

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

.page-promotions-new-user__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--page-promotions-new-user-text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--page-promotions-new-user-divider);
  margin-top: 10px;
  padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user__hero-section {
    padding: 40px 20px;
  }

  .page-promotions-new-user__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-promotions-new-user__section-title {
    font-size: 2em;
  }

  .page-promotions-new-user__offer-item {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions-new-user__offer-item:nth-child(even) {
    flex-direction: column;
  }

  .page-promotions-new-user__offer-image,
  .page-promotions-new-user__offer-content {
    width: 100%;
  }

  .page-promotions-new-user__offer-image {
    margin-bottom: 20px;
  }

  .page-promotions-new-user__benefits-section,
  .page-promotions-new-user__offer-types-section,
  .page-promotions-new-user__how-to-claim-section,
  .page-promotions-new-user__terms-conditions-section,
  .page-promotions-new-user__faq-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-new-user__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-promotions-new-user__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-promotions-new-user__intro-text {
    font-size: 1em;
  }

  .page-promotions-new-user__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-new-user__btn-primary,
  .page-promotions-new-user__btn-secondary {
    width: 100% !important;
    max-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-new-user__section-title {
    font-size: 1.8em;
  }

  .page-promotions-new-user__section-description {
    font-size: 0.95em;
  }

  .page-promotions-new-user__benefit-cards,
  .page-promotions-new-user__steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions-new-user__card-image,
  .page-promotions-new-user__offer-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-new-user__card,
  .page-promotions-new-user__offer-item,
  .page-promotions-new-user__step-item,
  .page-promotions-new-user__faq-item,
  .page-promotions-new-user__container,
  .page-promotions-new-user__hero-section,
  .page-promotions-new-user__benefits-section,
  .page-promotions-new-user__offer-types-section,
  .page-promotions-new-user__how-to-claim-section,
  .page-promotions-new-user__terms-conditions-section,
  .page-promotions-new-user__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions-new-user__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-promotions-new-user__faq-answer {
    padding: 0 20px 15px;
  }

  .page-promotions-new-user__terms-list {
    padding-left: 0;
  }

  .page-promotions-new-user__terms-list li {
    padding: 12px 15px;
  }
}

/* Contrast Fixes (applied based on body background, which is dark) */
.page-promotions-new-user p,
.page-promotions-new-user li,
.page-promotions-new-user__card-text,
.page-promotions-new-user__offer-text,
.page-promotions-new-user__step-text,
.page-promotions-new-user__faq-answer {
  color: var(--page-promotions-new-user-text-secondary); /* Ensure light text on dark background */
}

.page-promotions-new-user__card-title,
.page-promotions-new-user__offer-title,
.page-promotions-new-user__step-title,
.page-promotions-new-user__faq-item summary {
  color: var(--page-promotions-new-user-gold); /* Ensure good contrast for titles */
}

.page-promotions-new-user__section-title {
  color: var(--page-promotions-new-user-gold);
}

.page-promotions-new-user__dark-bg {
  background-color: var(--page-promotions-new-user-card-bg);
  color: var(--page-promotions-new-user-text-main);
}

.page-promotions-new-user__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-new-user__dark-section {
  background-color: var(--page-promotions-new-user-deep-green);
  color: var(--page-promotions-new-user-text-main);
}