/* ==========================================================================
   ⚡ 五开极速连切演示组件专属样式 (src/css3.css)
   ========================================================================== */

#image-window {
  width: 500px;
  height: 350px;
  max-width: 100%;
  background: #1f2833;
  border: 3px solid #E6CEAA; 
  border-radius: 16px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.9), 
    0 0 40px rgba(102, 252, 241, 0.25),
    inset 0 0 20px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.1s;
  flex-shrink: 0;
  user-select: none;
}

#image-window:hover {
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.95), 
    0 0 60px rgba(102, 252, 241, 0.4);
}

#image-window:active {
  transform: scale(0.99);
}

.game-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.21s ease-out;
  pointer-events: none;
}

.game-slide.active {
  opacity: 1;
}

/* 3D 摄像机视口 */
#camera-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  perspective: 500px;
  perspective-origin: 50% 50%;
  pointer-events: none;
  z-index: 9999;
  transform-style: preserve-3d;
}

/* 纯白色立体按键 */
.keycap-white {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 74px;
  height: 62px;
  padding: 0 18px;
  margin-left: -37px;
  margin-top: -31px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 
    0 8px 0 #94a3b8,
    0 15px 30px rgba(0, 0, 0, 0.75),
    inset 0 2px 3px #ffffff;
  color: #0f172a;
  font-weight: 900;
  font-size: 24px;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform, opacity, filter;
  user-select: none;
}