/* Neon Sci-Fi Theme & Custom Styles */
@layer utilities {
  .active\:scale-98:active {
    transform: scale(0.98);
  }
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #050608;
  color: #fff;
  touch-action: none;
}

#canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Glassmorphism effects */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Center Announcement Animation */
.announcement-active {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #00f0ff;
  border-radius: 3px;
}

/* QR Code and Modal enhancements */
#share-modal canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

#toast-msg {
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}