/* Perfect Heart Styles using Emoji */

/* Loading Screen Heart Emojis */
.heart-emoji {
    font-size: 40px;
    display: inline-block;
    margin: 0 10px;
    animation: heartbeat-emoji 1.2s infinite;
    line-height: 1;
}

.heart-emoji:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes heartbeat-emoji {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
}

/* Floating Heart Emojis */
.heart-float-emoji {
    position: absolute;
    font-size: 20px;
    line-height: 1;
    opacity: 0.7;
    animation: floatUpEmoji 6s infinite linear;
    pointer-events: none;
}

.heart-float-emoji:nth-child(1) { left: 10%; animation-delay: 0s; }
.heart-float-emoji:nth-child(2) { left: 30%; animation-delay: 2s; }
.heart-float-emoji:nth-child(3) { left: 50%; animation-delay: 4s; }
.heart-float-emoji:nth-child(4) { left: 70%; animation-delay: 1s; }
.heart-float-emoji:nth-child(5) { left: 90%; animation-delay: 3s; }

@keyframes floatUpEmoji {
    0% {
        bottom: -100px;
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        bottom: 100vh;
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}

/* Backup CSS Hearts for compatibility */
.heart-css {
    position: relative;
    width: 32px;
    height: 29px;
    background: #ff6b6b;
    transform: rotate(-45deg);
    animation: heartbeat 1.2s infinite;
    margin: 0 10px;
    display: inline-block;
}

.heart-css:before,
.heart-css:after {
    content: '';
    width: 16px;
    height: 24px;
    position: absolute;
    left: 16px;
    top: 0;
    background: #ff6b6b;
    border-radius: 16px 16px 0 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart-css:after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

/* Hide the old CSS hearts */
.heart-loader .heart {
    display: none !important;
}

.heart-float {
    display: none !important;
}
