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

/* Base styles for the page content */
.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--background-color, #FFFFFF);
}

/* Global container for content alignment */
.page-promotions-new-user-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-promotions-new-user-bonus__section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: inherit;
}

.page-promotions-new-user-bonus__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: inherit;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px; /* Space between image and content */
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size, not fixed large */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions-new-user-bonus__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

/* CTA Buttons */
.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,
.page-promotions-new-user-bonus__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-user-bonus__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions-new-user-bonus__btn-tertiary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 1em;
}

.page-promotions-new-user-bonus__btn-tertiary:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
}

.page-promotions-new-user-bonus__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-promotions-new-user-bonus__btn-inline {
  margin-top: 30px;
}

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

/* Benefits Section */
.page-promotions-new-user-bonus__benefits .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__benefit-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: #333333;
}

.page-promotions-new-user-bonus__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-bonus__benefit-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

.page-promotions-new-user-bonus__card-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Offer Details Section */
.page-promotions-new-user-bonus__offer-details .page-promotions-new-user-bonus__offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-user-bonus__offer-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-bonus__offer-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions-new-user-bonus__offer-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions-new-user-bonus__offer-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-promotions-new-user-bonus__terms-summary {
  margin-top: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
}

.page-promotions-new-user-bonus__subtitle {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions-new-user-bonus__list {
  list-style: disc inside;
  padding-left: 0;
  margin-bottom: 0;
  color: #f0f0f0;
}

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

/* Registration Guide Section */
.page-promotions-new-user-bonus__registration-guide .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-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: #333333;
  position: relative;
  padding-top: 70px;
}

.page-promotions-new-user-bonus__step-number {
  position: absolute;
  top: 20px;
  left: 30px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: 700;
}

/* Game Selection Section */
.page-promotions-new-user-bonus__game-selection .page-promotions-new-user-bonus__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-user-bonus__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions-new-user-bonus__game-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions-new-user-bonus__faq-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
}

.page-promotions-new-user-bonus__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding-top: 10px;
}

/* CTA Section (Bottom) */
.page-promotions-new-user-bonus__cta-content {
  max-width: 900px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__container {
    padding: 0 15px !important;
  }
  .page-promotions-new-user-bonus__section {
    padding: 40px 0;
  }
  .page-promotions-new-user-bonus__hero-section {
    padding: 60px 0;
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-promotions-new-user-bonus__intro-text {
    font-size: 1em;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
  }
  .page-promotions-new-user-bonus__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promotions-new-user-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary,
  .page-promotions-new-user-bonus__btn-tertiary,
  .page-promotions-new-user-bonus a[class*="button"],
  .page-promotions-new-user-bonus a[class*="btn"] {
    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-buttons,
  .page-promotions-new-user-bonus__button-group,
  .page-promotions-new-user-bonus__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }
  .page-promotions-new-user-bonus__hero-image,
  .page-promotions-new-user-bonus__benefit-icon,
  .page-promotions-new-user-bonus__offer-image,
  .page-promotions-new-user-bonus__game-image,
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions-new-user-bonus__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container,
  .page-promotions-new-user-bonus__hero-image-wrapper,
  .page-promotions-new-user-bonus__offer-item,
  .page-promotions-new-user-bonus__game-card,
  .page-promotions-new-user-bonus__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions-new-user-bonus__offer-details .page-promotions-new-user-bonus__offer-grid,
  .page-promotions-new-user-bonus__game-selection .page-promotions-new-user-bonus__game-grid,
  .page-promotions-new-user-bonus__benefits .page-promotions-new-user-bonus__grid,
  .page-promotions-new-user-bonus__registration-guide .page-promotions-new-user-bonus__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-new-user-bonus__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-promotions-new-user-bonus__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Ensure images don't have filters */
.page-promotions-new-user-bonus img {
  filter: none !important;
}

/* Content area image size minimum enforcement */
.page-promotions-new-user-bonus__hero-image,
.page-promotions-new-user-bonus__benefit-icon,
.page-promotions-new-user-bonus__offer-image,
.page-promotions-new-user-bonus__game-image {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-image,
  .page-promotions-new-user-bonus__benefit-icon,
  .page-promotions-new-user-bonus__offer-image,
  .page-promotions-new-user-bonus__game-image {
    min-width: unset !important; /* Reset min-width for mobile, max-width: 100% handles it */
    min-height: unset !important;
  }
}