body {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

canvas {
    display: block;
}

.ui {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.ui h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #ffd700;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-group label {
    min-width: 100px;
    font-size: 14px;
}

.control-group input[type="range"] {
    flex: 1;
    min-width: 150px;
}

.control-group button {
    padding: 5px 15px;
    background: #4a4a4a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.control-group button:hover {
    background: #666;
}

.planet-info {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 200px;
    display: none;
    backdrop-filter: blur(10px);
}

.planet-info h3 {
    margin: 0 0 10px 0;
    color: #ffd700;
}

.planet-info p {
    margin: 5px 0;
    font-size: 14px;
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
