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

:root {
  --page-promotions-new-user-offer-primary-color: #017439;
  --page-promotions-new-user-offer-secondary-color: #FFFFFF;
  --page-promotions-new-user-offer-register-color: #C30808;
  --page-promotions-new-user-offer-login-color: #C30808;
  --page-promotions-new-user-offer-background-color: #FFFFFF;
  --page-promotions-new-user-offer-register-login-font-color: #FFFF00;
  --page-promotions-new-user-offer-dark-text-color: #333333;
  --page-promotions-new-user-offer-light-text-color: #ffffff;
  --page-promotions-new-user-offer-body-bg: #0a0a0a; /* From shared.css */
}

.page-promotions-new-user-offer {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-promotions-new-user-offer-light-text-color); /* Default text color for dark body bg */
  background-color: var(--page-promotions-new-user-offer-body-bg); /* Ensure consistency with body bg */
}

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

.page-promotions-new-user-offer__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0;
  min-height: 600px;
  overflow: hidden;
  color: var(--page-promotions-new-user-offer-light-text-color);
  background-color: var(--page-promotions-new-user-offer-primary-color);
  padding-top: 0; /* Handled by shared body padding */
}

.page-promotions-new-user-offer__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions-new-user-offer__hero-section .page-promotions-new-user-offer__container {
  position: relative;
  z-index: 2;
}

.page-promotions-new-user-offer__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-promotions-new-user-offer-light-text-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-offer__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-promotions-new-user-offer-light-text-color);
}

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

.page-promotions-new-user-offer__btn-primary,
.page-promotions-new-user-offer__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-promotions-new-user-offer__btn-primary {
  background-color: var(--page-promotions-new-user-offer-register-color); /* Custom color for register/login */
  color: var(--page-promotions-new-user-offer-register-login-font-color); /* Custom font color */
  border: 2px solid var(--page-promotions-new-user-offer-register-color);
}

.page-promotions-new-user-offer__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-promotions-new-user-offer__btn-secondary {
  background-color: transparent;
  color: var(--page-promotions-new-user-offer-light-text-color);
  border: 2px solid var(--page-promotions-new-user-offer-light-text-color);
}

.page-promotions-new-user-offer__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-promotions-new-user-offer__content-area {
  padding: 60px 0;
  background-color: var(--page-promotions-new-user-offer-background-color); /* White background for content area */
  color: var(--page-promotions-new-user-offer-dark-text-color); /* Dark text for white background */
}

.page-promotions-new-user-offer__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: var(--page-promotions-new-user-offer-primary-color);
}

.page-promotions-new-user-offer__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.8;
  text-align: justify;
}

.page-promotions-new-user-offer__offer-grid,
.page-promotions-new-user-offer__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promotions-new-user-offer__card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--page-promotions-new-user-offer-dark-text-color);
  border: 1px solid #e0e0e0;
}

.page-promotions-new-user-offer__card-title {
  font-size: 1.8em;
  color: var(--page-promotions-new-user-offer-primary-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-offer__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-promotions-new-user-offer__card-list {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  font-size: 0.95em;
}

.page-promotions-new-user-offer__card-list li {
  margin-bottom: 8px;
}

.page-promotions-new-user-offer__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-promotions-new-user-offer__steps-container {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-promotions-new-user-offer__step-item {
  flex: 1;
  min-width: 280px;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--page-promotions-new-user-offer-dark-text-color);
  border: 1px solid #e0e0e0;
}

.page-promotions-new-user-offer__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: var(--page-promotions-new-user-offer-primary-color);
  color: var(--page-promotions-new-user-offer-light-text-color);
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions-new-user-offer__step-title {
  font-size: 1.5em;
  color: var(--page-promotions-new-user-offer-primary-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-offer__step-description {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-promotions-new-user-offer__step-button {
  margin-top: 15px;
  background-color: var(--page-promotions-new-user-offer-register-color);
  color: var(--page-promotions-new-user-offer-register-login-font-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-offer__step-button:hover {
  background-color: #a30606;
}

.page-promotions-new-user-offer__feature-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--page-promotions-new-user-offer-dark-text-color);
  border: 1px solid #e0e0e0;
}

.page-promotions-new-user-offer__feature-title {
  font-size: 1.8em;
  color: var(--page-promotions-new-user-offer-primary-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-offer__feature-description {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-promotions-new-user-offer__feature-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--page-promotions-new-user-offer-primary-color);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--page-promotions-new-user-offer-primary-color);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-promotions-new-user-offer__feature-link:hover {
  color: #005a2e;
  border-color: #005a2e;
}

.page-promotions-new-user-offer__faq-container {
  margin-top: 60px;
  margin-bottom: 60px;
}

.page-promotions-new-user-offer__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-promotions-new-user-offer-dark-text-color);
}

.page-promotions-new-user-offer__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-promotions-new-user-offer-primary-color);
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-offer__faq-question:hover {
  background-color: #e5e5e5;
}

.page-promotions-new-user-offer__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions-new-user-offer__faq-item.active .page-promotions-new-user-offer__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-promotions-new-user-offer__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-promotions-new-user-offer-dark-text-color);
}

.page-promotions-new-user-offer__faq-item.active .page-promotions-new-user-offer__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 25px;
}

.page-promotions-new-user-offer__faq-answer p {
  margin-bottom: 0;
  line-height: 1.7;
}

.page-promotions-new-user-offer__final-cta-block {
  background-color: var(--page-promotions-new-user-offer-primary-color);
  color: var(--page-promotions-new-user-offer-light-text-color);
  padding: 60px 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-offer__final-cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-promotions-new-user-offer-light-text-color);
}

.page-promotions-new-user-offer__final-cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-new-user-offer__hero-title {
    font-size: 3em;
  }
  .page-promotions-new-user-offer__hero-description {
    font-size: 1.1em;
  }
  .page-promotions-new-user-offer__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-offer__final-cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-offer {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions-new-user-offer__hero-section {
    min-height: 450px;
    padding: 80px 0;
  }
  .page-promotions-new-user-offer__hero-title {
    font-size: 2.5em;
  }
  .page-promotions-new-user-offer__hero-description {
    font-size: 1em;
  }
  .page-promotions-new-user-offer__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions-new-user-offer__btn-primary,
  .page-promotions-new-user-offer__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions-new-user-offer__content-area {
    padding: 40px 0;
  }
  .page-promotions-new-user-offer__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-new-user-offer__text-block {
    font-size: 1em;
  }
  .page-promotions-new-user-offer__offer-grid,
  .page-promotions-new-user-offer__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-new-user-offer__card,
  .page-promotions-new-user-offer__feature-item,
  .page-promotions-new-user-offer__step-item {
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-promotions-new-user-offer__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }
  .page-promotions-new-user-offer__steps-container {
    flex-direction: column;
    gap: 20px;
  }
  .page-promotions-new-user-offer__final-cta-block {
    padding: 40px 20px;
  }
  .page-promotions-new-user-offer__final-cta-title {
    font-size: 1.8em;
  }
  .page-promotions-new-user-offer__final-cta-description {
    font-size: 1em;
  }
  /* Mobile content padding */
  .page-promotions-new-user-offer__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-new-user-offer__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions-new-user-offer__faq-answer {
    padding: 0 20px;
  }
  .page-promotions-new-user-offer__faq-item.active .page-promotions-new-user-offer__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-offer__hero-title {
    font-size: 2em;
  }
  .page-promotions-new-user-offer__section-title {
    font-size: 1.5em;
  }
  .page-promotions-new-user-offer__final-cta-title {
    font-size: 1.5em;
  }
}

/* Ensure content containers don't overflow on mobile */
.page-promotions-new-user-offer__section,
.page-promotions-new-user-offer__card,
.page-promotions-new-user-offer__container,
.page-promotions-new-user-offer__cta-buttons,
.page-promotions-new-user-offer__steps-container,
.page-promotions-new-user-offer__offer-grid,
.page-promotions-new-user-offer__feature-grid,
.page-promotions-new-user-offer__faq-container,
.page-promotions-new-user-offer__final-cta-block {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure images in content areas are not smaller than 200px (desktop) */
.page-promotions-new-user-offer__content-area img {
  min-width: 200px;
  min-height: 200px;
}