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

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

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for visual separation */
    background-color: var(--deep-green-color);
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 60px;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
    background: var(--deep-green-color);
    border: 2px solid var(--primary-color);
}

.page-promotions__cta-button--secondary:hover {
    background: var(--primary-color);
}

.page-promotions__cta-button--tertiary {
    background: none;
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
}

.page-promotions__cta-button--tertiary:hover {
    background: var(--gold-color);
    color: var(--background-color);
}

/* General Section Styling */
.page-promotions__introduction-section,
.page-promotions__types-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__benefits-section,
.page-promotions__faq-section,
.page-promotions__final-cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(34, 199, 104, 0.3);
}

.page-promotions__text-block {
    font-size: 1.1rem;
    color: var(--text-main-color);
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
}

.page-promotions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 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-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-promotions__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.page-promotions__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* How-to-Claim Section */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-promotions__steps-list li {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-main-color);
    line-height: 1.6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__steps-list li strong {
    color: var(--gold-color);
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin: 40px auto;
    max-width: 900px;
    text-align: left;
}

.page-promotions__terms-list li {
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.7;
    margin-bottom: 10px;
}

.page-promotions__terms-list li strong {
    color: var(--primary-color);
}

/* Benefits Section */
.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
}

.page-promotions__benefits-list li {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 25px;
    font-size: 1.1rem;
    color: var(--text-main-color);
    line-height: 1.6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-left: 50px;
}

.page-promotions__benefits-list li::before {
    content: '✅';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-promotions__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: var(--card-bg-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

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

.page-promotions__faq-question:hover {
    background-color: rgba(34, 199, 104, 0.1);
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.7;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 10px;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    background-color: var(--deep-green-color);
    padding: 80px 0;
}

.page-promotions__final-cta-section .page-promotions__section-title {
    color: var(--gold-color);
}

.page-promotions__final-cta-section .page-promotions__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-promotions__hero-description {
        font-size: 1.1rem;
    }

    .page-promotions__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    }

    .page-promotions__promo-grid {
        gap: 20px;
    }

    .page-promotions__promo-card {
        padding: 20px;
    }

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

@media (max-width: 768px) {
    /* General */
    .page-promotions__hero-section,
    .page-promotions__introduction-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__benefits-section,
    .page-promotions__faq-section,
    .page-promotions__final-cta-section {
        padding: 40px 0;
    }

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

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

    .page-promotions__hero-image {
        margin-bottom: 20px !important;
    }

    /* Buttons */
    .page-promotions__cta-button,
    .page-promotions__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important;
        font-size: 1rem !important;
    }

    .page-promotions__promo-card .page-promotions__card-button {
        align-self: stretch;
    }

    /* Hero */
    .page-promotions__hero-content {
        padding: 10px;
        margin-bottom: 40px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Sections */
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 20px;
    }

    .page-promotions__text-block,
    .page-promotions__steps-list li,
    .page-promotions__terms-list li,
    .page-promotions__benefits-list li,
    .page-promotions__faq-question,
    .page-promotions__faq-answer {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-promotions__card-title {
        font-size: 1.2rem;
    }

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

    .page-promotions__steps-list,
    .page-promotions__terms-list,
    .page-promotions__benefits-list,
    .page-promotions__faq-list {
        margin: 25px auto;
    }

    .page-promotions__steps-list li,
    .page-promotions__benefits-list li,
    .page-promotions__faq-item {
        padding: 15px 20px;
    }

    .page-promotions__benefits-list li::before {
        font-size: 1.2rem;
        left: 10px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content {
        margin-bottom: 30px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-promotions__hero-description {
        font-size: 0.9rem;
    }
    .page-promotions__cta-button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    .page-promotions__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-promotions__card-image {
        height: 150px;
    }
    .page-promotions__card-title {
        font-size: 1.1rem;
    }
    .page-promotions__card-description {
        font-size: 0.85rem;
    }
}