/* style/promotions-welcome-bonuses.css */

/* --- Base Styles --- */
.page-promotions-welcome-bonuses {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #1a1a2e, so text should be light */
  background-color: #1a1a2e; /* Inherited from shared.css, explicitly set for consistency */
}

.page-promotions-welcome-bonuses__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- Hero Section --- */
.page-promotions-welcome-bonuses__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Adjust as needed */
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #017439; /* Brand color for hero */
}

.page-promotions-welcome-bonuses__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Overlay effect */
}

.page-promotions-welcome-bonuses__hero-section .page-promotions-welcome-bonuses__container {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.page-promotions-welcome-bonuses__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-welcome-bonuses__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Content Area --- */
.page-promotions-welcome-bonuses__content-area {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background for content */
  color: #333333; /* Dark text for light background */
}

.page-promotions-welcome-bonuses__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for main titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-promotions-welcome-bonuses__sub-title {
  font-size: 2em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-promotions-welcome-bonuses__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.page-promotions-welcome-bonuses__list li {
  margin-bottom: 10px;
}

/* --- Card Grid for Types of Offers --- */
.page-promotions-welcome-bonuses__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promotions-welcome-bonuses__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  color: #333333; /* Dark text on light card background */
}

.page-promotions-welcome-bonuses__card:hover {
  transform: translateY(-10px);
}

.page-promotions-welcome-bonuses__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* --- Steps Container --- */
.page-promotions-welcome-bonuses__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promotions-welcome-bonuses__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-promotions-welcome-bonuses__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions-welcome-bonuses__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

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

/* --- Info Section (Terms & Conditions) --- */
.page-promotions-welcome-bonuses__info-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.page-promotions-welcome-bonuses__info-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  min-width: 200px; /* Ensure min size */
}

.page-promotions-welcome-bonuses__info-list {
  flex: 1;
  list-style: none; /* Remove default list style */
  padding-left: 0;
}

.page-promotions-welcome-bonuses__info-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-promotions-welcome-bonuses__info-list li::before {
  content: "✔"; /* Custom checkmark */
  color: #017439;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-promotions-welcome-bonuses__center-btn {
  display: block;
  margin: 0 auto 60px auto;
  width: fit-content;
}

/* --- Tips Grid --- */
.page-promotions-welcome-bonuses__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promotions-welcome-bonuses__tip-card {
  background-color: #ffffff;
  border-left: 5px solid #017439;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-promotions-welcome-bonuses__tip-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

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

/* --- FAQ Section --- */
.page-promotions-welcome-bonuses__faq-list {
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonuses__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

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

.page-promotions-welcome-bonuses__faq-question:hover {
  background-color: #e0e0e0;
}

.page-promotions-welcome-bonuses__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions-welcome-bonuses__faq-item.active .page-promotions-welcome-bonuses__faq-toggle {
  transform: rotate(45deg); /* Change '+' to 'x' or '-' */
}

.page-promotions-welcome-bonuses__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.05em;
  line-height: 1.7;
  color: #555555;
}

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

.page-promotions-welcome-bonuses__faq-answer p {
  margin-bottom: 10px;
}

/* --- CTA Bottom --- */
.page-promotions-welcome-bonuses__cta-bottom {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.page-promotions-welcome-bonuses__btn-primary,
.page-promotions-welcome-bonuses__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions-welcome-bonuses__btn-primary {
  background-color: #C30808; /* Custom color for register/login type */
  color: #FFFF00; /* Custom font color for register/login type */
  border: 2px solid #C30808;
}

.page-promotions-welcome-bonuses__btn-primary:hover {
  background-color: #e00000; /* Darker red on hover */
  border-color: #e00000;
}

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

.page-promotions-welcome-bonuses__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* --- Global Image Styling --- */
.page-promotions-welcome-bonuses img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure content area images are not smaller than 200px */
.page-promotions-welcome-bonuses__content-area img {
  min-width: 200px;
  min-height: 200px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonuses__hero-title {
    font-size: 3em;
  }
  .page-promotions-welcome-bonuses__hero-description {
    font-size: 1.2em;
  }
  .page-promotions-welcome-bonuses__section-title {
    font-size: 2.2em;
  }
  .page-promotions-welcome-bonuses__sub-title {
    font-size: 1.8em;
  }
  .page-promotions-welcome-bonuses__info-section {
    flex-direction: column;
    align-items: center;
  }
  .page-promotions-welcome-bonuses__info-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonuses {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Fixed header offset for mobile, if not handled by shared.css body padding */
  .page-promotions-welcome-bonuses__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

  .page-promotions-welcome-bonuses__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-welcome-bonuses__hero-description {
    font-size: 1em;
  }
  .page-promotions-welcome-bonuses__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions-welcome-bonuses__btn-primary,
  .page-promotions-welcome-bonuses__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-promotions-welcome-bonuses__content-area,
  .page-promotions-welcome-bonuses__container,
  .page-promotions-welcome-bonuses__card-grid,
  .page-promotions-welcome-bonuses__steps-container,
  .page-promotions-welcome-bonuses__tips-grid,
  .page-promotions-welcome-bonuses__faq-list,
  .page-promotions-welcome-bonuses__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-promotions-welcome-bonuses__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-promotions-welcome-bonuses__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-promotions-welcome-bonuses__text-block {
    font-size: 1em;
  }
  .page-promotions-welcome-bonuses__list {
    font-size: 1em;
  }
  .page-promotions-welcome-bonuses__card-image,
  .page-promotions-welcome-bonuses__step-image,
  .page-promotions-welcome-bonuses__info-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce min size even on mobile */
    min-height: 200px !important;
  }
  .page-promotions-welcome-bonuses__info-image {
    max-width: 100%;
  }
  .page-promotions-welcome-bonuses__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions-welcome-bonuses__faq-answer {
    padding: 10px 20px;
    font-size: 0.95em;
  }
  .page-promotions-welcome-bonuses__cta-bottom {
    flex-direction: column;
    gap: 15px;
  }
}