/* High-res lobby-art splash for embed slots */
.slot-splash {
  --splash-accent: #ff2bd6;
  --splash-accent-2: #00e5ff;
  --splash-load: 0%;
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
  background: #06010f;
}

.slot-splash__bg {
  position: absolute;
  inset: -4%;
  background-image: var(--splash-image);
  background-size: cover;
  background-position: center top;
  transform: scale(1.06);
  animation: slot-splash-kenburns 12s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.04);
}

@keyframes slot-splash-kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(0, -1.5%, 0); }
}

.slot-splash__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 2, 12, 0.55) 0%, rgba(4, 2, 12, 0.2) 28%, rgba(4, 2, 12, 0.75) 72%, rgba(4, 2, 12, 0.96) 100%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
  pointer-events: none;
}

.slot-splash__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.slot-splash__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 100%;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  padding-bottom: clamp(2rem, 8vh, 4rem);
  text-align: center;
  gap: clamp(0.65rem, 2vh, 1.1rem);
}

.slot-splash--center .slot-splash__content {
  justify-content: center;
  padding-bottom: clamp(1.25rem, 4vw, 2.5rem);
}

.slot-splash--center .slot-splash__shade {
  background:
    linear-gradient(180deg, rgba(4, 2, 12, 0.5) 0%, rgba(4, 2, 12, 0.25) 45%, rgba(4, 2, 12, 0.5) 100%),
    radial-gradient(ellipse 85% 70% at 50% 50%, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
}

.slot-splash__kicker {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(0.65rem, 1.6vw, 0.8rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.slot-splash__title {
  margin: 0;
  font-family: "Arial Black", Impact, system-ui, sans-serif;
  font-size: clamp(2.4rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 24px color-mix(in srgb, var(--splash-accent) 70%, transparent),
    0 0 60px color-mix(in srgb, var(--splash-accent-2) 45%, transparent);
}

.slot-splash__tag {
  margin: 0;
  max-width: 36rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.slot-splash__meter {
  width: min(420px, 88vw);
  height: 10px;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: 0 0 20px color-mix(in srgb, var(--splash-accent) 25%, transparent);
}

.slot-splash__meter-fill {
  height: 100%;
  width: var(--splash-load);
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--splash-accent-2),
    var(--splash-accent),
    #ffd700
  );
  box-shadow: 0 0 16px color-mix(in srgb, var(--splash-accent) 80%, transparent);
  transition: width 0.2s ease-out;
}

.slot-splash__pct {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.slot-splash__status {
  margin: 0;
  min-height: 1.4em;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.62);
}

.slot-splash__brand {
  margin: 0.35rem 0 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
}

.slot-splash__brand strong {
  color: #ffd700;
  font-weight: 700;
}

.slot-splash--out {
  animation: slot-splash-exit 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

@keyframes slot-splash-exit {
  to {
    opacity: 0;
    transform: scale(1.03);
    filter: blur(8px);
  }
}

html.slot-splash-active body > :not(#slot-splash) {
  visibility: hidden;
}

/* Panel Van Creeper — lotion bottle art progress meter */
.slot-splash--lotion {
  --lotion-size: clamp(100px, 20vw, 168px);
}

.slot-splash--lotion .slot-splash__tag {
  max-width: min(44rem, 94vw);
  font-size: clamp(0.82rem, 1.9vw, 1.1rem);
  line-height: 1.5;
}

.lotion-meter {
  display: flex;
  justify-content: center;
  margin: clamp(0.75rem, 2.5vh, 1.5rem) 0 0.35rem;
}

.lotion-bottle-stage {
  position: relative;
  width: var(--lotion-size);
  height: calc(var(--lotion-size) * 1.4905);
  filter:
    drop-shadow(0 0 18px rgba(139, 43, 255, 0.45))
    drop-shadow(0 16px 32px rgba(0, 0, 0, 0.55));
}

.lotion-bottle {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.lotion-bottle--ghost {
  opacity: 0.22;
}

.lotion-bottle-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(calc(100% - var(--splash-load)) 0 0 0);
  transition: clip-path 0.22s ease-out;
}

.lotion-bottle--solid {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

@media (max-width: 520px) {
  .slot-splash--lotion {
    --lotion-size: clamp(72px, 24vw, 110px);
  }
}
