.qr-button-wrapper {
  position: relative;
  display: inline-block;
}

.qr-button {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #04121a;
  font-weight: 700;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: opacity 0.25s;
}

.qr-button:hover {
  opacity: 0.9;
}

.qr-popup {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 160px;
  background: #0a0c10;
  padding: 12px;
  border-radius: 1px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s, transform 0.25s;
  opacity: 0;
  transform: translateX(-50%) scale(0.85);
}

.qr-popup.show {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
  .qr-button-wrapper:hover .qr-popup {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}
