body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  background: radial-gradient(circle at top, #050505, #020202 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #f0f0f0;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background: radial-gradient(circle, rgba(0,114,255,.25), transparent 70%);
  filter: blur(90px);
  animation: floatGlow 10s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

body::after {
  background-image:
    linear-gradient(90deg, rgba(0,114,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(0,114,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 12s linear infinite;
  will-change: background-position;
}

@keyframes floatGlow {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.3); opacity: .8; }
}
@keyframes gridMove {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}

.reset-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  padding: 42px 34px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,114,255,.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(0,114,255,.2);
  overflow: hidden;
  animation: fadeInUp 1.1s ease-out;
}

.reset-container::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,198,255,.2) 50%, transparent 100%);
  animation: scanLight 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.reset-container > * { position: relative; z-index: 2; }

@keyframes scanLight {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: -100%; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.reset-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 28px;
  color: #00c6ff;
  letter-spacing: .5px;
  text-shadow: 0 0 15px #00c6ff, 0 0 35px #0072ff;
  animation: neonTitlePulse 3s ease-in-out infinite alternate;
}
@keyframes neonTitlePulse {
  0% { text-shadow: 0 0 10px #00c6ff, 0 0 25px #0072ff; }
  100% { text-shadow: 0 0 25px #00c6ff, 0 0 55px #0072ff; }
}

.reset-box { display: flex; flex-direction: column; gap: 20px; }
.reset-form { display: flex; flex-direction: column; gap: 16px; }

.input-box input {
  width: 100%;
  padding: 12px 10px;
  background: rgba(255,255,255,.02);
  border: none;
  border-bottom: 2px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 6px 6px 0 0;
  font-size: 15px;
  outline: none;
  transition: all .3s ease;
}
.input-box input:focus {
  border-bottom-color: #00c6ff;
  box-shadow: 0 4px 15px rgba(0,198,255,.3);
}

.reset-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0,114,255,.3);
  transition: all .3s ease;
  animation: buttonPulse 3s ease-in-out infinite alternate;
}
@keyframes buttonPulse {
  0% { box-shadow: 0 0 10px rgba(0,114,255,.4); }
  100% { box-shadow: 0 0 30px rgba(0,198,255,.7); }
}
.reset-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  box-shadow: 0 0 40px rgba(0,198,255,.8);
}

.back-to-login {
  margin-top: 6px;
  text-align: center;
  font-size: 14px;
  color: #c9d1d9;
}
.back-to-login a {
  color: #00c6ff;
  text-decoration: none;
  font-weight: bold;
  transition: all .25s ease;
}
.back-to-login a:hover {
  color: #fff;
  text-shadow: 0 0 10px #00c6ff;
}

.notice {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 198, 255, 0.08);
  border: 1px solid rgba(0, 198, 255, 0.35);
  color: #cfefff;
  font-size: 14px;
  text-align: center;
}
.notice strong { color:#00c6ff; }


@media (max-width: 480px) {
  .reset-container { padding: 32px 22px; }
  .reset-title { font-size: 24px; }
}
