/**
 * Like Button Styling
 */

.like-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 12px 0;
    overflow: visible;
}

.jubilee-counter {
    margin: 0;
}

.counter-text {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.counter-label {
    color: #1a1a1a;
}

.counter-number {
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
}

.counter-number.updated {
    animation: bounce 0.5s ease;
    color: #27ae60;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.like-button-wrapper {
    position: relative;
    display: inline-block;
    overflow: visible;
    z-index: 1;
}

.like-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.like-button .button-icon {
    font-size: 16px;
    line-height: 1;
}

.like-button:hover:not(.clicked):not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.like-button:active:not(.clicked):not(:disabled) {
    transform: translateY(0);
}

.like-button.clicked,
.like-button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.8;
}

/* Tooltip entfernt - nicht mehr benötigt */

/* Responsive Design - Plugin auf Mobilgeräten ausblenden */
@media (max-width: 768px) {
    .like-button-container {
        display: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .counter-text {
        color: #e0e0e0;
    }
    
    .counter-number {
        color: #8b9aff;
    }
}

/* Feuerwerk-Effekt */
.pyro {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    margin-top: -250px;
    margin-left: -250px;
    pointer-events: none;
    z-index: 9999;
    overflow: visible;
}

.pyro > .before,
.pyro > .after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-top: -2.5px;
    margin-left: -2.5px;
    box-shadow: 0 0 #fff;
    animation: 1s gravity ease-in 1s forwards;
}

.pyro > .after {
    animation-delay: 1.25s;
    animation-duration: 1.25s;
}

@keyframes gravity {
    to {
        transform: translateY(200px);
        opacity: 0;
    }
}

