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

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-promotions-new-user-bonus {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--background-color);
    line-height: 1.6;
    padding-bottom: 40px;
}

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

.page-promotions-new-user-bonus__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-promotions-new-user-bonus__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative; /* Ensure content is above image but not overlapping */
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: -80px; /* Pull content slightly over image for visual flow */
}

.page-promotions-new-user-bonus__hero-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

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

.page-promotions-new-user-bonus__btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-new-user-bonus__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-promotions-new-user-bonus__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: var(--card-bg);
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-new-user-bonus__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

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

.page-promotions-new-user-bonus__content-area {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--divider-color);
}

.page-promotions-new-user-bonus__text-block {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-promotions-new-user-bonus__text-block .highlight {
    color: var(--gold-color);
    font-weight: 600;
}

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

.page-promotions-new-user-bonus__step-card {
    background-color: var(--deep-green-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-promotions-new-user-bonus__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
}

.page-promotions-new-user-bonus__step-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-promotions-new-user-bonus__step-description {
    font-size: 0.95em;
    color: var(--text-secondary);
}

.page-promotions-new-user-bonus__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--deep-green-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__cta-text {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 25px;
    font-weight: 500;
}

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

.page-promotions-new-user-bonus__term-item {
    background-color: var(--deep-green-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__term-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
}

.page-promotions-new-user-bonus__term-title {
    font-size: 1.25em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-promotions-new-user-bonus__term-description {
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.page-promotions-new-user-bonus__game-card {
    background-color: var(--deep-green-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions-new-user-bonus__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
}

.page-promotions-new-user-bonus__game-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-promotions-new-user-bonus__game-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Choose Us Section */
.page-promotions-new-user-bonus__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-promotions-new-user-bonus__feature-card {
    background-color: var(--deep-green-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-promotions-new-user-bonus__feature-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
}

.page-promotions-new-user-bonus__feature-title {
    font-size: 1.25em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-promotions-new-user-bonus__feature-description {
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-list {
    margin-top: 30px;
}

.page-promotions-new-user-bonus__faq-item {
    background-color: var(--deep-green-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--primary-color);
    transition: background-color 0.3s ease;
}

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

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

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-toggle {
    transform: rotate(45deg); /* Plus to X */
}

.page-promotions-new-user-bonus__faq-answer {
    padding: 15px 25px 20px;
    font-size: 0.95em;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
}

.page-promotions-new-user-bonus__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA */
.page-promotions-new-user-bonus__section-cta-final {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: var(--deep-green-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

/* Global image and container responsiveness */
.page-promotions-new-user-bonus img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions-new-user-bonus__section,
.page-promotions-new-user-bonus__container,
.page-promotions-new-user-bonus__card,
.page-promotions-new-user-bonus__steps-container,
.page-promotions-new-user-bonus__terms-grid,
.page-promotions-new-user-bonus__game-grid,
.page-promotions-new-user-bonus__features-grid,
.page-promotions-new-user-bonus__faq-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-promotions-new-user-bonus__hero-section {
    padding: 40px 10px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-promotions-new-user-bonus__hero-content {
    margin-top: -40px; /* Adjust for smaller screens */
    padding: 15px;
  }

  .page-promotions-new-user-bonus__hero-title {
    font-size: 2em;
  }

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

  .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"] {
    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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }
  
  .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;
  }

  .page-promotions-new-user-bonus__content-area {
    margin: 20px auto;
    padding: 15px;
  }

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

  .page-promotions-new-user-bonus__text-block {
    font-size: 0.95em;
  }

  .page-promotions-new-user-bonus__step-image,
  .page-promotions-new-user-bonus__term-image,
  .page-promotions-new-user-bonus__game-image,
  .page-promotions-new-user-bonus__feature-image {
    height: 150px; /* Adjust image height for mobile */
  }

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

  .page-promotions-new-user-bonus__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9em;
  }
  
  /* Ensure all containers are responsive */
  .page-promotions-new-user-bonus__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container,
  .page-promotions-new-user-bonus__steps-container,
  .page-promotions-new-user-bonus__terms-grid,
  .page-promotions-new-user-bonus__game-grid,
  .page-promotions-new-user-bonus__features-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;
  }
  
  /* Specific overrides for sections that might not have direct padding */
  .page-promotions-new-user-bonus__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-promotions-new-user-bonus__hero-image-wrapper {
      padding-left: 15px;
      padding-right: 15px;
  }
  
  .page-promotions-new-user-bonus__hero-content {
      margin-left: 15px;
      margin-right: 15px;
      width: calc(100% - 30px);
  }
}