/* Custom App Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --brand-primary: #6366f1;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Hide scrollbars but keep functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(71, 85, 105, 1);
}

/* Tab button states */
.nav-tab {
  color: #94a3b8;
  background-color: transparent;
}
.nav-tab:hover {
  color: #f1f5f9;
  background-color: rgba(30, 41, 59, 0.5);
}
.nav-tab.active {
  color: #ffffff;
  background-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Emoji Grid Card */
.emoji-card {
  position: relative;
  aspect-ratio: 1;
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 1rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.emoji-card:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.6);
  background-color: rgba(30, 41, 59, 0.9);
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.2);
}

.emoji-card:active {
  transform: scale(0.96);
}

.emoji-card .preview-slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji-card .preview-slot video,
.emoji-card .preview-slot img,
.emoji-card .preview-slot svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.emoji-card .badge-char {
  position: absolute;
  bottom: 3px;
  right: 5px;
  font-size: 11px;
  opacity: 0.8;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

/* Copy Card Hover Animation */
.copy-card:active {
  transform: scale(0.99);
}

/* Toast Notification Animation */
.toast-item {
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
