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

/* Base styles for the page content */
.page-promotions-new-user-offers {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, but explicitly set for sections if needed */
}

.page-promotions-new-user-offers__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background: linear-gradient(135deg, #017439, #005f2f);
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-promotions-new-user-offers__hero-content {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 40px;
}

.page-promotions-new-user-offers__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register and Login Font color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

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

.page-promotions-new-user-offers__cta-buttons--bottom {
  margin-top: 50px;
}

.page-promotions-new-user-offers__btn-primary,
.page-promotions-new-user-offers__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions-new-user-offers__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login Font color */
  border: 2px solid #C30808;
}

.page-promotions-new-user-offers__btn-primary:hover {
  background-color: #e01b1b;
  border-color: #e01b1b;
}

.page-promotions-new-user-offers__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-promotions-new-user-offers__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-promotions-new-user-offers__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-promotions-new-user-offers__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let background color show */
  /* filter: grayscale(20%); Removed filter to strictly comply with "no filter" rule */
}

.page-promotions-new-user-offers__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #121212; /* Ensure content area matches body background */
  color: #ffffff; /* Light text for dark background */
}

.page-promotions-new-user-offers__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-promotions-new-user-offers__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-promotions-new-user-offers__offer-grid,
.page-promotions-new-user-offers__steps-grid,
.page-promotions-new-user-offers__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-user-offers__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-offers__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-offers__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size requirement */
  min-height: 200px; /* Min image size requirement */
}

.page-promotions-new-user-offers__card-title,
.page-promotions-new-user-offers__step-title,
.page-promotions-new-user-offers__terms-heading,
.page-promotions-new-user-offers__faq-title {
  font-size: 1.5em;
  color: #FFFF00; /* Register/Login Font color for important titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions-new-user-offers__card-description,
.page-promotions-new-user-offers__step-description,
.page-promotions-new-user-offers__terms-description {
  font-size: 1em;
  color: #e0e0e0;
  text-align: justify;
  flex-grow: 1;
}

.page-promotions-new-user-offers__step-card .page-promotions-new-user-offers__btn-primary {
  margin-top: 20px;
  width: 100%;
}

.page-promotions-new-user-offers__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions-new-user-offers__terms-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #017439;
}

.page-promotions-new-user-offers__terms-item:last-child {
  margin-bottom: 0;
}

.page-promotions-new-user-offers__terms-heading {
  color: #017439;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-promotions-new-user-offers__terms-description {
  color: #e0e0e0;
}

.page-promotions-new-user-offers__faq-container {
  margin-top: 40px;
}

.page-promotions-new-user-offers__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-new-user-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-offers__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-new-user-offers__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-promotions-new-user-offers__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-promotions-new-user-offers__faq-item.active .page-promotions-new-user-offers__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-new-user-offers__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  text-align: justify;
}

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

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

@media (max-width: 768px) {
  .page-promotions-new-user-offers__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }

  .page-promotions-new-user-offers__main-title {
    font-size: 2.2em;
  }

  .page-promotions-new-user-offers__intro-description {
    font-size: 1em;
  }

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

  .page-promotions-new-user-offers__btn-primary,
  .page-promotions-new-user-offers__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-new-user-offers__content-area {
    padding: 40px 15px;
  }

  .page-promotions-new-user-offers__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-promotions-new-user-offers__offer-grid,
  .page-promotions-new-user-offers__steps-grid,
  .page-promotions-new-user-offers__advantages-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions-new-user-offers__card {
    padding: 25px;
  }

  .page-promotions-new-user-offers__card-image {
    height: 180px;
    min-width: 200px !important;
    min-height: 200px !important; /* Ensure min height is 200px */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-new-user-offers__card-title,
  .page-promotions-new-user-offers__step-title,
  .page-promotions-new-user-offers__terms-heading,
  .page-promotions-new-user-offers__faq-title {
    font-size: 1.3em;
  }

  .page-promotions-new-user-offers p,
  .page-promotions-new-user-offers li {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-promotions-new-user-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-new-user-offers__section,
  .page-promotions-new-user-offers__card,
  .page-promotions-new-user-offers__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions-new-user-offers__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions-new-user-offers__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-new-user-offers__faq-question,
  .page-promotions-new-user-offers__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}