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

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-background: #1a1a2e;
    --light-text: #FFFFFF;
    --dark-text: #333333;
    --login-color: #EA7C07;
}

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

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

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

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    position: relative;
    overflow: hidden;
}

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

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

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

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

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7);
}

/* Video Section */
.page-promotions-new-user-bonus__video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions-new-user-bonus__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

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

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

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

.page-promotions-new-user-bonus__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* CTA Buttons */
.page-promotions-new-user-bonus__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.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%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.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(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Benefits Grid */
.page-promotions-new-user-bonus__benefits-grid,
.page-promotions-new-user-bonus__steps-grid,
.page-promotions-new-user-bonus__bonus-types-grid,
.page-promotions-new-user-bonus__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-new-user-bonus__benefit-card,
.page-promotions-new-user-bonus__step-card,
.page-promotions-new-user-bonus__bonus-type-card,
.page-promotions-new-user-bonus__why-choose-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 350px; /* Ensure cards have consistent height */
}

.page-promotions-new-user-bonus__benefit-card:hover,
.page-promotions-new-user-bonus__step-card:hover,
.page-promotions-new-user-bonus__bonus-type-card:hover,
.page-promotions-new-user-bonus__why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__benefit-icon,
.page-promotions-new-user-bonus__why-choose-icon {
    width: 200px; /* Min size for content images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: contain;
}

.page-promotions-new-user-bonus__benefit-title,
.page-promotions-new-user-bonus__step-title,
.page-promotions-new-user-bonus__bonus-type-title,
.page-promotions-new-user-bonus__why-choose-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: inherit;
}

.page-promotions-new-user-bonus__benefit-text,
.page-promotions-new-user-bonus__step-text,
.page-promotions-new-user-bonus__bonus-type-text,
.page-promotions-new-user-bonus__why-choose-text {
    font-size: 1em;
    color: inherit;
    flex-grow: 1;
}

/* Steps Section */
.page-promotions-new-user-bonus__step-card {
    position: relative;
    padding-top: 60px; /* Space for step number */
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-promotions-new-user-bonus__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__step-card .page-promotions-new-user-bonus__btn-secondary {
    margin-top: 20px;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

/* Bonus Types Section */
.page-promotions-new-user-bonus__bonus-type-card {
    text-align: left;
    align-items: flex-start;
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

.page-promotions-new-user-bonus__bonus-type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Terms & Conditions Section */
.page-promotions-new-user-bonus__terms-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 40px;
}

.page-promotions-new-user-bonus__terms-item {
    background-color: var(--secondary-color);
    color: var(--dark-text);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promotions-new-user-bonus__terms-heading {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-promotions-new-user-bonus__terms-text {
    font-size: 1em;
    color: var(--dark-text);
}

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

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

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--dark-text);
    border-bottom: 1px solid #eee;
}

.page-promotions-new-user-bonus__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
}

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

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

.page-promotions-new-user-bonus__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--dark-text);
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px;
}

.page-promotions-new-user-bonus__faq-answer p {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.page-promotions-new-user-bonus__faq-answer .page-promotions-new-user-bonus__btn-secondary {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Final Call to Action Section */
.page-promotions-new-user-bonus__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-promotions-new-user-bonus__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__hero-title {
        font-size: 3em;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 2.2em;
    }
    .page-promotions-new-user-bonus__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions-new-user-bonus__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 30px;
    }
    .page-promotions-new-user-bonus__hero-title {
        font-size: 2.5em;
    }
    .page-promotions-new-user-bonus__hero-description {
        font-size: 1em;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 1.8em;
    }
    .page-promotions-new-user-bonus__cta-title {
        font-size: 2em;
    }
    .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"] {
      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;
    }
    .page-promotions-new-user-bonus__cta-buttons {
        display: flex;
        flex-direction: column;
    }
    .page-promotions-new-user-bonus img {
        max-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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions-new-user-bonus video,
    .page-promotions-new-user-bonus__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-new-user-bonus__video-section,
    .page-promotions-new-user-bonus__video-container,
    .page-promotions-new-user-bonus__video-wrapper {
        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__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-user-bonus__hero-title {
        font-size: 2em;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 1.5em;
    }
    .page-promotions-new-user-bonus__cta-title {
        font-size: 1.8em;
    }
    .page-promotions-new-user-bonus__btn-primary--large {
        font-size: 1.1em;
        padding: 15px 25px;
    }
}

/* Contrast Fixes */
.page-promotions-new-user-bonus__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-promotions-new-user-bonus__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Ensure content images meet minimum size */
.page-promotions-new-user-bonus__benefit-icon,
.page-promotions-new-user-bonus__why-choose-icon,
.page-promotions-new-user-bonus__bonus-type-image {
    min-width: 200px;
    min-height: 200px;
}