* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glass Card */
.container {
  width: 400px;
  padding: 26px;
  border-radius: 18px;
  background: rgba(20, 25, 35, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  animation: pop 0.6s ease;
}

/* Title */
h1 {
  text-align: center;
  color: #e6f1ff;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 14px;
  transition: box-shadow 0.3s, transform 0.2s;
}

input::placeholder {
  color: #94a3b8;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #6366f1;
  transform: scale(1.02);
}

/* Button */
button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
}

/* Stats */
.stats {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  color: #c7d2fe;
  font-size: 14px;
}

/* Student List */
ul {
  list-style: none;
}

li {
  background: #020617;
  color: #e5e7eb;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid #6366f1;
  animation: slideIn 0.3s ease;
}

/* Topper Highlight */
li.topper {
  border-left-color: #22c55e;
  background: linear-gradient(135deg, #052e16, #064e3b);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.7);
}

li.topper::before {
  content: "👑";
  margin-right: 6px;
}

/* Delete */
li button {
  background: transparent;
  color: #f87171;
  font-size: 18px;
  padding: 0;
  box-shadow: none;
}

li button:hover {
  transform: scale(1.3);
}

/* Animations */
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.copyright {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
  z-index: 100;
}

