/* ==========================================================================
   ✨ ARKANA (АРКАНА) — 3D ANIMATED EMOJI KINETIC DESIGN SYSTEM
   Kinematic 3D WebP emojis with hardware acceleration, micro-levitation,
   champagne-gold pulse glow, and responsive interactive hover feedback.
   ========================================================================== */

.emoji-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.24em;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform, filter;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 6px rgba(230, 197, 148, 0.22));
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
}

.emoji-3d-xs {
  width: 17px;
  height: 17px;
  min-width: 17px;
  min-height: 17px;
  margin-right: 4px;
}

.emoji-3d-sm {
  width: 21px;
  height: 21px;
  min-width: 21px;
  min-height: 21px;
  margin-right: 5px;
}

.emoji-3d-md {
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  margin-right: 6px;
}

.emoji-3d-lg {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  margin-right: 8px;
}

@keyframes arkanaEmojiFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -2.2px, 0);
  }
}

@keyframes arkanaEmojiPulse {
  0%, 100% {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 4px rgba(230, 197, 148, 0.22));
  }
  50% {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 10px rgba(230, 197, 148, 0.52)) drop-shadow(0 0 14px rgba(223, 173, 148, 0.35));
  }
}

.emoji-3d-alive {
  animation: arkanaEmojiFloat 3.2s ease-in-out infinite, arkanaEmojiPulse 2.8s ease-in-out infinite;
}

button:hover .emoji-3d,
a:hover .emoji-3d,
.ae-nav-btn:hover .emoji-3d,
.ae-tone-btn:hover .emoji-3d,
.ae-btn-primary:hover .emoji-3d,
.ae-btn-ghost:hover .emoji-3d {
  transform: translate3d(0, -2px, 0) scale(1.16);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 12px rgba(230, 197, 148, 0.72));
}

@media (prefers-reduced-motion: reduce) {
  .emoji-3d,
  .emoji-3d-alive {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
