.page-download {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
}

.page-download__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 40px;
    text-align: center;
    background-color: #111111;
    gap: 20px;
    border-bottom: 1px solid #3A2A12;
}

.page-download__hero-visual {
    width: 100%;
    max-width: 1200px;
}

.page-download__hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5;
    object-fit: cover;
    border-radius: 8px;
}

.page-download__hero-content {
    max-width: 900px;
    margin-top: 20px;
}

.page-download__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #F2C14E, #FFD36B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.page-download__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.page-download__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-download__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

.page-download__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
}

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

.page-download__btn--secondary {
    background: #111111;
    color: #FFD36B;
    border: 2px solid #3A2A12;
}

.page-download__btn--secondary:hover {
    background-color: #1a1a1a;
    border-color: #F2C14E;
    transform: translateY(-2px);
}

.page-download__platform-section,
.page-download__guide-section,
.page-download__benefits-section,
.page-download__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-download__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
    background: linear-gradient(90deg, #FFD36B, #F2C14E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.page-download__section-description {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.85;
}

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

.page-download__platform-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-download__card-icon img {
    
    
    object-fit: contain;
}

.page-download__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD36B;
}

.page-download__card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    flex-grow: 1;
}

.page-download__qr-code {
    margin-top: 15px;
    margin-bottom: 15px;
}

.page-download__qr-code img {
    width: 200px;
    height: 200px;
    border: 4px solid #F2C14E;
    border-radius: 8px;
    padding: 5px;
    background-color: #FFF;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

.page-download__qr-code p {
    font-size: 0.85rem;
    color: #F2C14E;
    font-weight: bold;
}

.page-download__btn--download {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
    width: 100%;
    max-width: 220px;
}

.page-download__btn--download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-download__step-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-download__step-number {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    font-size: 1.8rem;
    font-weight: bold;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-download__step-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFD36B;
}

.page-download__step-text {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    flex-grow: 1;
}

.page-download__step-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #3A2A12;
}

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

.page-download__benefit-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-download__benefit-card img {
    
    
    object-fit: contain;
    margin-bottom: 10px;
}

.page-download__benefit-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2C14E;
}

.page-download__benefit-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

.page-download__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-download__faq-question {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFF6D6;
    background-color: #1a1a1a;
    border-bottom: 1px solid #3A2A12;
}

.page-download__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-download__faq-question.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-download__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    color: #FFF6D6;
}

.page-download__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding: 15px 25px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-download__hero-visual img {
        aspect-ratio: 4/3;
    }

    .page-download__hero-content {
        margin-top: 0;
    }

    .page-download__hero-section {
        padding-bottom: 30px;
    }

    .page-download__platform-grid,
    .page-download__guide-steps,
    .page-download__benefits-grid {
        grid-template-columns: 1fr;
    }

    .page-download__qr-code img {
        
        
    }

    .page-download__btn--download {
        max-width: none;
    }

    .page-download__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-download__btn {
        min-width: unset;
        width: 100%;
        max-width: 300px;
    }

    .page-download__hero-section {
        padding-top: 10px; /* Small top padding for first section */
    }
}

@media (max-width: 768px) {
    .page-download__hero-visual img,
    .page-download__platform-card img,
    .page-download__qr-code img,
    .page-download__step-card img,
    .page-download__benefit-card img {
        max-width: 100%;
        height: auto;
    }

    .page-download__platform-card .page-download__card-icon img {
        
        
    }

    .page-download__benefit-card img {
        
        
    }
}

@media (max-width: 549px) {
    .page-download__section-title {
        font-size: 1.8rem;
    }

    .page-download__hero-content {
        padding: 0 10px;
    }

    .page-download__main-title {
        font-size: 2rem;
    }

    .page-download__hero-description {
        font-size: 1rem;
    }

    .page-download__btn {
        padding: 12px 25px;
    }
}

/* Ensure content images are not too small */
.page-download__platform-card img,
.page-download__qr-code img,
.page-download__step-card img,
.page-download__benefit-card img {
    min-width: 200px;
    min-height: 200px;
    /* Override specific small icon sizes if they were accidentally set */
    width: auto;
    height: auto;
}

/* Specific adjustment for small icons that were allowed to be small but are now restricted */
.page-download__card-icon img {
     /* Specific size for icons that are part of card design, but still >= 200px rule applies to content images */
    
    min-width: unset; /* Allow smaller for decorative icons if they are not content images */
    min-height: unset;
}

.page-download__benefit-card img {
    
    
    min-width: unset;
    min-height: unset;
}

/* Re-evaluate for strict 200px rule */
/* If these are considered content images, they must be 200px+. If decorative, they are technically disallowed if <200px. */
/* For now, assuming these are 'icons' that are part of card design, not 'content images' in the strict sense that must be 200x200. */
/* However, the rule states 'all images... minimum size must at least be 200x200 pixels'. */
/* This means the card icons (apple_logo, android_logo, windows_logo, mobile_access, fast_performance, exclusive_promotions, secure_gaming) need to be >=200x200 */
/* Adjusting image placeholder sizes to meet 200x200 minimum. */
/* The CSS for .page-download__card-icon img and .page-download__benefit-card img will be overridden by the global 200x200 rule if the images are considered 'content images'. */
/* For now, I will ensure the imageRequirements reflect >=200x200 and the CSS will allow them to be smaller for display purposes if needed, assuming the *generated* image is large. */
/* Re-checking the rule: 'Any width or height smaller than 200 pixels' is forbidden. */
/* This means the CSS display size also needs to be >=200px for all images in the content area. */
/* This is a very strict rule, impacting the design of icons. */
/* I will adjust the CSS for these 'icons' to ensure their display size is at least 200px. */

.page-download__card-icon img,
.page-download__benefit-card img {
    width: 200px; /* Enforcing minimum 200px display size */
    height: 200px; /* Enforcing minimum 200px display size */
    object-fit: contain;
}

@media (max-width: 768px) {
    .page-download__card-icon img,
    .page-download__benefit-card img {
         /* Still needs to be >=200px, so this media query is problematic */
         /* This is a violation */
    }
}

/* Re-re-evaluating the 200px rule: 'Content区图片 CSS 尺寸下限 (按作用范围，不按类名)：页面 CSS 中，凡选择器能选到 .page-download 下任意 img 的规则，均视为内容区图片，其 width/height/max-width/max-height 均不得使显示尺寸小于 200px' */
/* This means even in mobile, they cannot be smaller than 200px. This is very restrictive for icons/small elements. */
/* I must remove any CSS that makes them smaller than 200px. */

.page-download__card-icon img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.page-download__benefit-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* The mobile media query will not override these if they are set to 200px */
/* This implies that all visual elements, even decorative icons, must be quite large. */