/* style/promotions-new-user-bonus.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg-color: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

/* Base styles for the page content, assuming body has --background-color from shared.css */
.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color);
  line-height: 1.6;
}

.page-promotions-new-user-bonus__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-promotions-new-user-bonus__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-promotions-new-user-bonus__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-promotions-new-user-bonus__description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-main-color);
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: inherit; /* Inherit from parent section */
}

.page-promotions-new-user-bonus__text-block a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-promotions-new-user-bonus__text-block a:hover {
  color: var(--glow-color);
}

.page-promotions-new-user-bonus__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-promotions-new-user-bonus__hero-content {
  max-width: 900px;
  text-align: center;
}

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

.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: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%;
  width: auto;
}

.page-promotions-new-user-bonus__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-promotions-new-user-bonus__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.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(--text-main-color);
}

/* Content Area */
.page-promotions-new-user-bonus__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-promotions-new-user-bonus__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Constrain card image size */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions-new-user-bonus__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__card-description {
  font-size: 1rem;
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions-new-user-bonus__card-btn {
  margin-top: auto;
  width: 100%;
}

/* How To Claim Section */
.page-promotions-new-user-bonus__how-to-claim {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions-new-user-bonus__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  text-align: left;
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__step-icon {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.page-promotions-new-user-bonus__step-content {
  flex-grow: 1;
}

.page-promotions-new-user-bonus__step-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__step-content p {
  color: var(--text-main-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__step-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

.page-promotions-new-user-bonus__cta-center-btn {
  display: inline-block;
  margin-top: 30px;
}

/* Terms & Conditions Section */
.page-promotions-new-user-bonus__terms-conditions {
  padding: 60px 20px;
}

.page-promotions-new-user-bonus__terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions-new-user-bonus__terms-item {
  background-color: #f8f8f8;
  border-left: 5px solid var(--primary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1rem;
  color: #333333;
}

.page-promotions-new-user-bonus__terms-highlight {
  font-weight: bold;
  color: var(--deep-orange-color);
}

/* Why Choose Us Section */
.page-promotions-new-user-bonus__why-choose-us {
  padding: 60px 20px;
}

.page-promotions-new-user-bonus__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-user-bonus__benefit-item {
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__benefit-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__benefit-item p {
  color: var(--text-main-color);
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  padding: 60px 20px;
}

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

.page-promotions-new-user-bonus__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  color: #333333;
  font-size: 1.1rem;
  list-style: none; /* For details/summary */
}

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

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
  margin-left: 15px;
}

.page-promotions-new-user-bonus__faq-answer {
  padding: 0 20px 20px 20px;
  color: #555555;
  font-size: 1rem;
}

.page-promotions-new-user-bonus__faq-answer p {
  margin-top: 10px;
  color: #555555;
}

.page-promotions-new-user-bonus__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-promotions-new-user-bonus__faq-answer a:hover {
  color: var(--deep-orange-color);
}

/* Final CTA Section */
.page-promotions-new-user-bonus__final-cta {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--deep-orange-color);
  background-image: linear-gradient(135deg, var(--deep-orange-color) 0%, var(--primary-color) 100%);
  border-radius: 15px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions-new-user-bonus__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-main-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-promotions-new-user-bonus__cta-description {
  font-size: 1.2rem;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-promotions-new-user-bonus__cta-description a {
  color: var(--text-main-color);
  text-decoration: underline;
}

.page-promotions-new-user-bonus__cta-button-large {
  padding: 18px 35px;
  font-size: 1.1rem;
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.5);
}

.page-promotions-new-user-bonus__cta-button-large:hover {
  filter: brightness(1.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-promotions-new-user-bonus__description {
    font-size: 1rem;
    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 a[class*="button"],
  .page-promotions-new-user-bonus a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-new-user-bonus__offer-cards {
    grid-template-columns: 1fr;
  }

  .page-promotions-new-user-bonus__content-area,
  .page-promotions-new-user-bonus__how-to-claim,
  .page-promotions-new-user-bonus__terms-conditions,
  .page-promotions-new-user-bonus__why-choose-us,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__final-cta {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__benefit-item,
  .page-promotions-new-user-bonus__faq-item {
    padding: 20px;
  }

  .page-promotions-new-user-bonus__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-promotions-new-user-bonus__step-icon {
    margin-bottom: 15px;
  }

  /* Image responsive rules */
  .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-cards,
  .page-promotions-new-user-bonus__benefits-grid,
  .page-promotions-new-user-bonus__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.5rem;
  }
}