/* Water glass visual styles */
.glass {
    width: 100px;
    height: 140px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 100%);
    border: 3px solid #333;
    border-radius: 0 0 10px 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    animation: glass-wobble 2s ease-in-out infinite;
}

@keyframes glass-wobble {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(1deg);
    }
    75% {
        transform: rotate(-1deg);
    }
}

.water {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to bottom, #4fc3f7, #03a9f4);
    border-radius: 0 0 8px 8px;
    transition: all 0.3s ease;
}

.wave {
    position: absolute;
    top: -10px;
    left: 0;
    width: 200%;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: wave-animation 2s infinite ease-in-out;
}

.wave2 {
    animation-delay: -1s;
    opacity: 0.6;
}

@keyframes wave-animation {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-25%) translateY(-2px);
    }
    100% {
        transform: translateX(0%) translateY(0);
    }
}

.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    border-radius: 50%;
    opacity: 0;
}

.b1 {
    width: 8px;
    height: 8px;
    left: 20%;
    bottom: 10%;
    animation: bubble-rise 3s infinite ease-in;
}

.b2 {
    width: 6px;
    height: 6px;
    left: 60%;
    bottom: 5%;
    animation: bubble-rise 3.5s infinite ease-in 0.5s;
}

.b3 {
    width: 7px;
    height: 7px;
    left: 80%;
    bottom: 8%;
    animation: bubble-rise 4s infinite ease-in 1s;
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-80px) scale(0.5);
        opacity: 0;
    }
}
