.btn-class {
    position: relative;
    display: inline-block;
    background-color: #00a2ff;
    /* Sea water base */
    cursor: pointer;
    overflow: hidden;
    /* Keeps waves inside */
    transition: background 0.3s ease;
}

/* The link inside */
.btn-class a {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    display: block;
}

/* First Ripple Layer */
.btn-class::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 300%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 1;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* Second Ripple Layer (Staggered) */
.btn-class::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 300%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    transition: transform 1.2s ease-out, opacity 1.2s ease-out;
}

/* Hover Interaction */
.btn-class:hover::before {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
}

.btn-class:hover::after {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
}

.btn-class:hover {
    background-color: #00a2ff;
}