/* 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: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

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

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

.page-promotions-new-user-bonus__subsection-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus p {
  margin-bottom: 1em;
  color: #f0f0f0;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 700px;
  background: linear-gradient(135deg, #1a1a2e 0%, #26A9E0 100%);
  overflow: hidden;
  padding: 80px 20px;
  box-sizing: border-box;
}

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

.page-promotions-new-user-bonus__hero-title {
  font-size: 3.8em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

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

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
}

/* General Content Sections */
.page-promotions-new-user-bonus__intro-promotions .page-promotions-new-user-bonus__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-promotions-new-user-bonus__text-block {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-promotions-new-user-bonus__image-block img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.page-promotions-new-user-bonus__dark-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-promotions-new-user-bonus__dark-section .page-promotions-new-user-bonus__section-title {
  color: #26A9E0;
}

.page-promotions-new-user-bonus__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promotions-new-user-bonus__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-promotions-new-user-bonus__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.page-promotions-new-user-bonus__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__card-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* How to Register Section */
.page-promotions-new-user-bonus__how-to-register {
  background-color: #1a1a2e;
}

.page-promotions-new-user-bonus__how-to-register .page-promotions-new-user-bonus__section-title {
  color: #26A9E0;
}

.page-promotions-new-user-bonus__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promotions-new-user-bonus__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-promotions-new-user-bonus__step-card:hover {
  transform: translateY(-5px);
}

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

.page-promotions-new-user-bonus__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

/* Terms and Conditions Section */
.page-promotions-new-user-bonus__terms-conditions {
  background-color: #1a1a2e;
}

.page-promotions-new-user-bonus__terms-conditions .page-promotions-new-user-bonus__section-title {
  color: #26A9E0;
}

.page-promotions-new-user-bonus__terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promotions-new-user-bonus__term-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  color: #ffffff;
  height: 100%;
}

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

/* Why Choose Us Section */
.page-promotions-new-user-bonus__why-choose-us {
  background-color: #1a1a2e;
}

.page-promotions-new-user-bonus__why-choose-us .page-promotions-new-user-bonus__section-title {
  color: #26A9E0;
}

.page-promotions-new-user-bonus__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions-new-user-bonus__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-promotions-new-user-bonus__feature-card:hover {
  transform: translateY(-5px);
}

.page-promotions-new-user-bonus__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  background-color: #1a1a2e;
}

.page-promotions-new-user-bonus__faq-section .page-promotions-new-user-bonus__section-title {
  color: #26A9E0;
}

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

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

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

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

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: #1e87c0;
}

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

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X or just rotate */
}

.page-promotions-new-user-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

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

/* Call to Action Section */
.page-promotions-new-user-bonus__call-to-action {
  padding-bottom: 80px;
}

.page-promotions-new-user-bonus__call-to-action .page-promotions-new-user-bonus__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 30px;
}

/* Floating Buttons */
.page-promotions-new-user-bonus__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-promotions-new-user-bonus__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-new-user-bonus__floating-btn--register {
  background-color: #26A9E0;
}

.page-promotions-new-user-bonus__floating-btn--register:hover {
  background-color: #1e87c0;
  transform: translateY(-3px);
}

.page-promotions-new-user-bonus__floating-btn--login {
  background-color: #EA7C07; /* Custom color for login */
}

.page-promotions-new-user-bonus__floating-btn--login:hover {
  background-color: #c96706;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 3em;
  }
  .page-promotions-new-user-bonus__hero-description {
    font-size: 1.2em;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-bonus__intro-promotions .page-promotions-new-user-bonus__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-promotions-new-user-bonus__text-block {
    order: 2;
  }
  .page-promotions-new-user-bonus__image-block {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-section {
    min-height: 500px;
    padding: 60px 15px;
  }
  .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;
    width: 100%;
  }
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions-new-user-bonus__section {
    padding: 40px 0;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-new-user-bonus__subsection-title {
    font-size: 1.4em;
  }
  .page-promotions-new-user-bonus__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsiveness */
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions-new-user-bonus__image-block,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__step-card,
  .page-promotions-new-user-bonus__term-item,
  .page-promotions-new-user-bonus__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-new-user-bonus__card-image,
  .page-promotions-new-user-bonus__step-image {
    height: auto;
    max-height: 250px;
  }

  .page-promotions-new-user-bonus__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions-new-user-bonus__faq-answer {
    padding: 15px 20px;
  }
  .page-promotions-new-user-bonus__floating-buttons {
    bottom: 15px;
    right: 15px;
    flex-direction: row;
    width: calc(100% - 30px);
    justify-content: space-around;
  }
  .page-promotions-new-user-bonus__floating-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 1em;
  }
}

/* Ensure no filter on images */
.page-promotions-new-user-bonus img {
  filter: none; /* Override any potential shared filter */
}

/* Text contrast fixes for specific elements if needed on dark background */
.page-promotions-new-user-bonus__text-block h3, 
.page-promotions-new-user-bonus__text-block p {
  color: #ffffff;
}

.page-promotions-new-user-bonus__card p, .page-promotions-new-user-bonus__card-subtitle {
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__step-card p {
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__term-item p {
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__feature-card p {
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__call-to-action p {
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__faq-answer p {
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__floating-btn--login {
  background-color: #EA7C07; /* Custom color for login */
}

.page-promotions-new-user-bonus__floating-btn--login:hover {
  background-color: #c96706;
}