.like-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
}

.like-btn-big {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    outline: none;
    line-height: 1;
    padding: 0;
    gap: 6px;
    z-index: 2;
}

.like-btn-big:hover {
    transform: scale(1.06);
}

.like-btn-big:active {
    transform: scale(0.88);
}

.like-btn-big.is-circle {
    border-radius: 50%;
}

.like-btn-big.is-rounded {
    border-radius: 20px;
    width: auto !important;
    min-width: 120px;
    padding: 20px 30px;
    flex-direction: row;
}

.like-btn-big.is-square {
    border-radius: 12px;
}

.like-btn-big i {
    display: block;
    transition: transform 0.1s ease;
}

.like-btn-big .btn-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.like-btn-big.animating i {
    animation: heartBeat 0.4s ease;
}

@keyframes heartBeat {
    0%   { transform: scale(1); }
    15%  { transform: scale(1.35); }
    30%  { transform: scale(0.95); }
    45%  { transform: scale(1.2); }
    60%  { transform: scale(1); }
    100% { transform: scale(1); }
}

.like-count {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-count.inside {
    font-size: 14px;
    opacity: 0.9;
}

.like-count.pop {
    transform: scale(1.5);
}

/* Floating icons - IG Live style */
.floating-hearts-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 10;
    overflow: visible;
}

.floating-heart {
    position: absolute;
    bottom: 0;
    left: 50%;
    font-size: 24px;
    color: #ff4757;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.floating-heart.animate {
    animation: floatUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translate(-50%, 0) scale(0.3) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translate(calc(-50% + var(--drift-x) * 0.3), -30px) scale(1.1) rotate(var(--rot-start));
    }
    40% {
        opacity: 0.9;
        transform: translate(calc(-50% + var(--drift-x) * 0.7), -80px) scale(1) rotate(calc(var(--rot-start) + 15deg));
    }
    70% {
        opacity: 0.5;
        transform: translate(calc(-50% + var(--drift-x)), -140px) scale(0.8) rotate(calc(var(--rot-start) + 30deg));
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--drift-x) * 1.2), -200px) scale(0.4) rotate(calc(var(--rot-start) + 45deg));
    }
}

/* Ripple effect on button */
.like-btn-big::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
}

.like-btn-big.ripple::after {
    animation: rippleOut 0.5s ease-out;
}

@keyframes rippleOut {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .like-btn-big.is-rounded {
        min-width: 100px;
        padding: 15px 20px;
    }
    .floating-hearts-container {
        height: 160px;
    }
    @keyframes floatUp {
        0% { opacity: 1; transform: translate(-50%, 0) scale(0.3) rotate(0deg); }
        15% { opacity: 1; transform: translate(calc(-50% + var(--drift-x) * 0.3), -25px) scale(1.1) rotate(var(--rot-start)); }
        40% { opacity: 0.9; transform: translate(calc(-50% + var(--drift-x) * 0.7), -60px) scale(1) rotate(calc(var(--rot-start) + 15deg)); }
        70% { opacity: 0.5; transform: translate(calc(-50% + var(--drift-x)), -100px) scale(0.8) rotate(calc(var(--rot-start) + 30deg)); }
        100% { opacity: 0; transform: translate(calc(-50% + var(--drift-x) * 1.2), -150px) scale(0.4) rotate(calc(var(--rot-start) + 45deg)); }
    }
}
