/* VERRAS MO — animaties (eigen ontwerp) */
.gfx { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; pointer-events: auto; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(circle at 50% 45%, rgba(40, 25, 5, .55), rgba(0, 0, 0, .78)); }
.gfx.on { opacity: 1; } .gfx.off { opacity: 0; }
.gfx-epic { background: radial-gradient(circle at 50% 45%, rgba(90, 55, 0, .75), rgba(0, 0, 0, .92)); }
.gfx-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gfx-rays { position: absolute; left: 50%; top: 45%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(255, 213, 74, .22) 0deg 6deg, rgba(255, 213, 74, 0) 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 55%); mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  animation: gfx-rays 9s linear infinite; }
.gfx-obj { position: relative; z-index: 2; margin-top: -8vh; perspective: 800px; }
.gfx-ic { display: inline-block; font-size: min(38vw, 220px); line-height: 1; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 28px rgba(255, 200, 80, .35)); }
.gfx-epic .gfx-ic { font-size: min(56vw, 340px); }
.gfx-gold .gfx-ic { filter: sepia(1) saturate(5) hue-rotate(-12deg) brightness(1.12) contrast(1.05) drop-shadow(0 0 22px rgba(255, 196, 0, .85)) drop-shadow(0 0 60px rgba(255, 160, 0, .55)); }
.gfx-cap { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 3; display: grid; gap: 6px; justify-items: center; padding: 0 20px; text-align: center; color: #fff;
  opacity: 0; transform: translateY(14px); animation: gfx-cap .6s .45s ease forwards; }
.gfx-cap b { font: 800 clamp(22px, 6vw, 40px)/1.1 system-ui, sans-serif; letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.gfx-epic .gfx-cap b { background: linear-gradient(180deg, #fff6c8, #ffd54a 50%, #d79a00); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(26px, 8vw, 54px); }
.gfx-cap small { font: 500 clamp(14px, 3.8vw, 20px)/1.3 system-ui, sans-serif; color: #ffe9b0; max-width: 34ch; }
.gfx-calm .gfx-ic { font-size: min(30vw, 160px); }
/* bewegingen per cadeau */
.gfx-pop .gfx-ic { animation: gfx-pop 1s cubic-bezier(.2, 1.4, .4, 1) both, gfx-bob 2.6s 1s ease-in-out infinite; }
.gfx-rise .gfx-ic { animation: gfx-rise 3.6s ease-out both; }
.gfx-flicker .gfx-ic { animation: gfx-pop .8s cubic-bezier(.2, 1.4, .4, 1) both, gfx-flick .18s .8s ease-in-out infinite alternate; }
.gfx-spin .gfx-ic { animation: gfx-pop .9s cubic-bezier(.2, 1.4, .4, 1) both, gfx-spin 2.4s .6s linear infinite; }
.gfx-turn .gfx-ic { animation: gfx-zoom 1.1s cubic-bezier(.2, 1.3, .4, 1) both, gfx-spin 3.2s 1s ease-in-out infinite; }
.gfx-drop .gfx-ic { animation: gfx-drop 1.4s cubic-bezier(.3, 1.4, .5, 1) both, gfx-bob 2.6s 1.4s ease-in-out infinite; }
.gfx-drive .gfx-ic { animation: gfx-drive 3.6s cubic-bezier(.5, 0, .3, 1) both; }
.gfx-lion .gfx-ic { animation: gfx-roar 2.2s cubic-bezier(.2, 1.1, .3, 1) both, gfx-breathe 2.4s 2.2s ease-in-out infinite; }
@keyframes gfx-rays { to { transform: rotate(360deg); } }
@keyframes gfx-cap { to { opacity: 1; transform: none; } }
@keyframes gfx-pop { 0% { transform: scale(.2); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes gfx-bob { 50% { transform: translateY(-10px); } }
@keyframes gfx-rise { 0% { transform: translateY(40vh) scale(.6); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(-4vh) scale(1.05); } 100% { transform: translateY(-10vh) scale(1); opacity: 1; } }
@keyframes gfx-flick { to { transform: scale(1.06, .96) translateY(2px); } }
@keyframes gfx-spin { 0% { transform: rotateY(0); } 100% { transform: rotateY(360deg); } }
@keyframes gfx-zoom { 0% { transform: scale(.1) rotate(-25deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes gfx-drop { 0% { transform: translateY(-70vh) rotate(-8deg); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes gfx-drive { 0% { transform: translateX(80vw) skewX(10deg); } 35% { transform: translateX(0); } 65% { transform: translateX(-4vw); } 100% { transform: translateX(-90vw) skewX(-10deg); } }
@keyframes gfx-roar { 0% { transform: scale(.05); opacity: 0; } 55% { transform: scale(1.12); opacity: 1; } 75% { transform: scale(.97); } 100% { transform: scale(1); opacity: 1; } }
@keyframes gfx-breathe { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .gfx, .gfx * { animation: none !important; transition: opacity .2s !important; } }
