/* ==========================================================================
   🔘 NEUMORPHISM & SKEUOMORPHISM DESIGN SYSTEM TOKENS
   Tactile Controls, LEDs, Analog Gauges & Golden Mosque Aura
   ========================================================================== */

/* Neumorphic Dark Soft Tile */
.neu-tile {
  background: #141c2e;
  border-radius: 12px;
  box-shadow: 
    6px 6px 14px rgba(0, 0, 0, 0.6),
    -4px -4px 10px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Neumorphic Inset Well (For displays, text inputs, chat logs) */
.neu-well {
  background: #0b111e;
  border-radius: 8px;
  box-shadow: 
    inset 3px 3px 6px rgba(0, 0, 0, 0.7),
    inset -2px -2px 5px rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Neumorphic Tactile Button */
.neu-button {
  background: linear-gradient(145deg, #182238, #101726);
  box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.6),
    -2px -2px 6px rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #e2e8f0;
}

.neu-button:hover {
  background: linear-gradient(145deg, #1d2a45, #131c2e);
  color: #38bdf8;
}

.neu-button:active, .neu-button.active {
  box-shadow: 
    inset 3px 3px 6px rgba(0, 0, 0, 0.8),
    inset -2px -2px 4px rgba(255, 255, 255, 0.04);
  transform: translateY(1px);
}

/* Skeuomorphic Glowing LED Diodes */
.led-diode {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 1.5px #000;
}

.led-green {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e, 0 0 3px #86efac;
  animation: ledPulse 2s infinite ease-in-out;
}

.led-gold {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b, 0 0 3px #fde68a;
  animation: ledPulse 1.5s infinite ease-in-out;
}

.led-red {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 3px #fca5a5;
  animation: ledBlinkFast 0.8s infinite ease-in-out;
}

@keyframes ledPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 14px #22c55e; }
}

@keyframes ledBlinkFast {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Brass Skeuomorphic Nameplate */
.brass-plate {
  background: linear-gradient(180deg, #d4af37 0%, #aa820a 50%, #7d5f04 100%);
  color: #1a1202;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.4);
  border: 1px solid #5a4505;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

/* Golden Minaret & Mosque Dome Aura */
.mosque-aura {
  animation: mosqueGlow 4s infinite alternate ease-in-out;
}

@keyframes mosqueGlow {
  0% { filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4)); }
  100% { filter: drop-shadow(0 0 22px rgba(245, 158, 11, 0.85)); }
}

/* Analog Latency Speedometer Gauge */
.speedo-dial {
  width: 90px;
  height: 50px;
  position: relative;
  background: #0f172a;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border: 2px solid #334155;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.8);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.speedo-needle {
  width: 2px;
  height: 38px;
  background: #ef4444;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(-30deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 5px #ef4444;
}

.speedo-pivot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  position: absolute;
  bottom: -4px;
  left: calc(50% - 4px);
  z-index: 2;
}

/* Numpad Vault Keypad */
.numpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 280px;
  margin: 0 auto;
}

.numpad-key {
  height: 56px;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 2px solid #334155;
  box-shadow: 4px 4px 0px #000;
  color: #f8fafc;
  cursor: pointer;
}

.numpad-key:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #000;
}
