/* style/promotions.css */

/* Custom Colors */
:root {
    --page-promotions-card-bg: #11271B;
    --page-promotions-background: #08160F;
    --page-promotions-text-main: #F2FFF6;
    --page-promotions-text-secondary: #A7D9B8;
    --page-promotions-border: #2E7A4E;
    --page-promotions-glow: #57E38D;
    --page-promotions-gold: #F2C14E;
    --page-promotions-divider: #1E3A2A;
    --page-promotions-deep-green: #0A4B2C;
    --page-promotions-primary-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-promotions-primary-color: #11A84E; /* Main brand color */
    --page-promotions-secondary-color: #22C768; /* Auxiliary brand color */
}

.page-promotions {
    background-color: var(--page-promotions-background); /* #08160F */
    color: var(--page-promotions-text-main); /* #F2FFF6 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

/* Base container for content sections */
.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Titles */
.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--page-promotions-glow); /* #57E38D for emphasis */
    line-height: 1.2;
    letter-spacing: 0.02em;
}

/* Text blocks */
.page-promotions__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-promotions-text-secondary); /* #A7D9B8 */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.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.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
    background: var(--page-promotions-primary-button-gradient);
    color: #ffffff; /* White text on dark green gradient */
    border: none;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--page-promotions-glow); /* #57E38D */
    border: 2px solid var(--page-promotions-glow); /* #57E38D border */
}

.page-promotions__btn-secondary:hover {
    background-color: var(--page-promotions-glow);
    color: var(--page-promotions-background); /* Text color changes to dark on hover */
    transform: translateY(-2px);
}

.page-promotions__btn-text-link {
    color: var(--page-promotions-glow);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__btn-text-link:hover {
    color: var(--page-promotions-gold);
}


/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

.page-promotions__main-title {
    font-size: 3.2em;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--page-promotions-glow); /* #57E38D */
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.page-promotions__description {
    font-size: 1.3em;
    color: var(--page-promotions-text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Highlights Section */
.page-promotions__highlights-section {
    padding: 80px 0;
    background-color: var(--page-promotions-background); /* Dark background */
    color: var(--page-promotions-text-main);
}

.page-promotions__grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-promotions__card {
    background-color: var(--page-promotions-card-bg); /* #11271B */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-promotions-border); /* #2E7A4E */
    box-sizing: border-box;
}

.page-promotions__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__card-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-promotions-text-main); /* #F2FFF6 */
}

.page-promotions__card-text {
    font-size: 1em;
    color: var(--page-promotions-text-secondary); /* #A7D9B8 */
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

/* Promotion Categories */
.page-promotions__promotion-categories {
    padding: 80px 0;
    background-color: #0d1a14; /* Slightly lighter dark background for contrast */
    color: var(--page-promotions-text-main);
}

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

.page-promotions__category-item {
    background-color: var(--page-promotions-card-bg); /* #11271B */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--page-promotions-border); /* #2E7A4E */
    box-sizing: border-box;
}

.page-promotions__category-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--page-promotions-glow); /* #57E38D */
}

.page-promotions__category-description {
    font-size: 1em;
    color: var(--page-promotions-text-secondary); /* #A7D9B8 */
    margin-bottom: 15px;
    flex-grow: 1;
}

/* VIP Benefits */
.page-promotions__vip-benefits {
    padding: 80px 0;
    background-color: var(--page-promotions-background); /* Dark background */
    color: var(--page-promotions-text-main);
}

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

.page-promotions__feature-item {
    background-color: var(--page-promotions-card-bg); /* #11271B */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--page-promotions-border); /* #2E7A4E */
    box-sizing: border-box;
}

.page-promotions__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--page-promotions-text-main); /* #F2FFF6 */
}

.page-promotions__feature-description {
    font-size: 0.95em;
    color: var(--page-promotions-text-secondary); /* #A7D9B8 */
}

.page-promotions__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* How To Claim */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: #0d1a14; /* Slightly lighter dark background for contrast */
    color: var(--page-promotions-text-main);
}

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

.page-promotions__step-item {
    background-color: var(--page-promotions-card-bg); /* #11271B */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--page-promotions-border); /* #2E7A4E */
    box-sizing: border-box;
}

.page-promotions__step-number {
    font-size: 3em;
    font-weight: bold;
    color: var(--page-promotions-gold); /* #F2C14E */
    margin-bottom: 10px;
}

.page-promotions__step-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--page-promotions-text-main); /* #F2FFF6 */
}

.page-promotions__step-description {
    font-size: 0.95em;
    color: var(--page-promotions-text-secondary); /* #A7D9B8 */
}

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

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

.page-promotions__faq-item {
    background-color: var(--page-promotions-card-bg); /* #11271B */
    border: 1px solid var(--page-promotions-border); /* #2E7A4E */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-promotions-text-main); /* #F2FFF6 */
    background-color: var(--page-promotions-deep-green); /* #0A4B2C */
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: var(--page-promotions-border); /* #2E7A4E */
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
    background-color: var(--page-promotions-border); /* #2E7A4E */
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-promotions-text-secondary); /* #A7D9B8 */
    background-color: var(--page-promotions-card-bg); /* #11271B */
    border-top: 1px solid var(--page-promotions-divider); /* #1E3A2A */
}

/* Remove default details arrow */
.page-promotions__faq-item > summary {
    list-style: none;
}
.page-promotions__faq-item > summary::-webkit-details-marker {
    display: none;
}


/* Call to Action Section */
.page-promotions__call-to-action {
    padding: 60px 0;
    background-color: #0d1a14; /* Slightly lighter dark background for contrast */
    text-align: center;
    color: var(--page-promotions-text-main);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
        padding-bottom: 30px;
    }

    .page-promotions__main-title {
        font-size: clamp(2em, 8vw, 2.5em); /* Using clamp for responsive H1 */
        margin-bottom: 15px;
    }

    .page-promotions__description {
        font-size: 1.1em;
        margin-bottom: 25px;
    }

    .page-promotions__section-title {
        font-size: clamp(1.8em, 7vw, 2em);
        margin-bottom: 20px;
    }

    .page-promotions__text-block {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__highlights-section,
    .page-promotions__promotion-categories,
    .page-promotions__vip-benefits,
    .page-promotions__how-to-claim,
    .page-promotions__faq-section,
    .page-promotions__call-to-action {
        padding: 40px 0;
    }

    .page-promotions__grid-cards,
    .page-promotions__category-grid,
    .page-promotions__vip-features,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }

    .page-promotions__card,
    .page-promotions__category-item,
    .page-promotions__feature-item,
    .page-promotions__step-item {
        padding: 20px;
    }

    .page-promotions__card-image {
        height: 180px;
        min-width: 200px; /* Ensure minimum size */
        min-height: 180px;
    }

    /* All images responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All image containers responsive */
    .page-promotions__hero-image-wrapper,
    .page-promotions__card,
    .page-promotions__category-item,
    .page-promotions__feature-item,
    .page-promotions__step-item,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }
    
    /* FAQ Specifics for mobile */
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

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

/* Ensure images don't cause horizontal scroll */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}
.page-promotions__video-section,
.page-promotions__video-container,
.page-promotions__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    .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__video-section {
        padding-top: 10px !important;
    }
}