#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fefefe;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.moto-container {
    position: relative;
    width: 466px;
    height: 188px;
    max-width: 90vw;
}

.moto-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.moto-background svg {
    width: 100%;
    height: 100%;
}

.moto-background svg path {
    fill: #cecece;
}

.moto-fill-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: url(#motoClipPath);
    -webkit-clip-path: url(#motoClipPath);
}

.liquid-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    overflow: visible;
}

/* Olas SVG animadas */
.waves-container {
    position: absolute;
    top: -60px;
    left: -10%;
    width: 120%;
    height: 80px;
}

.waves-svg {
    width: 200%;
    height: 100%;
    animation: waveSlide 3s linear infinite;
}

@keyframes waveSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Fondo sólido del líquido */
.liquid-body {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: calc(100% + 50px);
    background: linear-gradient(180deg, #ff8c42 0%, #ff6b1a 40%, #e55a00 100%);
}

#loading-text {
    font-size: 48px;
    font-weight: 700;
    color: #ff8c42;
    margin-top: 30px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
}

.clip-svg {
    position: absolute;
    width: 0;
    height: 0;
}

@media (max-width: 500px) {
    #loading-text {
        font-size: 32px;
    }
}
