.page-promotions {
    color: #ffffff; /* Dark body background #1a1a1a, so use light text */
    background-color: #1a1a1a; /* Ensure consistency, though body handles main background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    background-color: #26A9E0; /* Primary brand color for hero background */
    color: #ffffff;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
}

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

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

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

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

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

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
}

/* General Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
    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;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons don't overflow */
    text-align: center;
}

.page-promotions__btn-primary {
    background-color: #EA7C07; /* Login/Register button color */
    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__card-button {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-promotions__card-button:hover {
    background-color: #1f8ec4;
    border-color: #1f8ec4;
}

/* Content Section */
.page-promotions__content-section {
    background-color: #1a1a1a; /* Match body background */
    color: #ffffff; /* Light text for dark background */
    padding: 60px 20px;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
    color: #f0f0f0;
}

.page-promotions__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-promotions__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 500px; /* Ensure cards have enough height for content */
}

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

.page-promotions__card-image {
    width: 100%;
    height: 250px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-promotions__card-title a:hover {
    color: #EA7C07;
}

.page-promotions__card-description {
    font-size: 1em;
    color: #cccccc;
    flex-grow: 1; /* Allow description to take available space */
}

/* Steps List */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
}

.page-promotions__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__list-title {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__list-description {
    color: #cccccc;
}

.page-promotions__list-description a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__list-description a:hover {
    color: #EA7C07;
}

/* CTA Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap; /* Allow wrapping */
}

/* Terms List */
.page-promotions__terms-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-promotions__terms-list .page-promotions__list-item {
    background-color: transparent;
    border-left: none;
    padding: 5px 0;
    margin-bottom: 10px;
    box-shadow: none;
    color: #f0f0f0;
}

.page-promotions__terms-list a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__terms-list a:hover {
    color: #EA7C07;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-bottom: 60px;
}

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

.page-promotions__faq-item summary {
    list-style: none; /* Hide default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #cccccc;
    font-size: 1em;
}

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

.page-promotions__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__faq-answer a:hover {
    color: #EA7C07;
}

/* Final CTA */
.page-promotions__final-cta {
    text-align: center;
    margin-top: 50px;
}

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        flex-direction: column;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__content-section {
        padding: 40px 15px;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions__text-block {
        font-size: 0.95em;
    }

    .page-promotions__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__card {
        min-height: auto; /* Allow height to adjust */
        padding: 20px;
    }

    .page-promotions__card-image {
        height: 200px; /* Adjust height for mobile */
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__card-title {
        font-size: 1.3em;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__list-item {
        padding: 15px;
    }

    .page-promotions__list-title {
        font-size: 1.1em;
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    /* Ensure all images are responsive and don't overflow */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__hero-image-wrapper,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promotions-grid,
    .page-promotions__steps-list,
    .page-promotions__terms-list,
    .page-promotions__faq-list,
    .page-promotions__final-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent content overflow */
    }
    
    /* Specific padding for content sections to prevent edge-to-edge content */
    .page-promotions__content-section .page-promotions__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions__text-block,
    .page-promotions__promotions-grid,
    .page-promotions__steps-list,
    .page-promotions__terms-list,
    .page-promotions__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__faq-item,
    .page-promotions__list-item {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-promotions__card-title {
        font-size: 1.1em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
    }
}