/* style/promotions-new-user-bonus.css */
.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #222222 is dark, so use light text */
}

.page-promotions-new-user-bonus__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-promotions-new-user-bonus__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-new-user-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  overflow: hidden;
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-promotions-new-user-bonus__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom font color for H1 in hero */
  line-height: 1.2;
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for better text contrast */
}

.page-promotions-new-user-bonus__video-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  text-align: center;
}

.page-promotions-new-user-bonus__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
}

.page-promotions-new-user-bonus__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-promotions-new-user-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promotions-new-user-bonus__section {
  padding: 60px 0;
}

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: inherit;
}

.page-promotions-new-user-bonus__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

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

.page-promotions-new-user-bonus__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 250px; /* Ensure minimum height for cards */
}

.page-promotions-new-user-bonus__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

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

.page-promotions-new-user-bonus__step-item {
  text-align: center;
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promotions-new-user-bonus__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-bonus__step-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #017439;
}

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

.page-promotions-new-user-bonus__promotion-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 350px; /* Ensure minimum height for promotion cards */
}

.page-promotions-new-user-bonus__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-promotions-new-user-bonus__content-item {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promotions-new-user-bonus__content-item-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #017439;
}

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

.page-promotions-new-user-bonus__app-download-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-promotions-new-user-bonus__app-info {
  flex: 1;
}

.page-promotions-new-user-bonus__app-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions-new-user-bonus__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-promotions-new-user-bonus__app-features li {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__app-features li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #FFFF00;
}

.page-promotions-new-user-bonus__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-promotions-new-user-bonus__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions-new-user-bonus__terms-item {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promotions-new-user-bonus__terms-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #017439;
}

.page-promotions-new-user-bonus__faq-section {
  padding: 60px 0;
}

.page-promotions-new-user-bonus__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

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

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #017439; /* Use brand color for question background */
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: #005f2c; /* Darker shade on hover */
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00; /* Custom color for toggle icon */
}

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

.page-promotions-new-user-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff; /* White background for answer */
  color: #333333; /* Dark text for answer */
}

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

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

.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%;
}

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

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

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

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-bonus__app-download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-promotions-new-user-bonus__app-info, .page-promotions-new-user-bonus__app-image-wrapper {
    flex: none;
    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;
  }
  .page-promotions-new-user-bonus__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-new-user-bonus__hero-description {
    font-size: 1em;
  }
  .page-promotions-new-user-bonus__section {
    padding: 40px 0;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
  }
  .page-promotions-new-user-bonus__section-description,
  .page-promotions-new-user-bonus__text-block {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-promotions-new-user-bonus__grid,
  .page-promotions-new-user-bonus__steps-grid,
  .page-promotions-new-user-bonus__promotion-grid,
  .page-promotions-new-user-bonus__content-grid,
  .page-promotions-new-user-bonus__terms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__step-item,
  .page-promotions-new-user-bonus__promotion-card,
  .page-promotions-new-user-bonus__content-item,
  .page-promotions-new-user-bonus__terms-item {
    padding: 20px;
    min-height: auto;
  }
  .page-promotions-new-user-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions-new-user-bonus__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container,
  .page-promotions-new-user-bonus__video-section,
  .page-promotions-new-user-bonus__video-wrapper,
  .page-promotions-new-user-bonus__app-download-content,
  .page-promotions-new-user-bonus__app-info,
  .page-promotions-new-user-bonus__app-image-wrapper,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__faq-list,
  .page-promotions-new-user-bonus__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-promotions-new-user-bonus__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions-new-user-bonus__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions-new-user-bonus__faq-question {
    padding: 15px;
    font-size: 1em;
  }
  .page-promotions-new-user-bonus__faq-answer {
    padding: 15px !important;
  }
}