/**
 * Quantum Chronicles 3D Background
 * True 3D depth with x, y, z coordinates
 * CSP-compliant - no inline styles
 */

/* Canvas container - visible background layer */
.quantum-3d-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Canvas element - Three.js handles sizing via setSize() */
.quantum-3d-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Keep navy background with proper layering */
body.music-page {
    position: relative;
    background: var(--navy-dark);
    z-index: auto;
}

/* Very subtle overlay above canvas for text readability */
.music-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.15);
    z-index: 15;
    pointer-events: none;
}

/* Ensure all content is above the overlay and canvas */
.music-container,
.header-with-logo,
.quantum-menu-wrapper,
.music-footer {
    position: relative;
    z-index: 100;
}

/* Performance optimization for reduced motion - particles still, but visible */
@media (prefers-reduced-motion: reduce) {
    .quantum-3d-canvas canvas {
        animation: none !important;
    }
}
