@tailwind base;
@tailwind components;
@tailwind utilities;

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
}
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.pulse-anim {
  animation: pulse 2s ease-in-out infinite;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #667eea, #764ba2);
  border-radius: 4px;
}
.h-full {
  height: 100%;
}
.w-full {
  width: 100%;
}
.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-auto {
  overflow-x: auto;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-0 {
  top: 0;
}
.right-0 {
  right: 0;
}
.bottom-0 {
  bottom: 0;
}
.left-0 {
  left: 0;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pl-3 {
  padding-left: 0.75rem;
}
.pl-9 {
  padding-left: 2.25rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pr-3 {
  padding-right: 0.75rem;
}
.pr-9 {
  padding-right: 2.25rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.space-y-0\.5 > * + * {
  margin-top: 0.125rem;
}
.space-y-1 > * + * {
  margin-top: 0.25rem;
}
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-3 > * + * {
  margin-top: 0.75rem;
}
.gap-0 {
  gap: 0;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-\[9px\] {
  font-size: 9px;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-\[12px\] {
  font-size: 12px;
}
.text-xs {
  font-size: 0.75rem;
}
.text-sm {
  font-size: 0.875rem;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.uppercase {
  text-transform: uppercase;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-white {
  color: #fff;
}
.text-zinc-200 {
  color: #e4e4e7;
}
.text-zinc-300 {
  color: #d4d4d8;
}
.text-zinc-400 {
  color: #a1a1aa;
}
.text-zinc-500 {
  color: #71717a;
}
.text-zinc-600 {
  color: #52525b;
}
.text-zinc-700 {
  color: #3f3f46;
}
.text-emerald-200 {
  color: #a7f3d0;
}
.text-emerald-300 {
  color: #66ff66;
}
.text-emerald-400 {
  color: #33ff33;
}
.text-emerald-500 {
  color: #00ff00;
}
.text-purple-400 {
  color: #c084fc;
}
.text-red-400 {
  color: #f87171;
}
.text-blue-400 {
  color: #60a5fa;
}
.text-cyan-300 {
  color: #67e8f9;
}
.bg-black {
  background: #000;
}
.bg-zinc-800 {
  background: #27272a;
}
.bg-zinc-900 {
  background: #18181b;
}
.bg-emerald-600 {
  background: #00cc00;
}
.border {
  border: 1px solid;
}
.border-t {
  border-top: 1px solid;
}
.border-b {
  border-bottom: 1px solid;
}
.border-l {
  border-left: 1px solid;
}
.border-r {
  border-right: 1px solid;
}
.border-dashed {
  border-style: dashed;
}
.border-white\/\[0\.04\] {
  border-color: rgba(255, 255, 255, 0.04);
}
.border-white\/5 {
  border-color: rgba(255, 255, 255, 0.05);
}
.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}
.border-emerald-500\/10 {
  border-color: rgba(0, 255, 0, 0.1);
}
.border-emerald-500\/15 {
  border-color: rgba(0, 255, 0, 0.15);
}
.border-emerald-500\/20 {
  border-color: rgba(0, 255, 0, 0.2);
}
.border-emerald-500\/25 {
  border-color: rgba(0, 255, 0, 0.25);
}
.border-blue-500\/20 {
  border-color: rgba(59, 130, 246, 0.2);
}
.border-zinc-800 {
  border-color: #27272a;
}
.border-transparent {
  border-color: transparent;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.transition-all {
  transition: all 0.2s;
}
.transition-colors {
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.transition-opacity {
  transition: opacity 0.2s;
}
.transition-transform {
  transition: transform 0.2s;
}
.hover\:bg-white\/\[0\.03\]:hover {
  background: rgba(255, 255, 255, 0.03);
}
.hover\:bg-white\/5:hover {
  background: rgba(255, 255, 255, 0.05);
}
.hover\:bg-zinc-800:hover {
  background: #27272a;
}
.hover\:bg-emerald-500\/10:hover {
  background: rgba(0, 255, 0, 0.1);
}
.hover\:bg-emerald-600\/20:hover {
  background: rgba(0, 204, 0, 0.2);
}
.hover\:bg-red-500\/10:hover {
  background: rgba(239, 68, 68, 0.1);
}
.hover\:text-zinc-200:hover {
  color: #e4e4e7;
}
.hover\:text-zinc-400:hover {
  color: #a1a1aa;
}
.hover\:text-emerald-300:hover {
  color: #66ff66;
}
.hover\:text-emerald-400:hover {
  color: #33ff33;
}
.hover\:text-red-400:hover {
  color: #f87171;
}
.hover\:text-white:hover {
  color: #fff;
}
.hover\:border-white\/10:hover {
  border-color: rgba(255, 255, 255, 0.1);
}
.hover\:border-emerald-500\/30:hover {
  border-color: rgba(0, 255, 0, 0.3);
}
.disabled\:opacity-40:disabled {
  opacity: 0.4;
}
.disabled\:hover\:bg-transparent:disabled:hover {
  background: transparent;
}
.disabled\:hover\:text-zinc-500:disabled:hover {
  color: #71717a;
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
.outline-none {
  outline: none;
}
.resize-none {
  resize: none;
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.shrink-0 {
  flex-shrink: 0;
}
.min-w-0 {
  min-width: 0;
}
.cursor-pointer {
  cursor: pointer;
}
.pointer-events-none {
  pointer-events: none;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.animate-fade-in {
  animation: fadeIn 0.3s ease;
}
.animate-bounce {
  animation: bounce 1s infinite;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
}
.hidden {
  display: none;
}
