:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Auxiliary */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --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 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for the main content area */
    background-color: var(--color-background); /* Default background for main content sections that don't specify */
}

/* Sections */
.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions__dark-section {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__light-bg {
    background-color: #ffffff; /* Using white for light background, as var(--color-text-main) is light. */
    color: #333333; /* Dark text for light background */
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Consistent padding for content */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero */
    overflow: hidden;
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green); /* Fallback background for hero */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.6); /* Slightly darken image for text readability, not color change */
    min-height: 500px; /* Ensure image covers hero section */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: var(--color-text-main);
    padding: 20px;
}

.page-promotions__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-gold); /* Using gold for main title */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-main);
}

/* Titles */
.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--color-gold);
}

.page-promotions__section-title--white {
    color: var(--color-gold); /* Ensure gold color on dark background */
}

.page-promotions__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.page-promotions__list-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.page-promotions__list-title--white {
    color: var(--color-gold);
}

/* Text Blocks */
.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333; /* Default for light backgrounds */
}

.page-promotions__text-block--white {
    color: var(--color-text-main); /* For dark backgrounds */
}

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

/* Buttons */
.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-promotions__cta-buttons--center {
    margin-top: 30px;
    margin-bottom: 30px;
}

.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;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 255, 100, 0.4);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
    box-shadow: 0 6px 20px rgba(0, 255, 100, 0.6);
    transform: translateY(-2px);
}

.page-promotions__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.95em;
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.5);
    transform: translateY(-2px);
}

/* Grid for promotion types */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Cards */
.page-promotions__card {
    background-color: var(--color-card-bg); /* Custom card background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 450px; /* Ensure cards have similar height */
}

.page-promotions__dark-bg-card {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-promotions__card-description {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Lists */
.page-promotions__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-promotions__list-item {
    background-color: var(--color-card-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    text-align: left; /* Ensure text aligns left within list items */
}

.page-promotions__list-item--white {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

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

.page-promotions__list-description--white {
    color: var(--color-text-secondary);
}

/* Video Section */
.page-promotions__video-section {
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

.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: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    width: 100%; /* Ensure desktop width is 100% */
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
    max-width: 100%;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

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

.page-promotions__faq-item {
    background-color: #ffffff; /* Light background for FAQ items */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    color: #333333;
    transition: background-color 0.3s ease;
}

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

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

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

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    color: var(--color-primary);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    background-color: var(--color-primary);
    color: #ffffff;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    color: #ffffff;
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Links within content */
.page-promotions a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-promotions a:hover {
    color: var(--color-secondary);
}

.page-promotions__text-block--white a {
    color: var(--color-gold);
}

.page-promotions__text-block--white a:hover {
    color: var(--color-text-main);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        min-height: 400px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 6vw, 3em);
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__card {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-promotions__section {
        padding: 40px 15px;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        min-height: 350px;
    }
    .page-promotions__hero-image {
        min-height: 350px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5em, 8vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-promotions__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__list-title {
        font-size: 1.1em;
    }
    .page-promotions__text-block {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }
    .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__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card {
        min-height: auto; /* Allow height to adjust */
    }
    .page-promotions__video-section {
        padding-top: 10px !important; /* body handles header offset */
    }
    .page-promotions__video-wrapper {
        padding-bottom: 56.25%; /* Maintain aspect ratio */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-promotions__video {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__faq-list,
    .page-promotions__step-list,
    .page-promotions__bullet-list,
    .page-promotions__advantage-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__section {
        padding: 30px 10px;
    }
    .page-promotions__hero-section {
        min-height: 300px;
    }
    .page-promotions__hero-image {
        min-height: 300px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.2em, 9vw, 2em);
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__card-title {
        font-size: 1.2em;
    }
    .page-promotions__list-title {
        font-size: 1em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}