body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-container {
    margin: 1.5rem 0;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.domain {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

#pipe-btn {
    width: 200px;
    height: 40px;
    background-color: #8B4513;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#pipe-btn:disabled {
    background-color: #CCCCCC;
    color: #666666;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.8;
}

#pipe-btn.pipe-slider {
    width: 20px;
    height: 120px;
    font-size: 0;
    border-radius: 3px;
}

#screen-cover {
    position: fixed;
    background: radial-gradient(ellipse at center, rgba(255, 255, 240, 0.95) 0%, rgba(255, 255, 230, 0.85) 30%, rgba(255, 250, 200, 0.75) 60%, rgba(255, 245, 180, 0.65) 100%);
    border-radius: 50%;
    display: none;
    pointer-events: none;
    z-index: 9999;
    transform-origin: center center;
    box-shadow: 0 0 30px rgba(255, 255, 220, 0.8);
}

#overlay-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 9998;
    pointer-events: none;
}

#droplets-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    display: none;
}

.droplet {
    position: absolute;
    background: rgba(255, 255, 235, 0.95);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 5px rgba(255, 255, 220, 0.8);
}

.droplet-trail {
    position: absolute;
    background: rgba(255, 255, 230, 0.7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}

.pipe-slider {
    animation: slider-movement 2s ease-in-out infinite;
}

@keyframes slider-movement {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-50px); }
    50% { transform: translateY(50px); }
    75% { transform: translateY(-30px); }
}

.liquid-spray {
    animation: spray-effect 3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes spray-effect {
    0% { 
        opacity: 0; 
        transform: scale(0.1); 
    }
    10% { 
        opacity: 0.85; 
        transform: scale(1.5) translateY(-15px); 
    }
    30% { 
        opacity: 0.8; 
        transform: scale(3.5) translateY(-35px); 
    }
    50% { 
        opacity: 0.75; 
        transform: scale(6.5) translateY(-70px); 
    }
    70% { 
        opacity: 0.7; 
        transform: scale(10) translateY(-110px); 
    }
    85% { 
        opacity: 0.65; 
        transform: scale(13.5) translateY(-150px); 
    }
    100% { 
        opacity: 0.6; 
        transform: scale(17) translateY(-190px); 
    }
}
