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

/* Base styles for the page content, ensuring light text on dark body background */
.page-promotions-new-user-bonus-details {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background handled by shared.css */
}

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

/* Section styling */
.page-promotions-new-user-bonus-details__hero-section,
.page-promotions-new-user-bonus-details__overview-section,
.page-promotions-new-user-bonus-details__how-to-claim-section,
.page-promotions-new-user-bonus-details__terms-section,
.page-promotions-new-user-bonus-details__why-choose-section,
.page-promotions-new-user-bonus-details__faq-section,
.page-promotions-new-user-bonus-details__cta-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Specific background colors for sections */
.page-promotions-new-user-bonus-details__hero-section,
.page-promotions-new-user-bonus-details__how-to-claim-section,
.page-promotions-new-user-bonus-details__why-choose-section,
.page-promotions-new-user-bonus-details__cta-section {
    background-color: #0a0a0a; /* Ensure dark background for these sections if body is also dark */
}

.page-promotions-new-user-bonus-details__overview-section,
.page-promotions-new-user-bonus-details__terms-section,
.page-promotions-new-user-bonus-details__faq-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

/* Adjust padding-top for the first content section to clear the fixed header */
.page-promotions-new-user-bonus-details__hero-section {
    padding-top: var(--header-offset, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    min-height: 600px; /* Ensure hero section has a decent height */
    position: relative;
}

.page-promotions-new-user-bonus-details__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Make background image subtle */
}

.page-promotions-new-user-bonus-details__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-promotions-new-user-bonus-details__hero-title {
    font-size: 3.5em;
    color: #26A9E0; /* Brand color for title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus-details__hero-description {
    font-size: 1.2em;
    color: #f0f0f0; /* Light color for description */
    margin-bottom: 30px;
}

.page-promotions-new-user-bonus-details__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions-new-user-bonus-details__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for section titles */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus-details__text-block {
    font-size: 1.1em;
    color: #e0e0e0; /* Slightly off-white for body text */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Card Grid */
.page-promotions-new-user-bonus-details__card-grid,
.page-promotions-new-user-bonus-details__steps-grid,
.page-promotions-new-user-bonus-details__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-new-user-bonus-details__card,
.page-promotions-new-user-bonus-details__step-item,
.page-promotions-new-user-bonus-details__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus-details__card:hover,
.page-promotions-new-user-bonus-details__step-item:hover,
.page-promotions-new-user-bonus-details__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus-details__card-title,
.page-promotions-new-user-bonus-details__step-title,
.page-promotions-new-user-bonus-details__feature-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-promotions-new-user-bonus-details__card-text,
.page-promotions-new-user-bonus-details__step-description,
.page-promotions-new-user-bonus-details__feature-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* Steps specific styling */
.page-promotions-new-user-bonus-details__step-item {
    position: relative;
    padding-top: 60px;
}

.page-promotions-new-user-bonus-details__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #26A9E0;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #0a0a0a; /* Contrast with background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Images within sections */
.page-promotions-new-user-bonus-details__steps-image,
.page-promotions-new-user-bonus-details__why-choose-image,
.page-promotions-new-user-bonus-details__faq-image,
.page-promotions-new-user-bonus-details__cta-image {
    display: block;
    margin: 60px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Terms and Conditions List */
.page-promotions-new-user-bonus-details__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-promotions-new-user-bonus-details__terms-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #26A9E0;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.page-promotions-new-user-bonus-details__terms-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* FAQ Section */
.page-promotions-new-user-bonus-details__faq-list {
    max-width: 800px;
    margin: 40px auto;
}

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

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

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

.page-promotions-new-user-bonus-details__faq-title {
    margin: 0;
    color: #26A9E0;
    flex-grow: 1;
}

.page-promotions-new-user-bonus-details__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-promotions-new-user-bonus-details__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

.page-promotions-new-user-bonus-details__faq-answer p {
    margin-bottom: 20px;
    padding-top: 10px;
}

.page-promotions-new-user-bonus-details__faq-item.active .page-promotions-new-user-bonus-details__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px !important;
}

.page-promotions-new-user-bonus-details__faq-item.active .page-promotions-new-user-bonus-details__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

/* CTA Section */
.page-promotions-new-user-bonus-details__cta-section {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.page-promotions-new-user-bonus-details__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2; /* Make background image subtle */
}

.page-promotions-new-user-bonus-details__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Buttons */
.page-promotions-new-user-bonus-details__btn-primary,
.page-promotions-new-user-bonus-details__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, border-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

.page-promotions-new-user-bonus-details__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-promotions-new-user-bonus-details__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
    transform: translateY(-2px);
}

.page-promotions-new-user-bonus-details__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions-new-user-bonus-details__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus-details__hero-title {
        font-size: 3em;
    }
    .page-promotions-new-user-bonus-details__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus-details__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }

    .page-promotions-new-user-bonus-details__hero-title {
        font-size: 2.2em;
    }

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

    .page-promotions-new-user-bonus-details__hero-cta-buttons,
    .page-promotions-new-user-bonus-details__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-new-user-bonus-details__btn-primary,
    .page-promotions-new-user-bonus-details__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions-new-user-bonus-details__section-title {
        font-size: 1.8em;
    }

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

    .page-promotions-new-user-bonus-details__card-grid,
    .page-promotions-new-user-bonus-details__steps-grid,
    .page-promotions-new-user-bonus-details__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-new-user-bonus-details__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-promotions-new-user-bonus-details__faq-answer {
        padding: 0 20px;
    }

    .page-promotions-new-user-bonus-details__faq-item.active .page-promotions-new-user-bonus-details__faq-answer {
        padding: 10px 20px !important;
    }

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

    .page-promotions-new-user-bonus-details__container,
    .page-promotions-new-user-bonus-details__hero-section,
    .page-promotions-new-user-bonus-details__overview-section,
    .page-promotions-new-user-bonus-details__how-to-claim-section,
    .page-promotions-new-user-bonus-details__terms-section,
    .page-promotions-new-user-bonus-details__why-choose-section,
    .page-promotions-new-user-bonus-details__faq-section,
    .page-promotions-new-user-bonus-details__cta-section,
    .page-promotions-new-user-bonus-details__card,
    .page-promotions-new-user-bonus-details__step-item,
    .page-promotions-new-user-bonus-details__feature-card,
    .page-promotions-new-user-bonus-details__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-promotions-new-user-bonus-details__hero-content,
    .page-promotions-new-user-bonus-details__cta-buttons {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Ensure no filter on images */
.page-promotions-new-user-bonus-details img {
    filter: none !important;
}

/* Contrast fixes if needed - these are general examples, actual application depends on dynamic check */
.page-promotions-new-user-bonus-details__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

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