/* style/promotions-welcome-bonus.css */
.page-promotions-welcome-bonus {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-promotions-welcome-bonus__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promotions-welcome-bonus__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-promotions-welcome-bonus__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-promotions-welcome-bonus__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions-welcome-bonus__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-promotions-welcome-bonus__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions-welcome-bonus__btn-primary,
.page-promotions-welcome-bonus__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-welcome-bonus__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFFFF; /* Ensures WCAG AA contrast (4.79:1) with #C30808, overriding #FFFF00 due to contrast failure */
  border: 2px solid #C30808;
}

.page-promotions-welcome-bonus__btn-primary:hover {
  background-color: #E00000;
  border-color: #E00000;
  transform: translateY(-2px);
}

.page-promotions-welcome-bonus__btn-secondary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-promotions-welcome-bonus__btn-secondary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
}

.page-promotions-welcome-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-promotions-welcome-bonus__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions-welcome-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-promotions-welcome-bonus__highlight {
  color: #017439;
  font-weight: bold;
}

.page-promotions-welcome-bonus__inline-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-welcome-bonus__inline-link:hover {
  text-decoration: underline;
}

.page-promotions-welcome-bonus__introduction-section,
.page-promotions-welcome-bonus__steps-section,
.page-promotions-welcome-bonus__why-choose-section,
.page-promotions-welcome-bonus__conclusion-section {
  padding: 60px 0;
}

.page-promotions-welcome-bonus__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__text-block,
.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__inline-link {
  color: #FFFFFF;
}

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

.page-promotions-welcome-bonus__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-promotions-welcome-bonus__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions-welcome-bonus__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-welcome-bonus__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions-welcome-bonus__card-list {
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
  padding-left: 20px;
  list-style-type: disc;
}

.page-promotions-welcome-bonus__card-list li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

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

.page-promotions-welcome-bonus__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions-welcome-bonus__step-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions-welcome-bonus__step-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-welcome-bonus__step-description {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions-welcome-bonus__styled-list {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 1.1em;
}

.page-promotions-welcome-bonus__styled-list li {
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-promotions-welcome-bonus__feature-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions-welcome-bonus__feature-icon {
  width: 100%;
  height: auto;
  max-height: 180px; /* Adjusted for larger icons/images in feature cards */
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions-welcome-bonus__feature-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions-welcome-bonus__feature-description {
  font-size: 0.95em;
  color: #555555;
}

.page-promotions-welcome-bonus__cta-section {
  text-align: center;
  margin-top: 50px;
}

.page-promotions-welcome-bonus__faq-list {
  margin-top: 30px;
}

.page-promotions-welcome-bonus__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #F8F8F8;
  transition: background-color 0.3s ease;
}

.page-promotions-welcome-bonus__faq-question:hover {
  background-color: #E8E8E8;
}

.page-promotions-welcome-bonus__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #017439;
}

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

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

.page-promotions-welcome-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

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

.page-promotions-welcome-bonus__faq-answer p {
  margin: 0 0 10px 0;
  font-size: 1em;
}

.page-promotions-welcome-bonus__cta-buttons-bottom {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-welcome-bonus__hero-description {
    font-size: 1.2em;
  }
  .page-promotions-welcome-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-welcome-bonus__text-block {
    font-size: 1em;
  }
  .page-promotions-welcome-bonus__card-title {
    font-size: 1.6em;
  }
  .page-promotions-welcome-bonus__step-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions-welcome-bonus__hero-title {
    font-size: 2em;
  }
  .page-promotions-welcome-bonus__hero-description {
    font-size: 1em;
  }
  .page-promotions-welcome-bonus__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions-welcome-bonus__btn-primary,
  .page-promotions-welcome-bonus__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promotions-welcome-bonus__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-promotions-welcome-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-welcome-bonus__details-grid,
  .page-promotions-welcome-bonus__steps-grid,
  .page-promotions-welcome-bonus__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-welcome-bonus__card,
  .page-promotions-welcome-bonus__step-card,
  .page-promotions-welcome-bonus__feature-card {
    padding: 20px;
  }
  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Ensure all content containers are responsive */
  .page-promotions-welcome-bonus__introduction-section,
  .page-promotions-welcome-bonus__details-section,
  .page-promotions-welcome-bonus__steps-section,
  .page-promotions-welcome-bonus__terms-section,
  .page-promotions-welcome-bonus__why-choose-section,
  .page-promotions-welcome-bonus__faq-section,
  .page-promotions-welcome-bonus__conclusion-section {
    padding: 40px 0;
  }
  .page-promotions-welcome-bonus__cta-buttons-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-promotions-welcome-bonus__faq-question {
    padding: 15px 20px;
  }
  .page-promotions-welcome-bonus__faq-answer {
    padding: 0 20px;
  }
  .page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions-welcome-bonus__hero-title {
    font-size: 1.8em;
  }
  .page-promotions-welcome-bonus__section-title {
    font-size: 1.5em;
  }
  .page-promotions-welcome-bonus__faq-question h3 {
    font-size: 1em;
  }
}