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

/* Custom Colors */
:root {
    --color-bg-dark: #08160F;
    --color-card-bg: #11271B;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Auxiliary color */
}

.page-promotions-new-user-bonus {
    background-color: var(--color-bg-dark); /* Body background from shared.css is var(--bg-color), assuming it's #08160F */
    color: var(--color-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.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;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--color-deep-green); /* A slightly different dark green for the hero background */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width of the image itself */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions-new-user-bonus__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any potential background effects */
}

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

.page-promotions-new-user-bonus__description {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Default responsive for all buttons */
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-new-user-bonus__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main); /* White-ish text for dark button */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

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

.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__text-link {
    color: var(--color-gold);
    text-decoration: underline;
}

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

/* Section Styling */
.page-promotions-new-user-bonus__intro-section,
.page-promotions-new-user-bonus__bonus-types,
.page-promotions-new-user-bonus__how-to-claim,
.page-promotions-new-user-bonus__why-choose,
.page-promotions-new-user-bonus__conclusion-cta {
    padding: 80px 0;
    text-align: center;
}

.page-promotions-new-user-bonus__dark-section {
    background-color: var(--color-card-bg); /* Darker background for contrast */
    color: var(--color-text-main);
    padding: 80px 0;
}

.page-promotions-new-user-bonus__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--color-gold);
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

/* Content Area */
.page-promotions-new-user-bonus p {
    color: var(--color-text-main);
    margin-bottom: 20px;
    font-size: 1.05rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styling */
.page-promotions-new-user-bonus__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    height: 100%; /* Ensure cards in a grid have equal height */
    box-sizing: border-box;
}

.page-promotions-new-user-bonus__card-title {
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions-new-user-bonus__card p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Bonus Types Grid */
.page-promotions-new-user-bonus__bonus-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;
}

/* How To Claim Steps */
.page-promotions-new-user-bonus__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-promotions-new-user-bonus__step-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__step-title {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions-new-user-bonus__step-item p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

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

.page-promotions-new-user-bonus__term-item {
    background-color: rgba(17, 39, 27, 0.5); /* Slightly lighter than section bg */
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__term-title {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions-new-user-bonus__term-item p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

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

.page-promotions-new-user-bonus__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: rgba(17, 39, 27, 0.7); /* Slightly darker for summary */
    transition: background-color 0.3s ease;
    list-style: none; /* Hide default marker for details/summary */
}

.page-promotions-new-user-bonus__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions-new-user-bonus__faq-question:hover {
    background-color: rgba(17, 39, 27, 0.9);
}

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

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X or close icon */
}

.page-promotions-new-user-bonus__faq-answer {
    padding: 0 30px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

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

/* Content Images */
.page-promotions-new-user-bonus__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Responsive Design */
/* All images base responsive styles */
.page-promotions-new-user-bonus img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* All buttons base responsive styles */
.page-promotions-new-user-bonus__cta-button,
.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%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* Button containers base responsive styles */
.page-promotions-new-user-bonus__cta-buttons,
.page-promotions-new-user-bonus__button-group,
.page-promotions-new-user-bonus__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-promotions-new-user-bonus__description {
        font-size: 1rem;
    }

    .page-promotions-new-user-bonus__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-promotions-new-user-bonus__intro-section,
    .page-promotions-new-user-bonus__bonus-types,
    .page-promotions-new-user-bonus__how-to-claim,
    .page-promotions-new-user-bonus__why-choose,
    .page-promotions-new-user-bonus__conclusion-cta,
    .page-promotions-new-user-bonus__dark-section {
        padding: 40px 0;
    }

    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-promotions-new-user-bonus p {
        font-size: 0.95rem;
    }

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

    .page-promotions-new-user-bonus__card-title {
        font-size: 1.2rem;
    }

    .page-promotions-new-user-bonus__bonus-grid,
    .page-promotions-new-user-bonus__benefits-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-promotions-new-user-bonus__steps-list,
    .page-promotions-new-user-bonus__terms-list,
    .page-promotions-new-user-bonus__faq-list {
        margin: 20px auto;
    }

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

    .page-promotions-new-user-bonus__step-title,
    .page-promotions-new-user-bonus__term-title {
        font-size: 1.1rem;
    }

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

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

    /* Mobile forced responsive for images */
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile forced responsive for image containers */
    .page-promotions-new-user-bonus__section,
    .page-promotions-new-user-bonus__card,
    .page-promotions-new-user-bonus__container,
    .page-promotions-new-user-bonus__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile forced responsive for buttons */
    .page-promotions-new-user-bonus__cta-button,
    .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;
    }

    /* Button containers mobile adaptation */
    .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; /* Stack buttons vertically on mobile */
    }
}