@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
  --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --color-primary: #10b981;
  --color-primary-hover: #059669;
  --color-primary-glow: rgba(16, 185, 129, 0.25);
  --color-bg-light: #f8fafc;
  --color-bg-dark: #0f172a;
}

* {
  font-family: var(--font-family);
  box-sizing: border-box;
}

body {
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.dark ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.5);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 114, 128, 0.8);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dark .glass-panel {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Pulse Glow for Primary CTA Button */
.btn-buy-pulse {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px 0 var(--color-primary-glow);
}

.btn-buy-pulse:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(16, 185, 129, 0.4);
}

.btn-buy-pulse:active {
  transform: translateY(0);
}

/* Download Button Neutral Styling */
.btn-download {
  transition: all 0.2s ease-in-out;
}

.btn-download:hover {
  transform: translateY(-1px);
}

/* Hash code badge styling */
.hash-pill {
  font-family: 'Consolas', 'Courier New', monospace;
  direction: ltr;
  text-align: left;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

/* Category item hover transition */
.category-btn {
  transition: all 0.2s ease;
}

/* Responsive Table / List Adjustments */
@media (max-width: 768px) {
  .responsive-file-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
}
