/* style/promotions.css */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure body is dark */
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 80px 20px 40px;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-promotions__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

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

/* General Section Styling */
.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff; /* Default for dark background sections */
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Color Contrast Sections */
.page-promotions__dark-bg {
    background-color: #000000; /* Dark background */
    color: #ffffff; /* Light text */
    padding: 60px 0;
}

.page-promotions__light-bg {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
    padding: 60px 0;
}

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg h3 {
    color: #000000; /* Ensure dark titles on light background */
}

.page-promotions__light-bg .page-promotions__text-block,
.page-promotions__light-bg p {
    color: #333333; /* Ensure dark text on light background */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__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;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: #EA7C07; /* Login color for primary action, high contrast */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-promotions__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-promotions__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-promotions__btn-primary--large,
.page-promotions__btn-secondary--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Promotion Cards */
.page-promotions__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promotion-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

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

.page-promotions__promotion-card .page-promotions__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-promotions__promotion-card .page-promotions__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

.page-promotions__promotion-card .page-promotions__card-button {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__promotion-card .page-promotions__card-button:hover {
    background-color: #1e87b5;
}

/* How-To-Claim Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333; /* Dark text on light background */
}

.page-promotions__step-item .page-promotions__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-promotions__step-item .page-promotions__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #000000;
}

.page-promotions__step-item .page-promotions__step-description {
    font-size: 1em;
    color: #555555;
}

.page-promotions__step-item .page-promotions__step-description a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-item .page-promotions__step-description a:hover {
    text-decoration: underline;
}

.page-promotions__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Terms & Conditions */
.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    color: #f0f0f0;
}

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

.page-promotions__terms-list li a {
    color: #26A9E0;
    text-decoration: none;
}

.page-promotions__terms-list li a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter on dark bg */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

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

.page-promotions__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: #ffffff;
}

.page-promotions__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 25px;
}

.page-promotions__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-promotions__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

.page-promotions__cta-section .page-promotions__section-title {
    margin-bottom: 30px;
}

.page-promotions__cta-section .page-promotions__text-block {
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-promotions__cta-section .page-promotions__text-block a {
    color: #EA7C07; /* Login color for emphasis */
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__cta-section .page-promotions__text-block a:hover {
    text-decoration: underline;
}

.page-promotions__cta-buttons--large {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions 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__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__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;
        overflow: hidden !important;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__text-block {
        font-size: 1em;
    }
    .page-promotions__promotion-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promotion-card,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        padding: 20px 15px;
    }
    .page-promotions__promotion-card .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-question h3 {
        font-size: 1.1em;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 10px 20px 20px;
    }

    /* Image responsive handling */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__promotion-card .page-promotions__card-title {
        font-size: 1.4em;
    }
    .page-promotions__step-item .page-promotions__step-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.5em;
    }
}