/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.1);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #22c55e, #10b981, #059669);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #16a34a, #059669, #047857);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

/* Animated Background Gradient */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animated-bg {
    background: linear-gradient(-45deg, #f0fdf4, #dcfce7, #d1fae5, #a7f3d0);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}
.shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}
.pulse-glow {
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Input Focus Glow */
.input-focus:focus {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1), 0 0 0 2px rgba(34, 197, 94, 0.5);
    border-color: #22c55e;
}

/* Result Number Animation */
@keyframes numberPop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.number-pop {
    animation: numberPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Comparison Card */
.comparison-card {
    transition: all 0.3s ease;
}
.comparison-card.winner {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

