/* style/promotions.css */
/* Base styles - assuming a dark body background from shared.css */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    overflow-x: hidden; /* Prevent horizontal scroll on desktop too */
}

/* General container for content width */
.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;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Buttons */
.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;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
}

.page-promotions__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    transform: translateY(-2px);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px; /* Ensure visibility */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    margin: 0 auto;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.page-promotions__tagline {
    font-size: 1.3em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* CTA buttons group */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

/* Video Section */
.page-promotions__video-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG */
    text-align: center;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer; /* Indicate clickable */
}

.page-promotions__video-cta {
    margin-top: 30px;
}

/* Overview Section */
.page-promotions__overview-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG */
    text-align: center;
}

.page-promotions__dark-section {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
}

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

.page-promotions__feature-item {
    padding: 30px;
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6;
}

.page-promotions__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
}

.page-promotions__feature-title {
    font-size: 1.6em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-promotions__feature-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* Current Promotions Section */
.page-promotions__current-promotions-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

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

.page-promotions__promotion-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
}

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

.page-promotions__card-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    color: #F2FFF6;
}

.page-promotions__card-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.page-promotions__card-list li::before {
    content: '✓';
    color: #2AD16F;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
    text-align: center;
}

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

.page-promotions__step-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.page-promotions__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #2AD16F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #F2FFF6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__step-item p {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-promotions__terms-list {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
    color: #F2FFF6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    text-align: left;
}

.page-promotions__terms-list li {
    margin-bottom: 15px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-promotions__terms-list li strong {
    color: #F2FFF6;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG */
}

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

.page-promotions__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: #F2FFF6;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    cursor: pointer;
    background-color: #1E3A2A; /* Divider */
    border-bottom: 1px solid #2E7A4E; /* Border */
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid #2E7A4E;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #2AD16F;
}

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-promotions__tagline {
        font-size: 1.1em;
    }
    .page-promotions__hero-content {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 0 15px; /* Adjust padding for mobile */
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-promotions__text-block {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-promotions__tagline {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-promotions__hero-section {
        padding: 40px 0;
        min-height: 400px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px; /* Add padding to container */
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__overview-section,
    .page-promotions__current-promotions-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__final-cta-section {
        padding: 50px 0;
    }

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

    .page-promotions__feature-icon {
        width: 80px;
        height: 80px;
        min-width: 200px !important; /* Enforce minimum image size */
        min-height: 200px !important; /* Enforce minimum image size */
    }

    .page-promotions__card-image {
        height: 200px; /* Adjust card image height for mobile */
        min-width: 200px !important; /* Enforce minimum image size */
        min-height: 200px !important; /* Enforce minimum image size */
    }

    .page-promotions__step-item {
        padding-top: 60px;
    }
    .page-promotions__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .page-promotions__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    /* Video responsiveness (if any) */
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    }
}

@media (max-width: 480px) {
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__main-title {
        font-size: clamp(1.2em, 7vw, 2em);
    }
    .page-promotions__tagline {
        font-size: 0.95em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 0.9em !important;
        padding: 10px 15px !important;
    }
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
    }
}

/* Contrast fix if needed - not applied by default */
.page-promotions__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-promotions__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}