:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-main-dark: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --header-offset: 0px; /* This will be set by shared.css */
}

/* Base styles for the page-promotions scope */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark background sections */
    background-color: var(--bg-main-dark); /* Default background for the main content area if not overridden */
}

/* General container for content */
.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.5rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Section descriptions */
.page-promotions__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card base style */
.page-promotions__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-main);
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.page-promotions__btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

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

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

/* Specific section styles */

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 60px 0; /* Adjusted from 60px 20px for full width image */
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-main-dark);
    padding-top: 10px; /* Small top padding for first content block */
}

.page-promotions__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for desktop for visual impact */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-promotions__hero-content {
    position: relative; /* Ensure content is above image filter */
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--text-main);
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Lighter background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-promotions__why-choose-section .page-promotions__section-title {
    color: #333333;
}

.page-promotions__why-choose-section .page-promotions__section-description {
    color: #555555;
}

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

.page-promotions__feature-item {
    text-align: center;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-8px);
}

.page-promotions__feature-icon {
    width: 100%; /* Ensure image fills space */
    height: auto;
    max-width: 200px; /* Limit icon size */
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
}

.page-promotions__feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions__feature-text {
    font-size: 1rem;
    color: #666666;
}

/* Types of Promotions Section */
.page-promotions__types-section {
    padding: 80px 0;
    background-color: var(--bg-main-dark);
}

.page-promotions__promotion-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
    color: #333333;
}

.page-promotions__how-to-claim-section .page-promotions__section-description {
    color: #555555;
}

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

.page-promotions__step-item {
    text-align: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.page-promotions__step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-promotions__step-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 1rem;
    color: #666666;
}

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

/* Featured Promotions Section */
.page-promotions__featured-promos-section {
    padding: 80px 0;
    background-color: var(--bg-main-dark);
}

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

.page-promotions__promo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo card images */
    object-fit: cover;
    display: block;
}

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

.page-promotions__promo-content .page-promotions__card-title {
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-promotions__promo-content .page-promotions__card-text {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-promotions__faq-section .page-promotions__section-title {
    color: #333333;
}

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

.page-promotions__faq-item {
    background-color: #ffffff;
    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.15rem;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details/summary */
    transition: background-color 0.3s ease;
}

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

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

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

/* Hide default details marker */
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions__faq-item summary::marker {
    display: none;
}


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

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

.page-promotions__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
}
.page-promotions__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
    padding: 80px 0;
    background-color: var(--bg-main-dark);
    text-align: center;
}

.page-promotions__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Background colors for contrast checking */
.page-promotions__dark-bg {
    background-color: var(--bg-main-dark);
    color: var(--text-main);
}

.page-promotions__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-promotions__light-bg .page-promotions__card {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}
.page-promotions__light-bg .page-promotions__card-title {
    color: var(--primary-color);
}
.page-promotions__light-bg .page-promotions__card-text {
    color: #555555;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        height: 500px;
    }
    .page-promotions__main-title {
        font-size: 3rem;
    }
    .page-promotions__description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-image-wrapper {
        height: 400px;
    }
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__main-title {
        font-size: 2.2rem; /* Adjusted for mobile */
    }
    .page-promotions__description {
        font-size: 1rem;
    }
    .page-promotions__section-title {
        font-size: 2rem;
    }
    .page-promotions__section-description {
        font-size: 1rem;
    }
    .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-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__promo-card {
        flex-direction: column;
    }
    .page-promotions__promo-image {
        height: 180px;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__why-choose-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__featured-promos-section,
    .page-promotions__faq-section,
    .page-promotions__cta-final-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    /* Mobile image responsiveness */
    .page-promotions img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    /* Mobile 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-section {
        padding-top: 10px !important; /* Small top padding */
    }
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Small top padding for hero */
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-image-wrapper {
        height: 300px;
    }
    .page-promotions__main-title {
        font-size: 1.8rem;
    }
    .page-promotions__section-title {
        font-size: 1.7rem;
    }
    .page-promotions__features-grid,
    .page-promotions__promotion-categories,
    .page-promotions__steps-grid,
    .page-promotions__promo-cards-grid {
        grid-template-columns: 1fr;
    }
}