.hero-image {
  background:
    radial-gradient(circle at 78% 45%, rgba(201, 238, 67, .12), transparent 28%),
    radial-gradient(circle at 58% 20%, rgba(255, 255, 255, .08), transparent 32%),
    linear-gradient(135deg, #292b25 0%, #141511 56%, #080906 100%);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent 15%, black 100%);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(8, 9, 7, .9) 0%, rgba(8, 9, 7, .55) 44%, rgba(8, 9, 7, .08) 75%);
}

.hero-panels {
  --stage-rotate-x: 0deg;
  --stage-rotate-y: 0deg;
  --stage-x: 0px;
  --stage-y: 0px;
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 3vw;
  width: min(48vw, 720px);
  height: min(78vh, 700px);
  perspective: 1500px;
  transform: translate3d(var(--stage-x), calc(-47% + var(--stage-y)), 0) rotateX(var(--stage-rotate-x)) rotateY(var(--stage-rotate-y));
  transform-style: preserve-3d;
  transition: transform .18s cubic-bezier(.2,.8,.2,1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-panels::after {
  content: none;
}

.hero-static-panels {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.floating-panel {
  position: relative;
  margin: 0;
  width: auto;
  flex: 0 1 min(72%, 470px);
  max-width: 470px;
  min-width: 0;
  aspect-ratio: 1 / 1.5;
  background: transparent;
  border: 0;
  overflow: visible;
  filter: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.floating-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.04) contrast(1.08) saturate(1);
  pointer-events: none;
}

.floating-panel-metallic img {
  transform: scaleX(1.015) scaleY(1.085);
  transform-origin: center;
}
}

.floating-panel-rose {
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  animation: roseMonolith 8s ease-in-out infinite;
}

.floating-panel-metallic {
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 2;
  animation: metallicMonolith 9s ease-in-out infinite;
}

.hero-content {
  z-index: 3;
  max-width: min(52vw, 710px);
}

@keyframes roseMonolith {
  0%, 100% { transform: rotateY(-18deg); }
  50% { transform: rotateY(18deg); }
}

@keyframes metallicMonolith {
  0%, 100% { transform: translateZ(60px) rotateY(18deg); }
  50% { transform: translateZ(60px) rotateY(-18deg); }
}

@media (max-width: 1050px) {
  .hero-panels { right: -8vw; width: 60vw; opacity: .92; }
  .hero-content { max-width: 65vw; }
}

@media (max-width: 700px) {
  .hero-panels {
    top: 34%;
    right: -27vw;
    width: 88vw;
    height: 440px;
    opacity: .52;
    transform: translate3d(0, -48%, 0) scale(.72);
    gap: 16px;
  }
  .floating-panel { width: auto; flex-basis: 72%; max-width: 400px; }
  .hero-content { max-width: none; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,9,7,.92), rgba(8,9,7,.45)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panels { transition: none; }
  .floating-panel { animation: none; }
  .floating-panel-rose { transform: rotateY(-10deg) rotateZ(1deg); }
  .floating-panel-metallic { transform: translateZ(100px) rotateY(8deg) rotateZ(-2deg); }
}
