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

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
    --dark-background-color: #121212; /* From body background info */
}

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

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

.page-promotions-new-user-bonus__section {
    padding: 60px 0;
    text-align: center;
}

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

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

.page-promotions-new-user-bonus__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: inherit; /* Inherits from parent section */
}

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

.page-promotions-new-user-bonus img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    padding: var(--header-offset, 120px) 0 80px; /* Use padding-top:0 if shared.css already applies header offset to body */
    background: linear-gradient(135deg, var(--primary-color), #1a7fb3);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.page-promotions-new-user-bonus__hero-section .page-promotions-new-user-bonus__container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-promotions-new-user-bonus__hero-content {
    flex: 1;
    min-width: 300px;
    z-index: 1;
}

.page-promotions-new-user-bonus__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

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

.page-promotions-new-user-bonus__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.page-promotions-new-user-bonus__hero-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
}

/* Call to Action Buttons */
.page-promotions-new-user-bonus__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-start;
}

.page-promotions-new-user-bonus__cta-buttons--centered {
    justify-content: center;
}

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

.page-promotions-new-user-bonus__btn-primary {
    background-color: var(--login-button-color); /* Specific color for login/register */
    color: var(--text-light);
    border: 2px solid var(--login-button-color);
}

.page-promotions-new-user-bonus__btn-primary:hover {
    background-color: darken(var(--login-button-color), 10%);
    border-color: darken(var(--login-button-color), 10%);
    transform: translateY(-2px);
}

.page-promotions-new-user-bonus__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Introduction Section */
.page-promotions-new-user-bonus__introduction-section {
    background-color: var(--dark-background-color);
    color: var(--text-light);
}

/* How to Claim Section */
.page-promotions-new-user-bonus__how-to-claim-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-promotions-new-user-bonus__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-new-user-bonus__step-item p {
    font-size: 1em;
    color: var(--text-light);
}

/* Offer Types Section */
.page-promotions-new-user-bonus__offer-types-section {
    background-color: var(--dark-background-color);
    color: var(--text-light);
}

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

.page-promotions-new-user-bonus__offer-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-promotions-new-user-bonus__card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-promotions-new-user-bonus__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

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

/* Terms & Conditions Section */
.page-promotions-new-user-bonus__terms-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-promotions-new-user-bonus__terms-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__terms-heading {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

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

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

.page-promotions-new-user-bonus__terms-section a:hover {
    color: var(--text-light);
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
    background-color: var(--dark-background-color);
    color: var(--text-light);
}

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

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

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions-new-user-bonus__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: var(--secondary-color);
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

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

/* Conclusion CTA Section */
.page-promotions-new-user-bonus__cta-conclusion {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}

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

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

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

    .page-promotions-new-user-bonus__hero-section .page-promotions-new-user-bonus__container {
        flex-direction: column;
        text-align: center;
    }

    .page-promotions-new-user-bonus__hero-content {
        order: 2; /* Move content below image on smaller screens */
    }

    .page-promotions-new-user-bonus__hero-image-wrapper {
        order: 1;
    }

    .page-promotions-new-user-bonus__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
        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__section {
        padding: 40px 0;
    }

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

    .page-promotions-new-user-bonus__text-block {
        font-size: 0.95em;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Universal image responsive for mobile */
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 15px auto !important;
    }
    
    /* Content containers for mobile */
    .page-promotions-new-user-bonus__section,
    .page-promotions-new-user-bonus__container,
    .page-promotions-new-user-bonus__offer-card,
    .page-promotions-new-user-bonus__step-item,
    .page-promotions-new-user-bonus__terms-item,
    .page-promotions-new-user-bonus__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Buttons and button containers for mobile */
    .page-promotions-new-user-bonus__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

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

    .page-promotions-new-user-bonus__offer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-promotions-new-user-bonus__offer-card {
        padding: 20px;
    }

    .page-promotions-new-user-bonus__card-image {
        height: 180px;
    }

    .page-promotions-new-user-bonus__step-list,
    .page-promotions-new-user-bonus__terms-list,
    .page-promotions-new-user-bonus__faq-list {
        margin: 20px auto;
        padding: 0 15px;
    }

    .page-promotions-new-user-bonus__step-item,
    .page-promotions-new-user-bonus__terms-item,
    .page-promotions-new-user-bonus__faq-item {
        padding: 15px;
    }

    .page-promotions-new-user-bonus__step-title,
    .page-promotions-new-user-bonus__terms-heading,
    .page-promotions-new-user-bonus__faq-title {
        font-size: 1.2em;
    }

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

    .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
        padding: 15px !important;
    }

    .page-promotions-new-user-bonus__cta-conclusion {
        padding: 50px 0;
    }
}