/* General page styles */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text on dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-promotions__section-title {
    font-size: 32px;
    font-weight: bold;
    color: #E5B80B; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0A2463; /* Deep blue underline */
    border-radius: 2px;
}

.page-promotions__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #0A2463; /* Deep blue background */
    overflow: hidden;
    /* Assuming shared.css handles body padding-top, so no additional offset here */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #E5B80B; /* Gold for main title */
}

.page-promotions__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-promotions__hero-cta {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    background-color: #E5B80B; /* Gold button */
    color: #0A2463; /* Deep blue text on gold */
    border: none;
    cursor: pointer;
}

.page-promotions__hero-cta:hover {
    background-color: #ffd700; /* Lighter gold on hover */
    transform: translateY(-3px);
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3; /* Subtle background image */
}

.page-promotions__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Intro Section */
.page-promotions__intro-section {
    padding: 80px 0;
    background-color: #0A2463; /* Deep blue background */
    color: #f0f0f0;
}

/* Category Section */
.page-promotions__categories-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-promotions__category-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-promotions__category-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #E5B80B; /* Gold for card titles */
}

.page-promotions__card-description {
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
    color: #f0f0f0;
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: transparent;
    color: #E5B80B; /* Gold text */
    border: 2px solid #E5B80B; /* Gold border */
    cursor: pointer;
    margin-top: auto; /* Push button to bottom */
}

.page-promotions__btn-secondary:hover {
    background-color: #E5B80B; /* Gold background on hover */
    color: #0A2463; /* Deep blue text on hover */
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #0A2463; /* Deep blue background */
    color: #f0f0f0;
}

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

.page-promotions__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background-color: #E5B80B; /* Gold icon background */
    color: #0A2463; /* Deep blue icon text */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-promotions__step-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #E5B80B; /* Gold for step titles */
}

.page-promotions__step-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.page-promotions__terms-content {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-subtitle {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #E5B80B; /* Gold for subtitles */
}

.page-promotions__terms-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #f0f0f0;
}

.page-promotions__terms-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-promotions__terms-list li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: #0A2463;
    color: #f0f0f0;
}

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

.page-promotions__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-promotions__benefit-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #E5B80B; /* Gold for benefit titles */
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

/* FAQ item styles - as per requirements */
.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #0A2463; /* Dark blue for FAQ item */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #0A2463; /* Dark blue background */
    border: 1px solid #E5B80B; /* Gold border */
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #ffffff;
}

.page-promotions__faq-question:hover {
    background: #1a3a7a; /* Slightly lighter dark blue on hover */
    border-color: #ffd700;
}

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

.page-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #E5B80B; /* Gold for toggle icon */
    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: 28px;
    height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    color: #ffd700; /* Lighter gold when active */
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.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 15px;
    opacity: 0;
    background-color: #1a3a7a; /* Darker blue for answer background */
    color: #f0f0f0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    border-radius: 0 0 5px 5px;
}

.page-promotions__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #f0f0f0;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
    padding: 60px 0;
    background-color: #0A2463;
    text-align: center;
    color: #f0f0f0;
}

/* General Buttons */
.page-promotions__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    background-color: #E5B80B; /* Gold button */
    color: #0A2463; /* Deep blue text on gold */
    border: none;
    cursor: pointer;
}

.page-promotions__btn-primary:hover {
    background-color: #ffd700; /* Lighter gold on hover */
    transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        min-height: 500px;
        padding: 80px 0;
    }
    .page-promotions__hero-title {
        font-size: 40px;
    }
    .page-promotions__hero-description {
        font-size: 18px;
    }
    .page-promotions__section-title {
        font-size: 28px;
    }
    .page-promotions__category-grid,
    .page-promotions__steps-grid,
    .page-promotions__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-promotions__category-card img {
        
    }
    .page-promotions__card-title {
        font-size: 20px;
    }
    .page-promotions__step-title {
        font-size: 22px;
    }
    .page-promotions__benefit-title {
        font-size: 20px;
    }
    .page-promotions__faq-question h3 {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-promotions__hero-section {
        padding: 60px 0 !important; /* Ensure padding-top is appropriate for mobile */
        min-height: 400px;
    }
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-promotions__hero-cta {
        padding: 12px 25px;
        font-size: 18px;
    }

    /* 所有图片的基础响应式样式 */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 通用容器和section的padding */
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__intro-section,
    .page-promotions__categories-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__why-choose-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom-section {
        padding: 40px 0;
    }

    .page-promotions__section-title {
        font-size: 24px;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }
    .page-promotions__section-title::after {
        width: 60px;
        height: 3px;
    }
    .page-promotions__text-block {
        font-size: 15px;
    }

    /* 按钮与按钮容器 */
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        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;
        margin-bottom: 10px; /* Add some spacing between stacked buttons */
    }
    .page-promotions__category-card .page-promotions__btn-secondary {
        width: auto !important; /* Override full width for card buttons to allow centering */
        max-width: fit-content !important;
        margin-left: auto;
        margin-right: auto;
    }
    .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;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }

    /* 其他内容模块 */
    .page-promotions__category-grid,
    .page-promotions__steps-grid,
    .page-promotions__benefits-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    .page-promotions__category-card img {
        
    }
    .page-promotions__card-title {
        font-size: 18px;
    }
    .page-promotions__card-description {
        font-size: 14px;
    }
    .page-promotions__step-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-promotions__step-title {
        font-size: 20px;
    }
    .page-promotions__step-description {
        font-size: 15px;
    }
    .page-promotions__terms-subtitle {
        font-size: 20px;
        margin-top: 25px;
    }
    .page-promotions__terms-content p,
    .page-promotions__terms-list li {
        font-size: 15px;
    }
    .page-promotions__benefit-title {
        font-size: 18px;
    }

    /* FAQ */
    .page-promotions__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-promotions__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 15px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px !important;
    }
}