* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: monospace;
    overflow: hidden;
}

#info {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.85);
    padding: 15px;
    border-radius: 10px;
    color: white;
    z-index: 100;
    backdrop-filter: blur(10px);
    min-width: 300px;
    max-height: 90vh;
    overflow-y: auto;
    pointer-events: auto;
}

/* Scrollbar for planet controls */
.planet-controls-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.planet-controls-scroll::-webkit-scrollbar {
    width: 5px;
}

.planet-controls-scroll::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
}

.planet-controls-scroll::-webkit-scrollbar-thumb {
    background: #ffaa44;
    border-radius: 5px;
}

h2 {
    margin-bottom: 15px;
    color: #ffaa44;
    text-align: center;
    font-size: 18px;
}

h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #88aaff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
}

.section {
    margin-bottom: 20px;
}

.control {
    margin-bottom: 10px;
}

.control label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}

input[type="range"] {
    width: 100%;
    cursor: pointer;
}

.planet-moon-control {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.planet-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 12px;
}

.planet-color-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.moon-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.moon-counter button {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.moon-counter button:hover {
    background: rgba(255,216,155,0.4);
    transform: scale(1.05);
}

.moon-counter span {
    min-width: 25px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #ffd89b;
}

.moon-hint {
    font-size: 9px;
    color: #888;
    margin-top: 3px;
}

.stats {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
    font-size: 12px;
}

.stats div {
    margin: 5px 0;
}

#fps {
    color: #4caf50;
    font-weight: bold;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #ffaa44;
    border-radius: 5px;
}