/* Passcode Gate Overlay */
.fh-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.6);
  backdrop-filter: blur(24px) saturate(0.8);
  -webkit-backdrop-filter: blur(24px) saturate(0.8);
  transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
}

.fh-gate.unlocked {
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.fh-gate-card {
  text-align: center;
  max-width: 380px;
  padding: 48px 40px;
  border-radius: 16px;
  background: rgba(24, 24, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.fh-gate-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #FF6B35;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.fh-gate-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(222, 136, 9, 0.12);
  border: 1px solid rgba(222, 136, 9, 0.25);
  font-family: 'General Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #de8809;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.fh-gate-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #eaeaef;
  line-height: 1.3;
  margin-bottom: 8px;
}

.fh-gate-subtitle {
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  color: #8a8a96;
  line-height: 1.5;
  margin-bottom: 28px;
}

.fh-gate-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.fh-gate-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #eaeaef;
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-gate-input::placeholder {
  color: #55555f;
  font-family: 'General Sans', sans-serif;
  letter-spacing: 0;
}

.fh-gate-input:focus {
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

.fh-gate-input.shake {
  animation: fh-shake 0.4s ease;
  border-color: rgba(239, 68, 68, 0.5);
}

.fh-gate-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: #FF6B35;
  color: #fff;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.fh-gate-btn:hover {
  background: #e55e2d;
}

.fh-gate-btn:active {
  transform: scale(0.98);
}

@keyframes fh-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
