/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    overflow: hidden;
    background-color: #000;
    color: white;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    z-index: 1000;
    text-align: center;
}

#loading-progress {
    width: 300px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

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

#loading-details {
    font-size: 14px;
    margin-top: 10px;
}

#title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
}

#info-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px;
    border-radius: 10px;
    max-width: 350px;
    max-height: 80vh;
    z-index: 100;
    display: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(79, 195, 247, 0.3);
    overflow-y: auto;
}

#info-panel h2 {
    margin-bottom: 10px;
    color: #4fc3f7;
    text-align: center;
}

#planet-viewer-container {
    width: 100%;
    height: 200px;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(79, 195, 247, 0.5);
    background: rgba(0, 0, 0, 0.3);
}

#planet-viewer {
    width: 100%;
    height: 100%;
}

.info-text {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
}

.planet-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    font-size: 13px;
}

.planet-stats div {
    background: rgba(79, 195, 247, 0.1);
    padding: 8px;
    border-radius: 5px;
}

#controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

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

label {
    font-size: 14px;
    color: #ccc;
}

input[type="range"] {
    width: 200px;
}

button {
    background: #4fc3f7;
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #29b6f6;
}

#instructions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    max-width: 250px;
    z-index: 100;
}

.planet-label {
    position: absolute;
    color: white;
    font-weight: bold;
    text-shadow: 0 0 5px black;
    font-size: 16px;
    text-transform: uppercase;
    pointer-events: auto;
    cursor: pointer;
    z-index: 999999;

}