:root {
    /* Custom Colors */
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color-page: #08160F; /* Renamed to avoid conflict with shared --bg-color if any */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-color-page); /* Page specific background */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

/* Sections */
.page-promotions__section {
    padding: 60px 20px;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-promotions__dark-section {
    background-color: var(--card-bg); /* Use a darker background for contrast */
    color: var(--text-main);
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
    width: 100%;
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    text-align: center;
    background-color: var(--background-color-page);
    overflow: hidden;
}

.page-promotions__hero-image-container {
    width: 100%;
    max-height: 500px; /* Limit height of the image container */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
    display: block; /* Remove extra space below image */
}

.page-promotions__hero-content {
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    color: var(--text-main);
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    color: var(--gold-color); /* Use gold for striking H1 */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-promotions__description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    min-width: 180px; /* Minimum width for buttons */
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid var(--primary-color);
    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: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions__btn-secondary:hover {
    background-color: rgba(17, 168, 78, 0.1);
    color: var(--text-main);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* General Content Styles */
.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-promotions__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-promotions__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-promotions__text-block strong {
    color: var(--text-main);
}

.page-promotions__highlight {
    color: var(--gold-color);
    font-weight: bold;
}

.page-promotions__image-text-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin: 40px 0;
}

.page-promotions__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

/* Guide List */
.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-promotions__guide-list .page-promotions__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__guide-list .page-promotions__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__list-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__list-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

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

.page-promotions__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-secondary); /* Default text color for cards */
}

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

.page-promotions__card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Tips Section */
.page-promotions__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-promotions__tips-list .page-promotions__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__tips-list .page-promotions__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__tips-list .page-promotions__list-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__tips-list .page-promotions__list-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.page-promotions__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    user-select: none;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.1);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-promotions__hero-content {
        padding: 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-promotions__description {
        font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    }

    .page-promotions__section {
        padding: 40px 15px;
    }

    .page-promotions__section-title {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
        margin-bottom: 30px;
    }

    .page-promotions__text-block {
        font-size: 1rem;
    }

    .page-promotions__image-text-block {
        flex-direction: column;
    }

    .page-promotions__terms-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__card,
    .page-promotions__guide-list .page-promotions__list-item,
    .page-promotions__tips-list .page-promotions__list-item {
        padding: 20px;
    }

    .page-promotions__card-title,
    .page-promotions__list-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Images responsiveness for mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__hero-image-container,
    .page-promotions__image-text-block,
    .page-promotions__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness for mobile */
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-promotions__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        min-height: 400px;
    }

    .page-promotions__hero-content {
        padding: 10px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-promotions__description {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
    }

    .page-promotions__section {
        padding: 30px 10px;
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 25px;
    }

    .page-promotions__text-block {
        font-size: 0.95rem;
    }

    .page-promotions__list-title,
    .page-promotions__card-title {
        font-size: 1.2rem;
    }

    .page-promotions__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }
}