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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-bg: #C30808;
    --login-button-bg: #C30808;
    --register-login-font: #FFFF00;
    --background-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --gray-border: #e0e0e0;
}

.page-promotions-new-user-bonus {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Assuming dark body background from shared.css */
    background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

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

.page-promotions-new-user-bonus__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    padding-top: 0; /* Assuming shared.css handles body padding-top */
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
    text-align: center;
}

.page-promotions-new-user-bonus__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-promotions-new-user-bonus__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.8); /* Allow brightness filter for background image effect */
}

.page-promotions-new-user-bonus__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-promotions-new-user-bonus__intro-section,
.page-promotions-new-user-bonus__terms-section,
.page-promotions-new-user-bonus__why-choose-us {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 60px 0;
}

.page-promotions-new-user-bonus__intro-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__terms-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__why-choose-us .page-promotions-new-user-bonus__section-title {
    color: var(--primary-color);
}

.page-promotions-new-user-bonus__steps-section,
.page-promotions-new-user-bonus__games-section,
.page-promotions-new-user-bonus__faq-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
}

.page-promotions-new-user-bonus__steps-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__games-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__faq-section .page-promotions-new-user-bonus__section-title {
    color: var(--text-light);
}

.page-promotions-new-user-bonus__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-new-user-bonus__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-new-user-bonus__step-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-new-user-bonus__step-title {
    font-size: 1.8em;
    color: var(--register-login-font); /* Using #FFFF00 for highlight */
    margin-bottom: 15px;
}

.page-promotions-new-user-bonus__step-description {
    font-size: 1.1em;
    line-height: 1.7;
}

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

.page-promotions-new-user-bonus__terms-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions-new-user-bonus__terms-sub-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

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

.page-promotions-new-user-bonus__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-promotions-new-user-bonus__game-card:hover {
    transform: translateY(-10px);
}

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

.page-promotions-new-user-bonus__game-title {
    font-size: 1.6em;
    margin: 20px 15px 10px;
    color: var(--register-login-font); /* Highlighted game titles */
}

.page-promotions-new-user-bonus__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-promotions-new-user-bonus__game-title a:hover {
    text-decoration: underline;
}

.page-promotions-new-user-bonus__game-description {
    font-size: 0.95em;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-promotions-new-user-bonus__btn-tertiary {
    display: inline-block;
    background-color: var(--register-button-bg);
    color: var(--register-login-font);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.page-promotions-new-user-bonus__btn-tertiary:hover {
    background-color: darken(var(--register-button-bg), 10%);
}

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

.page-promotions-new-user-bonus__feature-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__feature-card:hover {
    transform: translateY(-8px);
}

.page-promotions-new-user-bonus__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    /* Enforce minimum size if smaller than 200x200 for content images */
    min-width: 200px; 
    min-height: 200px; 
    width: 200px; /* Explicitly set to 200x200 to meet min size requirement */
    height: 200px;
}

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

.page-promotions-new-user-bonus__feature-description {
    font-size: 1em;
    line-height: 1.6;
}

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

.page-promotions-new-user-bonus__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions-new-user-bonus__faq-question h3 {
    font-size: 1.3em;
    margin: 0;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--register-login-font);
    transition: transform 0.3s ease;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-new-user-bonus__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 25px 25px;
}

.page-promotions-new-user-bonus__faq-answer p {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 0;
}

.page-promotions-new-user-bonus__final-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

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

/* Buttons */
.page-promotions-new-user-bonus__cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions-new-user-bonus__cta-buttons--center {
    justify-content: center;
}

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

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

.page-promotions-new-user-bonus__btn-primary:hover {
    background-color: darken(var(--register-button-bg), 10%);
    border-color: darken(var(--register-button-bg), 10%);
}

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

.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-promotions-new-user-bonus__btn-full-width {
    width: 100%;
    max-width: 400px; /* Limit max width for aesthetic */
    margin: 40px auto 0;
    display: block;
}

/* Ensure images within content area are not small */
.page-promotions-new-user-bonus img {
    min-width: 200px;
    min-height: 200px;
}

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

    .page-promotions-new-user-bonus__hero-description {
        font-size: 1.2em;
    }

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

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

    .page-promotions-new-user-bonus__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }

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

    .page-promotions-new-user-bonus__hero-title {
        font-size: 2.2em;
        margin-top: 20px;
    }

    .page-promotions-new-user-bonus__hero-description {
        font-size: 1em;
    }

    .page-promotions-new-user-bonus__hero-image-wrapper {
        position: relative;
        height: 250px;
        width: 100%;
        order: -1; /* Move image above text on mobile */
    }

    .page-promotions-new-user-bonus__hero-image {
        height: 100%;
    }

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

    .page-promotions-new-user-bonus__intro-section,
    .page-promotions-new-user-bonus__steps-section,
    .page-promotions-new-user-bonus__terms-section,
    .page-promotions-new-user-bonus__games-section,
    .page-promotions-new-user-bonus__why-choose-us,
    .page-promotions-new-user-bonus__faq-section,
    .page-promotions-new-user-bonus__final-cta {
        padding: 40px 0;
    }

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

    /* Images responsive */
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* Image container responsive */
    .page-promotions-new-user-bonus__image-container,
    .page-promotions-new-user-bonus__hero-image-wrapper,
    .page-promotions-new-user-bonus__content-area,
    .page-promotions-new-user-bonus__game-card,
    .page-promotions-new-user-bonus__feature-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsive */
    .page-promotions-new-user-bonus__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions-new-user-bonus__btn-primary,
    .page-promotions-new-user-bonus__btn-secondary,
    .page-promotions-new-user-bonus__btn-tertiary,
    .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: 12px 15px !important;
        font-size: 1em !important;
    }

    .page-promotions-new-user-bonus__btn-full-width {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .page-promotions-new-user-bonus__game-categories,
    .page-promotions-new-user-bonus__features-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-new-user-bonus__game-card,
    .page-promotions-new-user-bonus__feature-card {
        margin-bottom: 20px;
    }

    .page-promotions-new-user-bonus__faq-question h3 {
        font-size: 1.1em;
    }

    .page-promotions-new-user-bonus__faq-toggle {
        font-size: 1.5em;
    }

    .page-promotions-new-user-bonus__feature-icon {
        width: 150px;
        height: 150px;
        min-width: 150px;
        min-height: 150px;
    }
}