/* ========================================
   Design Tokens, Reset & Base Elements
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600;700&display=swap');

:root {
  --black: #000000;
  --dark: #0a0a0a;
  --white: #ffffff;
  --cyan: #00e5ff;
  --orange: #ff6b35;
  --red: #ff3333;
  --grey: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 255, 255, 0.15);
  --glass: rgba(0, 0, 0, 0.7);
  --font-main: 'Helvetica Neue', 'Arial', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  cursor: default;
  user-select: none;
}

/* ========================================
   Canvas
   ======================================== */
#scene-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: none;
}

/* ========================================
   Vignette Border: Blue Glow
   ======================================== */
#vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 120px 30px rgba(0, 50, 180, 0.15),
              inset 0 0 60px 10px rgba(0, 30, 120, 0.05);
}

/* ========================================
   Corner Markers: L-Shapes Pointing Inward
   ======================================== */
.corner-marker {
  position: fixed;
  width: 20px;
  height: 20px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.5;
}

.corner-marker::before {
  content: '';
  position: absolute;
  background: var(--white);
  width: 1px;
  height: 20px;
}

.corner-marker::after {
  content: '';
  position: absolute;
  background: var(--white);
  width: 20px;
  height: 1px;
}

.corner-marker .dot { display: none; }

.corner-tl { top: 20px; left: 20px; }
.corner-tl::before { top: 0; left: 0; }
.corner-tl::after  { top: 0; left: 0; }

.corner-tr { top: 20px; right: 20px; }
.corner-tr::before { top: 0; right: 0; }
.corner-tr::after  { top: 0; right: 0; }

.corner-bl { bottom: 20px; left: 20px; }
.corner-bl::before { bottom: 0; left: 0; }
.corner-bl::after  { bottom: 0; left: 0; }

.corner-br { bottom: 20px; right: 20px; }
.corner-br::before { bottom: 0; right: 0; }
.corner-br::after  { bottom: 0; right: 0; }

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* ========================================
   WASD Key Icons & Mouse Icon
   ======================================== */
.wasd-keys {
  display: grid;
  grid-template-columns: repeat(3, 36px);
  grid-template-rows: repeat(2, 36px);
  gap: 3px;
  margin-bottom: 20px;
}

.key-cap {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.key-cap.empty {
  background: transparent;
  border: none;
  box-shadow: none;
}

.mouse-icon-container {
  width: 60px;
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mouse-icon-container svg {
  width: 50px;
  height: 70px;
}
