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

body {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 30%, #0a0f1e, #010101);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Sfondo con linee circuito */
body::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(#00f7ff10 1px, transparent 1px),
    linear-gradient(90deg, #00f7ff10 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 440px;
  background: rgba(10, 20, 30, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 30px;
  padding: 40px 30px;
  box-shadow: 0 20px 50px rgba(0, 255, 255, 0.2), 0 0 0 1px rgba(0, 255, 255, 0.1) inset;
  text-align: center;
  transition: box-shadow 0.3s;
}

.container:hover {
  box-shadow: 0 20px 60px rgba(0, 255, 255, 0.4), 0 0 0 2px rgba(0, 255, 255, 0.3) inset;
}

/* Occhio elettronico */
.eye {
  font-size: 80px;
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
  color: #00f7ff;
  filter: drop-shadow(0 0 15px #00f7ff);
  animation: pulse 3s infinite;
}

.eye i {
  font-size: inherit;
}

/* Circuito attorno all'occhio */
.eye::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border: 2px dashed #00f7ff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  animation: rotate 10s linear infinite;
}

.eye::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  border: 1px solid #ff00c1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  animation: rotate-reverse 8s linear infinite;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-reverse {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes pulse {
  0% { opacity: 0.9; text-shadow: 0 0 10px cyan; }
  50% { opacity: 1; text-shadow: 0 0 30px cyan, 0 0 60px blue; }
  100% { opacity: 0.9; text-shadow: 0 0 10px cyan; }
}

.title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 30px;
  color: white;
  text-shadow: 0 0 8px cyan, 0 0 20px blue;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  color: #a0f0ff;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 15px;
  color: #00f7ff;
  font-size: 18px;
  opacity: 0.7;
}

input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: rgba(0, 20, 30, 0.7);
  border: 1px solid #00f7ff;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  outline: none;
  transition: all 0.3s;
  box-shadow: 0 0 5px transparent;
}

input:focus {
  border-color: #ff00c1;
  box-shadow: 0 0 15px #ff00c1, 0 0 5px #00f7ff inset;
  background: rgba(0, 30, 40, 0.9);
}

input::placeholder {
  color: rgba(0, 247, 255, 0.5);
  font-style: italic;
}

button {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 2px solid #00f7ff;
  border-radius: 50px;
  color: #00f7ff;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 10px #00f7ff;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.2), transparent);
  transition: left 0.5s;
}

button:hover {
  background: #00f7ff;
  color: black;
  box-shadow: 0 0 30px #00f7ff;
  border-color: #00f7ff;
}

button:hover::before {
  left: 100%;
}

#message {
  margin-top: 20px;
  color: #ff4d4d;
  text-shadow: 0 0 5px red;
  font-weight: bold;
  min-height: 24px;
}

/* Responsive */
@media (max-width: 480px) {
  .container { padding: 30px 20px; }
  .title { font-size: 28px; }
  .eye { font-size: 70px; }
}
