/* INSTÄLLNING - Bakgrundsfärg för experimentet */
:root {
    --pond-bg: #09090b;
    --pond-canvas-border: rgba(255, 255, 255, 0.05);
    --pond-canvas-glow: rgba(139, 108, 255, 0.1);
}

body {
    overflow: hidden; /* Förhindra scroll om canvasen tar upp plats */
}

.experiment-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: calc(100vh - 100px);
    padding: 20px;
}

.experiment-header {
    text-align: center;
    margin-bottom: var(--spacing-4);
}

.experiment-title {
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.experiment-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pond-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 60vh;
    border: 1px solid var(--pond-canvas-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px var(--pond-canvas-glow);
    overflow: hidden;
    background: var(--pond-bg);
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.audio-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    background: rgba(9, 9, 11, 0.6);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.audio-mixer {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.audio-mixer.hidden {
    display: none;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-glow);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-glow);
    border: none;
}
