/* style/promotions-new-user-bonus.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --register-login-text-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8;
    --border-color: #e0e0e0;
}

.page-promotions-new-user-bonus {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color); /* Body background from shared.css is var(--secondary-color) which is #FFFFFF, so text should be dark */
}

.page-promotions-new-user-bonus__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-promotions-new-user-bonus__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

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

.page-promotions-new-user-bonus__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-promotions-new-user-bonus__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-promotions-new-user-bonus__main-title {
    font-size: 44px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__description {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions-new-user-bonus__cta-group--center {
    margin-top: 40px;
}

.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-promotions-new-user-bonus__btn-register:hover {
    background: darken(var(--register-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-new-user-bonus__btn-login:hover {
    background: darken(var(--login-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-new-user-bonus__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.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(--background-light);
    color: var(--text-dark);
}

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

.page-promotions-new-user-bonus__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
}

.page-promotions-new-user-bonus__sub-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: inherit;
}

.page-promotions-new-user-bonus__text-block {
    font-size: 17px;
    text-align: justify;
    margin-bottom: 30px;
    line-height: 1.7;
    color: inherit;
}

.page-promotions-new-user-bonus__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions-new-user-bonus__card {
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

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

.page-promotions-new-user-bonus__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-promotions-new-user-bonus__card-text {
    font-size: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.page-promotions-new-user-bonus__list-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.page-promotions-new-user-bonus__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid var(--secondary-color);
}

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

.page-promotions-new-user-bonus__list-text {
    font-size: 16px;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-promotions-new-user-bonus__feature-item {
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: left;
    border: 1px solid var(--border-color);
}

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

.page-promotions-new-user-bonus__feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

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

.page-promotions-new-user-bonus__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-promotions-new-user-bonus__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-promotions-new-user-bonus__faq-question:active {
    background: #eeeeee;
}

.page-promotions-new-user-bonus__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-toggle {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: 38px;
    }
    .page-promotions-new-user-bonus__description {
        font-size: 18px;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 32px;
    }
    .page-promotions-new-user-bonus__sub-title {
        font-size: 24px;
    }
    .page-promotions-new-user-bonus__text-block {
        font-size: 16px;
    }
    .page-promotions-new-user-bonus__card-title {
        font-size: 20px;
    }
    .page-promotions-new-user-bonus__feature-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions-new-user-bonus__hero-image img {
        border-radius: 4px;
    }
    .page-promotions-new-user-bonus__hero-content {
        padding: 0 15px;
    }
    .page-promotions-new-user-bonus__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-promotions-new-user-bonus__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-promotions-new-user-bonus__cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-promotions-new-user-bonus__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions-new-user-bonus__section {
        padding: 40px 15px;
    }
    .page-promotions-new-user-bonus__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-promotions-new-user-bonus__sub-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    .page-promotions-new-user-bonus__text-block {
        font-size: 15px;
    }
    .page-promotions-new-user-bonus__promotion-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-new-user-bonus__card-image {
        height: 250px;
    }
    .page-promotions-new-user-bonus__card-title {
        font-size: 18px;
    }
    .page-promotions-new-user-bonus__list-item {
        padding-left: 50px;
    }
    .page-promotions-new-user-bonus__list-item::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .page-promotions-new-user-bonus__list-title {
        font-size: 18px;
    }
    .page-promotions-new-user-bonus__feature-list {
        grid-template-columns: 1fr;
    }
    .page-promotions-new-user-bonus__feature-title {
        font-size: 18px;
    }
    .page-promotions-new-user-bonus__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions-new-user-bonus__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-promotions-new-user-bonus__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions-new-user-bonus__faq-answer {
        padding: 0 15px;
    }
    .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
        padding: 15px !important;
    }
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions-new-user-bonus__section,
    .page-promotions-new-user-bonus__card,
    .page-promotions-new-user-bonus__container,
    .page-promotions-new-user-bonus__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions-new-user-bonus__cta-group {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: 28px;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 24px;
    }
    .page-promotions-new-user-bonus__sub-title {
        font-size: 20px;
    }
    .page-promotions-new-user-bonus__list-title {
        font-size: 16px;
    }
    .page-promotions-new-user-bonus__card-image {
        height: 200px;
    }
}