/* style/index-new-user-promo.css */

/* Base styles and dark body background adaptation */
.page-index-new-user-promo {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-index-new-user-promo__dark-section {
  background-color: #0d0d0d; /* Slightly lighter dark for sections */
  color: #ffffff;
}

.page-index-new-user-promo__light-bg {
  background-color: #1a1a1a; /* Dark gray background for contrast sections */
  color: #ffffff;
}

.page-index-new-user-promo a {
  color: #26A9E0;
  text-decoration: none;
}

.page-index-new-user-promo a:hover {
  text-decoration: underline;
}

/* Fixed header offset */
.page-index-new-user-promo__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-index-new-user-promo__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding: 60px 20px;
  background-color: #000; /* Fallback */
}

.page-index-new-user-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

.page-index-new-user-promo__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-index-new-user-promo__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-new-user-promo__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Call to Action Buttons */
.page-index-new-user-promo__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
}

.page-index-new-user-promo__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index-new-user-promo__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
}

.page-index-new-user-promo__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-new-user-promo__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Section General Styles */
.page-index-new-user-promo__section {
  padding: 80px 20px;
  text-align: center;
}

.page-index-new-user-promo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-new-user-promo__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-index-new-user-promo__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-index-new-user-promo__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Grid Layout for Offer Types */
.page-index-new-user-promo__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-new-user-promo__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent light for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.page-index-new-user-promo__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-new-user-promo__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-index-new-user-promo__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Registration Steps */
.page-index-new-user-promo__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-new-user-promo__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-index-new-user-promo__step-icon {
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-index-new-user-promo__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-index-new-user-promo__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Terms and Conditions */
.page-index-new-user-promo__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-index-new-user-promo__terms-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-index-new-user-promo__terms-heading {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-index-new-user-promo__terms-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Why Choose Us */
.page-index-new-user-promo__advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-new-user-promo__advantage-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-index-new-user-promo__advantage-heading {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-index-new-user-promo__advantage-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-index-new-user-promo__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-new-user-promo__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-new-user-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-index-new-user-promo__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-index-new-user-promo__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-index-new-user-promo__faq-item.active .page-index-new-user-promo__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-index-new-user-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: left;
}

.page-index-new-user-promo__faq-item.active .page-index-new-user-promo__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px !important;
}

.page-index-new-user-promo__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-new-user-promo__main-title {
    font-size: 2.8em;
  }

  .page-index-new-user-promo__section-title {
    font-size: 2em;
  }

  .page-index-new-user-promo__grid-layout,
  .page-index-new-user-promo__steps-list,
  .page-index-new-user-promo__advantages-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-index-new-user-promo__hero-section {
    min-height: 450px;
    padding: 40px 15px;
  }

  .page-index-new-user-promo__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-index-new-user-promo__subtitle {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .page-index-new-user-promo__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index-new-user-promo__section {
    padding: 60px 15px;
  }

  .page-index-new-user-promo__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index-new-user-promo__text-block {
    font-size: 1em;
  }

  .page-index-new-user-promo__grid-layout,
  .page-index-new-user-promo__steps-list,
  .page-index-new-user-promo__advantages-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-new-user-promo__card,
  .page-index-new-user-promo__step-item,
  .page-index-new-user-promo__terms-item,
  .page-index-new-user-promo__advantage-item {
    padding: 20px;
  }

  .page-index-new-user-promo__card-title,
  .page-index-new-user-promo__step-title,
  .page-index-new-user-promo__terms-heading,
  .page-index-new-user-promo__advantage-heading {
    font-size: 1.2em;
  }

  .page-index-new-user-promo__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .page-index-new-user-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-new-user-promo__section,
  .page-index-new-user-promo__card,
  .page-index-new-user-promo__container,
  .page-index-new-user-promo__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-index-new-user-promo__cta-button,
  .page-index-new-user-promo__btn-primary,
  .page-index-new-user-promo__btn-secondary,
  .page-index-new-user-promo a[class*="button"],
  .page-index-new-user-promo 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-index-new-user-promo__cta-buttons,
  .page-index-new-user-promo__button-group,
  .page-index-new-user-promo__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;
  }
  
  .page-index-new-user-promo__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-index-new-user-promo__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
}