/* انیمیشن کارت‌های شناور برای موبایل */
@media (max-width: 768px) {
    .floating-card {
        position: relative !important;
        animation: mobileFloat 3s ease-in-out infinite !important;
        margin: 10px 0;
        width: 100%;
        max-width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: rgba(255, 255, 255, 0.2);
        padding: 15px;
        border-radius: 10px;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }
    
    .floating-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .hero-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        height: auto;
        min-height: 200px;
        position: relative;
    }
    
    .floating-card:first-child,
    .floating-card:nth-child(2),
    .floating-card:nth-child(3),
    .floating-card:nth-child(4) {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation-delay: 0s !important;
        float: none !important;
        clear: both !important;
    }
    
    /* انیمیشن‌های مختلف برای هر کارت */
    .floating-card:first-child {
        animation: mobileFloat1 3s ease-in-out infinite !important;
        animation-delay: 0s !important;
    }
    
    .floating-card:nth-child(2) {
        animation: mobileFloat2 3s ease-in-out infinite !important;
        animation-delay: 0.5s !important;
    }
    
    .floating-card:nth-child(3) {
        animation: mobileFloat3 3s ease-in-out infinite !important;
        animation-delay: 1s !important;
    }
    
    .floating-card:nth-child(4) {
        animation: mobileFloat4 3s ease-in-out infinite !important;
        animation-delay: 1.5s !important;
    }
}

/* انیمیشن‌های مختلف برای کارت‌ها */
@keyframes mobileFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes mobileFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    30% { transform: translateY(-12px) rotate(-1deg); }
    60% { transform: translateY(-18px) rotate(0deg); }
    90% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes mobileFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    20% { transform: translateY(-8px) rotate(1deg); }
    40% { transform: translateY(-16px) rotate(0deg); }
    80% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes mobileFloat4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    35% { transform: translateY(-14px) rotate(-1deg); }
    70% { transform: translateY(-20px) rotate(0deg); }
    85% { transform: translateY(-7px) rotate(1deg); }
}

/* انیمیشن کلی برای موبایل */
@keyframes mobileFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
