/* style/promotions-new-user-bonus.css */
/* Custom Colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F; /* This should be handled by shared.css body, but for consistency in specific elements */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-promotions-new-user-bonus {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Main text color for the page content, contrasting with dark body background */
    background-color: var(--background-color); /* Ensure main content area has the specified background */
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--deep-green); /* Example background for hero container */
    overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 1200px; /* Max width for the image */
    border-radius: 10px;
}

.page-promotions-new-user-bonus__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-promotions-new-user-bonus__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--gold-color); /* Gold color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-promotions-new-user-bonus__intro-text {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-promotions-new-user-bonus__section {
    padding: 60px 0;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-promotions-new-user-bonus__section:last-of-type {
    border-bottom: none;
}

.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-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions-new-user-bonus__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* CTA Buttons */
.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-new-user-bonus__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
    transform: translateY(-2px);
}

.page-promotions-new-user-bonus__cta-button--small {
    padding: 12px 25px;
    font-size: 1em;
}

.page-promotions-new-user-bonus__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

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

.page-promotions-new-user-bonus__button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-promotions-new-user-bonus__step-card {
    background-color: var(--card-bg); /* Card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__step-icon {
    width: 100%; /* Ensure images are responsive within card */
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-promotions-new-user-bonus__step-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

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

/* Terms & Conditions List */
.page-promotions-new-user-bonus__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-promotions-new-user-bonus__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-promotions-new-user-bonus__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions-new-user-bonus__text-link:hover {
    color: var(--secondary-color);
}

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

.page-promotions-new-user-bonus__benefit-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-promotions-new-user-bonus__benefit-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-promotions-new-user-bonus__benefit-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

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

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

.page-promotions-new-user-bonus__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.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;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* Remove default marker for summary */
}

.page-promotions-new-user-bonus__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-promotions-new-user-bonus__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
    border-bottom: 1px solid var(--divider-color);
}

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

/* Call to Action Section */
.page-promotions-new-user-bonus__call-to-action {
    text-align: center;
    background-color: var(--deep-green);
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 2em;
    }
    .page-promotions-new-user-bonus__sub-title {
        font-size: 1.6em;
    }
}

@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: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
    }

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

    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-promotions-new-user-bonus__intro-text {
        font-size: 1em;
    }

    .page-promotions-new-user-bonus__section {
        padding: 40px 0;
    }

    .page-promotions-new-user-bonus__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-promotions-new-user-bonus__sub-title {
        font-size: 1.4em;
    }

    .page-promotions-new-user-bonus__paragraph,
    .page-promotions-new-user-bonus__list-item,
    .page-promotions-new-user-bonus__step-description,
    .page-promotions-new-user-bonus__benefit-description,
    .page-promotions-new-user-bonus__faq-answer p {
        font-size: 0.95em;
    }

    /* Images 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__hero-image-wrapper,
    .page-promotions-new-user-bonus__step-card,
    .page-promotions-new-user-bonus__benefit-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .page-promotions-new-user-bonus__cta-button,
    .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__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

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

@media (max-width: 480px) {
    .page-promotions-new-user-bonus__section-title {
        font-size: 1.5em;
    }
    .page-promotions-new-user-bonus__sub-title {
        font-size: 1.2em;
    }
    .page-promotions-new-user-bonus__cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-promotions-new-user-bonus__faq-qtext {
        font-size: 1em;
    }
}