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

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #00CED1; /* Turquoise */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #1a1a2e; /* Body background from shared.css */
    --background-light: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonuses {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
}

.page-promotions-new-user-bonuses__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    overflow: hidden;
}

.page-promotions-new-user-bonuses__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px; /* Wider container for hero */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-promotions-new-user-bonuses__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions-new-user-bonuses__main-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonuses__subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 0.9;
}

.page-promotions-new-user-bonuses__hero-image {
    width: 100%;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.page-promotions-new-user-bonuses__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px var(--shadow-medium);
}

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

.page-promotions-new-user-bonuses__introduction-section {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-promotions-new-user-bonuses__promo-types-section,
.page-promotions-new-user-bonuses__terms-section,
.page-promotions-new-user-bonuses__faq-section {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-promotions-new-user-bonuses__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-promotions-new-user-bonuses__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.page-promotions-new-user-bonuses__section-title--light {
    color: var(--text-light);
}

.page-promotions-new-user-bonuses__text-block {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

.page-promotions-new-user-bonuses__text-block--light {
    color: var(--text-light);
}

.page-promotions-new-user-bonuses__highlight-text {
    color: var(--primary-color);
    font-weight: bold;
}

.page-promotions-new-user-bonuses__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-light);
    border: none;
    cursor: pointer;
}

.page-promotions-new-user-bonuses__cta-button--primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--text-light);
}

.page-promotions-new-user-bonuses__cta-button--primary:hover {
    background: linear-gradient(135deg, #FFA500, #FFC107);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-promotions-new-user-bonuses__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.page-promotions-new-user-bonuses__cta-button--secondary:hover {
    background: #00BFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-promotions-new-user-bonuses__cta-button--large {
    padding: 20px 50px;
    font-size: 1.4em;
}

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

.page-promotions-new-user-bonuses__advantage-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonuses__advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-promotions-new-user-bonuses__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-promotions-new-user-bonuses__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-dark);
}

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

.page-promotions-new-user-bonuses__promo-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions-new-user-bonuses__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-promotions-new-user-bonuses__card-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions-new-user-bonuses__step-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-promotions-new-user-bonuses__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-promotions-new-user-bonuses__step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 1.5em;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px var(--shadow-light);
}

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

.page-promotions-new-user-bonuses__inline-link:hover {
    color: #00BFFF;
    text-decoration: underline;
}

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

.page-promotions-new-user-bonuses__terms-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonuses__terms-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-promotions-new-user-bonuses__terms-item .page-promotions-new-user-bonuses__card-title {
    font-size: 1.3em;
}

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

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

.page-promotions-new-user-bonuses__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-promotions-new-user-bonuses__faq-section {
    padding-bottom: 80px;
}

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

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

.page-promotions-new-user-bonuses__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-dark);
}

.page-promotions-new-user-bonuses__faq-item.active .page-promotions-new-user-bonuses__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px !important;
    opacity: 1;
    background: var(--background-light);
    border-radius: 0 0 8px 8px;
}

.page-promotions-new-user-bonuses__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    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-bonuses__faq-question:hover {
    background: var(--background-light);
    border-color: #d0d0d0;
}

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

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

.page-promotions-new-user-bonuses__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    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-bonuses__faq-item.active .page-promotions-new-user-bonuses__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

.page-promotions-new-user-bonuses__call-to-action-section {
    background-color: var(--background-light);
    padding: 80px 20px;
    color: var(--text-dark);
}

.page-promotions-new-user-bonuses__cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

    .page-promotions-new-user-bonuses__subtitle {
        font-size: 1.3em;
    }

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

    .page-promotions-new-user-bonuses__cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }

    .page-promotions-new-user-bonuses__cta-button--large {
        padding: 15px 40px;
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonuses__hero-section {
        padding-top: 160px !important; /* Mobile fixed header adjustment */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-new-user-bonuses__hero-container {
        flex-direction: column;
        gap: 20px;
    }

    .page-promotions-new-user-bonuses__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-promotions-new-user-bonuses__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions-new-user-bonuses__hero-image img {
        border-radius: 8px;
    }

    .page-promotions-new-user-bonuses__section {
        padding: 40px 15px;
    }

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

    .page-promotions-new-user-bonuses__text-block {
        font-size: 0.95em;
    }

    .page-promotions-new-user-bonuses__advantages-grid,
    .page-promotions-new-user-bonuses__promo-grid,
    .page-promotions-new-user-bonuses__steps-grid,
    .page-promotions-new-user-bonuses__terms-list,
    .page-promotions-new-user-bonuses__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-new-user-bonuses__advantage-card,
    .page-promotions-new-user-bonuses__promo-card,
    .page-promotions-new-user-bonuses__step-card,
    .page-promotions-new-user-bonuses__terms-item,
    .page-promotions-new-user-bonuses__tip-card {
        padding: 20px;
    }

    .page-promotions-new-user-bonuses__card-title {
        font-size: 1.3em;
    }

    .page-promotions-new-user-bonuses__card-text {
        font-size: 0.9em;
    }

    .page-promotions-new-user-bonuses__step-card {
        padding-top: 50px;
    }

    .page-promotions-new-user-bonuses__step-number {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        top: 15px;
        left: 15px;
    }

    .page-promotions-new-user-bonuses__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-promotions-new-user-bonuses__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-promotions-new-user-bonuses__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-promotions-new-user-bonuses__faq-answer {
        padding: 0 15px;
    }
    
    .page-promotions-new-user-bonuses__faq-item.active .page-promotions-new-user-bonuses__faq-answer {
        padding: 15px !important;
    }

    .page-promotions-new-user-bonuses__cta-button--large {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    
    /* Ensure all images are responsive */
    .page-promotions-new-user-bonuses img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-promotions-new-user-bonuses__section,
    .page-promotions-new-user-bonuses__container,
    .page-promotions-new-user-bonuses__advantage-card,
    .page-promotions-new-user-bonuses__promo-card,
    .page-promotions-new-user-bonuses__step-card,
    .page-promotions-new-user-bonuses__terms-item,
    .page-promotions-new-user-bonuses__tip-card,
    .page-promotions-new-user-bonuses__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions-new-user-bonuses__hero-container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions-new-user-bonuses__hero-image {
        padding-left: 15px;
        padding-right: 15px;
    }
}