/* style/promotions-new-user-bonus.css */
.page-promotions-new-user-bonus {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--primary-bg); /* Inherit from shared.css, expected to be dark */
}

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

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero */
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Ensure hero has a dark background */
}

.page-promotions-new-user-bonus__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6; /* Slightly dim image for text readability */
}

.page-promotions-new-user-bonus__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

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

.page-promotions-new-user-bonus__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-promotions-new-user-bonus__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    max-width: 100%; /* Ensure button does not overflow */
}

.page-promotions-new-user-bonus__btn-primary {
    background-color: #FFD700;
    color: #0A0A0A;
    border: 2px solid #FFD700;
}

.page-promotions-new-user-bonus__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A0A0A;
}

/* General Section Styles */
.page-promotions-new-user-bonus__intro-section,
.page-promotions-new-user-bonus__bonus-types-section,
.page-promotions-new-user-bonus__how-to-claim-section,
.page-promotions-new-user-bonus__terms-section,
.page-promotions-new-user-bonus__benefits-section,
.page-promotions-new-user-bonus__faq-section,
.page-promotions-new-user-bonus__cta-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Consistent dark background */
}

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

.page-promotions-new-user-bonus__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-promotions-new-user-bonus__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-new-user-bonus__card,
.page-promotions-new-user-bonus__step-item,
.page-promotions-new-user-bonus__benefit-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-promotions-new-user-bonus__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-promotions-new-user-bonus__card-title,
.page-promotions-new-user-bonus__step-title,
.page-promotions-new-user-bonus__benefit-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions-new-user-bonus__card-text,
.page-promotions-new-user-bonus__step-description,
.page-promotions-new-user-bonus__benefit-text {
    font-size: 1em;
    color: #e0e0e0;
    text-align: justify;
}

/* How to Claim Steps */
.page-promotions-new-user-bonus__step-item {
    text-align: left;
    align-items: flex-start;
}

.page-promotions-new-user-bonus__step-number {
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    color: #0A0A0A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.page-promotions-new-user-bonus__center-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Terms & Conditions */
.page-promotions-new-user-bonus__terms-list {
    list-style-type: disc;
    padding-left: 40px;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-promotions-new-user-bonus__terms-list li {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #f0f0f0;
}

.page-promotions-new-user-bonus__terms-list strong {
    color: #FFD700;
}

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

.page-promotions-new-user-bonus__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Lighter semi-transparent for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly darker for question */
    transition: background-color 0.3s ease;
}

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

.page-promotions-new-user-bonus__faq-heading {
    font-size: 1.2em;
    color: #FFD700;
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.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;
    background-color: rgba(255, 255, 255, 0.03); /* Even lighter for answer background */
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 20px 25px;
}

.page-promotions-new-user-bonus__faq-answer p {
    margin: 0;
    color: #e0e0e0;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-new-user-bonus__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions-new-user-bonus__container {
        padding: 0 15px;
    }

    .page-promotions-new-user-bonus__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }

    .page-promotions-new-user-bonus__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

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

    .page-promotions-new-user-bonus__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-new-user-bonus__cta-button {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-promotions-new-user-bonus__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

    .page-promotions-new-user-bonus__cards-grid,
.page-promotions-new-user-bonus__steps-grid,
.page-promotions-new-user-bonus__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-promotions-new-user-bonus__card-title,
.page-promotions-new-user-bonus__step-title,
.page-promotions-new-user-bonus__benefit-title {
        font-size: 1.2em;
    }

    .page-promotions-new-user-bonus__terms-list {
        padding-left: 20px;
    }

    .page-promotions-new-user-bonus__terms-list li {
        font-size: 0.95em;
    }

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

    .page-promotions-new-user-bonus__faq-heading {
        font-size: 1.1em;
    }

    .page-promotions-new-user-bonus__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-new-user-bonus__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding is correct */
    }
}

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