.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;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    overflow: hidden; /* Prevent image overflow */
}

.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: #FFFF00; /* Use specific color for emphasis */
}

.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 buttons to wrap on smaller screens */
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    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; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.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;
    border-color: #e02020;
}

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

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

.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.2; /* Subtle background image */
    display: block;
}

/* General Section Styling */
.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFFF00; /* Use specific color for emphasis */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Overview Section */
.page-promotions__overview-section {
    background-color: #1a1a2e; /* Body background color */
    padding: 60px 0;
}

.page-promotions__promo-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__category-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions__category-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__category-title {
    font-size: 1.5em;
    color: #FFFF00; /* Emphasis color */
    margin-bottom: 15px;
}

.page-promotions__category-title a {
    color: #FFFF00;
    text-decoration: none;
}

.page-promotions__category-title a:hover {
    text-decoration: underline;
}

.page-promotions__category-card p {
    color: #f0f0f0;
    font-size: 1em;
}

/* Featured Promotions Section */
.page-promotions__featured-promotions {
    background-color: #0d0d1a; /* Slightly darker background */
    padding: 60px 0;
}

.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.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page-promotions__promo-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__promo-title {
    font-size: 1.6em;
    color: #FFFF00; /* Emphasis color */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__promo-title a {
    color: #FFFF00;
    text-decoration: none;
}

.page-promotions__promo-title a:hover {
    text-decoration: underline;
}

.page-promotions__promo-text {
    color: #f0f0f0;
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
    background-color: #1a1a2e; /* Body background color */
    padding: 60px 0;
}

.page-promotions__claim-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    margin-bottom: 20px;
    border-left: 5px solid #017439; /* Primary brand color accent */
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-promotions__step-item strong {
    color: #FFFF00; /* Emphasis color */
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.page-promotions__step-item a {
    color: #C30808; /* Register/Login color for links */
    text-decoration: underline;
}

.page-promotions__step-item a:hover {
    color: #e02020;
}

.page-promotions__cta-banner {
    background-color: #017439; /* Primary brand color */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-title {
    font-size: 2em;
    color: #FFFF00; /* Emphasis color */
    margin-bottom: 15px;
}

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

/* FAQ Section */
.page-promotions__faq-section {
    background-color: #0d0d1a; /* Slightly darker background */
    padding: 60px 0;
}

.page-promotions__faq-list {
    margin-top: 40px;
}

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

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

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

.page-promotions__faq-question:hover {
    color: #FFFF00; /* Emphasis color on hover */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.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; /* Initial padding for collapsed state */
    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; /* Ensure it expands sufficiently */
    padding: 15px 25px; /* Padding for expanded state */
}

.page-promotions__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Space at the bottom of the answer */
}

/* 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-bottom: 40px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .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; /* Buttons take full width */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-promotions__promo-categories,
    .page-promotions__promo-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
    }

    .page-promotions__promo-image {
        height: 200px; /* Adjust image height */
    }

    .page-promotions__promo-card {
        flex-direction: column; /* Stack image and details vertically */
    }

    .page-promotions__cta-banner {
        padding: 30px 20px;
    }

    .page-promotions__cta-title {
        font-size: 1.6em;
    }
    .page-promotions__cta-description {
        font-size: 1em;
    }

    .page-promotions__claim-steps {
        margin-top: 20px;
    }

    .page-promotions__step-item {
        font-size: 1em;
        padding: 15px 20px;
    }

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

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

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

    /* Mobile image responsiveness */
    .page-promotions img {
        max-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;
    }
    /* Video and video container responsiveness - though no video is used, including for completeness */
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Button specific mobile rules */
    .page-promotions__cta-button,
    .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; /* Add internal padding */
    }
    .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;
    }
    .page-promotions__hero-buttons {
        flex-direction: column;
    }
}