.zone { position: relative; cursor: pointer; } /* --- HALO PRINCIPAL QUI RESPIRE --- */ .zone::before { content: ""; position: absolute; top: 50%; left: 50%; width: 150%; height: 150%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(rgba(255,255,200,0.55), rgba(255,255,255,0) 70%); opacity: 0; pointer-events: none; z-index: -1; animation: breathe 2.8s ease-in-out infinite; transition: opacity 0.4s ease-out; } .zone:hover::before { opacity: 1; } /* --- PETITES PARTICULES GLITTER --- */ .zone::after { content: ""; position: absolute; top: 50%; left: 50%; width: 170%; height: 170%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: -1; background-image: radial-gradient(rgba(255,255,255,0.8) 0%, transparent 70%), radial-gradient(rgba(255,255,255,0.6) 0%, transparent 70%), radial-gradient(rgba(255,255,180,0.7) 0%, transparent 70%); background-size: 8px 8px, 6px 6px, 10px 10px; background-position: 20% 30%, 70% 60%, 40% 80%; opacity: 0; animation: glitter 1.4s infinite alternate ease-in-out; transition: opacity 0.4s ease-out; } .zone:hover::after { opacity: 1; } /* --- ANIMATIONS --- */ @keyframes breathe { 0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.65; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.65; } } @keyframes glitter { 0% { background-position: 18% 30%, 72% 61%, 41% 79%; opacity: .3; } 100% { background-position: 22% 32%, 68% 58%, 39% 82%; opacity: .7; } }