* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  height: 100vh;
  background: #0a0f1c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

/* Fundo animado */
.bg-animation {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #00ffff22 1px, transparent 1px);
  background-size: 40px 40px;
  animation: moveBg 20s linear infinite;
}

@keyframes moveBg {
  from { transform: translate(0,0); }
  to { transform: translate(-200px,-200px); }
}

.container {
  position: relative;
  width: 420px;
  backdrop-filter: blur(25px);
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 0 60px rgba(0,255,255,0.2);
  animation: fadeIn 0.8s ease;
}

h1 {
  text-align: center;
  color: #00ffff;
  text-shadow: 0 0 15px #00ffff;
  margin-bottom: 15px;
}

.top {
  display: flex;
  gap: 5px;
}

.top input {
  flex: 1;
}

input, button {
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
}

input {
  background: rgba(255,255,255,0.1);
  color: white;
}

button {
  background: #00ffff;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #00ffff;
}

#busca {
  width: 100%;
  margin: 10px 0;
}

#lista {
  max-height: 300px;
  overflow-y: auto;
}

.item {
  background: rgba(255,255,255,0.08);
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideUp 0.4s ease;
}

.item.proximo {
  border: 1px solid #00ffff;
  box-shadow: 0 0 10px #00ffff55;
}

.item span {
  font-size: 13px;
}

.actions button {
  margin-left: 5px;
  font-size: 12px;
}

.delete {
  background: red;
  color: white;
}

.edit {
  background: orange;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

@keyframes slideUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}