/* style/promotions.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --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 {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color); /* Body background handled by shared.css, this is for main content area if needed */
    color: var(--text-main-color);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body in shared.css */
    background-color: var(--deep-green-color);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    max-width: 1200px; /* Adjust as needed for visual balance */
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 font size */
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    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: var(--text-main-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-promotions__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--deep-green-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.3);
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 1rem;
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

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

.page-promotions__overview-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

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

/* Featured Promotions Grid */
.page-promotions__featured-promos-section {
    padding: 80px 0;
    background-color: var(--card-bg-color);
}

.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(--deep-green-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.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;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-promotions__promo-card h3 {
    font-size: 1.5rem;
    color: var(--gold-color);
    padding: 20px 20px 10px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 1rem;
    color: var(--text-secondary-color);
    padding: 0 20px 15px;
    line-height: 1.6;
    flex-grow: 1;
}

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

.page-promotions__card-list li {
    font-size: 0.95rem;
    color: var(--text-main-color);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.page-promotions__card-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow-color);
    font-size: 0.8em;
    top: 2px;
}

.page-promotions__promo-card .page-promotions__btn-primary {
    margin: 0 20px 20px;
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

.page-promotions__step-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background: var(--button-gradient);
    color: var(--text-main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

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

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

.page-promotions__step-card .page-promotions__btn-primary {
    margin-top: auto;
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.page-promotions__terms-list li {
    font-size: 1.05rem;
    color: var(--text-secondary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.page-promotions__terms-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--glow-color);
    font-size: 1.5em;
    top: -5px;
    font-weight: 900;
}

.page-promotions__cta-buttons--center {
    justify-content: center;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

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

.page-promotions__faq-item[open] {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* For details/summary */
}

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

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

.page-promotions__faq-toggle {
    font-size: 2rem;
    line-height: 1;
    color: var(--glow-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or '-' */
}

.page-promotions__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.7;
    background-color: var(--card-bg-color);
}

/* Bottom CTA Section */
.page-promotions__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
}

.page-promotions__cta-container {
    max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        max-width: 1000px;
    }
}

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

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

    .page-promotions__description {
        font-size: 1rem;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Added for container padding */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .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__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-promotions__overview-section,
    .page-promotions__featured-promos-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom-section {
        padding: 50px 0;
    }

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

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

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

    .page-promotions__promo-card h3,
    .page-promotions__step-title {
        font-size: 1.3rem;
    }

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

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

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

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

    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__faq-item {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .page-promotions__description {
        font-size: 0.95rem;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .page-promotions__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }

    .page-promotions__text-block {
        font-size: 0.95rem;
    }

    .page-promotions__promo-card h3,
    .page-promotions__step-title {
        font-size: 1.2rem;
    }

    .page-promotions__card-description,
    .page-promotions__card-list li,
    .page-promotions__step-description,
    .page-promotions__terms-list li,
    .page-promotions__faq-answer {
        font-size: 0.9rem;
    }
}