/* ---- 3D Tilt (wird per tilt.js aktiviert) ---- */
.logo, .tile, .discord { position: relative; }
.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.tilt.is-tilting { transition: transform .08s linear; z-index: 3; }
.glare {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 55%);
  transition: opacity .3s;
}
.tilt.is-tilting .glare { opacity: 1; }
