.floating-emotions-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-emotion {
    position: absolute;
    animation: float 20s infinite ease-in-out;
    will-change: transform;
    pointer-events: auto;
    cursor: pointer;
}

.floating-emotion img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* 떠다니는 애니메이션 */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -50px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, -100px) rotate(-5deg);
    }
    75% {
        transform: translate(-40px, -50px) rotate(3deg);
    }
}

/* 다양한 애니메이션 패턴 추가 */
.floating-emotion:nth-child(odd) {
    animation-name: floatAlt1;
}

.floating-emotion:nth-child(3n) {
    animation-name: floatAlt2;
}

.floating-emotion:nth-child(4n) {
    animation-name: floatAlt3;
}

@keyframes floatAlt1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-40px, 60px) rotate(-7deg);
    }
    50% {
        transform: translate(30px, 120px) rotate(7deg);
    }
    75% {
        transform: translate(50px, 60px) rotate(-3deg);
    }
}

@keyframes floatAlt2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(60px, -40px) rotate(10deg);
    }
    66% {
        transform: translate(-50px, 80px) rotate(-10deg);
    }
}

@keyframes floatAlt3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(-30px, -60px) rotate(-5deg);
    }
    40% {
        transform: translate(40px, -30px) rotate(8deg);
    }
    60% {
        transform: translate(-20px, 50px) rotate(-8deg);
    }
    80% {
        transform: translate(50px, 20px) rotate(5deg);
    }
}

