:root {
    --pt888-primary: #11A84E; /* Main color */
    --pt888-secondary: #22C768; /* Auxiliary color */
    --pt888-card-bg: #11271B; /* Card Background */
    --pt888-bg: #08160F; /* Main Background */
    --pt888-text-main: #F2FFF6; /* Main Text */
    --pt888-text-secondary: #A7D9B8; /* Secondary Text */
    --pt888-border: #2E7A4E; /* Border */
    --pt888-glow: #57E38D; /* Glow */
    --pt888-gold: #F2C14E; /* Gold */
    --pt888-divider: #1E3A2A; /* Divider */
    --pt888-deep-green: #0A4B2C; /* Deep Green */
    --pt888-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */

    /* Ensure text color contrasts with body background. Assuming body background is dark based on --pt888-bg */
    --page-promotions-text-color: var(--pt888-text-main);
    --page-promotions-link-color: var(--pt888-gold); /* Links should stand out, gold is good for contrast */
    --page-promotions-link-hover-color: #FFD700; /* Brighter gold on hover */
}

.page-promotions {
    background-color: var(--pt888-bg); /* Use specified background color */
    color: var(--page-promotions-text-color); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-promotions a {
    color: var(--page-promotions-link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px; /* Ensure minimum size */
}

.page-promotions__hero-content {
    max-width: 900px;
    margin-top: 30px; /* Space between image and text */
    padding: 0 20px;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--pt888-gold);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__cta-button {
    display: inline-block;
    background: var(--pt888-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--small {
    padding: 10px 20px;
    font-size: 0.95rem;
    margin-top: 15px;
    margin-right: 10px; /* For multiple buttons */
}

.page-promotions__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2rem;
    margin-top: 30px;
}

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

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--pt888-gold);
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions__text {
    font-size: 1rem;
    color: var(--pt888-text-main);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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

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

.page-promotions__card {
    background-color: var(--pt888-card-bg);
    border: 1px solid var(--pt888-border);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it respects width/height */
    min-width: 200px; /* Min image size enforcement */
    min-height: 200px; /* Min image size enforcement */
}

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--pt888-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__card-text {
    font-size: 0.95rem;
    color: var(--pt888-text-secondary);
    margin-bottom: 15px;
    flex-grow: 1; /* Pushes buttons to bottom */
}

.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(--pt888-text-main);
    font-size: 0.95rem;
}

.page-promotions__list li::before {
    content: '✓';
    color: var(--pt888-secondary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.page-promotions__list-item-title {
    color: var(--pt888-text-main);
    font-weight: bold;
}

.page-promotions__ordered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__ordered-list li {
    margin-bottom: 10px;
    color: var(--pt888-text-main);
    font-size: 1rem;
}

.page-promotions__nested-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 10px;
    color: var(--pt888-text-secondary);
    font-size: 0.95rem;
}

.page-promotions__nested-list li {
    margin-bottom: 5px;
}

.page-promotions__content-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min image size enforcement */
    min-height: 200px; /* Min image size enforcement */
}

/* FAQ Section */
.page-promotions__faq {
    background-color: var(--pt888-deep-green);
    border-top: 1px solid var(--pt888-divider);
    border-bottom: 1px solid var(--pt888-divider);
}

.page-promotions__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__faq-item {
    background-color: var(--pt888-card-bg);
    border: 1px solid var(--pt888-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--pt888-gold);
    cursor: pointer;
    background-color: var(--pt888-deep-green);
    border-bottom: 1px solid var(--pt888-divider);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid var(--pt888-border); /* Slightly darker border when open */
}

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

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
    color: var(--pt888-gold);
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--pt888-text-secondary);
    text-align: left;
    background-color: var(--pt888-card-bg);
}

.page-promotions__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* Call to Action Section */
.page-promotions__call-to-action {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--pt888-deep-green);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

    .page-promotions__hero-content {
        margin-top: 20px;
    }

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

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

    .page-promotions__section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

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

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

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 30px 15px;
        padding-top: 10px;
    }

    .page-promotions__hero-content {
        margin-top: 15px;
    }

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

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

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

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

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

    .page-promotions__container {
        padding: 0 15px;
    }

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

    .page-promotions__text {
        font-size: 0.9rem;
    }

    .page-promotions__card-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-promotions__card {
        padding: 20px;
    }

    .page-promotions__card-image {
        height: 180px;
    }

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

    .page-promotions__card-text,
    .page-promotions__list li,
    .page-promotions__ordered-list li,
    .page-promotions__nested-list li {
        font-size: 0.875rem;
    }

    .page-promotions__content-image {
        margin: 20px auto;
    }

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

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

    /* Mobile image responsiveness enforcement */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-promotions__hero-image-wrapper,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__section,
    .page-promotions__card-grid,
    .page-promotions__faq-list,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-section,
    .page-promotions__call-to-action,
    .page-promotions__introduction,
    .page-promotions__types,
    .page-promotions__guide,
    .page-promotions__terms,
    .page-promotions__benefits,
    .page-promotions__commitment,
    .page-promotions__faq {
        padding-left: 0 !important; /* Reset section padding for container to handle */
        padding-right: 0 !important;
    }

    /* Mobile button responsiveness enforcement */
    .page-promotions__cta-button,
    .page-promotions__cta-button--small,
    .page-promotions__cta-button--large {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 10px; /* Stack buttons */
    }

    .page-promotions__card .page-promotions__cta-button {
        display: block !important; /* Ensure buttons stack in cards */
    }
    .page-promotions__card .page-promotions__cta-button:last-child {
        margin-bottom: 0;
    }
}