/* style/promotions.css */

/* Custom Colors */
: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 {
    color: var(--color-text-main); /* Light text on dark body background */
    background-color: var(--color-background); /* Ensure consistency if main background is set here */
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem); /* H1 font size constraint applied to H2s */
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Hero Section */
.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);
}

.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;
}

.page-promotions__hero-content {
    padding: 30px 20px;
    text-align: center;
    max-width: 900px;
    margin-top: -80px; /* Adjust as needed for visual flow, but ensure no text overlaps image */
    position: relative;
    z-index: 1; /* Ensure content is above any background elements but not overlapping the hero image itself */
    background: var(--color-card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--color-border);
}

.page-promotions__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-shadow: 0 0 10px rgba(242,193,78,0.5);
}

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

.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: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3), 0 0 15px var(--color-glow);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

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

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

.page-promotions__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 1px solid var(--color-divider);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.page-promotions__promo-card-title {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

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

.page-promotions__promo-card-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__promo-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Featured Promos Section */
.page-promotions__featured-promos {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

.page-promotions__promo-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background-color: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--color-border);
    padding: 30px;
}

.page-promotions__promo-item:last-child {
    margin-bottom: 0;
}

.page-promotions__promo-item--reverse {
    flex-direction: row-reverse;
}

.page-promotions__promo-image {
    flex: 1;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.page-promotions__promo-details {
    flex: 1;
    padding: 20px 0;
}

.page-promotions__promo-title {
    font-size: 2rem;
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

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

.page-promotions__promo-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-promotions__promo-list li {
    font-size: 1rem;
    color: var(--color-text-main);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.page-promotions__promo-list li::before {
    content: '✓';
    color: var(--color-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

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

.page-promotions__step-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 1px solid var(--color-divider);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-promotions__step-number {
    counter-increment: step-counter;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-gold);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
}

.page-promotions__step-card h3 {
    font-size: 1.4rem;
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    padding-top: 20px; /* Space for step number */
}

.page-promotions__step-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

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

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

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

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

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

.page-promotions__feature-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 1px solid var(--color-divider);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-promotions__feature-icon {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.page-promotions__feature-title {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-promotions__feature-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

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

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

.page-promotions__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    line-height: 1.5;
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-gold);
    margin-left: 20px;
    line-height: 1;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -60px;
        padding: 30px;
    }
    .page-promotions__promo-item {
        flex-direction: column;
        text-align: center;
    }
    .page-promotions__promo-item--reverse {
        flex-direction: column;
    }
    .page-promotions__promo-details {
        padding: 20px;
    }
    .page-promotions__promo-image {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-promotions__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Hero Section */
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__hero-content {
        margin-top: -40px;
        padding: 20px;
    }
    .page-promotions__hero-title {
        font-size: 2rem;
    }
    .page-promotions__hero-description {
        font-size: 1rem;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Images, Video, Containers */
    .page-promotions img {
        max-width: 100% !important;
        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__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promo-item,
    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__features-grid,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Specific card/item adjustments */
    .page-promotions__promo-card-image,
    .page-promotions__promo-image,
    .page-promotions__feature-icon {
        height: auto;
        max-width: 100%;
    }

    .page-promotions__promo-item {
        padding: 20px;
        margin-bottom: 40px;
    }

    .page-promotions__promo-title {
        font-size: 1.5rem;
    }

    .page-promotions__promo-text,
    .page-promotions__promo-list li,
    .page-promotions__terms-list li,
    .page-promotions__feature-text,
    .page-promotions__faq-item summary,
    .page-promotions__faq-answer p {
        font-size: 0.95rem;
    }

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

    .page-promotions__faq-item summary {
        padding: 15px 20px;
    }
    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }

    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}