body {
    margin: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    perspective: none;
    transform: none;
    color: white;
}

#sky-container {
    position: relative;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    z-index: 1;
    /* Ensure it takes available height, important for flex-grow */
    min-height: 0;
}

#starCanvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#controls-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 10;
    /* Added for responsiveness */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    max-width: 90%; /* Limit max width */
}

#controls-panel button {
    padding: 10px 15px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.2s ease;
}

#controls-panel button:hover {
     background-color: rgba(255, 255, 255, 0.2);
}

#current-constellation-name {
    font-size: 1.2em;
    min-width: 150px;
    text-align: center;
    font-weight: bold;
    /* Added for responsiveness */
    flex-grow: 1; /* Allow name to take available space */
    padding: 0 10px; /* Add padding */
    box-sizing: border-box;
    word-wrap: break-word; /* Prevent overflow on small screens */
}