* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  background: linear-gradient(135deg, #141e30, #243b55);
}

/* Glass Card */
.box {
  width: 330px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);

  color: white;
}

h2 {
  margin-bottom: 15px;
}

/* Input */
input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  margin-bottom: 15px;

  background: rgba(255,255,255,0.2);
  color: white;
}

input::placeholder {
  color: #ddd;
}

/* Buttons */
button {
  width: 100%;
  padding: 12px;
  margin-top: 8px;

  border: none;
  border-radius: 10px;

  background: #6c63ff;
  color: white;
  font-size: 15px;

  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
  background: #574bff;
}

/* QR Container */
.qr-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/* QR Glow Effect */
#qrcode canvas {
  padding: 10px;
  background: white;
  border-radius: 12px;

  box-shadow: 0 0 20px rgba(108, 99, 255, 0.6);
  animation: glow 2s infinite alternate;
}

/* Glow animation */
@keyframes glow {
  from {
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.4);
  }
  to {
    box-shadow: 0 0 30px rgba(108, 99, 255, 1);
  }
}