body {
    margin: 0;
    overflow: hidden; /* 스크롤바가 생기지 않도록 합니다 */
    background-color: #000010;
    position: relative; /* 자식 요소의 absolute 포지셔닝 기준 */
}

#galaxy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%; /* 이미지를 옆으로 움직이게 하기 위해 너비를 크게 설정 */
    height: 100%;
    object-fit: cover;
    z-index: -1; /* 캔버스 뒤로 보내기 */
    opacity: 0.15; /* 매우 희미하게 설정 */
    animation: pan-galaxy 180s linear infinite; /* 180초 동안 천천히 움직이는 애니메이션 */
}

@keyframes pan-galaxy {
    from { transform: translateX(0%); }
    to { transform: translateX(-33.33%); } /* width가 150%이므로 (1 - 100/150) 만큼 이동 */
}

/* 시계 스타일 */
#clock {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 400; /* 폰트 두께를 얇게 설정 */
    font-size: 2em;
    color: #e0e0e0;
    z-index: 10;
    /* 네온처럼 빛나는 효과 */
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #00a2ff, 0 0 30px #00a2ff;
}

/* 행성 정보창 스타일 */
#planet-info {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: rgba(0, 0, 20, 0.7);
    color: #e0e0e0;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Orbitron', sans-serif;
    z-index: 20;
    max-width: 300px;
    transition: opacity 0.5s ease;
    opacity: 1;
}

#planet-info.hidden {
    opacity: 0;
    pointer-events: none; /* 숨겨졌을 때 클릭 안 되게 함 */
}

canvas {
    display: block;
    background-color: transparent; /* 캔버스 배경을 투명하게 하여 아래 이미지가 보이도록 함 */
}