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

/* General body styling (assuming dark background from shared.css) */
body {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: 'Arial', sans-serif;
}

.page-promotions {
    background-color: var(--color-background);
    color: var(--color-text-main);
    line-height: 1.6;
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-promotions__main-title {
    color: var(--color-gold);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    color: var(--color-text-main);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.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: #ffffff;
    transform: translateY(-2px);
}

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

.page-promotions__section-title {
    color: var(--color-gold);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-promotions__overview-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
    background-color: var(--color-dark-section-bg);
    padding: 80px 0;
}

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

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

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

.page-promotions__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

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

.page-promotions__card-title {
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 20px 15px 20px;
}

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

.page-promotions__promo-card .page-promotions__btn-primary,
.page-promotions__promo-card .page-promotions__btn-secondary {
    margin: 0 20px;
    width: calc(100% - 40px);
}

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

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

.page-promotions__step-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-promotions__step-title {
    color: var(--color-gold);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

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

.page-promotions__terms-list li,
.page-promotions__benefits-list li {
    background-color: var(--color-card-bg);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    color: var(--color-text-main);
    font-size: 1.05rem;
}

.page-promotions__list-icon {
    color: var(--color-gold);
    font-size: 1.3rem;
    margin-right: 15px;
    flex-shrink: 0;
}

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

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__faq-question:hover {
    background-color: var(--color-deep-green);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-gold);
    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: 15px 25px 20px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

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

.page-promotions__faq-item summary {
    list-style: none;
}

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

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

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

    .page-promotions__hero-description {
        font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding-bottom: 40px;
    }

    .page-promotions__hero-content {
        max-width: 90%;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .page-promotions__hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        margin: 0;
    }

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 30px;
    }

    .page-promotions__overview-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 60px 0;
    }

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

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

    .page-promotions__promo-card,
    .page-promotions__step-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .page-promotions__promo-grid,
    .page-promotions__steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-promotions__card-description,
    .page-promotions__step-description,
    .page-promotions__text-block,
    .page-promotions__terms-list li,
    .page-promotions__benefits-list li,
    .page-promotions__faq-answer p {
        font-size: 0.95rem;
    }

    .page-promotions__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

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

    .page-promotions__list-icon {
        font-size: 1.1rem;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        min-height: 350px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }

    .page-promotions__hero-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 12px 15px;
    }

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