.showcase {
  position: relative;
  flex: 1 1 560px;
  min-width: min(560px, 100%);
  max-width: 640px;
  margin: 0 auto;
}

.showcase__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1096 / 775;
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-chat);
}

.showcase__bg,
.showcase__front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase__bg {
  object-fit: cover;
}

.showcase__front {
  object-fit: contain;
  transform: scale(1.3) translate(6%, 4%);
}

.showcase__chip {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 270px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(27, 27, 27, 0.16);
  backdrop-filter: blur(10px);
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-dark);
  animation: showcase-float 6s ease-in-out infinite;
}

.showcase__chip--top {
  top: 8%;
  left: -32px;
}

.showcase__chip--bottom {
  right: -24px;
  bottom: 10%;
  animation-delay: -3s;
}

.showcase__chip-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
}

.showcase__chip-icon--dark {
  background: var(--color-dark);
}

.showcase__chip-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase__chip-title {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--color-accent-text);
}

@keyframes showcase-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 760px) {
  .showcase__chip {
    position: static;
    max-width: none;
    margin-top: 12px;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase__chip {
    animation: none;
  }
}

.showcase__caption {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
  color: var(--color-text-muted);
}
