/* 
   Pressure Drop - Reverted & Refined Stylesheet
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, .app-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #08306B; 
    font-family: 'Calibri Light', 'Segoe UI', sans-serif;
}

.app-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #08306B;
}

/* Reverted to the previous successful Gradient Layer */
.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #2171B5, #08519C, #08306B);
    background-size: 200% 200%;
    animation: gradientMove 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#water-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: none;
    z-index: 1;
    mix-blend-mode: screen; 
}

/* Visual Droplet Effect - Highly simplified to avoid any light outlines */
.droplet {
    position: absolute;
    background: #285d8f;
    opacity: 0.6;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    /* Very soft shadow only */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    will-change: width, height, transform;
    border: none;
    outline: none;
}

.droplet.hidden {
    display: none;
}

/* UI Overlay / Soundboard */
.ui-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    max-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px;
    transition: opacity 0.3s;
}

.settings-panel h3 {
    font-size: 11px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.control-section {
    margin-bottom: 20px;
}

.control-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.control-item label {
    font-size: 10px;
    margin-bottom: 4px;
    opacity: 0.7;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: #DEEBF7;
    border-radius: 50%;
    cursor: pointer;
}

.control-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 9px;
    width: 100%;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Tutorial Text */
.tutorial-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

#tutorial-text {
    background: rgba(0, 0, 0, 0.15);
    color: rgba(222, 235, 247, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.app-container:not(:hover) .ui-overlay {
    opacity: 0.05;
}
