:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-promotions {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions__dark-section {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__light-bg {
    background-color: #f8f9fa; /* Using a light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__section-description,
.page-promotions__light-bg .page-promotions__feature-title,
.page-promotions__light-bg .page-promotions__feature-text,
.page-promotions__light-bg .page-promotions__step-title,
.page-promotions__light-bg .page-promotions__step-text,
.page-promotions__light-bg .page-promotions__faq-qtext,
.page-promotions__light-bg .page-promotions__faq-answer p {
    color: #333333; /* Ensure dark text on light background */
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: clamp(2em, 4vw, 2.8em); /* H1 rules applied to H2 here */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.page-promotions__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-secondary);
}

/* Hero Section */
.page-promotions__hero-section {
    padding: 0;
    padding-top: 10px; /* Small top padding as per rule */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    position: relative;
    order: 1;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 700px;
    z-index: 1;
}

.page-promotions__hero-content {
    order: 2;
    padding: 40px 15px;
    max-width: 900px;
    text-align: center;
    z-index: 2;
    position: relative;
    margin-top: -100px;
    background: linear-gradient(to top, var(--color-background) 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0) 100%);
    width: 100%;
}

.page-promotions__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size rule */
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-promotions__intro-text {
    font-size: 1.2em;
    color: var(--color-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 0 15px var(--color-glow);
}

.page-promotions__btn-primary:hover {
    background: var(--color-button-gradient-end);
    box-shadow: 0 0 25px var(--color-glow);
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
    transform: translateY(-2px);
}

/* Card Styling */
.page-promotions__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: var(--color-text-main);
}

.page-promotions__card img {
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Why Choose Section */
.page-promotions__why-choose .page-promotions__section-description {
    color: #333333;
}

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

.page-promotions__feature-item {
    text-align: center;
    background-color: #ffffff; /* Light card background for contrast on light section */
    color: #333333; /* Dark text for light card */
}

.page-promotions__feature-item img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-promotions__feature-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.page-promotions__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Promotion Types Section */
.page-promotions__type-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__type-card {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
    text-align: center;
}

.page-promotions__type-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.page-promotions__type-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.page-promotions__type-text {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    padding: 0 15px 15px;
}

.page-promotions__cta-center {
    margin-top: 50px;
}

/* How to Claim Section */
.page-promotions__how-to-claim .page-promotions__section-description {
    color: #333333;
}

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

.page-promotions__step-item {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-promotions__step-number {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 15px;
    background-color: var(--color-glow);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-deep-green);
}

.page-promotions__step-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.page-promotions__step-text {
    font-size: 1em;
    color: #555555;
}

.page-promotions__step-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.page-promotions__step-text a:hover {
    color: var(--color-deep-green);
}

/* Featured Promotions Section */
.page-promotions__promotion-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promotion-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
    overflow: hidden;
}

.page-promotions__promotion-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.page-promotions__promotion-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__promotion-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.page-promotions__promotion-date {
    font-size: 0.9em;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.page-promotions__promotion-text {
    font-size: 1em;
    color: var(--color-text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__promotion-card .page-promotions__btn-primary {
    width: auto;
    align-self: flex-start;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 20px;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: #ffffff; /* Light card background for contrast on light section */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-promotions__faq-item summary {
    list-style: none;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    color: var(--color-primary);
}

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

.page-promotions__faq-question .page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-question .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.8;
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
    color: #555555;
}

/* Bottom CTA Section */
.page-promotions__cta-bottom {
    padding: 80px 20px;
}

.page-promotions__cta-content {
    background-color: var(--color-card-bg);
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-bottom .page-promotions__section-title {
    color: var(--color-gold);
    margin-bottom: 25px;
}

.page-promotions__cta-bottom .page-promotions__section-description {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -50px;
    }
}

@media (max-width: 768px) {
    .page-promotions__section {
        padding: 40px 15px;
    }

    .page-promotions__section-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

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

    .page-promotions__hero-section {
        min-height: 500px;
        padding-top: 10px !important;
    }

    .page-promotions__hero-content {
        padding: 30px 15px;
        margin-top: -70px;
    }

    .page-promotions__main-title {
        font-size: clamp(2em, 7vw, 2.8em);
    }

    .page-promotions__intro-text {
        font-size: 1em;
    }

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        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;
    }

    .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;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-promotions__feature-item,
    .page-promotions__type-card,
    .page-promotions__step-item,
    .page-promotions__promotion-card {
        padding: 20px;
    }

    /* All images must be responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images must be responsive */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image-wrapper,
    .page-promotions__promotion-card,
    .page-promotions__type-card,
    .page-promotions__feature-item,
    .page-promotions__step-item,
    .page-promotions__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__hero-image {
        height: auto;
    }

    .page-promotions__promotion-image {
        height: 200px;
    }

    .page-promotions__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }

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

    .page-promotions__cta-bottom {
        padding: 60px 15px;
    }
}

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

/* Content area image size lower limit check */
.page-promotions__hero-image,
.page-promotions__feature-icon,
.page-promotions__type-image,
.page-promotions__promotion-image {
    min-width: 200px;
    min-height: 200px;
}

/* Specific overrides for mobile, ensuring no small images and max-width */
@media (max-width: 768px) {
    .page-promotions__feature-icon,
    .page-promotions__type-image,
    .page-promotions__promotion-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-promotions img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}