@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at center, #160020 0%, #0a0011 100%);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  width: 160%;
  height: 160%;
  top: -30%;
  left: -30%;
  background: radial-gradient(circle, rgba(176,115,255,0.1), transparent 70%);
  animation: pulse 7s infinite alternate ease-in-out;
  z-index: -1;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.25); }
}

.box {
  background: rgba(20, 0, 35, 0.6);
  padding: 30px;
  border-radius: 14px;
  max-width: 420px;
  margin: auto;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(176, 115, 255, 0.25);
  box-shadow: 0 0 25px rgba(176,115,255,0.2);
  animation: fadeIn 1s ease;
}

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

h2 {
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(176,115,255,0.5);
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid rgba(176,115,255,0.2);
  background: rgba(25,0,40,.5);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: 0.25s;
}

input:focus {
  border-color: #b073ff;
  box-shadow: 0 0 12px #b073ff55;
}

button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #b073ff, #7b31ff);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
  transition: 0.2s;
  box-shadow: 0 0 15px #b073ff55;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #b073ffaa;
}

.logout {
  background: #ff4c4c;
  margin-top: 20px;
  box-shadow: 0 0 15px #ff4c4c55;
}

.logout:hover {
  background: #ff2a2a;
  box-shadow: 0 0 25px #ff2a2aaa;
  transform: scale(1.05);
}

#panel {
  animation: fadeIn 1s ease;
}

.user {
  margin: 18px auto;
  padding: 15px;
  background: rgba(30, 0, 50, 0.55);
  border-radius: 12px;
  max-width: 420px;
  text-align: left;
  border: 1px solid rgba(176,115,255,0.25);
  box-shadow: 0 0 20px rgba(176,115,255,0.15);
  display: flex;
  align-items: center;
  gap: 15px;
}

.user img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(200,100,255,0.6);
  object-fit: cover;
}

.user-text {
  line-height: 1.6;
  font-size: 14px;
}

.top-links a {
  color: #b073ff;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 25px;
  font-size: 16px;
  transition: 0.2s;
}

.top-links a:hover {
  color: #d9b0ff;
  text-shadow: 0 0 10px #b073ff;
}
