@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  background-color: #050505;
  color: #e4e4e7;
}

.glass {
  background: rgba(24, 24, 27, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* The Glossy Black Style */
.nav-glossy {
  background: rgba(18, 18, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.text-gradient {
  background: linear-gradient(to right, #f47407, #ff9f43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-pattern {
  background-image: radial-gradient(#f47407 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

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

::-webkit-scrollbar-track {
  background: #0f0f11;
}

::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f47407;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.fade-slide-up-enter-active {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-slide-up-leave-active {
  transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
}

.fade-slide-up-enter-from {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
}

.fade-slide-up-leave-to {
  opacity: 0;
  transform: translateY(10px) scale(0.95);
}

.swal2-popup {
  background: #18181b !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Compatibility Table Styling */
.comp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.comp-table th {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.comp-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.comp-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}
