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

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-white: #FFFFFF;
  --black-color: #000000;
}

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

.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Subtle background */
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__btn-primary {
  display: inline-block;
  background-color: var(--button-login);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background-color: #d16e06; /* Darker shade of #EA7C07 */
}

.page-promotions-new-user-bonus__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background-white);
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions-new-user-bonus__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--button-login);
  border-radius: 2px;
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-dark);
}

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

.page-promotions-new-user-bonus__card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  color: var(--text-dark);
  border: 1px solid #e0e0e0;
}

.page-promotions-new-user-bonus__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-promotions-new-user-bonus__card-text {
  font-size: 1em;
  color: var(--text-dark);
  padding: 0 15px;
}

.page-promotions-new-user-bonus__steps-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-promotions-new-user-bonus__step-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__step-item:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image and text direction */
}

.page-promotions-new-user-bonus__step-image {
  width: 40%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 250px; /* Ensure min size */
}

.page-promotions-new-user-bonus__step-content {
  width: 60%;
}

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

.page-promotions-new-user-bonus__step-text {
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__cta-container {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-promotions-new-user-bonus__info-card {
  display: flex;
  gap: 30px;
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__info-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  min-width: 250px;
}

.page-promotions-new-user-bonus__info-content {
  width: 60%;
}

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

.page-promotions-new-user-bonus__list {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__list li {
  margin-bottom: 10px;
}

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

.page-promotions-new-user-bonus__feature-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__feature-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block; /* Ensure it's a block element for margin auto */
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-promotions-new-user-bonus__feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

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

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

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: #f0f0f0;
}

.page-promotions-new-user-bonus__faq-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--button-login);
  transition: transform 0.3s ease;
}

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

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

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-question {
  border-bottom: none;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-toggle {
  transform: rotate(0deg); /* Reset rotation, JS handles +/- */
}

.page-promotions-new-user-bonus__final-cta {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 12px;
  margin-top: 60px;
  margin-bottom: 40px;
}

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

.page-promotions-new-user-bonus__final-cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-light);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 2.5em;
  }
  .page-promotions-new-user-bonus__hero-description {
    font-size: 1.1em;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-bonus__step-item {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions-new-user-bonus__step-item:nth-child(even) {
    flex-direction: column;
  }
  .page-promotions-new-user-bonus__step-image {
    width: 80%;
    margin-bottom: 20px;
  }
  .page-promotions-new-user-bonus__step-content {
    width: 100%;
  }
  .page-promotions-new-user-bonus__info-card {
    flex-direction: column;
    align-items: center;
  }
  .page-promotions-new-user-bonus__info-image {
    width: 80%;
    margin-bottom: 20px;
  }
  .page-promotions-new-user-bonus__info-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions-new-user-bonus__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-promotions-new-user-bonus__hero-title {
    font-size: 2em;
  }
  .page-promotions-new-user-bonus__hero-description {
    font-size: 1em;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-new-user-bonus__text-block {
    font-size: 1em;
  }
  .page-promotions-new-user-bonus__grid-container,
  .page-promotions-new-user-bonus__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__feature-item {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-promotions-new-user-bonus__card-image,
  .page-promotions-new-user-bonus__step-image,
  .page-promotions-new-user-bonus__info-image,
  .page-promotions-new-user-bonus__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Ensure content containers are responsive */
  .page-promotions-new-user-bonus__content-area,
  .page-promotions-new-user-bonus__hero-content,
  .page-promotions-new-user-bonus__grid-container,
  .page-promotions-new-user-bonus__steps-container,
  .page-promotions-new-user-bonus__info-card,
  .page-promotions-new-user-bonus__features-grid,
  .page-promotions-new-user-bonus__faq-container,
  .page-promotions-new-user-bonus__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  .page-promotions-new-user-bonus__btn-primary {
    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-promotions-new-user-bonus__cta-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-new-user-bonus__final-cta-title {
    font-size: 1.8em;
  }
  .page-promotions-new-user-bonus__final-cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 1.8em;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.6em;
  }
  .page-promotions-new-user-bonus__card-title {
    font-size: 1.3em;
  }
  .page-promotions-new-user-bonus__step-title {
    font-size: 1.5em;
  }
  .page-promotions-new-user-bonus__info-title {
    font-size: 1.5em;
  }
  .page-promotions-new-user-bonus__feature-title {
    font-size: 1.4em;
  }
  .page-promotions-new-user-bonus__final-cta-title {
    font-size: 1.5em;
  }
}