/* style/promotions-exclusive-bonuses.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --background-color: #000000; /* Body background from shared.css */
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
}

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

.page-promotions-exclusive-bonuses__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 40px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(90deg, var(--primary-color) 0%, #1a7eb3 100%);
    min-height: 600px;
    gap: 40px;
    overflow: hidden;
}

.page-promotions-exclusive-bonuses__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
}

.page-promotions-exclusive-bonuses__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-on-light);
}

.page-promotions-exclusive-bonuses__hero-content {
    max-width: 600px;
    z-index: 1;
}

.page-promotions-exclusive-bonuses__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-on-dark);
    line-height: 1.2;
}

.page-promotions-exclusive-bonuses__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-promotions-exclusive-bonuses__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions-exclusive-bonuses__btn-primary,
.page-promotions-exclusive-bonuses__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    box-sizing: border-box;
}

.page-promotions-exclusive-bonuses__btn-primary {
    background-color: var(--login-color);
    color: var(--text-on-dark);
    border: 2px solid var(--login-color);
}

.page-promotions-exclusive-bonuses__btn-primary:hover {
    background-color: #c96700;
    border-color: #c96700;
}

.page-promotions-exclusive-bonuses__btn-secondary {
    background-color: transparent;
    color: var(--text-on-dark);
    border: 2px solid var(--text-on-dark);
}

.page-promotions-exclusive-bonuses__btn-secondary:hover {
    background-color: var(--text-on-dark);
    color: var(--primary-color);
}

.page-promotions-exclusive-bonuses__btn-inline {
    margin-top: 20px;
}

.page-promotions-exclusive-bonuses__hero-image-wrapper {
    flex-shrink: 0;
    width: 600px;
    height: 337px; /* 16:9 aspect ratio for 600px width */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-promotions-exclusive-bonuses__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-promotions-exclusive-bonuses__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-promotions-exclusive-bonuses__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: inherit;
}

.page-promotions-exclusive-bonuses__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit;
}

.page-promotions-exclusive-bonuses__bonuses-grid {
    padding: 60px 0;
}

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

.page-promotions-exclusive-bonuses__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-promotions-exclusive-bonuses__card:hover {
    transform: translateY(-5px);
}

.page-promotions-exclusive-bonuses__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-promotions-exclusive-bonuses__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--text-on-dark);
    flex-grow: 1;
}

.page-promotions-exclusive-bonuses__how-to-claim {
    padding: 60px 0;
}

.page-promotions-exclusive-bonuses__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions-exclusive-bonuses__steps-list li {
    background-color: var(--secondary-color);
    color: var(--text-on-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions-exclusive-bonuses__step-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-exclusive-bonuses__process-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions-exclusive-bonuses__terms-section {
    padding: 60px 0;
}

.page-promotions-exclusive-bonuses__terms-list {
    list-style: disc;
    margin-left: 20px;
    margin-top: 30px;
    color: var(--text-on-dark);
}

.page-promotions-exclusive-bonuses__terms-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-promotions-exclusive-bonuses__faq-section {
    padding: 60px 0;
}

.page-promotions-exclusive-bonuses__faq-list {
    margin-top: 40px;
}

.page-promotions-exclusive-bonuses__faq-item {
    background-color: var(--secondary-color);
    color: var(--text-on-light);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions-exclusive-bonuses__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-promotions-exclusive-bonuses__faq-question:hover {
    background-color: #f0f0f0;
}

.page-promotions-exclusive-bonuses__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-promotions-exclusive-bonuses__faq-item.active .page-promotions-exclusive-bonuses__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-exclusive-bonuses__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-on-light);
}

.page-promotions-exclusive-bonuses__faq-item.active .page-promotions-exclusive-bonuses__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-promotions-exclusive-bonuses__cta-bottom {
    position: relative;
    padding: 80px 40px;
    background: linear-gradient(90deg, #1a7eb3 0%, var(--primary-color) 100%);
    text-align: center;
    overflow: hidden;
}

.page-promotions-exclusive-bonuses__cta-bottom-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions-exclusive-bonuses__cta-bottom-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions-exclusive-bonuses__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .page-promotions-exclusive-bonuses__hero-content {
        max-width: 100%;
    }

    .page-promotions-exclusive-bonuses__hero-title {
        font-size: 2.8em;
    }

    .page-promotions-exclusive-bonuses__hero-image-wrapper {
        width: 100%;
        height: auto; /* Adjust height for responsiveness */
        max-width: 700px;
        margin-top: 40px;
    }

    .page-promotions-exclusive-bonuses__cta-buttons {
        justify-content: center;
    }

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

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

    .page-promotions-exclusive-bonuses__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-promotions-exclusive-bonuses__hero-title {
        font-size: 2em;
    }

    .page-promotions-exclusive-bonuses__hero-description {
        font-size: 1em;
    }

    .page-promotions-exclusive-bonuses__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-promotions-exclusive-bonuses__btn-primary,
    .page-promotions-exclusive-bonuses__btn-secondary,
    .page-promotions-exclusive-bonuses a[class*="button"],
    .page-promotions-exclusive-bonuses 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-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-exclusive-bonuses__cta-buttons,
    .page-promotions-exclusive-bonuses__button-group,
    .page-promotions-exclusive-bonuses__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-promotions-exclusive-bonuses__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions-exclusive-bonuses__section-title {
        font-size: 1.8em;
    }

    .page-promotions-exclusive-bonuses__text-block {
        font-size: 1em;
    }

    .page-promotions-exclusive-bonuses__grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-exclusive-bonuses__steps-list {
        grid-template-columns: 1fr;
    }

    .page-promotions-exclusive-bonuses__card,
    .page-promotions-exclusive-bonuses__steps-list li,
    .page-promotions-exclusive-bonuses__faq-item {
        padding: 20px 15px;
    }

    .page-promotions-exclusive-bonuses__faq-question,
    .page-promotions-exclusive-bonuses__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-exclusive-bonuses__cta-bottom {
        padding: 50px 15px;
    }

    .page-promotions-exclusive-bonuses img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-exclusive-bonuses__hero-image-wrapper,
    .page-promotions-exclusive-bonuses__process-image,
    .page-promotions-exclusive-bonuses__cta-bottom-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-exclusive-bonuses__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-exclusive-bonuses__section-title {
        font-size: 1.5em;
    }
}