Un momento de claridad
Respira… y escucha.
Este audio es un recurso de bienestar y reflexión. No sustituye asesoría profesional.
.meditation-wrap{
min-height: 50vh;
background:#fff;
display:flex;
align-items:center;
justify-content:center;
padding:24px;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
color:#111;
}
.med-center{ text-align:center; max-width:520px; width:100%; }
/* Orb más visible (colores MUY suaves, premium) */
.pulse-orb:hover{
transform:scale(1.03);
}
.pulse-orb{
width:190px;
height:190px;
border-radius:999px;
margin:0 auto 26px;
cursor:pointer;
background:
radial-gradient(circle at 30% 30%,
rgba(120,170,255,0.65) 0%,
rgba(170,140,255,0.42) 42%,
rgba(120,170,255,0.18) 65%,
rgba(255,255,255,0.03) 78%,
rgba(255,255,255,0.00) 100%
);
box-shadow:
0 0 0 1px rgba(160,170,255,0.20),
0 18px 45px rgba(80,90,160,0.12),
0 0 40px rgba(160,170,255,0.18),
inset 0 0 65px rgba(120,170,255,0.18);
transform: scale(1);
filter: blur(0px);
transition: transform 600ms ease, filter 600ms ease, box-shadow 600ms ease;
will-change: transform, filter;
}
/* Se activa cuando el wrapper tiene is-playing */
.meditation-wrap.is-playing .pulse-orb{
animation: breathe 4.8s ease-in-out infinite;
}
@keyframes breathe{
0%{ transform: scale(0.985); filter: blur(0px); }
50%{ transform: scale(1.06); filter: blur(0.35px); }
100%{ transform: scale(0.985); filter: blur(0px); }
}
.title{ font-size:22px; font-weight:600; margin:10px 0 4px; }
.subtitle{ font-size:14px; opacity:0.75; margin:0 0 16px; }
.med-audio{ width:100%; margin-top:8px; }
.disclaimer{ margin-top:14px; font-size:12px; opacity:0.6; line-height:1.35; }
(function(){
const root = document.getElementById('meditation-claridad');
if (!root) return;
const audio = root.querySelector('.med-audio');
const orb = document.getElementById('orb-button');
const setPlaying = (on) => root.classList.toggle('is-playing', on);
audio.addEventListener('play', () => setPlaying(true));
audio.addEventListener('pause', () => setPlaying(false));
audio.addEventListener('ended', () => setPlaying(false));
// 👇 CLICK EN EL ORB
orb.addEventListener('click', () => {
if(audio.paused){
audio.play();
}else{
audio.pause();
}
});
})();