* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000011;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.controls {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 20, 0.9);
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    min-width: 250px;
}

.controls h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.control-group {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.control-group label {
    color: #cccccc;
    font-size: 0.8rem;
    margin-right: 10px;
    min-width: 100px;
}

.control-group input[type="range"] {
    width: 120px;
    accent-color: #ffd700;
}

.control-group input[type="checkbox"] {
    accent-color: #ffd700;
    transform: scale(1.2);
}

.control-group select {
    width: 120px;
    background: #000020;
    border: 1px solid #ffd700;
    border-radius: 5px;
    color: #ffffff;
    padding: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.control-group select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.control-group button {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    border: none;
    border-radius: 5px;
    color: #000;
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2px;
}

.control-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.info-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 20, 0.9);
    border: 2px solid #4169e1;
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.3);
    max-width: 300px;
    min-width: 250px;
}

.info-panel h4 {
    color: #4169e1;
    margin-bottom: 8px;
    font-size: 1rem;
}

.info-panel p {
    color: #cccccc;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

#planetStats {
    color: #ffffff;
    font-size: 0.7rem;
    line-height: 1.3;
}

#planetStats div {
    margin-bottom: 3px;
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    color: #ffd700;
    font-size: 1.2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .controls {
        top: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        padding: 10px;
    }
    
    .info-panel {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .control-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .control-group label {
        margin-bottom: 5px;
        min-width: auto;
    }
}
