/* style/promotions-new-user-offer.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
}

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

/* HERO Section */
.page-promotions-new-user-offer__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background: linear-gradient(135deg, #26A9E0, #1a8cc7); /* Use brand color for background effect */
  color: var(--text-light);
}

.page-promotions-new-user-offer__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width on desktop too */
}

.page-promotions-new-user-offer__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions-new-user-offer__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-offer__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions-new-user-offer__hero-content h1 {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-offer__intro-text {
  font-size: 1.15em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* General Section Styling */
.page-promotions-new-user-offer__section {
  padding: 80px 20px;
  text-align: center;
}

.page-promotions-new-user-offer__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* Ensure full width on desktop */
  box-sizing: border-box;
}

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

.page-promotions-new-user-offer__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-promotions-new-user-offer__light-bg .page-promotions-new-user-offer__section-title {
  color: var(--primary-color);
}

.page-promotions-new-user-offer__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-promotions-new-user-offer__dark-section .page-promotions-new-user-offer__section-title {
  color: var(--text-light);
}

/* CTA Buttons */
.page-promotions-new-user-offer__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-user-offer__btn-primary {
  background: var(--login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  border: 2px solid transparent;
}

.page-promotions-new-user-offer__btn-primary:hover {
  background: darken(var(--login-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-offer__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 20px;
}

.page-promotions-new-user-offer__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-offer__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

/* Feature Grid */
.page-promotions-new-user-offer__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-new-user-offer__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions-new-user-offer__feature-item:hover {
  transform: translateY(-5px);
}

.page-promotions-new-user-offer__feature-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-offer__feature-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-promotions-new-user-offer__feature-item p {
  color: var(--text-dark);
}

/* Steps List */
.page-promotions-new-user-offer__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  counter-reset: step-counter;
}

.page-promotions-new-user-offer__steps-list li {
  background: var(--secondary-color);
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  padding-left: 90px;
}

.page-promotions-new-user-offer__steps-list li::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-offer__steps-list li h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-promotions-new-user-offer__steps-list li p {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-promotions-new-user-offer__steps-list li img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Terms List */
.page-promotions-new-user-offer__terms-list {
  list-style: disc;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 20px;
}

.page-promotions-new-user-offer__terms-list li {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-promotions-new-user-offer__terms-list li a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Benefits Grid */
.page-promotions-new-user-offer__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-new-user-offer__benefit-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.page-promotions-new-user-offer__benefit-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.page-promotions-new-user-offer__benefit-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-offer__benefit-card h3 {
  color: var(--text-light);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-promotions-new-user-offer__benefit-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
details.page-promotions-new-user-offer__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
}

details.page-promotions-new-user-offer__faq-item summary.page-promotions-new-user-offer__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-promotions-new-user-offer__faq-item summary.page-promotions-new-user-offer__faq-question:hover {
  background: #f5f5f5;
}

.page-promotions-new-user-offer__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-promotions-new-user-offer__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-promotions-new-user-offer__faq-item .page-promotions-new-user-offer__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  text-align: left;
}

.page-promotions-new-user-offer__faq-answer p {
  color: var(--text-dark);
}

/* Final CTA Section */
.page-promotions-new-user-offer__cta-final-section {
  padding: 100px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-offer__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-offer__hero-content h1 {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-offer__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions-new-user-offer__hero-content h1 {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  .page-promotions-new-user-offer__hero-image img {
    border-radius: 4px;
  }

  .page-promotions-new-user-offer__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-new-user-offer__btn-secondary {
    margin-left: 0;
    margin-top: 15px; /* Stack buttons vertically */
  }

  .page-promotions-new-user-offer__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-promotions-new-user-offer__features-grid,
  .page-promotions-new-user-offer__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-new-user-offer__feature-item,
  .page-promotions-new-user-offer__benefit-card {
    padding: 20px;
  }

  .page-promotions-new-user-offer__steps-list li {
    padding: 20px;
    padding-left: 70px;
  }

  .page-promotions-new-user-offer__steps-list li::before {
    width: 50px;
    height: 50px;
    font-size: 1em;
    left: 15px;
    top: 20px;
  }

  .page-promotions-new-user-offer__steps-list li h3 {
    font-size: 1.3em;
  }

  .page-promotions-new-user-offer__terms-list {
    margin: 20px auto;
    padding-left: 15px;
  }

  details.page-promotions-new-user-offer__faq-item summary.page-promotions-new-user-offer__faq-question {
    padding: 15px;
  }

  .page-promotions-new-user-offer__faq-qtext {
    font-size: 1em;
  }

  .page-promotions-new-user-offer__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-promotions-new-user-offer__faq-item .page-promotions-new-user-offer__faq-answer {
    padding: 0 15px 15px;
  }

  .page-promotions-new-user-offer__cta-final-section {
    padding: 60px 15px;
  }
  
  /* Ensure all images and containers are responsive */
  .page-promotions-new-user-offer img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions-new-user-offer__container,
  .page-promotions-new-user-offer__section,
  .page-promotions-new-user-offer__feature-item,
  .page-promotions-new-user-offer__benefit-card,
  .page-promotions-new-user-offer__steps-list li {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-offer__hero-content h1 {
    font-size: 1.6em;
  }
  .page-promotions-new-user-offer__section-title {
    font-size: 1.6em;
  }
  .page-promotions-new-user-offer__steps-list li h3 {
    font-size: 1.1em;
  }
  .page-promotions-new-user-offer__faq-qtext {
    font-size: 0.95em;
  }
}