body {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    margin: 0;
    padding: 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.led-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.led {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.led:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px white;
}
.red { background-color: red; box-shadow: 0 0 10px red; }
.yellow { background-color: yellow; box-shadow: 0 0 10px yellow; }
.orange { background-color: orange; box-shadow: 0 0 10px orange; }
.blue { background-color: blue; box-shadow: 0 0 10px blue; }
.green { background-color: green; box-shadow: 0 0 10px green; }
.violet { background-color: violet; box-shadow: 0 0 10px violet; }
.uv { background-color: #9400D3; box-shadow: 0 0 10px #9400D3; }
.white { background-color: white; box-shadow: 0 0 10px white; }

#control-panel {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #555;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

#led-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

input[type="range"] {
    width: 80%;
    margin: 15px 0;
    accent-color: #00ffff;
}

.hidden {
    display: none;
}
input[type="range"] {
    -webkit-appearance: none;
    width: 80%;
    height: 10px;
    background: linear-gradient(90deg, #00f260, #0575e6);
    border-radius: 5px;
    outline: none;
    margin: 15px 0;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid #00f260;
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid #00f260;
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}