body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f2027, #144492, #63b8e0);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.qr-container {
  text-align: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  width: 90%;
  max-width: 500px;
  animation: fadeIn 1s ease-out;
}

input[type="text"] {
  width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  margin-top: 20px;
  font-size: 16px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(to right, #00ff88, #00cfff);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

button:hover {
  transform: scale(1.05);
}

.qr-output {
  margin-top: 30px;
}

canvas {
  margin-top: 20px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
}

#downloadBtn {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
