/* style/promotions.css */
/* Base styles for the promotions page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promotions__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.page-promotions__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video to ensure text contrast */
}

.page-promotions__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Above video, below hero content */
    cursor: pointer;
    background-color: rgba(0,0,0,0); /* Transparent overlay */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background for text readability */
    padding: 30px;
    border-radius: 10px;
}

.page-promotions__hero-title {
    font-size: 3em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-promotions__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styles */
.page-promotions__section {
    padding: 60px 20px;
    background-color: #1a1a1a; /* Dark background as per body style */
    color: #ffffff; /* Light text for dark background */
}

.page-promotions__dark-section {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #017439;
    padding-bottom: 15px;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-promotions__long-description {
    font-size: 1em;
    text-align: justify;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    color: #cccccc;
}

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

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
}

.page-promotions__promo-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
}

.page-promotions__promo-card-title {
    font-size: 1.4em;
    color: #FFFFFF;
    padding: 20px 20px 10px 20px;
    margin: 0;
}

.page-promotions__promo-card-description {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* Buttons */
.page-promotions__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-promotions__btn--primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-promotions__btn--secondary {
    background-color: transparent;
    color: #017439; /* Brand primary color */
    border: 2px solid #017439;
}

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

.page-promotions__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    margin: 0 20px 20px 20px; /* Margin for card buttons */
    align-self: flex-start; /* Align to left within card */
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-promotions__btn--small:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

/* How-to-claim section */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-promotions__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for numbers */
    margin-right: 20px;
    flex-shrink: 0;
}

.page-promotions__step-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-promotions__step-text {
    color: #cccccc;
}

/* Terms & Conditions Section */
.page-promotions__terms-list {
    list-style: disc;
    padding-left: 20px;
    max-width: 900px;
    margin: 40px auto;
    color: #cccccc;
}

.page-promotions__terms-item {
    margin-bottom: 10px;
}

.page-promotions__terms-text a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: underline;
}

.page-promotions__terms-text a:hover {
    color: #e0e0e0;
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-promotions__faq-item {
    background-color: rgba(0, 0, 0, 0.3); /* Darker background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-promotions__faq-item[open] {
    background-color: rgba(0, 0, 0, 0.5);
}

.page-promotions__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: #017439; /* Brand primary color for FAQ questions */
    color: #ffffff;
    border-radius: 8px;
    list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFFF00; /* Yellow for toggle icon */
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: #cccccc;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly lighter dark for answer */
}

/* Conclusion CTA Section */
.page-promotions__conclusion-cta {
    text-align: center;
}

.page-promotions__final-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 450px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
    }
    .page-promotions__hero-content {
        padding: 20px;
    }
    .page-promotions__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-promotions__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn {
        width: 100%;
        max-width: 100% !important;
        padding: 15px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__btn--small {
        width: auto;
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .page-promotions__section {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-card-image {
        height: 180px;
    }
    .page-promotions__promo-card-title {
        font-size: 1.2em;
    }
}