/* Font dan panggung v5. Ukuran mengikuti referensi. */

@font-face {
  font-family: 'Almendra';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/v5/fonts/almendra-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Almendra';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('/v5/fonts/almendra-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('/v5/fonts/outfit.woff2') format('woff2');
}

.v5stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
}

.v5stage canvas {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: #12080c;
  border: 1px solid #4a2a1a;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.v5stage.full {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0406;
  aspect-ratio: auto;
}

.v5stage.full canvas {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}

.v5chip {
  position: absolute;
  left: 50%;
  bottom: calc(8% + 10px);
  transform: translateX(-50%);
  background: #e8b84a;
  color: #241406;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font: 600 13px 'Outfit', system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(232, 184, 74, 0.35);
  animation: v5nudge 1.4s ease-in-out infinite alternate;
}

.v5chip[hidden] {
  display: none !important;
}

@keyframes v5nudge {
  to {
    transform: translateX(-50%) scale(1.06);
  }
}

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