.intro-burst {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: layout style;
}

.taking-hits { will-change: transform; }

.intro-impact {
  position: absolute;
  display: block;
  transform: translate(-50%, -50%);
}

.intro-impact-hole {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  filter: drop-shadow(1px 3px 2px #000b);
  transform: rotate(var(--impact-turn));
  animation: punch-through 230ms cubic-bezier(.12, .8, .26, 1) both;
}

.intro-impact-dust {
  position: absolute;
  width: 170%;
  height: 140%;
  left: -35%;
  top: -25%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #d6cbb554, #aa9d8617 42%, transparent 68%);
  animation: impact-dust 800ms ease-out both;
}

.intro-impact-grit {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: var(--grit-size);
  height: calc(var(--grit-size) * 1.8);
  background: #d7d1c2;
  clip-path: polygon(0 15%, 70% 0, 100% 65%, 20% 100%);
  animation: impact-grit 680ms cubic-bezier(.12, .56, .42, 1) both;
}

.intro-impact-grit:nth-of-type(3n) { background: #6b655c; }
.intro-impact-grit:nth-of-type(4n) { background: #ef342b; }

@keyframes punch-through {
  0% { opacity: 0; transform: scale(2.2) rotate(var(--impact-turn)); }
  12% { opacity: 1; transform: scale(1.17) rotate(var(--impact-turn)); }
  48% { transform: scale(.93) rotate(var(--impact-turn)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--impact-turn)); }
}

@keyframes impact-dust {
  0% { opacity: 0; transform: scale(.25); }
  12% { opacity: .8; }
  100% { opacity: 0; transform: translate(10%, 12%) scale(1.8); }
}

@keyframes impact-grit {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  12% { opacity: .85; }
  100% { opacity: 0; transform: translate(var(--grit-x), var(--grit-y)) rotate(var(--grit-spin)); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-burst { display: none; }
  .intro-burst * { animation: none !important; }
  .taking-hits { will-change: auto; }
}
