/* ===================== GENERAL ===================== */
body {
  font-family: 'Inter', sans-serif;
  background-color: #1a1a1a; /* gray-900 */
  color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ===================== NAVBAR ===================== */
#navbar {
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, background-color 0.3s ease;
}

/* ===================== FADE-UP SECTIONS ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.2s; }
.fade-up.delay-2 { transition-delay: 0.4s; }
.fade-up.delay-3 { transition-delay: 0.6s; }

/* ===================== GLASS CARDS ===================== */
.glass-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(94, 234, 212, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: 0 0 25px rgba(94, 234, 212, 0.05);
  transition: all 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(94, 234, 212, 0.15);
}

/* ===================== TABLES ===================== */
table {
  border-collapse: collapse;
  min-width: 600px;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
}

thead {
  font-weight: bold;
}

tbody tr:hover {
  background-color: #374151; /* gray-700 hover */
}

/* ===================== BLOBS ===================== */
.animated-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #06b6d4, #3b82f6);
  animation: move 20s infinite alternate ease-in-out, pulse 10s infinite ease-in-out;
  mix-blend-mode: screen;
  opacity: 0.6;
  filter: blur(60px);
}

.blob:nth-child(2) {
  background: radial-gradient(circle at 30% 30%, #f97316, #facc15);
  left: 40%; top: 20%;
  animation-duration: 25s;
  animation-delay: -10s;
}

.blob:nth-child(3) {
  background: radial-gradient(circle at 30% 30%, #4ade80, #22d3ee);
  left: 20%; bottom: 10%;
  animation-duration: 18s;
  animation-delay: -5s;
}

@keyframes move {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(120px,-150px) scale(1.2); }
  100% { transform: translate(-150px,120px) scale(0.9); }
}

@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===================== GLOW TEXT ===================== */
.glow-text {
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.7),
               0 0 20px rgba(45, 212, 191, 0.5),
               0 0 40px rgba(45, 212, 191, 0.3);
}

/* ===================== CURSOR GLOW ===================== */
#cursorGlow {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  background-color: rgba(45, 212, 191, 0.6);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
  z-index: 9999;
}

/* ===================== CUSTOM SCROLLBAR ===================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #14b8a6, #06b6d4);
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #111827;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  nav ul { display: none; }
  table { min-width: 100%; }
}
