/* style/promotions-detail-welcome-bonus.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --login-color: #EA7C07;
    --background-color: #FFFFFF;
    --black-color: #000000;
}

.page-promotions-detail-welcome-bonus {
    font-family: 'Arial', sans-serif;
    color: var(--dark-text-color); /* Default text color for light body background */
    background-color: var(--background-color);
}

.page-promotions-detail-welcome-bonus__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
    background-color: var(--black-color);
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-promotions-detail-welcome-bonus__hero-image {
    width: 100%;
    height: 100%; /* Make image fill the hero section height */
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-promotions-detail-welcome-bonus__hero-content {
    position: relative;
    z-index: 10;
    color: var(--light-text-color);
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.page-promotions-detail-welcome-bonus__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--light-text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-promotions-detail-welcome-bonus__hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-promotions-detail-welcome-bonus__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-promotions-detail-welcome-bonus__btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.page-promotions-detail-welcome-bonus__btn-primary:hover {
    background-color: #1e87b8; /* Darken primary color */
    border-color: #1e87b8;
}

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

.page-promotions-detail-welcome-bonus__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-promotions-detail-welcome-bonus__section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions-detail-welcome-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-promotions-detail-welcome-bonus__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark-text-color);
}

.page-promotions-detail-welcome-bonus__section-title--light {
    color: var(--light-text-color);
}

.page-promotions-detail-welcome-bonus__overview-section .page-promotions-detail-welcome-bonus__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-promotions-detail-welcome-bonus__overview-section .page-promotions-detail-welcome-bonus__text-block {
    flex: 1;
}

.page-promotions-detail-welcome-bonus__overview-section .page-promotions-detail-welcome-bonus__image-wrapper {
    flex: 1;
}

.page-promotions-detail-welcome-bonus__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-promotions-detail-welcome-bonus__claim-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

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

.page-promotions-detail-welcome-bonus__step-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: var(--light-text-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-detail-welcome-bonus__step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.page-promotions-detail-welcome-bonus__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-promotions-detail-welcome-bonus__step-description {
    font-size: 1rem;
    line-height: 1.6;
}

.page-promotions-detail-welcome-bonus__terms-section {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

.page-promotions-detail-welcome-bonus__terms-list {
    list-style: disc inside;
    text-align: left;
    max-width: 800px;
    margin: 30px auto;
    padding-left: 20px;
    line-height: 1.8;
}

.page-promotions-detail-welcome-bonus__terms-list li {
    margin-bottom: 10px;
}

.page-promotions-detail-welcome-bonus__why-choose-section {
    background-color: #f5f5f5; /* Light grey background for contrast */
}

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

.page-promotions-detail-welcome-bonus__benefit-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions-detail-welcome-bonus__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-promotions-detail-welcome-bonus__benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-promotions-detail-welcome-bonus__benefit-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-text-color);
}

.page-promotions-detail-welcome-bonus__button-group {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions-detail-welcome-bonus__overview-section .page-promotions-detail-welcome-bonus__content-wrapper {
        flex-direction: column;
    }
}

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

    .page-promotions-detail-welcome-bonus__hero-section {
        min-height: 400px;
    }

    .page-promotions-detail-welcome-bonus__hero-content {
        padding: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-promotions-detail-welcome-bonus__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-promotions-detail-welcome-bonus__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-promotions-detail-welcome-bonus__cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* Add some spacing if multiple buttons */
    }

    .page-promotions-detail-welcome-bonus__button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
    }

    .page-promotions-detail-welcome-bonus__section {
        padding: 40px 15px;
    }

    .page-promotions-detail-welcome-bonus__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-promotions-detail-welcome-bonus__overview-section .page-promotions-detail-welcome-bonus__content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .page-promotions-detail-welcome-bonus__image,
    .page-promotions-detail-welcome-bonus__benefit-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-detail-welcome-bonus__container,
    .page-promotions-detail-welcome-bonus__text-block,
    .page-promotions-detail-welcome-bonus__image-wrapper,
    .page-promotions-detail-welcome-bonus__step-card,
    .page-promotions-detail-welcome-bonus__benefit-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero section padding for mobile, body padding-top handles header offset */
    .page-promotions-detail-welcome-bonus__hero-section {
        padding-top: 10px !important;
    }

    .page-promotions-detail-welcome-bonus__claim-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .page-promotions-detail-welcome-bonus__steps-grid,
    .page-promotions-detail-welcome-bonus__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Ensure images maintain aspect ratio and don't overflow */
.page-promotions-detail-welcome-bonus img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contrast fixes for critical areas if needed */
.page-promotions-detail-welcome-bonus__dark-section {
    background: var(--primary-color);
    color: var(--light-text-color);
}

.page-promotions-detail-welcome-bonus__btn-primary {
    background: var(--primary-color);
    color: var(--light-text-color);
}

.page-promotions-detail-welcome-bonus__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-promotions-detail-welcome-bonus p,
.page-promotions-detail-welcome-bonus li {
    color: var(--dark-text-color);
}

.page-promotions-detail-welcome-bonus__step-card {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--light-text-color);
}

.page-promotions-detail-welcome-bonus__benefit-card {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

.page-promotions-detail-welcome-bonus__benefit-title {
    color: var(--primary-color);
}