/* =====================================================================
   intro.css — 홈 인트로 (index.html에서만 읽음, 2026-10-06 디자인 2단계)
   시안: docs/design/quespin_intro.html — 모양·시간은 시안 그대로, 그림은 assets/brand/q-mark-neon.png · fox-neon.png
   움직임 순서·시간은 js/home/intro.js
   색: 바탕 = --ink(사이트 진한 타일과 같은 네이비), 글자 = 흰색, 네온 = 시안의 네온 파랑(--neon #38c6ff — 인트로 안에서만 허용, CLAUDE.md 디자인 규칙 예외. Q·여우 그림의 색)
   ===================================================================== */
#intro {
  --neon: #38c6ff;
  --intro-dim: rgba(255, 255, 255, .5);
  position: fixed; inset: 0; z-index: 99;
  background: #0b1220; color: #ffffff;   /* 인트로는 화면 바탕 설정과 상관없이 늘 진한 바탕 (2026-10-16 — 어두운 바탕이면 --ink가 밝은 색이라 하얗게 나왔음) */ font-family: var(--font-sans);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden;
  transition: transform .4s cubic-bezier(.8, 0, .2, 1);
}
#intro.out { transform: translateX(-102%); }   /* 왼쪽으로 넘어감 */
.in-stage { display: flex; align-items: center; gap: 22px; height: 190px; }
.in-q { width: 180px; height: 180px; opacity: 0; transform: scale(.9) rotate(-30deg);
  animation: inQin .35s .02s cubic-bezier(.2, .7, .2, 1) forwards, inSpin .55s .3s cubic-bezier(.65, 0, .15, 1) forwards;
  filter: drop-shadow(0 0 14px rgba(56, 198, 255, .55)); }
@keyframes inQin { to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes inSpin { to { opacity: 1; transform: scale(1) rotate(360deg); } }
.in-word { font-weight: 800; font-size: 76px; color: #ffffff; letter-spacing: 10px; min-width: 430px; white-space: nowrap; }
.in-caret { display: inline-block; width: 4px; height: .85em; background: var(--neon); vertical-align: -4px; margin-left: 4px; animation: inBlink .7s steps(1) infinite; }
@keyframes inBlink { 50% { opacity: 0; } }
.in-mean { margin-top: 34px; text-align: center; min-height: 120px; }
.in-en { font-family: var(--font-mono); font-size: 14px; letter-spacing: 5px; color: var(--intro-dim); min-height: 20px; }
.in-en b { color: var(--neon); font-weight: 700; }
.in-ko { font-size: 32px; font-weight: 700; color: #ffffff; letter-spacing: -1px; margin: 16px 0 0; min-height: 48px; white-space: nowrap; }
.in-ko em { font-style: normal; color: var(--neon); }
.in-fox { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: 110px; height: auto; opacity: 0; transition: opacity .5s; }
.in-fox.on { opacity: .9; }
.in-skip { position: absolute; right: 36px; bottom: 30px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; color: rgba(255, 255, 255, .35); }
@media (prefers-reduced-motion: reduce) { #intro { display: none; } }
/* 좁은 화면: 글자·그림을 줄여 한 화면에 */
@media (max-width: 700px) {
  .in-stage { gap: 10px; height: 110px; }
  .in-q { width: 96px; height: 96px; }
  .in-word { font-size: 40px; letter-spacing: 5px; min-width: 210px; }
  .in-en { font-size: 11px; letter-spacing: 3px; }
  .in-ko { font-size: 20px; white-space: normal; }
  .in-fox { width: 80px; }
}
@media print { #intro { display: none; } }
