:root {
  --accent: #f97316;
  --bg: #000000;
}
body {
  background-color: var(--bg);
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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;
  }
}
.mono {
  font-family: "JetBrains Mono", monospace;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
}
body::before {
  content: " ";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
  opacity: 0.2;
}

.glow-border {
  border: 1px solid rgba(249, 115, 22, 0.2);
  transition: all 0.3s ease;
}
.glow-border:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
}

#galleryOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #f97316;
  border-radius: 10px;
}
