/* QR code skeleton — immediate loading feedback on mobile */
.qr-skeleton {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
  text-align: center;
  background: var(--surface, #fff);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.qr-skeleton-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: qr-shimmer 1.2s ease-in-out infinite;
}

@keyframes qr-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.qr-skeleton h2 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  color: var(--text, #1a1a1a);
  position: relative;
  z-index: 1;
}

.qr-skeleton p {
  font-size: 1rem;
  color: var(--muted, #666);
  margin: 0 0 6px;
  position: relative;
  z-index: 1;
}

.qr-skeleton-hint {
  margin-top: 16px !important;
  font-size: 0.85rem !important;
  color: var(--primary, #a81530) !important;
  animation: qr-pulse 1.5s ease-in-out infinite;
}

@keyframes qr-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
