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

.page-promotions {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* 图在上，文案在下 */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* body 已承担 --header-offset，此处仅为装饰性顶距 */
    overflow: hidden; /* 防止内容溢出 */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* 限制大图宽度 */
    margin-bottom: 30px; /* 图片与文字内容间距 */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-promotions__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    color: var(--text-main); /* 确保在深色背景上文字清晰 */
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* 响应式字号 */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* 允许按钮换行 */
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 600px; /* 限制按钮组宽度 */
    margin: 0 auto;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* 包含 padding 和 border 在宽度内 */
    white-space: normal; /* 允许文字换行 */
    word-wrap: break-word; /* 强制文字换行 */
    text-align: center;
}

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

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-2px);
}

.page-promotions__btn-tertiary {
    background: var(--deep-green);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    padding: 10px 20px;
}

.page-promotions__btn-tertiary:hover {
    background: var(--primary-color);
    opacity: 0.9;
}

.page-promotions__btn-center {
    margin-left: auto;
    margin-right: auto;
    display: block; /* 使其独占一行并居中 */
    max-width: 300px; /* 限制居中按钮的最大宽度 */
}

.page-promotions__section {
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.page-promotions__dark-section {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.page-promotions__content-area {
    background-color: var(--bg-dark); /* 确保背景色一致 */
    color: var(--text-main);
}

.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, 3.5vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions__text-block {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__text-center {
    text-align: center;
}

.page-promotions__features-grid,
.page-promotions__promo-card-grid,
.page-promotions__steps-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-promotions__promo-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-promotions__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-promotions__feature-card,
.page-promotions__promo-card,
.page-promotions__step-card,
.page-promotions__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 顶部对齐 */
    color: var(--text-main);
}

.page-promotions__feature-image,
.page-promotions__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* 限制图片高度 */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* 确保图片独占一行 */
    min-width: 200px; /* 最小尺寸要求 */
    min-height: 200px; /* 最小尺寸要求 */
}

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

.page-promotions__card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* 确保文本内容撑开空间 */
}

.page-promotions__promo-category {
    margin-bottom: 60px;
}

.page-promotions__category-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.page-promotions__category-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.page-promotions__list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.page-promotions__list li:last-child {
    margin-bottom: 0;
}

.page-promotions__list li strong {
    color: var(--gold-color);
    margin-right: 10px;
}

.page-promotions__step-icon {
    background: var(--button-gradient);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-promotions__how-to-claim a {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-promotions__how-to-claim a:hover {
    color: var(--glow-color);
}

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

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gold-color);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

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

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

/* Bottom CTA */
.page-promotions__cta-bottom {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--deep-green); /* Slightly different dark background */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__section {
        padding: 60px 15px;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__features-grid,
    .page-promotions__promo-card-grid,
    .page-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body 已承担 --header-offset，此处禁止 var(--header-offset) */
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-promotions__description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1rem;
    }

    .page-promotions__section {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 1rem;
    }

    /* 强制图片响应式 */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* 确保最小尺寸 */
        min-height: 200px !important; /* 确保最小尺寸 */
    }

    .page-promotions__hero-image-wrapper,
    .page-promotions__container,
    .page-promotions__feature-card,
    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__card,
    .page-promotions__list li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding for content within cards/containers */
        padding-right: 15px;
    }

    .page-promotions__promo-card-grid,
    .page-promotions__features-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
    }

    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95rem;
    }
    .page-promotions__cta-bottom {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-tertiary {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}