/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Background with gradient */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #e6b545, #97df10);
  overflow: hidden;
}

/* Center wrapper */
.wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glass effect container */
.container {
  background: rgba(255, 255, 255, 0.15);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 90%;
  max-width: 420px;
  backdrop-filter: blur(15px);
  animation: fadeIn 1s ease-in-out;
}

.container h1 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.container p {
  color: #f0f0f0;
  margin-bottom: 1.5rem;
}

/* Input & Button */
.input-section {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

input {
  flex: 1;
  padding: 0.7rem;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 1rem;
}

button {
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ee0979, #ff6a00);
}

/* QR Code Section */
.qr-section {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#qrcode {
  margin-bottom: 1rem;
  background: white;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  animation: popUp 0.6s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
