/* Happy Heartbeats - Like-Funktion für Klakker-Karten */

/* Debug: CSS geladen */
.happy-heartbeat-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    pointer-events: auto;
}

.happy-heartbeat-icon {
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: transform 0.2s ease;
    opacity: 0.8;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.happy-heartbeat-icon:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.happy-heartbeat-icon.clicked {
    animation: heartbeat 0.6s ease;
}

@keyframes heartbeat {
    0% { 
        transform: scale(1); 
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.3); 
        opacity: 1;
    }
    100% { 
        transform: scale(1); 
        opacity: 0.8;
    }
}

/* Aufsteigende Herzen-Animation */
.heart-particle {
    position: fixed;
    width: 12px;
    height: 12px;
    background: url('https://meinland.eu/wp-content/uploads/icons/25a/icon_happyheartbeats_265.png') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 9999;
    animation: float-up 1.5s ease-out forwards;
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translateY(0) scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.6);
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .happy-heartbeat-container {
        margin-top: 8px;
    }
    
    .happy-heartbeat-icon {
        width: 32px;
        height: 32px;
    }
    
    .heart-particle {
        width: 10px;
        height: 10px;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .happy-heartbeat-icon {
    filter: drop-shadow(0 1px 2px rgba(255,255,255,0.1));
}

[data-theme="dark"] .happy-heartbeat-icon:hover {
    filter: drop-shadow(0 2px 4px rgba(255,255,255,0.2));
} 