/* floatingcard.css — photo card between NADIA and AHMADIAN */

#floating-card {
  width: clamp(110px, 13vw, 190px);
  aspect-ratio: 3/4;
  flex-shrink: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.7s 1.1s ease forwards;
  transform: perspective(700px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  box-shadow: 0 8px 32px rgba(233,30,140,0.12), 0 2px 8px rgba(0,0,0,0.3);
  transition: box-shadow 0.4s ease;
}

#floating-card:hover {
  box-shadow: 0 20px 56px rgba(233,30,140,0.28), 0 4px 16px rgba(0,0,0,0.4);
}

#floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fcard-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-dark);
}
