body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #050a15;
    color: #e0e6ed;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

#sky-canvas {
    display: block;
    cursor: grab;
}

#sky-canvas:active {
    cursor: grabbing;
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

#ui-layer > * {
    pointer-events: auto;
}

.header {
    position: absolute;
    top: 20px;
    left: 20px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.header p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.7;
}

.controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

#constellation-select {
    background: rgba(10, 20, 40, 0.8);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.hint {
    font-size: 12px;
    opacity: 0.5;
    font-style: italic;
}

#info-panel {
    position: absolute;
    bottom: 40px;
    left: 20px;
    width: 300px;
    background: rgba(10, 20, 40, 0.9);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

#info-panel h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #fff;
}

#info-panel p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

#close-info {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

#close-info:hover {
    background: rgba(255,255,255,0.2);
}