/* Base styles */
body {
    margin: 0;
    overflow: hidden;
    background: #f5f5f5;
}

canvas {
    display: block;
}

/* Loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s;
}

/* Loading animation */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #333;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

/* Loading animation keyframes */
@keyframes rotation {
    0% { transform: rotate(0deg) }
    100% { transform: rotate(360deg) }
}

/* Style for UI slider */
#ui-controls {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
}

#scale-slider {
    width: 150px;
}
