/**
 * ALGA ARENA — Reflective Floor
 * Adds polished floor geometry and environmental shadows
 */

'use strict';

window.CinematicReflection = (() => {
    let floor;

    const init = (scene) => {
        // Specular floor plane
        const floorGeo = new THREE.PlaneGeometry(30, 30);
        const floorMat = new THREE.MeshStandardMaterial({
            color: 0x05070c,
            roughness: 0.25,
            metalness: 0.8
        });

        floor = new THREE.Mesh(floorGeo, floorMat);
        floor.rotation.x = -Math.PI / 2;
        floor.position.y = -3.2; // Position below core
        scene.add(floor);
    };

    return { init };
})();
