/* style/promotions.css */

/* Custom Colors */
:root {
    --page-promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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 {
    color: var(--page-promotions-text-main); /* Default text color for dark body bg */
    background-color: var(--page-promotions-bg);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Sections */
.page-promotions__hero-section,
.page-promotions__video-section,
.page-promotions__benefits-section,
.page-promotions__how-to-claim-section,
.page-promotions__conclusion-section {
    background-color: var(--page-promotions-bg);
    color: var(--page-promotions-text-main);
}

.page-promotions__content-area,
.page-promotions__terms-section,
.page-promotions__faq-section {
    background-color: var(--page-promotions-text-main);
    color: #333333; /* Dark text for light background */
}

.page-promotions__section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: inherit;
}

.page-promotions__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--page-promotions-text-secondary);
}

.page-promotions__text-main {
    color: #333333;
}

.page-promotions__text-secondary {
    color: #555555;
}

.page-promotions__link {
    color: var(--page-promotions-deep-green);
    text-decoration: underline;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px 20px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-promotions-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

/* Video Section */
.page-promotions__video-section {
    padding: 10px 20px 60px 20px;
    text-align: center;
}

.page-promotions__video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(87, 227, 141, 0.3);
}

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

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.page-promotions__video-description {
    margin-top: 20px;
    color: var(--page-promotions-text-secondary);
}

/* Content Area */
.page-promotions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-promotions__text-block {
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

/* Promo Grid */
.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-color: var(--page-promotions-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--page-promotions-border);
    color: var(--page-promotions-text-main);
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--page-promotions-glow);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--page-promotions-gold);
}

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

.page-promotions__card-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    color: var(--page-promotions-text-secondary);
}

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

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--page-promotions-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6), 0 0 15px var(--page-promotions-glow);
}

.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(-3px);
}

.page-promotions__card-button {
    margin-top: auto; /* Push button to bottom */
}

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Benefits Section */
.page-promotions__benefits-section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__benefits-item {
    background-color: var(--page-promotions-card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-promotions-divider);
}

.page-promotions__benefits-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__item-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--page-promotions-gold);
}

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

/* Terms Section */
.page-promotions__terms-section {
    padding: 60px 20px;
}

.page-promotions__terms-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    list-style: none;
    padding: 0;
}

.page-promotions__terms-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__terms-item .page-promotions__item-title {
    color: var(--page-promotions-deep-green);
    font-size: 1.35rem;
    text-align: left;
}

.page-promotions__terms-item .page-promotions__item-description {
    color: #555555;
    text-align: left;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__step-card {
    background-color: var(--page-promotions-card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-promotions-border);
    position: relative;
    color: var(--page-promotions-text-main);
    min-height: 250px; /* Ensure cards have enough height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-promotions__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--page-promotions-button-gradient);
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    border: 3px solid var(--page-promotions-bg);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.5);
}

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

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 20px;
}

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

.page-promotions__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333; /* Dark text for light background */
}

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

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

.page-promotions__faq-item summary:hover {
    background-color: #f9f9f9;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--page-promotions-glow);
}

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

.page-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    line-height: 1.7;
    color: #555555;
    font-size: 1rem;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
    padding: 60px 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        margin-bottom: 30px;
    }
    .page-promotions__hero-image {
        border-radius: 8px;
    }
    .page-promotions__main-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }
    .page-promotions__subtitle {
        font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    }
    .page-promotions__promo-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__hero-section {
        padding: 10px 15px 40px 15px;
    }
    .page-promotions__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-promotions__hero-image {
        border-radius: 5px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-promotions__subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 30px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-promotions__video-section {
        padding: 10px 15px 40px 15px !important; /* Small top padding for video section */
    }
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 20px;
    }
    .page-promotions__content-area,
    .page-promotions__benefits-section,
    .page-promotions__terms-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 40px 15px;
    }
    .page-promotions__text-block {
        margin-bottom: 20px;
    }
    .page-promotions__promo-grid,
    .page-promotions__benefits-list,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-promotions__card-image {
        height: 200px; /* Adjust height for mobile */
    }
    .page-promotions__card-title {
        font-size: 1.5rem;
    }
    .page-promotions__card-description {
        font-size: 0.95rem;
    }
    .page-promotions__benefits-icon {
        width: 60px;
        height: 60px;
    }
    .page-promotions__item-title {
        font-size: 1.3rem;
    }
    .page-promotions__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        top: -15px;
    }
    .page-promotions__step-card .page-promotions__card-title {
        margin-top: 25px;
    }
    .page-promotions__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Ensure all images are responsive and do not overflow */
    .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,
    .page-promotions__hero-section,
    .page-promotions__content-area,
    .page-promotions__promo-card,
    .page-promotions__benefits-section,
    .page-promotions__benefits-item,
    .page-promotions__terms-section,
    .page-promotions__terms-item,
    .page-promotions__how-to-claim-section,
    .page-promotions__step-card,
    .page-promotions__faq-section,
    .page-promotions__faq-item,
    .page-promotions__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }
    .page-promotions__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-promotions__subtitle {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-promotions__promo-card,
    .page-promotions__benefits-item,
    .page-promotions__step-card {
        padding: 25px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.3rem;
    }
    .page-promotions__item-title {
        font-size: 1.2rem;
    }
    .page-promotions__faq-item summary {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
    .page-promotions__faq-answer {
        padding: 0 15px 12px 15px;
        font-size: 0.9rem;
    }
}