html, body {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
    background: #05060a;
    color: #e6eef8;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#topPanel, #bottomPanel {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #02020a;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.panelTitle {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: 4px 6px;
    background: rgba(0,0,0,0.4);
    border-radius: 4px;
    font-size: 13px;
}

#ui {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 15px;
    background: rgba(10, 10, 20, 0.9);
    border-top: 2px solid #0ff;
    box-shadow: 0 -2px 15px rgba(0, 255, 255, 0.3);
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.75em;
    color: #0ff;
    z-index: 10;
}

#ui h2 {
    margin: 0 0 10px 0;
    font-size: 1.4em;
    text-align: center;
    color: #0ff;
    text-shadow: 0 0 8px #0ff;
    border-bottom: 1px solid rgba(0,255,255,0.4);
    padding-bottom: 5px;
}

#ui h3 {
    margin: 10px 0 5px 0;
    font-size: 1.1em;
    color: #0ff;
    text-shadow: 0 0 6px #0ff;
}

#stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

#stats div {
    min-width: 150px;
    font-size: 0.95em;
    color: #9ff;
}

#stats span {
    color: #fff;
    font-weight: bold;
}

#controls {
    margin-top: 15px;
    border-top: 1px dashed rgba(0,255,255,0.3);
    padding-top: 10px;
}

#controls ul {
    list-style: none;
    padding-left: 0;
    margin: 5px 0 0 0;
    font-size: 0.9em;
    color: #9ff;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#controls li {
    margin: 3px 0;
}

#controls strong {
    color: #0ff;
    text-shadow: 0 0 6px #0ff;
}

.separador {
    width: 100%;        
    height: 5px;        
    background-color: #333; 
    margin: 5px 0;    
}

#planetInfo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background: rgba(10, 10, 30, 0.95);
    border: 2px solid #0ff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,255,255,0.6);
    font-family: "Consolas", "Courier New", monospace;
    color: #0ff;
    z-index: 200;
    text-align: center;
}

#planetInfo h2 {
    margin-bottom: 15px;
    text-shadow: 0 0 8px #0ff;
}

#planetInfo button {
    margin-top: 15px;
    padding: 5px 10px;
    background: transparent;
    border: 1px solid #0ff;
    color: #0ff;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

#planetInfo button:hover {
    background: #0ff;
    color: #000;
}

.hidden {
    display: none;
}