/* style/promotions.css */

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

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    padding-bottom: 50px;
}

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: 2.8em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__text-block {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* 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;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Adjust to slightly overlap the image for visual effect */
    background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 30px rgba(87, 227, 141, 0.4);
}

.page-promotions__main-title {
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-promotions__description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-promotions__description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__description a:hover {
    text-decoration: underline;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.2);
}

.page-promotions__btn-secondary:hover {
    background: rgba(34, 199, 104, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.4);
}

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

.page-promotions__why-choose .page-promotions__text-block {
    margin-bottom: 60px;
}

.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: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.page-promotions__feature-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__feature-description {
    color: var(--text-secondary);
    font-size: 1em;
}

.page-promotions__feature-description a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__feature-description a:hover {
    text-decoration: underline;
}

/* Featured Promos Section */
.page-promotions__featured-promos {
    background-color: var(--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: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

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

.page-promotions__promo-description {
    color: var(--text-secondary);
    font-size: 1em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__promo-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__promo-description a:hover {
    text-decoration: underline;
}

.page-promotions__promo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    color: var(--text-main);
}

.page-promotions__promo-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95em;
}

.page-promotions__promo-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.page-promotions__promo-list li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__promo-list li a:hover {
    text-decoration: underline;
}

.page-promotions__promo-card .page-promotions__btn-primary {
    margin-top: auto; /* Push button to bottom */
    width: 100%;
}

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

.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: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--divider-color);
}

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

.page-promotions__step-description {
    color: var(--text-secondary);
    font-size: 0.95em;
}

.page-promotions__step-description a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-description a:hover {
    text-decoration: underline;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
    background-color: var(--bg-color);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    text-align: left;
    max-width: 900px;
    color: var(--text-main);
}

.page-promotions__terms-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1em;
    color: var(--text-secondary);
}

.page-promotions__terms-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    color: var(--gold-color);
}

.page-promotions__terms-list li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__terms-list li a:hover {
    text-decoration: underline;
}

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

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

.page-promotions__faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-promotions__faq-qtext a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__faq-qtext a:hover {
    text-decoration: underline;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
}

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

.page-promotions__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__faq-answer a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.page-promotions__cta-final {
    padding-top: 60px;
    padding-bottom: 80px;
}

.page-promotions__cta-final .page-promotions__cta-buttons {
    margin-top: 40px;
}

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

    .page-promotions__main-title {
        font-size: 2.8em;
    }

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

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

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

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

    .page-promotions__section {
        padding: 40px 0;
    }

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

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

    .page-promotions__hero-section {
        padding-bottom: 40px;
    }

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

    .page-promotions__hero-content {
        margin-top: -80px;
        padding: 20px 10px;
    }

    .page-promotions__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-promotions__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

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

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

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

    .page-promotions__promo-image,
    .page-promotions__step-image {
        height: 150px;
    }

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

    .page-promotions__feature-title {
        font-size: 1.4em;
    }

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

    .page-promotions__terms-list,
    .page-promotions__faq-list {
        margin-top: 30px;
    }

    .page-promotions__terms-list li,
    .page-promotions__faq-question,
    .page-promotions__faq-answer {
        font-size: 0.95em;
        padding: 15px 20px;
    }

    /* Mobile specific image, video, container rules */
    .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__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image-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; /* Ensure no horizontal scroll */
    }
    
    .page-promotions__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

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

@media (max-width: 480px) {
    .page-promotions__section-title {
        font-size: 1.5em;
    }

    .page-promotions__main-title {
        font-size: 1.8em;
    }

    .page-promotions__hero-content {
        margin-top: -60px;
    }

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

    .page-promotions__feature-title {
        font-size: 1.2em;
    }

    .page-promotions__step-title {
        font-size: 1.1em;
    }
}