/* 공용 페이지 셸 스타일 — 모든 페이지 공유 */
html, body { background: #0a0a0f; color: #fff; }
body {
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(34,211,238,0.35); color: #fff; }
html { scroll-behavior: smooth; }

.grain::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay; opacity: .35;
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.22,.6,.36,1), transform .7s cubic-bezier(.22,.6,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.blinker { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.typing-dot { animation: tdot 1.2s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: .15s; }
.typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-3px); opacity: 1; } }
.bubble-in { animation: bubbleIn .35s cubic-bezier(.22,.8,.36,1) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.marquee { animation: marquee 40s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-tilt { transform: perspective(2200px) rotateX(6deg); transform-origin: 50% 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
