@font-face {
  font-family: "Grok";
  src: url(../Fonts/neuehaasgrotdispround-55roman-trial.otf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Grok';
}

body {
  background-color: #cfcfcf;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 40px 20px;
}


@keyframes move {
  0% { transform: translate(-50%, -50%); }
  100% { transform: translate(50%, 50%); }
}

.qr-card {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(45deg, #ff00cc, #3333ff, #00ffcc, #ffcc00);
  background-size: 400% 400%;
  animation: borderMove 6s linear infinite;
}

@keyframes borderMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.qr-card-inner {
  background-color: #1f1f1f;
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  color: #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.qr-card-inner h2 {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(to right, #7d49d1, #6165ca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float 3s ease-in-out infinite;
}

.qr-card-inner p {
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.5;
  margin-top: -10px;
}

.qr-code {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 0;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: none;
}

.sub-heading {
  font-size: 16px;
  color: #bbbbbb;
}

.qr-button {
  padding: 14px;
  width: 100%;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qr-button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@media (max-width: 450px) {
  .qr-code {
    width: 200px;
    height: 200px;
  }

  .qr-card-inner h2 {
    font-size: 24px;
  }
}
