/* Rentals page (client, 2026-10-05): what is inside each bounce house, as animated inflatable icons that pop up on
   the photo just above the name when the card is hovered. Pairs with card-features.js. */
.card > .cfx{
  position:absolute; left:50%; top:0; z-index:6; translate:-50% -50%;
  display:flex; gap:9px; pointer-events:none;
}
.cfx__i{
  display:grid; place-items:center; width:52px; height:52px; border-radius:50%;
  background:rgba(255,250,240,.93); -webkit-backdrop-filter:blur(6px) saturate(1.15); backdrop-filter:blur(6px) saturate(1.15);
  box-shadow:0 8px 18px -10px rgba(8,21,43,.45);
  opacity:0; transform:translateY(14px) scale(.6);
  transition:opacity 200ms cubic-bezier(.22,1,.36,1), transform 200ms cubic-bezier(.22,1,.36,1);
}
.cfx__i svg{ width:40px; height:40px; overflow:visible; }
.card:hover .cfx__i, .card:focus-within .cfx__i{
  opacity:1; transform:none;
  transition:opacity 320ms cubic-bezier(.22,1,.36,1) calc(var(--i) * 80ms), transform 520ms cubic-bezier(.34,1.56,.64,1) calc(var(--i) * 80ms);
}

/* Each icon plays its own little loop while the card is hovered. */
@media (prefers-reduced-motion:no-preference){
  .cfx__i svg *{ transform-box:fill-box; }
  .card:hover .cfx-hop{ transform-origin:50% 100%; animation:cfx-hop 1.1s cubic-bezier(.45,0,.55,1) infinite; }
  .card:hover .cfx-shadow{ transform-origin:50% 50%; animation:cfx-shadow 1.1s cubic-bezier(.45,0,.55,1) infinite; }
  .card:hover .cfx-roll{ animation:cfx-roll 1.6s cubic-bezier(.5,0,.75,1) infinite; }
  .card:hover .cfx-shot{ animation:cfx-shot 1.7s cubic-bezier(.35,0,.65,1) infinite; }
  .card:hover .cfx-pop{ transform-origin:50% 100%; animation:cfx-pop 1.8s cubic-bezier(.34,1.56,.64,1) infinite; }
  .card:hover .cfx-pop--2{ animation-delay:.15s; }
  .card:hover .cfx-pop--3{ animation-delay:.3s; }
}
@keyframes cfx-hop{
  0%,100%{ transform:translateY(0) scale(1,1); }
  18%{ transform:translateY(0) scale(1.07,.9); }
  45%{ transform:translateY(-9px) scale(.95,1.06); }
  72%{ transform:translateY(0) scale(1.05,.93); }
  86%{ transform:translateY(0) scale(.99,1.02); }
}
@keyframes cfx-shadow{ 0%,18%,72%,100%{ transform:scaleX(1); opacity:.18; } 45%{ transform:scaleX(.72); opacity:.1; } }
@keyframes cfx-roll{
  0%{ transform:translate(0,0) rotate(0deg); opacity:0; }
  8%{ opacity:1; }
  30%{ transform:translate(13px,8px) rotate(140deg); }
  55%{ transform:translate(22px,26px) rotate(300deg); }
  80%{ transform:translate(33px,38px) rotate(460deg); opacity:1; }
  92%,100%{ transform:translate(38px,40px) rotate(520deg); opacity:0; }
}
@keyframes cfx-shot{
  0%{ transform:translate(-20px,24px); opacity:0; }
  10%{ opacity:1; }
  42%{ transform:translate(-8px,-10px); }
  58%{ transform:translate(0,-2px); }
  78%{ transform:translate(0,18px); opacity:1; }
  90%,100%{ transform:translate(0,24px); opacity:0; }
}
@keyframes cfx-pop{
  0%{ transform:scaleY(.3); }
  22%{ transform:scaleY(1.12); }
  36%{ transform:scaleY(.95); }
  48%,82%{ transform:scaleY(1); }
  100%{ transform:scaleY(.3); }
}

/* "what's inside" label (client, 2026-10-05): a small cream tag in the price tag's style, so it reads on any photo;
   "inside" in the gold script, and a hand-drawn arrow curving down to the icons. Comes in just before the icons. */
.card > .cfx .cfx__tag{
  position:absolute; left:50%; bottom:calc(100% + 8px); translate:-50% 0; display:flex; align-items:center; gap:4px; white-space:nowrap; pointer-events:none;
  padding:5px 8px 5px 12px; border-radius:8px; background:rgba(255,249,237,.93); -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px);
  opacity:0; transform:translateY(8px); transition:opacity 200ms cubic-bezier(.22,1,.36,1), transform 200ms cubic-bezier(.22,1,.36,1);
}
.cfx__word{ font:400 16px/1 "DM Serif Display", Georgia, serif; color:#08152B; }
.cfx__word em{ font:400 26px/.8 'Allura', cursive; font-style:normal; color:#A8803F; margin-left:2px; }
.cfx__arrow{ width:26px; height:19px; margin:4px 0 -10px; color:#A8803F; overflow:visible; }
.card:hover > .cfx .cfx__tag, .card:focus-within > .cfx .cfx__tag{ opacity:1; transform:none; transition:opacity 300ms cubic-bezier(.22,1,.36,1), transform 420ms cubic-bezier(.22,1,.36,1); }
