/* Z-PETS — festa ao acertar, prêmios e guarda-roupa */
.cele { position: fixed; inset: 0; z-index: 9000; pointer-events: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cele-rays { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 228, 110, .55) 0 12deg, transparent 12deg 24deg); animation: celeRays 1.6s ease-out forwards; -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%); mask: radial-gradient(circle, #000 25%, transparent 68%); }
.cele.lv2 .cele-rays { background: repeating-conic-gradient(rgba(255, 140, 198, .5) 0 10deg, rgba(255, 228, 110, .5) 10deg 20deg, transparent 20deg 30deg); }
.cele.lv3 .cele-rays { background: repeating-conic-gradient(#FF5A6E88 0 8deg, #FFB93888 8deg 16deg, #4CD48388 16deg 24deg, #4DA6FF88 24deg 32deg, #9C6BFF88 32deg 40deg); }
@keyframes celeRays { from { transform: scale(.2) rotate(0); opacity: 0; } 20% { opacity: 1; } to { transform: scale(1.1) rotate(70deg); opacity: 0; } }
.cele-big { position: relative; font-size: 120px; animation: celeBig 1.5s cubic-bezier(.2, 1.6, .4, 1) forwards; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.cele.lv3 .cele-big { font-size: 150px; }
@keyframes celeBig { from { transform: scale(0) rotate(-30deg); } 25% { transform: scale(1.15) rotate(8deg); } 40% { transform: scale(1) rotate(0); } 80% { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.6) translateY(-80px); } }
.cele > i { position: absolute; font-style: normal; font-size: 30px; animation: celeBurst 1.3s ease-out forwards; opacity: 0; }
@keyframes celeBurst { from { transform: translate(0, 0) scale(.3); opacity: 1; } 70% { opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(200deg); opacity: 0; } }
.cele-plus { position: absolute; top: 58%; font-size: 40px; font-weight: 900; color: #fff; -webkit-text-stroke: 2px #E0A91C; text-shadow: 0 4px 0 #E0A91C; animation: celePlus 1.5s ease-out forwards; }
@keyframes celePlus { from { transform: translateY(20px) scale(.5); opacity: 0; } 25% { opacity: 1; transform: translateY(0) scale(1.15); } 80% { opacity: 1; } to { transform: translateY(-50px); opacity: 0; } }
.cele-combo { position: absolute; top: 28%; font-size: 34px; font-weight: 900; color: #FF5A2E; background: #fff; padding: 4px 16px; border-radius: 99px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); animation: celePlus 1.5s ease-out forwards; }

.end-lv { font-size: 34px; letter-spacing: 2px; animation: pzPop .5s .2s both; }
.end-earn { font-size: 40px; font-weight: 900; color: #fff; -webkit-text-stroke: 2px #E0A91C; text-shadow: 0 4px 0 #E0A91C; animation: pzPop .5s .4s both; }
.end-next { display: flex; align-items: center; gap: 8px; justify-content: center; background: #fff; border-radius: 99px; padding: 4px 14px; margin: 6px auto; width: fit-content; box-shadow: 0 3px 10px rgba(0, 0, 0, .12); }
.end-next > span { font-size: 30px; }
@keyframes pzPop { from { transform: scale(0); } 70% { transform: scale(1.2); } }

.pz-meter { display: flex; align-items: center; gap: 4px; }
.pz-ico { font-size: 16px; }
.pz-dots { display: flex; gap: 3px; }
.pz-dots i { width: 9px; height: 9px; border-radius: 50%; background: #E4DDF0; }
.pz-dots i.on { background: #FFB938; box-shadow: 0 0 0 1.5px #E0A91C inset; }
.pz-bar { width: 48px; height: 9px; border-radius: 9px; background: #E4DDF0; overflow: hidden; }
.pz-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FFD93D, #FF9F43); border-radius: 9px; }
.pz-meter.big .pz-ico { font-size: 30px; }
.pz-meter.big .pz-dots i { width: 18px; height: 18px; }
.pz-meter.big .pz-bar { width: 130px; height: 18px; }

.pz-preview { width: 150px; height: 150px; margin: 0 auto; }
.pz-count { font-weight: 900; color: #7A57E6; font-size: 18px; margin: 2px 0 8px; }
.pz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-height: 42vh; overflow-y: auto; padding: 6px; }
.pz-item { position: relative; aspect-ratio: 1 / 1.1; border: 0; border-radius: 18px; background: #F5F0FF; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px; box-shadow: 0 3px 0 #DCD0F5; }
.pz-item .pz-e { font-size: 36px; line-height: 1; }
.pz-item.own { background: linear-gradient(160deg, #FFF6D6, #FFE3F0); box-shadow: 0 3px 0 #F5C6DA; }
.pz-item.worn { box-shadow: 0 0 0 4px #4CD483, 0 3px 0 #2FA866; }
.pz-item.lock .pz-e { filter: grayscale(1) brightness(.35); opacity: .45; }
.pz-item.lock .pz-meter { transform: scale(.82); }
.pz-item.lock .pz-dots i { width: 7px; height: 7px; }
.pz-item.lock .pz-bar { width: 38px; }
.pz-item.next { animation: pzNext 1.4s ease-in-out infinite; background: #FFF9E0; }
@keyframes pzNext { 50% { transform: scale(1.07); } }
.pz-item.sel { outline: 4px solid #FF8CC6; }
.pz-chk { position: absolute; top: 2px; right: 4px; color: #2FA866; font-size: 18px; }
.pz-lk { position: absolute; top: 2px; right: 3px; font-size: 14px; }
.pz-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; background: #FFF6D6; border-radius: 20px; padding: 8px; animation: pzPop .35s; }
.pz-he { font-size: 40px; }
.pz-go { min-width: 56px; font-size: 24px; padding: 8px 14px; }

.pz-new { position: relative; min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; overflow: hidden; }
.pz-rays { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 217, 61, .45) 0 12deg, transparent 12deg 24deg); animation: pzSpin 8s linear infinite; -webkit-mask: radial-gradient(circle, #000 20%, transparent 65%); mask: radial-gradient(circle, #000 20%, transparent 65%); }
.pz-rays.on { background: repeating-conic-gradient(#FF5A6E66 0 8deg, #FFB93866 8deg 16deg, #4CD48366 16deg 24deg, #4DA6FF66 24deg 32deg, #9C6BFF66 32deg 40deg); }
@keyframes pzSpin { to { transform: rotate(360deg); } }
.pz-gift { position: relative; font-size: 130px; background: none; border: 0; animation: pzShake .9s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
@keyframes pzShake { 0%, 100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-10deg) scale(1.05); } 40% { transform: rotate(10deg) scale(1.1); } 60% { transform: rotate(-6deg) scale(1.05); } }
.pz-tap { position: relative; font-size: 44px; animation: pzTap 1s ease-in-out infinite; pointer-events: none; }
@keyframes pzTap { 50% { transform: translateY(-14px); } }
.pz-acc { position: relative; font-size: 76px; animation: pzPop .6s both; }
.pz-pet { position: relative; width: 170px; height: 170px; animation: pzPop .6s .15s both; }
.pz-name { position: relative; font-size: 30px; font-weight: 900; color: #E65A9C; animation: pzPop .5s .3s both; }
.pz-ok { position: relative; font-size: 26px; margin-top: 6px; }

.pz-fab { position: absolute; left: 10px; top: 128px; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border: 0; border-radius: 18px; padding: 6px 7px 7px; box-shadow: 0 4px 0 #E4DDF0, 0 6px 14px rgba(0, 0, 0, .12); }
.pz-fe { font-size: 30px; line-height: 1; }
.pz-fab .pz-ico { display: none; }
.pz-fab .pz-dots i { width: 6px; height: 6px; }
.pz-fab .pz-bar { width: 34px; height: 6px; }
.pz-fab.ready { animation: pzNext 1s ease-in-out infinite; background: #FFF3B0; }

/* ---------- abas e níveis (fácil 🥉, médio 🥈, difícil 🥇, brilhante 💎) ---------- */
.pz-tabs { display: flex; justify-content: center; gap: 8px; margin: 0 0 8px; }
.pz-tab { width: 58px; height: 50px; border: 0; border-radius: 16px; background: #F1EAFE; font-size: 28px; box-shadow: 0 3px 0 #DCD0F5; }
.pz-tab.on { background: linear-gradient(160deg, #FFB938, #FF7EB9); box-shadow: 0 3px 0 #D9577F; transform: translateY(-2px); }
.pz-tier { position: absolute; top: 1px; left: 3px; font-size: 14px; }
.pz-item.t-facil { box-shadow: 0 0 0 3px #A8E890 inset, 0 3px 0 #7ED957; }
.pz-item.t-medio { box-shadow: 0 0 0 3px #9ED3FF inset, 0 3px 0 #5EB8FF; }
.pz-item.t-dificil { box-shadow: 0 0 0 3px #FFD27A inset, 0 3px 0 #E0A91C; }
.pz-item.t-brilho { background: linear-gradient(135deg, #FFE3F3, #E9DDFF, #D8F3FF, #FFF3C9); background-size: 300% 300%; animation: pzRainbow 4s ease-in-out infinite; box-shadow: 0 0 0 3px #C77BFF inset, 0 3px 0 #9C5BE0, 0 0 10px rgba(199, 123, 255, .55); overflow: hidden; }
.pz-item.t-brilho::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%) 0 0/250% 100%; animation: pzShine 2.4s linear infinite; pointer-events: none; }
@keyframes pzRainbow { 50% { background-position: 100% 100%; } }
@keyframes pzShine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.pz-item.t-base { box-shadow: 0 3px 0 #DCD0F5; }
.pz-item.worn { outline: 4px solid #4CD483; outline-offset: -1px; }
.pz-item.next { animation: pzNext 1.4s ease-in-out infinite; }
.pz-hint .pz-sw { width: 64px; height: 52px; }
.pz-hint.t-brilho { background: linear-gradient(135deg, #FFE3F3, #E9DDFF, #D8F3FF); }
.pz-new.t-brilho .pz-rays { background: repeating-conic-gradient(#FF5A6E77 0 8deg, #FFB93877 8deg 16deg, #4CD48377 16deg 24deg, #4DA6FF77 24deg 32deg, #9C6BFF77 32deg 40deg); animation-duration: 4s; }
.pz-new.t-brilho .pz-gift { filter: drop-shadow(0 0 18px #C77BFF) drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
.pet-svg .acc-glow { animation: accGlow 1.6s ease-in-out infinite alternate; }
@keyframes accGlow { from { filter: drop-shadow(0 0 1px #fff); } to { filter: drop-shadow(0 0 5px #FFF07A) drop-shadow(0 0 2px #fff); } }
