/* css/style.css */
/* Base styles and utilities */

body {
  /* Allow Tailwind to control the font */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Low Performance Mode (Matrix Mode) */
body.low-perf * {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Font Size Settings */
body.font-small { font-size: 14px; }
body.font-medium { font-size: 17px; }
body.font-large { font-size: 20px; }

body.font-small .text-xs { font-size: 11px; }
body.font-medium .text-xs { font-size: 13px; }
body.font-large .text-xs { font-size: 15px; }

body.font-small .text-sm { font-size: 13px; }
body.font-medium .text-sm { font-size: 15px; }
body.font-large .text-sm { font-size: 18px; }

body.font-small .text-\[9px\] { font-size: 9px; }
body.font-medium .text-\[9px\] { font-size: 11px; }
body.font-large .text-\[9px\] { font-size: 13px; }

body.font-small .text-\[10px\] { font-size: 10px; }
body.font-medium .text-\[10px\] { font-size: 12px; }
body.font-large .text-\[10px\] { font-size: 14px; }

/* Custom Animations */
@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

/* Scrollbar Utilities */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}

/* Hide Scrollbar */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

input[type="range"] {
  -webkit-appearance: none;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}
