:root {
  --neon-blue: #00ffff;
  --neon-pink: #ff00c8;
  --dark-bg: #0d1117;
  --text-color: #e0e0e0;
  --input-bg: #1a1a1a;
  --input-border: #333;
  --button-bg: #222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
body {
  background-color: var(--dark-bg);
  color: var(--text-color);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #222 0%, #0d0d0d 100%);
  animation: rotateBG 20s linear infinite;
  z-index: 0;
}

@keyframes rotateBG {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.login-container {
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 30px var(--neon-blue);
  z-index: 1;
  border: 2px solid var(--neon-blue);
   transition: box-shadow 0.7s linear, border-color 0.7s linear;
}

.login-container:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 35px #ff00c8;
}

.login-container img {
  max-width: 180px;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 0 5px var(--neon-blue));
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"],
input[type="password"],input[type="email"] {
  padding: 12px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.2s;
}

input:focus {
  border-color: #ff00c8;
  box-shadow: 0 0 8px #ff00c8;
}

button {
  padding: 12px;
  background: linear-gradient(90deg, var(--neon-blue), #ff00c8);
  border: none;
  color: black;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff00c8;
}

@media (max-width: 600px) {
  .login-container {
    width: 90%;
    padding: 25px;
  }
}
#cyberSnake {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  filter: blur(2px) brightness(1.2);
}

.back-link {
  text-align: center;
  margin-top: 15px;
}

.back-link a {
  color: #00bfff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: #66cfff;
}

.message {
  text-align: center;
  margin-top: 15px;
  color: #a0e8af;
}

.error {
  text-align: center;
  margin-top: 15px;
  color: #f08080;
}