
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
    background-color: #00000a; 
    color: #ffffff;
    transition: background-color 0.5s, color 0.5s;
}


#scene-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


#controls-container {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;
    width: 260px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#controls-container h2, #controls-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    font-weight: 500;
}

#ui-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

#ui-controls button {
    width: 48%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #444;
    color: white;
    font-size: 14px;
    transition: background-color 0.2s;
}

#ui-controls button:hover {
    background-color: #555;
}

.control-item {
    margin-bottom: 12px;
}

.control-item label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

input[type="range"] {
    width: 100%;
    cursor: pointer;
}


#tooltip {
    position: absolute;
    display: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    pointer-events: none; 
    font-size: 14px;
}


body.light-mode {
    background-color: #eef2f9;
    color: #333;
}
body.light-mode #controls-container {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}
body.light-mode #ui-controls button {
    background-color: #ddd;
    color: #333;
}
body.light-mode #ui-controls button:hover {
    background-color: #ccc;
}
body.light-mode #tooltip {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 1px solid #ddd;
}