﻿.liquidButtonContainer {
    margin: 4rem auto;
    text-align: center;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-liquid {
    display: inline-block;
    position: relative;
    width: 280px;
    height: 60px;
    border-radius: 30px;
    color: #fff;
    font: 600 16px/60px "Montserrat", sans-serif;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(92, 61, 9, 0.2);
}

    .btn-liquid:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(92, 61, 9, 0.3);
    }

    .btn-liquid:active {
        transform: translateY(1px);
    }

    .btn-liquid .inner {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .btn-liquid .inner::before {
            content: "🍯"; /* Иконка меда */
            font-size: 1.2rem;
        }

    .btn-liquid canvas {
        position: absolute;
        top: -50px;
        right: -50px;
        bottom: -50px;
        left: -50px;
        z-index: 1;
        border-radius: 30px;
    }

/* Альтернативный вариант без canvas для лучшей производительности */
.btn-liquid-fallback {
    display: inline-block;
    position: relative;
    width: 280px;
    height: 60px;
    border-radius: 30px;
    color: #fff;
    font: 600 16px/60px "Montserrat", sans-serif;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(92, 61, 9, 0.2);
    background: linear-gradient(90deg, #e6b236, #f0c45a);
}

    .btn-liquid-fallback:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(92, 61, 9, 0.3);
        background: linear-gradient(90deg, #d5a22c, #e6b236);
    }

    .btn-liquid-fallback:active {
        transform: translateY(1px);
    }

    .btn-liquid-fallback .inner {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .btn-liquid-fallback .inner::before {
            content: "🍯";
            font-size: 1.2rem;
        }

    .btn-liquid-fallback::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: rotate(45deg);
        animation: liquidShine 3s infinite linear;
        z-index: 1;
    }

@keyframes liquidShine {
    0% {
        left: -50%;
    }

    100% {
        left: 150%;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .btn-liquid, .btn-liquid-fallback {
        width: 250px;
        height: 55px;
        font-size: 14px;
        line-height: 55px;
    }

    .liquidButtonContainer {
        margin: 3rem auto;
    }
}
