:root {
  --accent: #f97316;
  --bg: #000000;
}

/* Fixed horizontal overflow and background sizing */
html,
body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0px !important;
  background: transparent !important; /* පසුබිම විනිවිද පෙනෙන ලෙස */
}

/* Firefox සඳහා ප්‍රධාන scrollbar එක hide කිරීම */
html,
body {
  scrollbar-width: none !important;
}
/* 3. මොබයිල් වලදී විශේෂයෙන්ම ප්‍රධාන එක Hide වී ඇති බව තහවුරු කිරීම */
@media (max-width: 768px) {
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0px !important;
    display: none !important;
  }

  /* මොබයිල් වලදීත් section scrollbar එක පෙන්වීමට */
  div.custom-scrollbar::-webkit-scrollbar {
    width: 3px !important; /* මොබයිල් වලදී පොඩ්ඩක් සිහින්ව */
    display: block !important;
  }
}
/* Optimized Scanline Overlay - replaced 100vw/vh with inset for mobile stability */
body::before {
  content: " ";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%),
    linear-gradient(90deg, rgba(249, 115, 22, 0.01), rgba(249, 115, 22, 0.01), rgba(249, 115, 22, 0.01));
  z-index: 50;
  background-size:
    100% 2px,
    3px 100%;
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.project-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}
.project-row:hover {
  background: rgba(249, 115, 22, 0.03);
  border-bottom-color: var(--accent);
}
.hidden-row {
  display: none !important;
}

.badge {
  font-size: 8px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}

/* Hide scrollbar but allow functionality for filter container */
#filterContainer::-webkit-scrollbar {
  display: none;
}
#filterContainer {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
