.mbm,
.mbm * {
  box-sizing: border-box;
}

.mbm {
  isolation: isolate;
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 5;
  overflow: hidden;
  background: #030006;
  border-radius: clamp(0.75rem, 2vw, 1.5rem);
  box-shadow: 0 1.5rem 4rem rgba(8, 0, 16, 0.44);
}

.mbm__picture,
.mbm__art,
.mbm__motion {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.mbm__art {
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
}

.mbm__motion {
  overflow: hidden;
  pointer-events: none;
}

/* A rotating screen-light pattern over the existing mirrorball creates
   movement without redrawing or obscuring the approved artwork. */
.mbm__ball-reflection {
  position: absolute;
  top: -9%;
  left: 50%;
  width: 31%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  opacity: 0.24;
  background:
    conic-gradient(
      from 40deg,
      transparent 0 12%,
      rgba(255, 255, 255, 0.38) 16%,
      transparent 22% 50%,
      rgba(109, 184, 255, 0.28) 56%,
      transparent 63% 76%,
      rgba(255, 85, 220, 0.31) 81%,
      transparent 88%
    );
  filter: blur(0.6rem);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle, #000 0 59%, transparent 72%);
  mask-image: radial-gradient(circle, #000 0 59%, transparent 72%);
  animation: mbm-rotate 13s linear infinite;
}

.mbm__light-sweep {
  position: absolute;
  inset: -35% auto -35% -32%;
  width: 24%;
  rotate: 13deg;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.03) 26%,
    rgba(255,255,255,.34) 50%,
    rgba(255,119,224,.08) 72%,
    transparent
  );
  filter: blur(0.7rem);
  mix-blend-mode: screen;
  animation: mbm-sweep 8.5s ease-in-out infinite;
}

.mbm__glint {
  position: absolute;
  width: clamp(0.8rem, 1.6vw, 1.7rem);
  aspect-ratio: 1;
  opacity: 0;
  filter: drop-shadow(0 0 0.45rem #fff) drop-shadow(0 0 0.75rem #ff8be4);
  animation: mbm-glint 5.8s ease-in-out infinite;
}

.mbm__glint::before,
.mbm__glint::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: linear-gradient(#fff, #ffd9f7);
  border-radius: 999px;
}

.mbm__glint::before { width: 8%; }
.mbm__glint::after { height: 8%; }

.mbm__glint--1 { top: 16%; left: 21%; animation-delay: 0.2s; }
.mbm__glint--2 { top: 10%; left: 49%; animation-delay: 1.25s; }
.mbm__glint--3 { top: 29%; right: 20%; animation-delay: 2.3s; }
.mbm__glint--4 { top: 52%; left: 32%; animation-delay: 3.35s; }
.mbm__glint--5 { top: 62%; right: 27%; animation-delay: 4.15s; }
.mbm__glint--6 { bottom: 12%; left: 50%; animation-delay: 5s; }

@keyframes mbm-rotate {
  to { transform: rotate(360deg); }
}

@keyframes mbm-sweep {
  0%, 22% { left: -32%; opacity: 0; }
  34% { opacity: 0.52; }
  61% { left: 112%; opacity: 0.2; }
  66%, 100% { left: 112%; opacity: 0; }
}

@keyframes mbm-glint {
  0%, 69%, 100% { opacity: 0; transform: scale(0.08) rotate(0deg); }
  76% { opacity: 1; transform: scale(1) rotate(45deg); }
  83% { opacity: 0; transform: scale(0.12) rotate(90deg); }
}

@media (max-width: 700px) {
  .mbm {
    aspect-ratio: 9 / 16;
    border-radius: 0;
  }

  .mbm__art {
    object-position: center top;
  }

  .mbm__ball-reflection {
    top: 19%;
    width: 69%;
  }

  .mbm__glint {
    width: clamp(0.75rem, 4vw, 1.35rem);
  }

  .mbm__glint--1 { top: 39%; left: 12%; }
  .mbm__glint--2 { top: 24%; left: 74%; }
  .mbm__glint--3 { top: 49%; right: 7%; }
  .mbm__glint--4 { top: 58%; left: 18%; }
  .mbm__glint--5 { top: 67%; right: 18%; }
  .mbm__glint--6 { bottom: 13%; left: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .mbm__ball-reflection,
  .mbm__light-sweep,
  .mbm__glint {
    animation: none !important;
  }

  .mbm__ball-reflection,
  .mbm__light-sweep { display: none; }
  .mbm__glint--2,
  .mbm__glint--5 { opacity: 0.75; transform: rotate(45deg); }
}

/* ---- wrapper & sub-bar below the artwork ---- */

.mbm-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 0;
  overflow: hidden;
}

.mbm-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0 0;
}

.mbm-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.mbm-quote {
  font-family: var(--f-display, "Bodoni Moda", Georgia, serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-muted, #9C96AE);
  margin: 0;
  line-height: 1.5;
  max-width: 52ch;
}

.mbm-quote span {
  font-family: var(--f-body, "Archivo", sans-serif);
  font-style: normal;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dim, #7E6FA8);
}

.mbm-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted, #9C96AE);
  white-space: nowrap;
}

.mbm-status__dot {
  width: 7px;
  height: 7px;
  background: var(--safe, #5FB98A);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(95, 185, 138, 0.7);
}

@media (max-width: 700px) {
  .mbm-wrap { padding: 0; }
  .mbm-sub { padding: 14px 16px 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .mbm-sub .bigcta { width: 100%; text-align: center; }
}
