/* Liquid Button Animation */
.liquid-button {
    position: relative;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--brand-blue);
    /* Changed from white to visible color in light mode */
    background: transparent;
    border: 2px solid var(--brand-blue);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
    z-index: 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(25, 154, 255, 0.2);
}

.liquid-button span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.liquid-button .liquid {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-blue);
    z-index: 1;
    transition: top 0.4s ease-in-out;
}

.liquid-button:hover .liquid {
    top: 0;
}

.liquid-button:hover {
    box-shadow: 0 0 20px var(--brand-blue);
    color: white;
}

/* Wave Effect inside the liquid */
.liquid::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: #29e8d9;
    /* User defined color (Cyan) */
    border-radius: 40%;
    animation: wave 6s infinite linear;
    opacity: 0.4;
    /* Adjusted opacity for visibility */
}

.liquid::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: #29e8d9;
    /* User defined color (Cyan) */
    border-radius: 45%;
    animation: wave 10s infinite linear;
    opacity: 0.2;
    /* Adjusted opacity for visibility */
}

/* Header Button Variant */
.liquid-button.header-btn {
    padding: 0.6rem 1.5rem;
    /* Smaller padding for header */
    font-size: 0.9rem;
    box-shadow: none;
    /* Cleaner look in header? Or keep it? keeping it but maybe smaller */
}

.liquid-button.header-btn:hover {
    box-shadow: 0 0 15px var(--brand-blue);
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}