/* 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 {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
}

.page-promotions__section {
    padding: 60px 0;
    position: relative;
}

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

.page-promotions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--color-deep-green);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions__hero-content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    margin-top: -100px; /* Pull content up over the image slightly for visual flow */
    background: rgba(8, 22, 15, 0.8); /* Dark background for text readability */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}

.page-promotions__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.1em;
    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: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-promotions__btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(242, 193, 78, 0.1);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-promotions__introduction-section {
    background-color: var(--color-background);
}

.page-promotions__types-section {
    background-color: var(--color-deep-green);
}

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

.page-promotions__card {
    background: var(--color-card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.page-promotions__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin: 20px 20px 10px;
    font-weight: bold;
    flex-grow: 1;
}

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

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin: 0 20px;
    align-self: flex-start;
}

.page-promotions__terms-section {
    background-color: var(--color-background);
}

.page-promotions__how-to-join-section {
    background-color: var(--color-deep-green);
}

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

.page-promotions__step-card {
    background: var(--color-card-bg);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-promotions__faq-section {
    background-color: var(--color-background);
}

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

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

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

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

.page-promotions__faq-item summary:hover {
    background-color: var(--color-primary);
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

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

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

.page-promotions__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-promotions__list-item {
    background: var(--color-card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    font-size: 1.05em;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__list-item strong {
    color: var(--color-gold);
}

.page-promotions__conclusion-section {
    background-color: var(--color-deep-green);
    text-align: center;
}

.page-promotions__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

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

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

    .page-promotions__hero-content-wrapper {
        margin-top: -60px;
        padding: 30px 15px;
    }

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

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__btn-primary, 
    .page-promotions__btn-secondary {
        width: 100% !important; /* Enforce full width */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        margin: 0 auto;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions__grid, 
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }

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

    .page-promotions__card, 
    .page-promotions__step-card {
        padding: 20px;
    }

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

    .page-promotions__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-promotions__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .page-promotions__list-item {
        padding: 15px;
        font-size: 1em;
    }

    /* Mobile image, video, button responsiveness */
    .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__hero-content-wrapper,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container,
    .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__hero-section {
        padding-top: 10px !important;
    }

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

    .page-promotions__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }
}