/* ========================================
   ESKO 공식 홈페이지 — 전역 스타일
   ======================================== */

/* 스크롤바 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #dc2626, #ef4444);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b91c1c, #dc2626);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #dc2626 #0a0a0a;
}

/* Body */
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* 전역 커서 숨기기 (Home 페이지, 데스크톱만) */
@media (pointer: fine) {
  body.hide-cursor,
  body.hide-cursor * {
    cursor: none !important;
  }
}

/* 유틸 클래스 */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 폰트 클래스 */
.mono { font-family: 'Share Tech Mono', monospace; }
.noto { font-family: 'Noto Sans KR', sans-serif; }
.bebas { font-family: 'Bebas Neue', sans-serif; }
.barlow { font-family: 'Barlow Condensed', sans-serif; }

/* Lazy Loading 플레이스홀더 */
img.lazy {
  background: #1a1a1a;
  transition: opacity 0.3s ease;
}
img.lazy[data-src] {
  opacity: 0.6;
}
img.lazy:not([data-src]) {
  opacity: 1;
}
