/* pcb-reveal.css — PCB 3D Card Reveal (No backdrop, model-only) */

/* Prevent scrolling during reveal */
body.pcb-reveal-active {
  overflow: hidden !important;
}

/* The 3D canvas in fullscreen "reveal" mode — no background, just the model */
.pcb-3d-revealing canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 10005 !important;
  opacity: 1 !important;
  pointer-events: none;
}

/* Skip button — floats on top of everything */
.pcb-reveal-skip {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10010;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  letter-spacing: 0.05em;
}

.pcb-reveal-skip:hover {
  background: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .pcb-reveal-skip {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .pcb-3d-revealing canvas {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
  }
}
