/* Estilos base del modal */
.retrocam-modal { position: fixed; inset: 0; background: #000; z-index: 9999; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0; visibility: hidden; }
.retrocam-modal.active { transform: translateY(0); opacity: 1; visibility: visible; }

.cam-top-bar { padding: 20px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); position: absolute; top: 0; width: 100%; z-index: 10; }
.cam-btn { all: unset; color: white; font-size: 1.5rem; cursor: pointer; text-shadow: 0 0 10px rgba(0,255,255,0.5); width: 40px; text-align: center; }
.cam-btn.active { color: var(--neon-blue); }

.cam-viewfinder { flex-grow: 1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#cam-video { width: 100%; height: 100%; object-fit: cover; }

/* Zoom Slider Táctico */
.zoom-control { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 15; }
.zoom-slider { appearance: none; width: 150px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; transform: rotate(-90deg); cursor: pointer; }
.zoom-slider::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; background: var(--neon-blue); border-radius: 50%; box-shadow: 0 0 10px var(--neon-blue); }

.cam-bottom-bar { padding: 20px 20px 40px; background: linear-gradient(to top, rgba(0,0,0,1) 40%, transparent); position: absolute; bottom: 0; width: 100%; z-index: 10; display: flex; flex-direction: column; gap: 20px; }

.shutter-row { display: flex; justify-content: space-around; align-items: center; }
.shutter-btn { width: 70px; height: 70px; border-radius: 50%; border: 4px solid white; background: transparent; display: flex; justify-content: center; align-items: center; }
.shutter-inner { width: 54px; height: 54px; border-radius: 50%; background: white; transition: 0.3s; }
.shutter-btn.recording .shutter-inner { background: red; border-radius: 8px; transform: scale(0.6); }

.profile-selector { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.profile-pill { background: rgba(255,255,255,0.1); border: 1px solid var(--border-color); color: white; padding: 6px 12px; border-radius: 15px; font-size: 0.7rem; font-family: var(--font-futuristic); white-space: nowrap; }
.profile-pill.active { background: var(--electric-violet); border-color: var(--neon-blue); }

.flash-screen { position: absolute; inset: 0; background: white; opacity: 0; pointer-events: none; z-index: 20; }
.flash-screen.flash { animation: flash-anim 0.2s; }
@keyframes flash-anim { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
