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

:root {
  --primary-color: #FFD700;
  --secondary-color: #000000;
  --accent-color: #DC143C;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light: #f5f5f5;
}

.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--background-dark); /* Inherited from shared.css body */
}

.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

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

.page-promotions-new-user-bonus__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-promotions-new-user-bonus__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-3px);
}

.page-promotions-new-user-bonus__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.page-promotions-new-user-bonus__content-area,
.page-promotions-new-user-bonus__eligibility,
.page-promotions-new-user-bonus__how-to-claim,
.page-promotions-new-user-bonus__terms-conditions,
.page-promotions-new-user-bonus__benefits,
.page-promotions-new-user-bonus__faq-section,
.page-promotions-new-user-bonus__cta-final {
  padding: 60px 0;
}

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

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

.page-promotions-new-user-bonus__section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__section-title {
  color: var(--secondary-color);
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
}

.page-promotions-new-user-bonus__text-block p {
  margin-bottom: 20px;
}

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

.page-promotions-new-user-bonus__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.page-promotions-new-user-bonus__list li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions-new-user-bonus__image-left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-bonus__image-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-bonus__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-promotions-new-user-bonus__grid-layout .page-promotions-new-user-bonus__image-left,
.page-promotions-new-user-bonus__grid-layout .page-promotions-new-user-bonus__image-right {
  float: none;
  margin: 0;
  width: 100%;
  height: auto;
}

.page-promotions-new-user-bonus__step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-promotions-new-user-bonus__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 70px;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__step-item {
  background-color: #ffffff;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__step-number {
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-promotions-new-user-bonus__step-item h3 {
  margin-top: 0;
  color: var(--primary-color);
}

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

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

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

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__faq-question {
  color: var(--secondary-color);
  background-color: var(--background-light);
}

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__faq-question:hover {
  background-color: #e0e0e0;
}

.page-promotions-new-user-bonus__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__faq-toggle {
  color: var(--accent-color);
}

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

.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;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__faq-answer {
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 20px;
}

.page-promotions-new-user-bonus__final-cta-description {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* General image responsiveness */
.page-promotions-new-user-bonus img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promotions-new-user-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-new-user-bonus__hero-section {
    height: auto;
    min-height: 500px;
    padding: 80px 15px 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .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__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary {
    width: 100% !important;
    max-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__content-area,
  .page-promotions-new-user-bonus__eligibility,
  .page-promotions-new-user-bonus__how-to-claim,
  .page-promotions-new-user-bonus__terms-conditions,
  .page-promotions-new-user-bonus__benefits,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__cta-final {
    padding: 40px 0;
  }

  .page-promotions-new-user-bonus__section-container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions-new-user-bonus__text-block {
    text-align: left;
  }

  .page-promotions-new-user-bonus__grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-promotions-new-user-bonus__image-left,
  .page-promotions-new-user-bonus__image-right {
    margin: 0 auto 20px auto;
    float: none;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions-new-user-bonus__text-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-new-user-bonus__step-item {
    padding-left: 20px; /* Adjust for smaller screens */
  }

  .page-promotions-new-user-bonus__step-number {
    position: static;
    margin-bottom: 10px;
    display: inline-flex;
  }

  .page-promotions-new-user-bonus__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-promotions-new-user-bonus__faq-answer {
    padding: 0 15px;
  }

  .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    padding: 15px;
  }

  .page-promotions-new-user-bonus__final-cta-description {
    font-size: 1em;
  }
}