@import './token.css';

:root {
  /* 브랜드 alias */
  --accent:        var(--color-green);
  --accent-vivid:  var(--color-green-vivid);
  --accent-soft:   var(--color-green-soft);
  --accent-strong: var(--color-green-dark);

  /* 상태 색상 */
  --good:          var(--color-green);
  --good-bg:       #f0f7f3;
  --good-border:   rgba(26, 92, 56, 0.2);
  --bad:           var(--color-red);
  --bad-bg:        #fdf0ef;
  --bad-border:    rgba(192, 57, 43, 0.15);

  /* 코드 */
  --code-bg:       #1e1e2e;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.custom-cursor {
  cursor: none;
}
.cursor {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(26, 92, 56, 0.35);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}