/* style/promotions.css */

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

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

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--card-bg-color);
    border-bottom: 1px solid var(--divider-color);
}

.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;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
    background: var(--deep-green-color);
    color: var(--text-main-color);
    border: 2px solid var(--border-color);
}

.page-promotions__btn-secondary:hover {
    background: var(--border-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-link {
    background: none;
    color: var(--glow-color);
    border: 1px solid var(--glow-color);
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-promotions__btn-link:hover {
    background: var(--glow-color);
    color: var(--bg-color);
}

/* General Section Styles */
.page-promotions__overview-section,
.page-promotions__category-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__cta-bottom {
    padding: 60px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

.page-promotions__promotion-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
}

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

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

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

/* Promotion Categories */
.page-promotions__promo-category {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.page-promotions__category-heading {
    font-size: 2em;
    color: var(--gold-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
}

.page-promotions__category-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__category-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-promotions__category-list li {
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.page-promotions__category-list li::before {
    content: '✅';
    margin-right: 10px;
}

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

.page-promotions__steps-list li {
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    position: relative;
    counter-increment: step-counter;
}

.page-promotions__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--gold-color);
    color: var(--bg-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    border: 2px solid var(--bg-color);
}

.page-promotions__steps-list li strong {
    color: var(--gold-color);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.page-promotions__steps-list li a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-promotions__steps-list li a:hover {
    text-decoration: underline;
}

/* Terms and Conditions */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-promotions__terms-list li {
    background-color: var(--deep-green-color);
    color: var(--text-secondary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid var(--glow-color);
}

/* 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;
}

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

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

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

.page-promotions__faq-answer {
    padding: 15px 25px;
    color: var(--text-secondary-color);
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--divider-color);
}

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

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

.page-promotions__cta-title {
    font-size: 2.5em;
    color: var(--gold-color);
    margin-bottom: 20px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-promotions__section-title,
    .page-promotions__cta-title {
        font-size: 2em;
    }
    .page-promotions__hero-content,
    .page-promotions__overview-section .page-promotions__container,
    .page-promotions__category-section .page-promotions__container,
    .page-promotions__how-to-claim-section .page-promotions__container,
    .page-promotions__terms-section .page-promotions__container,
    .page-promotions__faq-section .page-promotions__container,
    .page-promotions__cta-bottom .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        padding: 40px 10px 20px 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-promotions__hero-description,
    .page-promotions__section-description,
    .page-promotions__cta-description {
        font-size: 1em;
    }
    .page-promotions__section-title,
    .page-promotions__cta-title {
        font-size: 1.8em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-link {
        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__promotion-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__overview-section,
    .page-promotions__category-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom {
        padding: 40px 0;
    }
    .page-promotions__steps-list li::before {
        left: 10px;
        top: 20px;
        transform: none;
    }
    .page-promotions__steps-list li {
        padding-left: 60px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px;
    }

    /* Mobile image and container responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image-wrapper,
    .page-promotions__promotion-card,
    .page-promotions__promo-category,
    .page-promotions__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}

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