/* style/promotions.css */

/* Custom Color Variables */
:root {
    --page-promotions-card-bg: #11271B;
    --page-promotions-bg: #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-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions {
    background-color: var(--page-promotions-bg);
    color: var(--page-promotions-text-secondary);
    font-family: Arial, sans-serif;
}

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

.page-promotions__dark-bg {
    background-color: var(--page-promotions-bg);
}

.page-promotions__light-text {
    color: var(--page-promotions-text-main);
}

.page-promotions__text-main {
    color: var(--page-promotions-text-main);
}

.page-promotions__text-secondary {
    color: var(--page-promotions-text-secondary);
}

.page-promotions__glow-text {
    color: var(--page-promotions-glow);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body handles padding-top, this is for internal spacing */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height to prevent excessive stretching */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-promotions-gold);
}

.page-promotions__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background: var(--page-promotions-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--page-promotions-glow);
    color: var(--page-promotions-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.3);
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: 120px;
}

/* Section Titles & Paragraphs */
.page-promotions__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    color: var(--page-promotions-text-main);
}

.page-promotions__paragraph {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.7;
    font-size: 1.05em;
}

/* Feature Grid (Overview Section) */
.page-promotions__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-promotions__feature-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px;
    min-width: 200px;
}

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

.page-promotions__card-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--page-promotions-text-secondary);
}

/* Promotion Categories & Cards */
.page-promotions__promotion-category {
    margin-bottom: 60px;
}

.page-promotions__category-title {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-promotions-gold);
    padding-top: 20px;
}

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

.page-promotions__promotion-card {
    background-color: var(--page-promotions-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--page-promotions-border);
}

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

.page-promotions__card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-promotions__card-subtitle {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-promotions-text-main);
}

.page-promotions__card-body .page-promotions__card-description {
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

.page-promotions__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-promotions-deep-green);
    border: 4px solid var(--page-promotions-glow);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--page-promotions-glow);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-promotions__step-card .page-promotions__card-title {
    margin-top: 15px;
}

.page-promotions__step-card .page-promotions__btn-secondary {
    margin-top: 20px;
}

/* Terms & Conditions Section */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__terms-item {
    background-color: var(--page-promotions-card-bg);
    border: 1px solid var(--page-promotions-divider);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__list-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-promotions-text-main);
}

.page-promotions__terms-item p {
    color: var(--page-promotions-text-secondary);
    font-size: 0.95em;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: var(--page-promotions-card-bg);
    border: 1px solid var(--page-promotions-divider);
    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.15em;
    font-weight: 600;
    color: var(--page-promotions-text-main);
    background-color: var(--page-promotions-card-bg);
    transition: background-color 0.3s ease;
}

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

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-promotions-glow);
    margin-left: 15px;
    pointer-events: none; /* Prevent click on +/- to toggle */
}

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

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

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
    padding: 80px 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: 20px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-promotions__section-title {
        font-size: clamp(1.6em, 4.5vw, 2.5em);
    }
    .page-promotions__category-title {
        font-size: 1.8em;
    }
}

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

    .page-promotions__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for minimal top spacing */
        padding-bottom: 40px;
    }

    .page-promotions__hero-image-wrapper {
        max-height: 400px;
    }

    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }

    .page-promotions__hero-content {
        padding: 0 15px;
    }

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

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

    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-promotions__btn-small {
        padding: 10px 15px;
        font-size: 0.9em;
    }

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

    .page-promotions__paragraph {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-promotions__feature-icon {
        max-width: 150px;
        min-height: 150px;
        min-width: 150px;
    }

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

    .page-promotions__promotion-image {
        height: 180px;
        min-height: 200px !important;
        min-width: 200px !important;
    }

    .page-promotions__category-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    .page-promotions__step-card {
        padding-top: 60px;
    }

    .page-promotions__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        top: -22px;
    }

    .page-promotions__terms-item,
    .page-promotions__faq-question,
    .page-promotions__faq-answer {
        padding: 15px 20px;
    }

    .page-promotions__faq-question {
        font-size: 1.05em;
    }

    .page-promotions__faq-answer p {
        font-size: 0.9em;
    }

    .page-promotions__cta-bottom-section {
        padding: 60px 15px;
    }

    .page-promotions img,
    .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__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;
    }

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

@media (max-width: 480px) {
    .page-promotions__hero-content {
        margin-top: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }
    .page-promotions__description {
        font-size: 0.9em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: clamp(1.4em, 7vw, 1.8em);
    }
    .page-promotions__paragraph {
        font-size: 0.85em;
    }
    .page-promotions__card-title {
        font-size: 1.2em;
    }
    .page-promotions__card-description {
        font-size: 0.85em;
    }
    .page-promotions__promotion-image {
        height: 160px;
    }
    .page-promotions__faq-question {
        font-size: 1em;
    }
}