@charset "utf-8";
/* CSS Document */

/* 漂浮叶子动画效果 - 平谷农业中关村大赛专用 */
.floating-leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,0 Q60,20 50,40 Q40,20 50,0 Z" fill="%238bc34a" opacity="0.6"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 10s linear infinite;
    opacity: 0;
}

/* 叶子颜色变体 */
.floating-leaf.variant-1 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,0 Q60,20 50,40 Q40,20 50,0 Z" fill="%232e7d32" opacity="0.7"/></svg>');
}

.floating-leaf.variant-2 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30,0 Q50,30 30,60 Q10,30 30,0 Z" fill="%23ffc107" opacity="0.5"/></svg>');
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    70% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .floating-leaf {
        width: 25px;
        height: 25px;
    }
}