:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --accent-color: #38bdf8;
    --label-bg: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevent scrolling */
    width: 100vw;
    height: 100vh;
}

#canvas-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#labels {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 4rem;
    pointer-events: none; /* Let clicks pass through to P5.js */
    z-index: 10;
}

.label {
    background: var(--label-bg);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

#labels:hover .label {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #labels {
        padding: 0 2rem;
        top: 1rem;
    }
    .label {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}
