/* Base styles for the promotions page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark (#1a1a1a), so text should be light */
    background-color: transparent; /* Inherit from body or shared, ensuring no double background */
}

/* Fixed header offset: shared.css is assumed to handle body padding-top, so hero-banner should not add more */
.page-promotions__hero-banner {
    position: relative;
    padding-top: 0; /* Important: shared.css handles body padding-top */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #0A246A, #1a1a1a); /* Blend with body dark background */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.page-promotions__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for prominence */
    line-height: 1.2;
}

.page-promotions__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

/* General section styles */
.page-promotions__section {
    padding: 60px 0;
    background-color: transparent; /* Inherit from body or shared */
    color: #ffffff;
}

.page-promotions__section--highlight {
    background-color: #0A246A; /* Main brand color for a section */
    padding: 80px 0;
}

.page-promotions__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color */
}

.page-promotions__section--highlight .page-promotions__section-title {
    color: #FFD700;
}

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

/* Promo Grid */
.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

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

.page-promotions__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-title {
    font-size: 24px;
    font-weight: bold;
    padding: 20px 20px 10px;
    color: #FFD700;
}

.page-promotions__card-text {
    font-size: 16px;
    padding: 0 20px 20px;
    flex-grow: 1;
    color: #e0e0e0;
}

/* Call to action buttons */
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-promotions__cta-button--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #0A246A; /* Main color for text */
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-promotions__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-promotions__cta-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-top: 15px; /* For stacking with primary button */
}

.page-promotions__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #0A246A;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__action-buttons {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* How to participate steps */
.page-promotions__section--steps {
    background-color: #1a1a1a; /* Dark background to contrast with main brand color section */
}

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #ffffff;
}

.page-promotions__step-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__step-icon {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions__step-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-promotions__step-text {
    font-size: 16px;
    color: #e0e0e0;
}

/* Terms and Conditions */
.page-promotions__section--terms {
    background-color: #0A246A;
}

.page-promotions__terms-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
    list-style: none;
    padding: 0 20px;
    text-align: left;
}

.page-promotions__terms-list li {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #FFD700;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 16px;
    color: #e0e0e0;
}

.page-promotions__terms-list li p {
    margin: 0;
    color: #e0e0e0;
}

/* FAQ Section */
.page-promotions__section--faq {
    background-color: #1a1a1a;
    padding-bottom: 80px;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08); /* Darker background for item */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #0A246A; /* Main brand color for question */
    border: 1px solid rgba(255, 215, 0, 0.3); /* Subtle border with auxiliary color */
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #ffffff;
}

.page-promotions__faq-question:hover {
    background: #11337e; /* Slightly lighter main color on hover */
    border-color: #FFD700;
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: #ffffff;
}

.page-promotions__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Auxiliary color for toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign effect */
    color: #ffffff;
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    border-radius: 0 0 8px 8px;
    color: #e0e0e0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px !important;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.05);
}

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

/* Conclusion section */
.page-promotions__section--conclusion {
    padding-top: 80px;
    background-color: #0A246A;
    text-align: center;
}

.page-promotions__section--conclusion .page-promotions__section-title {
    color: #FFD700;
}

.page-promotions__section--conclusion .page-promotions__section-description {
    color: #f0f0f0;
    margin-bottom: 30px;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 40px;
    }

    .page-promotions__section-title {
        font-size: 30px;
    }

    .page-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .page-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__hero-banner {
        padding-bottom: 40px;
    }

    .page-promotions__hero-content {
        padding: 0 15px;
    }

    .page-promotions__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-promotions__intro-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-promotions__section {
        padding: 40px 0;
    }

    .page-promotions__section--highlight {
        padding: 50px 0;
    }

    .page-promotions__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .page-promotions__section-description {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* Promo grid mobile */
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-promotions__promo-card img {
        
    }

    .page-promotions__card-title {
        font-size: 20px;
        padding: 15px 15px 8px;
    }

    .page-promotions__card-text {
        font-size: 15px;
        padding: 0 15px 15px;
    }

    /* CTA buttons mobile */
    .page-promotions__action-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-promotions__cta-button {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%; /* Ensure full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__cta-button--secondary {
        margin-top: 0; /* Adjust margin for column layout */
    }

    /* Steps grid mobile */
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-promotions__step-icon {
        font-size: 40px;
    }

    .page-promotions__step-title {
        font-size: 20px;
    }

    .page-promotions__step-text {
        font-size: 15px;
    }

    /* Terms list mobile */
    .page-promotions__terms-list {
        padding: 0 15px;
    }

    .page-promotions__terms-list li {
        font-size: 15px;
        padding: 12px 15px;
    }

    /* FAQ mobile */
    .page-promotions__section--faq {
        padding-bottom: 50px;
    }

    .page-promotions__faq-list {
        padding: 0 15px;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
    }

    .page-promotions__faq-question h3 {
        font-size: 16px;
    }

    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .page-promotions__faq-answer {
        padding: 0 20px;
    }

    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px !important;
    }

    .page-promotions__faq-answer p {
        font-size: 15px;
    }

    /* Ensure all content images are responsive on mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Ensure containers are responsive */
    .page-promotions__container,
    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__terms-list,
    .page-promotions__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by specific sections */
    }
}

/* Color contrast adjustments for specific elements if needed */
/* (Already designed with dark background and light text in mind) */

/* Ensure no filter is used on images */
.page-promotions img {
    filter: none;
}