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

body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    background-color: #050510;
    color: #ffffff;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#ui-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(15, 15, 25, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: slideIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transform: translateX(-50px);
    opacity: 0;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}

p {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.disclaimer {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 10px;
    margin-bottom: 0px;
    line-height: 1.5;
    font-style: italic;
    max-width: 280px;
}

.controls-hint {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 10px;
}

.controls-hint span {
    color: #4facfe;
    font-weight: 600;
}

.sliders-container {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.slider-group label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #4facfe;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-link:hover {
    color: #4facfe;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    #ui-container {
        top: 20px;
        left: 20px;
        right: 20px;
        padding: 20px;
        transform: translateY(-20px);
    }
    
    @keyframes slideIn {
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    h1 {
        font-size: 20px;
    }
    
    .disclaimer {
        max-width: 100%;
        font-size: 11px;
        margin-top: 12px;
    }
}
