/* style/promotions.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-promotions {
    background-color: var(--page-bg);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

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

/* Hero Section */
.page-promotions__hero-section {
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
    max-width: 900px;
    padding: 20px 20px 0;
}

.page-promotions__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--gold-color);
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 0;
}

.page-promotions__dark-section {
    background-color: var(--card-bg);
}

.page-promotions__section-title {
    font-size: 2.2em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-promotions__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-promotions__highlight {
    color: var(--gold-color);
    font-weight: bold;
}

/* CTA Button Styling */
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(34, 199, 104, 0.2);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

/* Promo 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: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

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

.page-promotions__card-title {
    font-size: 1.4em;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__card-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__button-group {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* How-To-Claim Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__step-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: var(--text-main);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(42, 209, 111, 0.4);
}

.page-promotions__step-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-promotions__step-description {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    user-select: none; /* Prevent text selection on click */
    list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker, /* For Webkit browsers */
.page-promotions__faq-question::marker { /* Standard */
    display: none;
    content: "";
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-promotions__faq-answer {
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.95em;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: none;
}

/* Conclusion CTA */
.page-promotions__cta-conclusion {
    text-align: center;
    padding-bottom: 80px;
}

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

    .page-promotions__section-title {
        font-size: 2em;
    }

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

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

    .page-promotions__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
        margin-top: 15px;
    }

    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
        padding: 0 15px;
    }

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

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

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

    /* General Images */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Hero Image */
    .page-promotions__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__hero-image {
        border-radius: 0;
    }

    /* Product/Promo Grid (e.g., promo-grid) */
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-card {
        margin: 0 auto;
        width: 100%;
    }

    .page-promotions__promo-image {
        height: 180px;
    }

    /* Buttons */
    .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: 12px 20px;
        font-size: 1em;
    }

    .page-promotions__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Steps Grid */
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__step-item {
        padding: 25px;
    }

    .page-promotions__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    .page-promotions__step-title {
        font-size: 1.3em;
    }

    /* FAQ */
    .page-promotions__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-promotions__faq-toggle {
        font-size: 1.3em;
    }

    .page-promotions__faq-answer {
        padding: 15px;
        font-size: 0.9em;
    }

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