/* style/promotions.css */

/* Custom Colors */
:root {
    --page-promotions-bg: #08160F;
    --page-promotions-card-bg: #11271B;
    --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-promotions-btn-primary-text: #ffffff;
    --page-promotions-btn-secondary-text: #11A84E; /* Main brand color for secondary button text */
    --page-promotions-light-text: #333333; /* For sections with light background */
}

.page-promotions {
    background-color: var(--page-promotions-bg);
    color: var(--page-promotions-text-main); /* Default text color for dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for large screens */
    overflow: hidden;
}

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

.page-promotions__hero-content {
    background: var(--page-promotions-card-bg);
    color: var(--page-promotions-text-main);
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin-top: -80px; /* Overlap with image slightly for visual effect */
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-promotions-border);
}

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

.page-promotions__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    margin-bottom: 30px;
    color: var(--page-promotions-text-secondary);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--page-promotions-btn-gradient);
    color: var(--page-promotions-btn-primary-text);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--page-promotions-deep-green);
    color: var(--page-promotions-text-main);
    border-color: var(--page-promotions-deep-green);
}

.page-promotions__card-button {
    background: var(--page-promotions-btn-gradient);
    color: var(--page-promotions-btn-primary-text);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: auto;
}

.page-promotions__card-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--page-promotions-text-main);
}

.page-promotions__section-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    margin-bottom: 40px;
    color: var(--page-promotions-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__card {
    background-color: var(--page-promotions-card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid var(--page-promotions-border);
    height: 100%;
}

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

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

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

.page-promotions__card-text {
    font-size: 0.95rem;
    color: var(--page-promotions-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Video Section */
.page-promotions__video-section {
    padding-top: 10px; /* As per rule, small top padding */
    padding-bottom: 60px;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 40px;
    border-radius: 15px;
    border: 2px solid var(--page-promotions-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

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

/* How to Claim Steps */
.page-promotions__light-bg {
    background-color: #ffffff;
    color: var(--page-promotions-light-text);
}

.page-promotions__text-contrast-fix {
    color: var(--page-promotions-light-text) !important;
}

.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: #f8f8f8;
    color: var(--page-promotions-light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-promotions-deep-green);
}

.page-promotions__step-text {
    font-size: 1rem;
    color: var(--page-promotions-light-text);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Terms & Conditions */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 800px;
    text-align: left;
    color: var(--page-promotions-text-secondary);
}

.page-promotions__terms-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-promotions__terms-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--page-promotions-glow);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-promotions-light-text);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--page-promotions-deep-green);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #e5e5e5;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-promotions-deep-green);
}

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

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

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

/* Footer CTA */
.page-promotions__cta-bottom {
    padding-bottom: 80px;
}

.page-promotions__text-center {
    text-align: center;
}

.page-promotions__button-group {
    margin-top: 40px;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -60px;
        max-width: 80%;
    }
    .page-promotions__promotion-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-promotions__card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__hero-content {
        margin-top: -40px;
        padding: 30px 15px;
        max-width: 90%;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-promotions__subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__card-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__section {
        padding: 60px 0;
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .page-promotions__section-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 30px;
    }
    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images Mobile Responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-image-wrapper,
    .page-promotions__promotion-grid,
    .page-promotions__card,
    .page-promotions__steps-grid,
    .page-promotions__faq-list,
    .page-promotions__cta-bottom .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__card-image {
        height: 180px;
    }

    /* Video Mobile Responsive */
    .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: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-promotions__video-wrapper {
        padding-bottom: 56.25% !important;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
    
    /* FAQ Mobile */
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content {
        padding: 25px 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-promotions__subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    .page-promotions__section-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }
    .page-promotions__card-title {
        font-size: 1.2rem;
    }
    .page-promotions__card-text {
        font-size: 0.9rem;
    }
    .page-promotions__card-image {
        height: 150px;
    }
    .page-promotions__step-title {
        font-size: 1.3rem;
    }
    .page-promotions__step-text {
        font-size: 0.9rem;
    }
}

/* HTML Image/Video width/height attributes for CLS optimization */
.page-promotions__hero-image { width: 1200px; height: 675px; }
.page-promotions__card-image { width: 800px; height: 450px; }
.page-promotions__video { width: 1000px; height: 563px; }

/* Desktop video width for flex layout, as per rule */
.page-promotions__video-container {
    width: 100%;
    max-width: 1200px;
}