:root {
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Accent color */
    --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 {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* --- Hero Section --- */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Space below content, image is above */
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure no overflow from image */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height on desktop */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-promotions__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Clamp for responsive H1 */
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width for flex-wrap */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
}

/* --- Buttons --- */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid var(--color-button-gradient-end);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 100, 0.3);
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.3);
}

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

/* --- General Section Styles --- */
.page-promotions__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__section:last-of-type {
    border-bottom: none;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-promotions__text-block {
    font-size: 1em;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-promotions__text-block a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__text-block a:hover {
    text-decoration: underline;
}

.highlight-keyword {
    color: var(--color-gold);
    font-weight: 600;
}

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

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

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

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

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

.page-promotions__card-description {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

/* --- VIP Section --- */
.page-promotions__vip-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-promotions__vip-image {
    flex: 1 1 45%;
    max-width: 45%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-promotions__vip-text {
    flex: 1 1 50%;
    max-width: 50%;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-promotions__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-promotions__list li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 1.1em;
}

.page-promotions__list--two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

/* --- Terms Section --- */
.page-promotions__terms-section .page-promotions__terms-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-promotions__numbered-list {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-promotions__numbered-list li {
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-promotions__numbered-list li strong {
    color: var(--color-text-main);
}

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

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

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 1.1em;
    list-style: none; /* Hide default marker */
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    color: var(--color-text-secondary);
    font-size: 0.95em;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__vip-content {
        flex-direction: column;
        text-align: center;
    }

    .page-promotions__vip-image,
    .page-promotions__vip-text {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .page-promotions__list--two-cols {
        grid-template-columns: 1fr;
    }
}

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

    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body already has padding-top */
    }

    .page-promotions__hero-image-wrapper {
        max-height: 300px;
    }

    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }

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

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

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* Mobile image responsiveness */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 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;
    }

    .page-promotions__promo-card {
        padding: 20px;
    }

    .page-promotions__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6em, 8vw, 2em);
    }

    .page-promotions__section-title {
        font-size: 1.6em;
    }
}