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

body {
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
}

#scene-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Info Panel Styles */
.info-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transform: translateX(120%);
    transition: transform 0.5s ease;
    box-shadow: 0 0 20px rgba(0, 100, 255, 0.3);
    z-index: 10;
}

.info-panel.visible {
    transform: translateX(0);
}

.info-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #4fc3f7;
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.info-panel p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.info-panel .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Control Panel */
.control-panel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 15px 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 10;
}

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

.speed-control label {
    font-size: 0.9rem;
    color: #bbb;
}

.speed-control input[type="range"] {
    width: 200px;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.speed-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4fc3f7;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.8);
}

/* Planet Labels */
.planet-label {
    position: absolute;
    color: white;
    font-size: 14px;
    pointer-events: none;
    text-shadow: 0 0 5px #000;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

/* Instructions */
.instructions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 14px;
    color: #aaa;
    z-index: 10;
}

/* Music Control */
.music-control {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 14px;
    color: #aaa;
    z-index: 10;
    cursor: pointer;
}

/* Loading Screen */
.loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 1s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-screen h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4fc3f7;
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.loading-bar {
    width: 300px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: #4fc3f7;
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .info-panel {
        width: 90%;
        right: 5%;
    }
    
    .control-panel {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
    }
}