/* style/promo-welcome-bonus.css */

/* Base styles for the page content, ensuring header offset and default text color */
.page-promo-welcome-bonus {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #fcfcfc;
}

/* Container for consistent content width */
.page-promo-welcome-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section titles */
.page-promo-welcome-bonus__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Dark red for emphasis */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promo-welcome-bonus__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-promo-welcome-bonus__section-intro--bottom {
    margin-top: 40px;
    margin-bottom: 0;
}

/* --- Hero Section --- */
.page-promo-welcome-bonus__hero-section {
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Blend of brand colors */
    padding: 80px 0;
    text-align: center;
    color: #ffffff; /* White text for dark hero background */
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow if it's too big */
}

.page-promo-welcome-bonus__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promo-welcome-bonus__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo-welcome-bonus__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promo-welcome-bonus__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promo-welcome-bonus__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-promo-welcome-bonus__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2; /* Subtle background image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promo-welcome-bonus__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    display: block;
    /* HTML width/height set to 1200x675, CSS will ensure it covers */
}


/* --- Overview Section (Steps) --- */
.page-promo-welcome-bonus__overview-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-promo-welcome-bonus__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promo-welcome-bonus__step-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #FFD700;
}

.page-promo-welcome-bonus__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-promo-welcome-bonus__step-card img {
    width: 100%; /* Ensure image fills card width */
    max-width: 250px; /* Max size for visual consistency */
    height: auto;
    margin-bottom: 25px;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
    /* HTML width/height set to 400x267, CSS will size within card */
}

.page-promo-welcome-bonus__step-title {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promo-welcome-bonus__step-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-promo-welcome-bonus__step-button {
    display: inline-block;
    background-color: #8B0000;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promo-welcome-bonus__step-button:hover {
    background-color: #ae4d4d;
    transform: translateY(-2px);
}

/* --- Bonus Details Section --- */
.page-promo-welcome-bonus__bonus-details-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-promo-welcome-bonus__details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promo-welcome-bonus__detail-card {
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    border-bottom: 4px solid #FFD700;
}

.page-promo-welcome-bonus__detail-card img {
     /* Smallest allowed content image size */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
    /* HTML width/height set to 250x188, CSS will size within card */
}

.page-promo-welcome-bonus__detail-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promo-welcome-bonus__detail-description {
    font-size: 0.95em;
    color: #666666;
}

.page-promo-welcome-bonus__full-terms-cta {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
}

.page-promo-welcome-bonus__text-link {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promo-welcome-bonus__text-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* --- Why Jili77 Section --- */
.page-promo-welcome-bonus__why-jili77-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

.page-promo-welcome-bonus__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promo-welcome-bonus__feature-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #8B0000;
}

.page-promo-welcome-bonus__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-promo-welcome-bonus__feature-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
    /* HTML width/height set to 400x267, CSS will size within card */
}

.page-promo-welcome-bonus__feature-title {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promo-welcome-bonus__feature-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-promo-welcome-bonus__feature-link {
    display: inline-block;
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border: 2px solid #FFD700;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-promo-welcome-bonus__feature-link:hover {
    background-color: #FFD700;
    color: #8B0000;
}

/* --- FAQ Section --- */
.page-promo-welcome-bonus__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-promo-welcome-bonus__faq-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promo-welcome-bonus__faq-question {
    font-size: 1.3em;
    color: #8B0000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold;
}

.page-promo-welcome-bonus__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-promo-welcome-bonus__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-promo-welcome-bonus__faq-answer {
    font-size: 1em;
    color: #555555;
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    display: none; /* Hidden by default, toggled by JS */
}

.page-promo-welcome-bonus__faq-question.active + .page-promo-welcome-bonus__faq-answer {
    display: block;
}

/* --- Call to Action Section --- */
.page-promo-welcome-bonus__cta-section {
    background: linear-gradient(45deg, #8B0000, #FFD700); /* Reverse gradient for impact */
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.page-promo-welcome-bonus__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-promo-welcome-bonus__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-promo-welcome-bonus__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promo-welcome-bonus__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-5px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-promo-welcome-bonus__hero-title {
        font-size: 3em;
    }
    .page-promo-welcome-bonus__hero-description {
        font-size: 1.2em;
    }
    .page-promo-welcome-bonus__section-title {
        font-size: 2em;
    }
    .page-promo-welcome-bonus__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promo-welcome-bonus {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-promo-welcome-bonus__hero-section {
        padding: 60px 0;
    }
    .page-promo-welcome-bonus__hero-title {
        font-size: 2.5em;
    }
    .page-promo-welcome-bonus__hero-description {
        font-size: 1.1em;
    }
    .page-promo-welcome-bonus__hero-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .page-promo-welcome-bonus__section-title {
        font-size: 1.8em;
    }
    .page-promo-welcome-bonus__section-intro {
        font-size: 1em;
    }

    .page-promo-welcome-bonus__steps-grid,
    .page-promo-welcome-bonus__details-grid,
    .page-promo-welcome-bonus__features-grid {
        grid-template-columns: 1fr;
    }

    .page-promo-welcome-bonus__step-card,
    .page-promo-welcome-bonus__detail-card,
    .page-promo-welcome-bonus__feature-card {
        padding: 25px;
    }

    .page-promo-welcome-bonus__step-card img,
    .page-promo-welcome-bonus__detail-card img,
    .page-promo-welcome-bonus__feature-card img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    /* Important: Content area images must not cause horizontal scroll */
    .page-promo-welcome-bonus img {
        max-width: 100%;
        height: auto;
    }

    .page-promo-welcome-bonus__cta-title {
        font-size: 1.8em;
    }
    .page-promo-welcome-bonus__cta-description {
        font-size: 1.1em;
    }
    .page-promo-welcome-bonus__cta-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-promo-welcome-bonus__hero-title {
        font-size: 2em;
    }
    .page-promo-welcome-bonus__hero-description {
        font-size: 0.95em;
    }
    .page-promo-welcome-bonus__section-title {
        font-size: 1.5em;
    }
    .page-promo-welcome-bonus__cta-title {
        font-size: 1.6em;
    }
}