/* style/promotions.css */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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;
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--color-background);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust as needed for aspect ratio */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions__hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

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

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-promotions__overview-section,
.page-promotions__terms-section,
.page-promotions__faq-section {
    background-color: var(--color-deep-green);
    padding: 80px 0;
}

.page-promotions__promotion-types-section,
.page-promotions__how-to-claim-section,
.page-promotions__cta-bottom-section {
    background-color: var(--color-background);
    padding: 80px 0;
}

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

.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(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--color-text-main);
    padding: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 1em;
    color: var(--color-text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__card-button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

.page-promotions__terms-list,
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__terms-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    font-size: 1.05em;
}

.page-promotions__terms-item strong {
    color: var(--color-text-main);
    font-size: 1.1em;
}

.page-promotions__steps-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.page-promotions__steps-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: var(--color-text-main);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.3em;
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.5);
}

.page-promotions__steps-title {
    color: var(--color-text-main);
    font-size: 1.4em;
    margin-bottom: 10px;
    padding-left: 60px;
}

.page-promotions__steps-description {
    color: var(--color-text-secondary);
    font-size: 1em;
    padding-left: 60px;
}

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

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: var(--color-text-main);
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
    background-color: rgba(var(--color-primary), 0.1);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-primary);
    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 20px 20px;
    color: var(--color-text-secondary);
    font-size: 1em;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promotion-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .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;
    }
    .page-promotions__promotion-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 0.95em;
    }
    .page-promotions__steps-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
        top: 15px;
        left: 15px;
    }
    .page-promotions__steps-title,
    .page-promotions__steps-description {
        padding-left: 55px;
    }
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !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__hero-image-wrapper {
        max-height: none; /* Allow image to scale */
    }
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }
    .page-promotions__overview-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__promotion-types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__cta-bottom-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
    }
    .page-promotions__faq-toggle {
        font-size: 1.3em;
    }
    .page-promotions__steps-title {
        font-size: 1.2em;
    }
}