/* style/promotions.css */
.page-promotions {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000; /* Ensure the body background is dark */
    font-size: 16px;
}

/* Header offset for fixed header */
.page-promotions__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first visible section */
}

.page-promotions__section {
    padding: 80px 20px;
    text-align: center;
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add horizontal padding for content */
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding-bottom: 80px;
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Dark overlay for text readability */
    z-index: 1;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 20px;
}

.page-promotions__main-title {
    font-size: 4.2em;
    margin-bottom: 25px;
    color: #FFD700; /* Primary brand color */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    font-weight: 800;
    line-height: 1.2;
}

.page-promotions__subtitle {
    font-size: 1.4em;
    margin-bottom: 50px;
    color: #f0f0f0;
    font-weight: 300;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 18px 35px;
    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, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-transform: uppercase;
}

.page-promotions__btn-primary {
    background-color: #FFD700; /* Primary brand color */
    color: #000000; /* Black text for golden background */
    border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Primary brand color */
    border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
    background-color: #FFD700;
    color: #000000;
    transform: translateY(-3px);
}

/* Section titles */
.page-promotions__section-title {
    font-size: 3em;
    margin-bottom: 50px;
    color: #FFD700; /* Primary brand color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.page-promotions__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #FFD700; /* Primary brand color */
    font-weight: 600;
    text-align: left;
}

.page-promotions__text-block {
    font-size: 1.15em;
    margin-bottom: 25px;
    color: #f0f0f0; /* Light text for dark background */
    text-align: justify;
}

.page-promotions__center-text {
    text-align: center;
}

/* Backgrounds for contrast */
.page-promotions__dark-bg {
    background-color: #0d0d0d; /* Slightly lighter black for sections */
    color: #ffffff;
}

.page-promotions__light-bg {
    background-color: #1a1a1a; /* Dark gray for contrast */
    color: #ffffff;
}

.page-promotions__light-bg .page-promotions__text-block {
    color: #f0f0f0;
}

/* Featured Promotions Grid */
.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.12); /* Semi-transparent white card background */
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 3px solid #FFD700; /* Primary brand color accent */
}

.page-promotions__card-title {
    font-size: 1.5em;
    margin: 25px 25px 15px 25px;
    color: #FFD700; /* Primary brand color */
    flex-grow: 1;
    font-weight: 600;
    line-height: 1.3;
}

.page-promotions__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-promotions__card-description {
    font-size: 1em;
    color: #e0e0e0;
    padding: 0 25px;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.6;
}

.page-promotions__promo-card .page-promotions__btn-secondary {
    margin: 0 25px 25px 25px;
    width: auto;
    align-self: flex-start;
}

/* How-to-Claim Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
    text-align: left;
}

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background-color: #FFD700; /* Primary brand color */
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 25px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: #FFD700; /* Primary brand color */
    margin-bottom: 20px;
    font-weight: 600;
}

.page-promotions__step-description {
    font-size: 1.05em;
    color: #e0e0e0;
    line-height: 1.6;
}

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

.page-promotions__step-description a:hover {
    text-decoration: underline;
    color: #e6c200;
}

/* Video Section */
.page-promotions__promo-video-section {
    padding-top: 0; /* Handled by hero section or main padding if shared handles body */
    padding-bottom: 80px;
}

.page-promotions__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px; /* Max width for video */
    margin: 50px auto;
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-promotions__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
    cursor: pointer;
}

/* Terms and Conditions */
.page-promotions__list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    text-align: left;
}

.page-promotions__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
    line-height: 1.6;
}

.page-promotions__list-item::before {
    content: '•';
    color: #FFD700; /* Primary brand color */\    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

.page-promotions__terms-conditions .page-promotions__btn-secondary {
    margin-top: 40px;
}
.page-promotions__terms-conditions a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}
.page-promotions__terms-conditions a:hover {
    text-decoration: underline;
    color: #e6c200;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 50px;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

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

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

.page-promotions__faq-title {
    font-size: 1.3em;
    color: #FFD700; /* Primary brand color */
    margin: 0;
    font-weight: 600;
}

.page-promotions__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: #FFD700; /* Primary brand color */
    transition: transform 0.3s ease;
    width: 35px;
    text-align: center;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.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; /* Sufficiently large to show content */
    padding: 25px !important;
    padding-top: 0 !important; /* Adjust padding to look better */
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
}

.page-promotions__faq-answer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}
.page-promotions__faq-answer a:hover {
    text-decoration: underline;
    color: #e6c200;
}

/* CTA Join Section */
.page-promotions__cta-join .page-promotions__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 3.5em;
    }
    .page-promotions__section-title {
        font-size: 2.5em;
    }
    .page-promotions__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 15px;
    }
    .page-promotions__hero-section {
        min-height: 500px;
        padding-bottom: 60px;
    }
    .page-promotions__hero-section.page-promotions__hero-section { /* Specificity for header offset */
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions__main-title {
        font-size: 2.5em;
        margin-bottom: 20px;
    }
    .page-promotions__subtitle {
        font-size: 1.2em;
        margin-bottom: 30px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-promotions__section {
        padding: 50px 15px;
    }
    .page-promotions__container {
        padding: 0 10px;
    }
    .page-promotions__section-title {
        font-size: 2em;
        margin-bottom: 35px;
    }
    .page-promotions__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-promotions__text-block {
        font-size: 1em;
    }

    .page-promotions__promo-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-promotions__promo-card {
        text-align: center;
    }
    .page-promotions__promo-card .page-promotions__btn-secondary {
        align-self: center;
        width: calc(100% - 50px); /* Adjust for padding */
    }

    /* Images and Videos Responsive */
    .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,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__faq-question {
        padding: 18px 20px;
    }
    .page-promotions__faq-title {
        font-size: 1.2em;
    }
    .page-promotions__faq-answer {
        padding: 18px 20px !important;
        padding-top: 0 !important;
    }

    .page-promotions__list-item {
        padding-left: 25px;
        font-size: 1em;
    }
    .page-promotions__list-item::before {
        font-size: 1.3em;
        top: 0;
    }
}

/* Ensure content area images are not too small */
.page-promotions img:not(.page-promotions__promo-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Default link styles for body background */
.page-promotions a {
    color: #FFD700; /* Use brand color for links */
    text-decoration: none;
}
.page-promotions a:hover {
    text-decoration: underline;
    color: #e6c200;
}