/* UI Overlay for Monolith */
#ui-overlay {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none; /* Let clicks pass through to 3D scene */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#ui-overlay a {
    pointer-events: auto; /* Enable clicks on links */
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

#ui-overlay a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.journey-text {
    position: fixed;
    top: 50%;
    right: 4rem;
    transform: translateY(-50%);
    width: 300px;
    color: #fff;
    text-align: right;
    pointer-events: none;
    opacity: 0; /* Hidden by default, can be toggled via JS later */
    transition: opacity 1s ease;
}

@media (max-width: 768px) {
    #ui-overlay {
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        align-items: center;
    }
}
