/* style/promotions.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General styles for the promotions page content */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-bottom: 60px; /* Space above footer */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark background for hero */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Video Section */
.page-promotions__video-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    text-align: center;
    color: #ffffff;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.page-promotions__video-caption {
    margin-top: 20px;
    font-size: 1.1em;
    color: #e0e0e0;
}

/* Section General */
.page-promotions__section {
    padding: 60px 0;
    background-color: #121212; /* Match body background */
    color: #ffffff;
}

.page-promotions__section:nth-of-type(even) {
    background-color: #1a1a1a; /* Alternate section background for visual separation */
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section 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: #CC0000; /* Red underline */
    border-radius: 2px;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
    text-align: justify;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__btn-primary {
    background-color: #CC0000; /* Main red */
    color: #ffffff;
    border: 2px solid #CC0000;
}

.page-promotions__btn-primary:hover {
    background-color: #FFD700; /* Gold on hover */
    color: #121212;
    border-color: #FFD700;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
    background-color: #FFD700; /* Gold on hover */
    color: #121212;
    border-color: #FFD700;
}

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

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

.page-promotions__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    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;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff; /* Light text for card content */
}

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

.page-promotions__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-promotions__card-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
}

.page-promotions__card-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows text to take available space */
}

/* Terms and Conditions List */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__terms-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #CC0000;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #e0e0e0;
}

.page-promotions__terms-subtitle {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

/* How-To-Claim Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #CC0000;
    color: #ffffff;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-promotions__step-description {
    font-size: 1em;
    color: #e0e0e0;
    text-align: center;
}

.page-promotions__step-description a {
    color: #CC0000;
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-description a:hover {
    text-decoration: underline;
}

/* Why Choose Section */
.page-promotions__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__benefits-list li {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__benefit-icon {
    width: 200px; /* Enforce min-size 200x200 for content images */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%; /* Make icons circular if desired */
    background-color: rgba(204, 0, 0, 0.1); /* Light red background for icons */
}

.page-promotions__benefit-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    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: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700; /* Gold for FAQ questions */
    cursor: pointer;
    background-color: #CC0000; /* Red background for question */
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #a00000; /* Darker red on hover */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'X' or use '-' */
    content: '−'; /* Change to minus sign */
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding for collapsed state */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #e0e0e0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure it overrides */
    padding: 20px 25px; /* Padding for expanded state */
}

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

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }

    /* Enforce responsive images, videos, and buttons */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .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;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-promotions__cta-button,
    .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: 12px 20px !important; /* Adjust padding for mobile buttons */
    }

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

    .page-promotions__card-image {
        min-height: 150px; /* Adjust min-height for mobile cards */
    }

    .page-promotions__card-title {
        font-size: 1.4em;
    }

    .page-promotions__terms-item,
    .page-promotions__step-card,
    .page-promotions__benefits-list li {
        padding: 20px;
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

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

    .page-promotions__benefit-icon {
        width: 150px; /* Adjust icon size for mobile */
        height: 150px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
}