/* Body + background */
body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background: black;
  color: #00ffff;
  overflow-x: hidden;
}

/* Neon grid background */
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(#0f0f0f 1px, transparent 1px),
              linear-gradient(90deg, #0f0f0f 1px, transparent 1px);
  background-size: 40px 40px;
  animation: move 10s linear infinite;
}

@keyframes move {
  from { transform: translateY(0); }
  to { transform: translateY(40px); }
}

.container {
  position: relative;
  text-align: center;
  top: 5%;
  max-width: 600px;
  margin: auto;
}

/* Glitch header */
.glitch {
  font-size: 50px;
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  from { opacity: 0.8; }
  to { opacity: 1; }
}

.intro {
  margin-bottom: 20px;
  font-size: 18px;
}

/* Input & button */
input {
  padding: 12px;
  width: 300px;
  margin: 15px 0;
  background: black;
  border: 2px solid #00ffff;
  color: #00ffff;
  outline: none;
  box-shadow: 0 0 10px #00ffff;
  border-radius: 5px;
}

button {
  padding: 12px 25px;
  background: transparent;
  border: 2px solid #ff00ff;
  color: #ff00ff;
  cursor: pointer;
  box-shadow: 0 0 10px #ff00ff;
  transition: 0.3s;
  border-radius: 5px;
}

button:hover {
  background: #ff00ff;
  color: black;
}

/* Strength bar */
.bar {
  width: 300px;
  height: 12px;
  background: #222;
  margin: 20px auto;
  border-radius: 5px;
  overflow: hidden;
}

#strength-bar {
  height: 100%;
  width: 0%;
  transition: 0.4s;
}

/* Tips */
.tips {
  text-align: left;
  background: #111;
  padding: 15px;
  margin-top: 25px;
  border-radius: 10px;
  border: 1px solid #00ffff;
}

.tips h2 {
  color: #ff00ff;
  text-align: center;
}

.tips ul {
  list-style: none;
  padding-left: 0;
}

.tips li {
  margin: 10px 0;
  padding-left: 10px;
  position: relative;
}

.tips li::before {
  content: "💡";
  position: absolute;
  left: 0;
}
