body {
  font-family: 'Inter', 'Noto Sans Ethiopic', system-ui, sans-serif;
  background-color: #0B1020;
  color: #ffffff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Space Grotesk', 'Noto Sans Ethiopic', system-ui, sans-serif;
}
.text-gradient {
  background: linear-gradient(135deg, #00AEEF 0%, #60EFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glass-card {
  background: rgba(21, 28, 47, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.glass-card:hover {
  border-color: rgba(0, 174, 239, 0.3);
  box-shadow: 0 10px 40px -10px rgba(0, 174, 239, 0.15);
}
.mesh-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
  background: #0B1020; overflow: hidden; pointer-events: none;
}
.mesh-ball-1 {
  position: absolute; top: -10%; left: -10%; width: 70vw; height: 70vw;
  background: rgba(0, 174, 239, 0.08); border-radius: 50%; filter: blur(140px);
  animation: floatMesh 25s infinite alternate ease-in-out;
}
.mesh-ball-2 {
  position: absolute; bottom: -20%; right: -10%; width: 60vw; height: 60vw;
  background: rgba(96, 239, 255, 0.05); border-radius: 50%; filter: blur(120px);
  animation: floatMesh 20s infinite alternate-reverse ease-in-out;
}
@keyframes floatMesh {
  0% { transform: translate(0px, 0px) scale(1); }
  100% { transform: translate(50px, 80px) scale(1.1); }
}
.grain-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025; pointer-events: none;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.spotlight-card { position: relative; overflow: hidden; }
.spotlight-card::before {
  content: ''; position: absolute; inset: -1px; opacity: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 174, 239, 0.25), transparent 50%);
  z-index: 0; transition: opacity 0.4s ease; pointer-events: none; border-radius: inherit;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-inner { position: relative; z-index: 1; background: rgba(21, 28, 47, 0.6); height: 100%; border-radius: inherit; }
.portfolio-item {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center top;
  opacity: 1;
  transform: scale(1) translateY(0);
}
.portfolio-item.hidden-item {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.filter-btn {
  position: relative; overflow: hidden;
}
.filter-btn::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 100%;
  background: #00AEEF; z-index: -1; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%); border-radius: 9999px;
}
.filter-btn.active {
  color: #ffffff; border-color: transparent; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.3);
}
.filter-btn.active::after { width: 100%; }
#lightbox {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
#lightbox-img-container {
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#lightbox.active #lightbox-img-container {
  transform: scale(1);
}