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

body {
    font-family: 'Georgia', serif;
    background: #0a0a0f;
    color: #e0e0e0;
    min-height: 100vh;
    overflow: hidden;
}

#sim-canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    cursor: crosshair;
}

/* Controls overlay */
#controls {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    transition: opacity 0.3s;
}

#controls.hidden {
    opacity: 0;
    pointer-events: none;
}

#controls label {
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

#controls input[type="range"] {
    width: 80px;
    accent-color: #7eb8da;
    height: 3px;
}

#controls select {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

#controls button {
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

#controls button:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ddd;
}

/* Info overlay */
#info {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.8s;
}

#info h1 {
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: 0.15em;
    color: rgba(126, 184, 218, 0.9);
    margin-bottom: 0.4rem;
}

#info p {
    font-size: 0.8rem;
    color: rgba(200, 200, 200, 0.6);
    letter-spacing: 0.05em;
}

#info.faded {
    opacity: 0;
}

/* Preset name flash */
#preset-flash {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    color: rgba(126, 184, 218, 0.8);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 10;
    font-family: 'Georgia', serif;
}

#preset-flash.visible {
    opacity: 1;
}

/* Color scheme indicator */
#color-name {
    color: #666;
    font-style: italic;
}

/* Toggle controls hint */
#toggle-hint {
    position: fixed;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'SF Mono', 'Fira Code', monospace;
    z-index: 10;
}
