@charset "utf-8";

/* ============================================
   FONT
   ============================================ */
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/ns2/assets/fonts/Oxanium-VF.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/ns2/assets/fonts/Outfit-VF.woff2') format('woff2');
}

/* ============================================
   VARIABLE
   ============================================ */
:root {
  /* color */
  --color-primary: #005eff;
  --color-point: #00c76f;
  --color-text: #fff;
  --color-text-sub: rgba(255, 255, 255, 0.6);
  --color-text-dim: rgba(255, 255, 255, 0.4);
  --color-heading: #f5f8ff;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.4);
  --color-bg: #000;
  --color-bg-deep: #020202;
  --color-bg-panel: #0d0e12;
  --color-bg-circle: #2a2a2a;
  --color-line: #333;

  /* glow */
  --glow-cyan: #00c6ff;
  --glow-blue: #1034d3;
  --glow-title: 0 0 30px var(--glow-cyan), 0 0 10px var(--glow-blue);
  --glow-title-lg: 0 2px 20px var(--glow-cyan), 0 0 7px var(--glow-blue);

  /* font */
  --font-base: 'Oxanium', -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --font-num: 'Outfit', 'Oxanium', -apple-system, sans-serif;
  --font-title: 'Oxanium', -apple-system, 'Apple SD Gothic Neo', sans-serif;

  /* layout */
  --header-h: 135px;
  --container-w: 1720px;
  --panel-w: 1530px;
  --side-pad: 100px;
}

/* ============================================
   BASE
   ============================================ */
html { background: var(--color-bg); }

body {
  min-width: 320px;
  background: var(--color-bg);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.tit-sec {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: var(--glow-title);
}

@media (max-width: 1280px) { .tit-sec { font-size: 42px; } }
@media (max-width: 1024px) { .tit-sec { font-size: 36px; } }
@media (max-width: 768px)  { .tit-sec { font-size: 30px; } }
@media (max-width: 480px)  { .tit-sec { font-size: 24px; } }

.txt-sec {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

@media (max-width: 1024px) { .txt-sec { font-size: 16px; } }
@media (max-width: 480px)  { .txt-sec { font-size: 14px; } }

/* ============================================
   UTILITY
   ============================================ */
.inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1280px) { .inner { padding: 0 40px; } }
@media (max-width: 768px)  { .inner { padding: 0 20px; } }

.blind {
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis-2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 섹션 공통 세로 그리드 라인 */
.grid-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grid-line span {
  -ms-flex: 0 0 1px;
  flex: 0 0 1px;
  width: 1px;
  height: 100%;
  background: var(--color-border);
}

@media (max-width: 768px) {
  .grid-line span:nth-child(even) { display: none; }
}

/* 배경 글로우 */
.glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
