/* Custom Fonts & Styling */
body {
    font-family: 'Nunito', 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Floating Hearts Background Container */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Heart Particle Style */
.heart-particle {
    position: absolute;
    bottom: -50px;
    color: rgba(244, 63, 94, 0.4);
    font-size: 20px;
    user-select: none;
    pointer-events: none;
    animation: floatUp 8s ease-in-out infinite;
}

/* Floating Animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-108vh) rotate(360deg) translateX(60px);
        opacity: 0;
    }
}

/* Heartbeat Animation for primary button */
@keyframes heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.4), 0 4px 6px -4px rgba(244, 63, 94, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 25px -5px rgba(244, 63, 94, 0.6), 0 8px 10px -6px rgba(244, 63, 94, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.4), 0 4px 6px -4px rgba(244, 63, 94, 0.4);
    }
}

.animate-heartbeat {
    animation: heartbeat 2s infinite ease-in-out;
}

.animate-heartbeat:hover {
    animation: none;
    transform: scale(1.08);
    box-shadow: 0 25px 30px -5px rgba(244, 63, 94, 0.7), 0 12px 15px -6px rgba(244, 63, 94, 0.7);
}

/* Floating Image Animation */
@keyframes floatImg {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-float {
    animation: floatImg 4s ease-in-out infinite;
}

/* Glassmorphism styling */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.custom-shadow {
    box-shadow: 0 25px 50px -12px rgba(244, 63, 94, 0.25);
}

/* Drag and Drop Planner Styling */
.activity-item {
    cursor: grab;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.activity-item:active {
    cursor: grabbing;
}

.activity-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dropzone {
    min-height: 120px;
    border: 2px dashed rgba(244, 63, 94, 0.3);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.dropzone.dragover {
    border-color: rgba(244, 63, 94, 0.8);
    background-color: rgba(244, 63, 94, 0.05);
    transform: scale(1.01);
}

/* Crying Cinema alert animations */
@keyframes slideInUp {
    0% {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes cryingShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

.animate-slide-up {
    animation: slideInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.animate-crying-shake {
    animation: cryingShake 0.4s ease-in-out infinite;
}

/* Falling crying emojis animation */
@keyframes cryFloat {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translateY(105vh) rotate(360deg) scale(2);
        opacity: 0;
    }
}

.cry-particle {
    position: absolute;
    top: -50px;
    font-size: 30px;
    pointer-events: none;
    user-select: none;
    z-index: 9999;
    animation: cryFloat 4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
