:root {
    --primary-color: #C0392B; /* Deep Red */
    --secondary-color: #F39C12; /* Golden/Orange */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light: #f8f8f8;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --card-bg-light-mode: #ffffff;
    --border-color: #e0e0e0;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from body */
}

.page-promotions__main-content-wrapper {
    padding-top: 120px; /* Adjust for fixed header on desktop */
    background-color: var(--bg-dark);
}

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

.page-promotions__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b2d22 100%);
    overflow: hidden;
    border-bottom: 5px solid var(--secondary-color);
}

.page-promotions__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__hero-title {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

.page-promotions__btn-primary:hover {
    background: #e08e0b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    transition: transform 0.5s ease;
}

.page-promotions__hero-image:hover {
    transform: scale(1.02);
}

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

.page-promotions__featured-promotions .page-promotions__section-title,
.page-promotions__featured-promotions .page-promotions__section-description {
    color: var(--text-dark);
    text-shadow: none;
}

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

.page-promotions__promotion-card {
    background: var(--card-bg-light-mode);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.page-promotions__promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__card-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-button:hover {
    background: #a32f24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b2d22 100%);
    color: var(--text-light);
}

.page-promotions__how-to-claim .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__how-to-claim .page-promotions__section-description {
    color: var(--text-light);
}

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

.page-promotions__step-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions__step-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-promotions__step-image {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.page-promotions__step-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-promotions__step-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.page-promotions__step-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions__step-button:hover {
    background: #e08e0b;
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-promotions__terms-conditions .page-promotions__section-title,
.page-promotions__terms-conditions .page-promotions__section-description {
    color: var(--text-dark);
    text-shadow: none;
}

.page-promotions__terms-list {
    list-style: disc inside;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding-left: 20px;
}

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

.page-promotions__read-more-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-promotions__read-more-button:hover {
    background: #a32f24;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-promotions__faq-section .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__faq-section .page-promotions__section-description {
    color: var(--text-light);
}

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

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-promotions__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-light);
    pointer-events: none;
}

.page-promotions__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: var(--text-light);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important; /* Ensure content fits */
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 8px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Why Hi88 Section */
.page-promotions__why-hi88 {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-promotions__why-hi88 .page-promotions__section-title,
.page-promotions__why-hi88 .page-promotions__section-description {
    color: var(--text-dark);
    text-shadow: none;
}

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

.page-promotions__advantage-item {
    background: var(--card-bg-light-mode);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-promotions__advantage-item:hover {
    transform: translateY(-5px);
}

.page-promotions__advantage-icon {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

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

.page-promotions__advantage-text {
    font-size: 16px;
    color: var(--text-dark);
}

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

/* News Updates Section */
.page-promotions__news-updates {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-promotions__news-updates .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__news-updates .page-promotions__section-description {
    color: var(--text-light);
}

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

.page-promotions__blog-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.page-promotions__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-promotions__blog-item-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-promotions__blog-item-excerpt {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-promotions__blog-item-date {
    font-size: 14px;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 42px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-promotions__main-content-wrapper {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-promotions__hero-section {
        padding: 60px 0;
    }

    .page-promotions__hero-title {
        font-size: 36px;
    }

    .page-promotions__hero-description {
        font-size: 18px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-promotions__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 25px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-promotions__hero-image {
        margin-top: 20px;
        border-radius: 8px;
    }

    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-promotions__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-promotions__featured-promotions,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__why-hi88,
    .page-promotions__news-updates {
        padding: 50px 0;
    }

    .page-promotions__promotion-grid,
    .page-promotions__steps-grid,
    .page-promotions__advantages-grid,
    .page-promotions__blog-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .page-promotions__card-title {
        font-size: 20px;
    }

    .page-promotions__card-text {
        font-size: 15px;
    }

    .page-promotions__step-image {
        max-width: 120px;
    }

    .page-promotions__step-title {
        font-size: 20px;
    }

    .page-promotions__step-text {
        font-size: 15px;
    }

    .page-promotions__terms-list {
        font-size: 15px;
        padding-left: 15px;
    }

    .page-promotions__read-more-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .page-promotions__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }

    .page-promotions__faq-toggle {
        margin-left: 10px;
        width: 26px;
        height: 26px;
        font-size: 22px;
    }

    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px !important;
    }

    .page-promotions__advantage-icon {
        max-width: 80px;
    }

    .page-promotions__advantage-title {
        font-size: 20px;
    }

    .page-promotions__advantage-text {
        font-size: 15px;
    }

    .page-promotions__cta-bottom .page-promotions__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__blog-image {
        height: 160px;
    }

    .page-promotions__blog-item-title {
        font-size: 18px;
    }

    .page-promotions__blog-item-excerpt {
        font-size: 14px;
    }

    .page-promotions img,
    .page-promotions__hero-image,
    .page-promotions__card-image,
    .page-promotions__step-image,
    .page-promotions__advantage-icon,
    .page-promotions__blog-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}

/* Ensure all images are responsive by default */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Dark mode text color for dark background sections */
.page-promotions__dark-section p,
.page-promotions__dark-section li,
.page-promotions__dark-section .page-promotions__card-text,
.page-promotions__dark-section .page-promotions__blog-item-excerpt {
    color: var(--text-light);
}

/* Light mode text color for light background sections */
.page-promotions__light-bg p,
.page-promotions__light-bg li,
.page-promotions__light-bg .page-promotions__card-text,
.page-promotions__light-bg .page-promotions__blog-item-excerpt {
    color: var(--text-dark);
}

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__section-description,
.page-promotions__light-bg .page-promotions__card-title,
.page-promotions__light-bg .page-promotions__advantage-title,
.page-promotions__light-bg .page-promotions__blog-item-title {
    color: var(--primary-color);
}

.page-promotions__light-bg .page-promotions__advantage-text {
    color: var(--text-dark);
}

.page-promotions__light-bg .page-promotions__card-button {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.page-promotions__light-bg .page-promotions__card-button:hover {
    background: #e08e0b;
}