/* Custom Clean & Minimalist Styling - Nothing OS / CleanMyMac / OneUI inspired */

@keyframes pulse-soft {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(0.98);
  }
}

@keyframes scan-line {
  0% {
    top: 0%;
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.8;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes highlight-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.pulse-soft {
  animation: pulse-soft 3s ease-in-out infinite;
}

.highlight-emerald {
  animation: highlight-glow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.scan-line-anim {
  animation: scan-line 2.5s ease-in-out infinite;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.5);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.8);
}

/* Matte card background with subtle border glow */
.matte-card {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.matte-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* QR Code Container styling */
.qr-frame {
  position: relative;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Modal animation classes */
.modal-enter {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-enter #modal-card {
  transform: translateY(0) scale(1) !important;
}

/* Button active state feedback for mobile */
.tap-effect:active {
  transform: scale(0.97);
  transition: transform 0.08s ease-out;
}
