body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#container {
    position: absolute;
    width: 100%;
    height: 100%;
}

#info-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 10px;
    z-index: 100;
}

#info-panel h2 {
    margin-top: 0;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

/* Controles futuristas - Versão Sofisticada */
#controls {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    background: rgba(15, 20, 30, 0.85); /* Fundo mais escuro */
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(120, 150, 200, 0.15);
    box-shadow: 0 0 25px rgba(100, 150, 220, 0.15),
                inset 0 0 10px rgba(150, 180, 220, 0.1);
}

#controls button {
    background: none;
    color: #a0d8ff; /* Azul mais suave */
    border: 1px solid rgba(100, 180, 255, 0.4);
    padding: 10px 22px;
    margin: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(100, 180, 255, 0.2),
                inset 0 0 4px rgba(100, 180, 255, 0.1);
    text-shadow: 0 0 8px rgba(160, 216, 255, 0.4);
}

#controls button:hover {
    background: rgba(100, 180, 255, 0.08);
    color: #c0e6ff;
    box-shadow: 0 0 12px rgba(100, 180, 255, 0.3),
                inset 0 0 6px rgba(100, 180, 255, 0.2);
    transform: translateY(-1px);
}

#speed-control {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(100, 150, 200, 0.1);
}

#speed-control label {
    display: block;
    margin-bottom: 12px;
    color: #b0d0ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-shadow: 0 0 6px rgba(176, 208, 255, 0.3);
}

#speed {
    -webkit-appearane: none;
    width: 100%;
    height: 5px;
    background: rgba(40, 60, 90, 0.4);
    border-radius: 3px;
    outline: none;
}

#speed::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #a0d8ff;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(160, 216, 255, 0.5),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: none;
    transition: all 0.2s ease;
}

#speed::-webkit-slider-thumb:hover {
    background: #c0e6ff;
    box-shadow: 0 0 12px rgba(160, 216, 255, 0.7);
}

/* Efeito de brilho sutil */
@keyframes subtle-glow {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

#controls::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 16px;
    background: linear-gradient(135deg, 
              rgba(100, 180, 255, 0.1), 
              rgba(150, 200, 255, 0.05));
    z-index: -1;
    animation: subtle-glow 4s infinite;
    pointer-events: none;
}


#planet-info img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 5px;
}

.details {
    margin-top: 10px;
    font-size: 0.9em;
    line-height: 1.5;
}

#planet-info ul {
    margin: 5px 0;
    padding-left: 20px;
}

#planet-info li {
    list-style-type: disc;
}
.sun-image {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 30px #FFD700;
    margin: 10px 0;
}

.sun-fact {
    color: #FFA500;
    font-style: italic;
    margin-top: 10px;
}

#info-panel h3 {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Container principal */
#controls-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: flex-end;
}

/* Alça de controle */
#controls-handle {
    width: 30px;
    height: 30px;
    background: rgba(15, 20, 30, 0.85);
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #a0d8ff;
    font-size: 18px;
    border: 1px solid rgba(100, 180, 255, 0.2);
    border-right: none;
    user-select: none;
    transition: all 0.3s ease;
}

#controls-handle:hover {
    background: rgba(100, 180, 255, 0.1);
}

/* Painel de controles */
#controls {
    background: rgba(15, 20, 30, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 0 8px 8px 8px;
    padding: 12px;
    width: 180px;
    border: 1px solid rgba(100, 180, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transform-origin: left bottom;
    transition: all 0.3s ease;
}

/* Estado recolhido */
#controls-container.collapsed #controls {
    transform: scaleX(0);
    opacity: 0;
    pointer-events: none;
    margin-left: -10px;
}

#controls-container.collapsed #controls-handle {
    border-radius: 8px;
    background: rgba(100, 180, 255, 0.1);
}

/* Efeito de hover na alça quando recolhido */
#controls-container.collapsed #controls-handle:hover {
    background: rgba(100, 180, 255, 0.2);
}

/* Botões (mantenha seu estilo existente) */
#controls button {
    /* Seu estilo atual de botões */
    width: 100%;
    margin: 6px 0;
}
#controls-handle::before {
    content: "☰";
    transition: all 0.3s ease;
}

#controls-container:not(.collapsed) #controls-handle::before {
    content: "×";
    font-size: 24px;
}
body {
    overflow: hidden;
    margin: 0;
}

canvas {
    display: block;
    position: relative;
    z-index: 1;
}

#info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 99;
    display: none;
}

#info-panel {
    /* Seus estilos atuais */
    transition: all 0.3s ease;
    z-index: 100;
}

#info-panel.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}