/* Slide 1 Responsive Optimizations */

/* 减小 Slide 1 的整体比例 */
.swiper-wrapper > .swiper-slide:first-child {
    font-size: 0.9em;
}

/* Hero Section - 减小标题和间距 */
.swiper-wrapper > .swiper-slide:first-child h1 {
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
}

.swiper-wrapper > .swiper-slide:first-child h1 .text-white {
    font-size: 2.5rem !important;
}

.swiper-wrapper > .swiper-slide:first-child h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
}

.swiper-wrapper > .swiper-slide:first-child h3 {
    font-size: 1.5rem !important;
}

/* 减小段落文字 */
.swiper-wrapper > .swiper-slide:first-child p {
    font-size: 0.95rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .text-xl {
    font-size: 1.1rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .text-lg {
    font-size: 1rem !important;
}

/* 减小间距 */
.swiper-wrapper > .swiper-slide:first-child .mb-16 {
    margin-bottom: 2rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .mb-12 {
    margin-bottom: 2rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .mb-8 {
    margin-bottom: 1.5rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* 减小 padding */
.swiper-wrapper > .swiper-slide:first-child .glass-panel {
    padding: 1.5rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .p-8 {
    padding: 1.5rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .p-6 {
    padding: 1.25rem !important;
}

/* 优化图表大小 */
.swiper-wrapper > .swiper-slide:first-child img {
    max-height: 300px;
    object-fit: contain;
}

/* 减小数字大小 */
.swiper-wrapper > .swiper-slide:first-child .text-5xl {
    font-size: 2.5rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .text-4xl {
    font-size: 2rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .text-3xl {
    font-size: 1.75rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .text-2xl {
    font-size: 1.5rem !important;
}

/* 减小 emoji 大小 */
.swiper-wrapper > .swiper-slide:first-child .text-6xl {
    font-size: 3rem !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .swiper-wrapper > .swiper-slide:first-child {
        font-size: 0.8em;
    }
    
    .swiper-wrapper > .swiper-slide:first-child h1 {
        font-size: 2rem !important;
    }
    
    .swiper-wrapper > .swiper-slide:first-child h1 .text-white {
        font-size: 1.75rem !important;
    }
    
    .swiper-wrapper > .swiper-slide:first-child h2 {
        font-size: 1.75rem !important;
    }
    
    .swiper-wrapper > .swiper-slide:first-child img {
        max-height: 200px;
    }
    
    .swiper-wrapper > .swiper-slide:first-child .py-20 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .swiper-wrapper > .swiper-slide:first-child {
        font-size: 0.85em;
    }
    
    .swiper-wrapper > .swiper-slide:first-child img {
        max-height: 250px;
    }
}

/* 确保内容不溢出 */
.swiper-wrapper > .swiper-slide:first-child section {
    max-height: 100vh;
    overflow-y: auto;
}

/* 优化网格布局 */
.swiper-wrapper > .swiper-slide:first-child .grid {
    gap: 1rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .gap-8 {
    gap: 1rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .gap-6 {
    gap: 0.75rem !important;
}

.swiper-wrapper > .swiper-slide:first-child .gap-4 {
    gap: 0.5rem !important;
}
