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

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

.page-promotions-new-user-bonus {
    background-color: var(--background-color-custom);
    color: var(--text-main-color); /* Main text color for the page */
}

.page-promotions-new-user-bonus__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    text-align: center;
    background-color: var(--deep-green-color);
    overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions-new-user-bonus__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
    color: var(--text-main-color);
}

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

.page-promotions-new-user-bonus__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gold-color);
    line-height: 1.3;
}

.page-promotions-new-user-bonus__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--glow-color);
}

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

.page-promotions-new-user-bonus__text-block {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-promotions-new-user-bonus__introduction-section,
.page-promotions-new-user-bonus__how-to-register-section,
.page-promotions-new-user-bonus__terms-section,
.page-promotions-new-user-bonus__cta-section {
    padding: 60px 0;
    background-color: var(--background-color-custom);
}

.page-promotions-new-user-bonus__benefits-section,
.page-promotions-new-user-bonus__bonus-types-section,
.page-promotions-new-user-bonus__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

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

.page-promotions-new-user-bonus__dark-section {
    background-color: var(--background-color-custom);
    color: var(--text-main-color);
}

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

.page-promotions-new-user-bonus__card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-promotions-new-user-bonus__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-new-user-bonus__card-title {
    font-size: 1.35rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--glow-color);
}

.page-promotions-new-user-bonus__card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

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

.page-promotions-new-user-bonus__step-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
}

.page-promotions-new-user-bonus__step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-promotions-new-user-bonus__step-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--glow-color);
    text-align: center;
}

.page-promotions-new-user-bonus__step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-promotions-new-user-bonus__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
}

.page-promotions-new-user-bonus__bonus-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-new-user-bonus__list-item {
    background-color: var(--background-color-custom);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: var(--text-main-color);
}

.page-promotions-new-user-bonus__list-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-promotions-new-user-bonus__list-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

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

.page-promotions-new-user-bonus__faq-item {
    background-color: var(--background-color-custom);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main-color);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-promotions-new-user-bonus__faq-question:hover {
    background-color: var(--primary-color);
}

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

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    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 {
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-toggle {
    color: var(--text-main-color);
}

.page-promotions-new-user-bonus__faq-answer {
    padding: 20px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary-color);
    background-color: var(--card-bg-color);
}

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

.page-promotions-new-user-bonus__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--deep-green-color);
}

.page-promotions-new-user-bonus__cta-section .page-promotions-new-user-bonus__section-title {
    color: var(--gold-color);
}

.page-promotions-new-user-bonus__cta-section .page-promotions-new-user-bonus__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
}

.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-new-user-bonus__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    margin: 10px;
}

.page-promotions-new-user-bonus__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-new-user-bonus__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ensure all content area images are at least 200x200 */
.page-promotions-new-user-bonus__card-image,
.page-promotions-new-user-bonus__image-full-width {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
    }

    .page-promotions-new-user-bonus__hero-description {
        font-size: 1.05rem;
    }

    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    }
}

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

    .page-promotions-new-user-bonus__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-promotions-new-user-bonus__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 10px;
    }

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

    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 25px;
    }

    .page-promotions-new-user-bonus__sub-title {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-promotions-new-user-bonus__introduction-section,
    .page-promotions-new-user-bonus__benefits-section,
    .page-promotions-new-user-bonus__how-to-register-section,
    .page-promotions-new-user-bonus__bonus-types-section,
    .page-promotions-new-user-bonus__terms-section,
    .page-promotions-new-user-bonus__faq-section,
    .page-promotions-new-user-bonus__cta-section {
        padding: 40px 0;
    }

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

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

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

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

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

    .page-promotions-new-user-bonus__step-number {
        font-size: 2rem;
    }

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

    .page-promotions-new-user-bonus__image-full-width {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions-new-user-bonus__list-title {
        font-size: 1.1rem;
    }

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

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

    .page-promotions-new-user-bonus__btn-primary,
    .page-promotions-new-user-bonus__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        margin: 8px 0;
    }
    
    .page-promotions-new-user-bonus__cta-section .page-promotions-new-user-bonus__container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Ensure all images in content sections are responsive */
    .page-promotions-new-user-bonus__section img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-new-user-bonus__card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure containers with images/buttons are responsive */
    .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: 10px !important; /* body already handles --header-offset */
    }

    /* For multiple buttons in a row, ensure they wrap or stack */
    .page-promotions-new-user-bonus__cta-section .page-promotions-new-user-bonus__container {
        flex-wrap: wrap !important; /* Allow buttons to wrap */
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px; /* Spacing between stacked buttons */
    }
}