/* 롤헬퍼.KR 첫 화면 (2026-12-04) — 사장님이 준 참고 사이트(어두운 바탕 · 빨강 붓글씨 · 실크 띠)를 따라 새로 그림.
   그림 · 글꼴은 우리 것만: 붓글씨는 East Sea Dokdo(무료 글꼴), 실크 띠 · 작은 움직임은 이 파일과 ls3.js 가 그린다.
   움직임은 transform / opacity 만 쓴다(렉 규칙). */
:root {
  --bg: #131313; --el: #1b1b1b; --hov: #262626; --deep: #0a0a0a;
  --line: #313131; --line2: #232323;
  --ink: #f5f5f5; --ink2: #a3a3a3; --mute: #8a8a8a;
  --red: #e8324e; --red2: #b91845; --redh: #ff4a63;
  --hd: 64px; --m: 40px;
  --brush: 'East Sea Dokdo', 'Pretendard', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--redh); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--bg); padding: 8px 12px; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--m); }

/* 붓글씨 */
.br {
  font-family: var(--brush); font-weight: 400; letter-spacing: 0;
  background: linear-gradient(180deg, var(--redh) 10%, var(--red) 55%, var(--red2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 단추 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 10px; border: 0; cursor: pointer;
  color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(90deg, var(--red) 0%, #d0244a 60%, #f0587a 100%);
  box-shadow: 0 10px 30px -12px rgba(232, 50, 78, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-buy { width: 100%; }

/* 머리줄 */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hd);
  display: flex; align-items: center; gap: 16px; padding: 0 var(--m);
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s;
}
.scrolled .hd { background: rgba(19, 19, 19, .86); border-bottom-color: var(--line2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.logo { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; line-height: 1; }
.logo .br { font-size: 38px; line-height: 1; display: inline-block; transform: rotate(-4deg); padding: .08em 2px .14em; margin: -.08em 0 -.14em; }
.logo small { font-size: 13px; font-weight: 800; color: var(--ink2); letter-spacing: .02em; }
.hd-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 30px; }
.hd-nav a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink2); font-weight: 800; font-size: 15px; text-decoration: none; transition: color .2s; }
.hd-nav a .ic { color: var(--red); width: 17px; height: 17px; }
.hd-nav a:hover { color: var(--ink); }
.hd-buy { margin-left: auto; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .3s; }
.past .hd-buy { opacity: 1; transform: none; pointer-events: auto; }
.hd-menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(27, 27, 27, .7); border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.sheet { position: fixed; inset: var(--hd) 0 auto 0; z-index: 49; background: rgba(19, 19, 19, .97); border-bottom: 1px solid var(--line2); padding: 10px var(--m) 22px; }
.sheet[hidden] { display: none; }
.sheet nav { display: grid; margin-bottom: 16px; }
.sheet nav a { padding: 13px 2px; border-bottom: 1px solid var(--line2); font-weight: 700; font-size: 17px; text-decoration: none; }

/* 오른쪽 점 */
.dots { position: fixed; right: 26px; top: 50%; z-index: 40; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; }
.dots a { display: block; width: 6px; height: 6px; border-radius: 3px; background: #5a5a5a; transition: transform .3s, background-color .3s; }
.dots a.on { background: var(--red); transform: scaleY(3); }
.dots a:hover { background: var(--ink2); }

/* 실크 띠 — ls3.js 가 선 수십 개로 그린다 */
.silk { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.silk svg { position: absolute; left: -6%; width: 112%; height: 100%; will-change: transform; animation: silk 22s ease-in-out infinite alternate; }
@keyframes silk { from { transform: translate3d(-2%, 0, 0) scaleY(1); } to { transform: translate3d(2%, 1.5%, 0) scaleY(1.08); } }

/* 섹션 공통 */
.sec { position: relative; padding: 120px 0; }
.h2 { margin: 0; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.08; font-weight: 900; letter-spacing: -.045em; }
.h2 > span:first-child { background: linear-gradient(180deg, #fff 40%, #c9c9c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 .br { display: inline-block; font-size: 1.42em; line-height: .8; transform: rotate(-3deg); padding: .1em .06em .2em; margin: -.1em 0 -.2em .08em; vertical-align: -.06em; filter: drop-shadow(0 6px 20px rgba(232, 50, 78, .28)); }
.h2.two .br { display: block; margin: -.06em 0 -.2em -.08em; width: fit-content; }
.h2.c.two .br { margin-left: auto; margin-right: auto; }
.lead { margin: 18px 0 0; max-width: 680px; font-size: 19px; line-height: 1.7; color: var(--ink2); }
.lead a { color: var(--ink); text-underline-offset: 3px; }

/* ── 첫 화면 ── */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hd) + 40px) 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg video {
  position: absolute; top: 50%; left: 50%; width: 120%; height: 120%; object-fit: cover; transform: translate(-50%, -50%);
  filter: grayscale(1) contrast(1.25) brightness(.55); opacity: .36;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 46% 46%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 46% 46%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 55% at 44% 42%, rgba(232, 50, 78, .32), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(185, 24, 69, .25), transparent 70%),
    linear-gradient(180deg, rgba(19, 19, 19, .2), rgba(19, 19, 19, 0) 30%, rgba(19, 19, 19, .9) 100%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 496px; gap: 48px; align-items: center; }
h1 { margin: 0; line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.h-a {
  display: block; font-size: clamp(60px, 7.8vw, 120px);
  background: linear-gradient(180deg, #fff 45%, #bdbdbd); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h-b {
  display: block; width: fit-content; font-size: clamp(96px, 12.4vw, 192px); line-height: .78; margin: -.1em 0 -.18em -.06em; padding: .12em .08em .2em;
  transform: rotate(-4deg); transform-origin: left center; filter: drop-shadow(0 10px 34px rgba(232, 50, 78, .38));
}
.hero-p { margin: 28px 0 0; font-size: 22px; line-height: 1.6; color: #d6d6d6; max-width: 600px; }
.stats { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 34px; }
.stats li { display: flex; align-items: center; gap: 14px; }
.stats i, .tab i, .pc-set i {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; flex: none;
  border: 1px solid rgba(232, 50, 78, .3); background: rgba(232, 50, 78, .08); color: var(--red);
}
.stats .ic { width: 22px; height: 22px; }
.stats p { margin: 0; display: grid; line-height: 1.25; }
.stats b { font-size: 21px; font-weight: 800; }
.stats span { font-size: 13px; font-weight: 800; color: var(--ink2); letter-spacing: .04em; }

/* 가격 고르기 */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-align: left;
  padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(24, 24, 24, .78); cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.tab i { width: 38px; height: 38px; border-radius: 10px; grid-row: span 2; color: var(--ink2); border-color: var(--line); background: rgba(255, 255, 255, .02); }
.tab b { font-size: 16px; font-weight: 800; line-height: 1.3; }
.tab span { font-size: 13.5px; color: var(--ink2); line-height: 1.35; }
.tab:hover { border-color: #4a4a4a; }
.tab.on { border-color: rgba(232, 50, 78, .62); background: linear-gradient(180deg, rgba(232, 50, 78, .16), rgba(232, 50, 78, .04)), rgba(24, 24, 24, .8); }
.tab.on i { color: var(--red); border-color: rgba(232, 50, 78, .35); background: rgba(232, 50, 78, .1); }
.tag { position: absolute; top: -10px; right: 12px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--ink2); background: var(--bg); border: 1px solid var(--line); }

.pc {
  margin-top: 12px; padding: 26px; border-radius: 18px; border: 1px solid rgba(232, 50, 78, .34);
  background: linear-gradient(180deg, rgba(48, 16, 24, .82), rgba(22, 18, 19, .94) 45%, rgba(19, 19, 19, .96));
  box-shadow: 0 30px 80px -40px rgba(232, 50, 78, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.pc-h { display: flex; align-items: center; gap: 14px; }
.pc-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(232, 50, 78, .35); background-color: rgba(232, 50, 78, .1); font-size: 34px; line-height: 1; flex: none; }
.pc-name { margin: 0; font-size: 25px; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.pc-sub { margin: 3px 0 0; font-size: 15px; color: var(--ink2); }
.pc-need { margin: 20px 0 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.pc-need summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-size: 15px; color: #d6d6d6; }
.pc-need summary::-webkit-details-marker { display: none; }
.pc-need summary span { flex: 1; }
.pc-need .chev { color: var(--ink2); transition: transform .25s; }
.pc-need[open] .chev { transform: rotate(180deg); }
.pc-need p { margin: 0; padding: 0 14px 14px 42px; font-size: 14.5px; line-height: 1.65; color: var(--ink2); }
.pc-need a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.pc-opts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 18px; min-height: 74px; }
.opt {
  position: relative; display: grid; align-content: center; gap: 2px; padding: 14px 6px; border-radius: 12px; cursor: pointer; text-align: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .2s, background-color .2s;
}
.opt b { font-size: 16.5px; font-weight: 800; }
.opt span { font-size: 14.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.opt:hover { border-color: #4a4a4a; }
.opt.on { border-color: var(--red); background: rgba(232, 50, 78, .08); }
.opt.on span { color: var(--redh); }
.best { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #fff; white-space: nowrap; background: linear-gradient(90deg, var(--red), var(--red2)); }
.pc-price { margin: 22px 0 0; text-align: center; line-height: 1; }
.pc-big { font-size: 64px; font-weight: 900; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.pc-unit { margin-left: 4px; font-size: 26px; font-weight: 800; color: #cfcfcf; }
.pc-day { margin: 10px 0 20px; text-align: center; font-size: 15px; color: var(--ink2); }
.pc-set {
  display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 13px 16px; border-radius: 14px; text-decoration: none;
  border: 1px dashed var(--line); background: rgba(19, 19, 19, .6); transition: border-color .2s;
}
.pc-set i { width: 40px; height: 40px; border-radius: 10px; }
.pc-set span { flex: 1; display: grid; line-height: 1.35; }
.pc-set b { font-size: 16px; font-weight: 800; }
.pc-set small { font-size: 14px; color: var(--ink2); }
.pc-set em { font-style: normal; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink2); white-space: nowrap; }
.pc-set:hover { border-color: rgba(232, 50, 78, .55); }
.pc-note { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--ink2); }
.pc-note a { color: var(--redh); text-underline-offset: 3px; }

/* ── 실제 플레이 ── */
.play-in { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 48px; align-items: center; }
.modes { display: grid; gap: 12px; margin-top: 30px; }
.mode {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; width: 100%; text-align: left;
  padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(24, 24, 24, .7); cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.mode b { font-size: 16.5px; font-weight: 800; color: #cfcfcf; }
.mode em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--mute); letter-spacing: .06em; }
.mode span { grid-column: 1 / -1; font-size: 15px; color: var(--ink2); line-height: 1.55; }
.mode:hover { border-color: #3a3a3a; }
.mode.on { border-color: rgba(232, 50, 78, .5); background: rgba(232, 50, 78, .06); }
.mode.on b { color: var(--ink); }
.mode.on em { color: var(--red); }
.bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.try-m { display: none; }
.arena {
  position: relative; margin: 0; aspect-ratio: 2 / 1.06; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(232, 50, 78, .32); background: #0e0b0d;
  box-shadow: 0 40px 90px -50px rgba(232, 50, 78, .55);
}
.arena canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.arena.try canvas { touch-action: none; }
.ar-foot { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; align-items: center; pointer-events: none; }
.ar-mode { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--red); min-width: 90px; }
.keys { display: flex; gap: 8px; margin: 0 auto; transform: translateX(-45px); }
kbd {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; font: 800 11px/1 'Pretendard', sans-serif;
  color: var(--ink2); background: rgba(27, 27, 27, .9); border: 1px solid #3a3a3a; transition: background-color .15s, color .15s, border-color .15s;
}
kbd.on { color: #131313; background: var(--ink); border-color: var(--ink); }
.ar-hint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink2); background: rgba(19, 19, 19, .8); border: 1px solid var(--line); opacity: 0; transition: opacity .3s; pointer-events: none; white-space: nowrap; }
.arena.try .ar-hint { opacity: 1; }
.arena.try.held .ar-hint { opacity: 0; }

/* ── 기능 카드 ── */
.feat .lead { margin-bottom: 44px; }
.bento { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(6, 88px); gap: 14px; }
.card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border: 1px solid var(--line2); border-radius: 16px; background: linear-gradient(180deg, rgba(27, 27, 27, .92), rgba(19, 19, 19, .92));
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(232, 50, 78, .45); transform: translateY(-2px); }
.card.wide { grid-column: 1; grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.c-orb { grid-row: 1 / 3 !important; } .c-pred { grid-row: 3 / 5 !important; } .c-eva { grid-row: 5 / 7 !important; }
.c-awa { grid-column: 2; grid-row: 1 / 4; } .c-uti { grid-column: 3; grid-row: 1 / 4; }
.c-zoom { grid-column: 2; grid-row: 4 / 7; } .c-skin { grid-column: 3; grid-row: 4 / 7; }
.card .txt { padding: 0 24px 22px; }
.card.wide .txt { padding: 0 28px 0 0; }
.card h3 { margin: 0 0 6px; font-size: 18.5px; font-weight: 800; letter-spacing: -.02em; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.viz { display: block; width: 100%; height: 100%; max-height: 150px; margin: auto; padding: 14px 18px 4px; overflow: visible; }
.card.wide .viz { max-height: 140px; padding: 12px 10px 12px 24px; }
.viz * { transform-box: fill-box; transform-origin: center; }
.viz .me { fill: #131313; stroke: #e6e6e6; stroke-width: 2; }
.viz .foe { fill: rgba(232, 50, 78, .16); stroke: var(--red); stroke-width: 2; }
.viz .ghost { fill: none; stroke: #8a8a8a; stroke-width: 1.4; stroke-dasharray: 3 3; opacity: .75; }
.viz .dash { fill: none; stroke: var(--red); stroke-opacity: .55; stroke-width: 1.4; stroke-dasharray: 4 4; }
.viz .dash.solid { stroke: #6a6a6a; stroke-opacity: 1; stroke-dasharray: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.viz .band { fill: rgba(232, 50, 78, .16); stroke: rgba(232, 50, 78, .55); stroke-width: 1.2; }
.viz .shot { fill: var(--redh); }
.viz .tgt { fill: none; stroke: #9a9a9a; stroke-width: 1.4; }
.viz .hpbg { fill: #353535; }
.viz .hp { fill: var(--red); transform-origin: left center; }
.viz .lb { font: 800 9px 'Pretendard', sans-serif; fill: #8a8a8a; text-anchor: middle; letter-spacing: .04em; }
.viz .lb.l { text-anchor: start; }
.viz .map { fill: rgba(255, 255, 255, .025); stroke: #4a4a4a; stroke-width: 1.5; }
.viz .ally { fill: #9a9a9a; }
.viz .foe-s { fill: var(--red); }
.viz .ring { fill: none; stroke: var(--red); stroke-width: 1.4; }
.viz .key { fill: #1b1b1b; stroke: #4a4a4a; stroke-width: 1.4; }
.viz .key.on { stroke: var(--red); }
.viz .kt { font: 800 11px 'Pretendard', sans-serif; fill: #d4d4d4; text-anchor: middle; }
.viz .up { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.viz .knob { fill: var(--ink); }
.viz .sk { stroke: #3a3a3a; stroke-width: 1.2; }
.viz .s1, .viz .s5 { fill: #222; opacity: .6; } .viz .s2 { fill: #2b2328; } .viz .s4 { fill: #24262c; }
.viz .s3 { fill: rgba(232, 50, 78, .32); stroke: var(--red); stroke-width: 2; }
/* 카드 안 움직임: 평소 멈춤 → 마우스를 올리면(폰은 화면에 들어오면) 돈다 */
.viz .an { animation-play-state: paused; animation-duration: 1.8s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
@media (hover: hover) { .card:hover .viz .an, .card:focus-visible .viz .an { animation-play-state: running; } }
@media (hover: none) { .card.in .viz .an { animation-play-state: running; } .hint-pc { display: none; } }
.orb-me { animation-name: orbMe; } @keyframes orbMe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }
.orb-g1 { animation-name: blink; } .orb-g2 { animation-name: blink; animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: .85; } }
.orb-shot { animation-name: orbShot; animation-duration: .9s !important; animation-timing-function: linear !important; }
@keyframes orbShot { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(98px); opacity: 0; } }
.orb-hp { animation-name: hpDown; animation-duration: 3.6s !important; animation-timing-function: steps(4) !important; }
@keyframes hpDown { from { transform: scaleX(1); } to { transform: scaleX(.12); } }
.pred-shot { animation-name: predShot; animation-duration: 1.4s !important; animation-timing-function: linear !important; }
@keyframes predShot { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(116px); opacity: 0; } }
.pred-foe { animation-name: predFoe; animation-duration: 1.4s !important; animation-timing-function: linear !important; }
@keyframes predFoe { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 10px); } }
.pred-ghost { animation-name: blink; animation-duration: 1.4s !important; }
.eva-shot { animation-name: evaShot; animation-duration: 1.6s !important; animation-timing-function: linear !important; }
@keyframes evaShot { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(146px); opacity: 0; } }
.eva-me { animation-name: evaMe; animation-duration: 1.6s !important; }
@keyframes evaMe { 0%, 15% { transform: translate(0, 0); } 45%, 80% { transform: translate(16px, 32px); } 100% { transform: translate(0, 0); } }
.awa-a { animation-name: awaA; animation-duration: 2.4s !important; } @keyframes awaA { 50% { transform: translate(-8px, 6px); } }
.awa-b { animation-name: awaB; animation-duration: 2.4s !important; } @keyframes awaB { 50% { transform: translate(6px, -8px); } }
.awa-r { animation-name: ping; animation-duration: 1.2s !important; animation-timing-function: ease-out !important; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.uti-r { animation-name: flash; animation-duration: 1.2s !important; } @keyframes flash { 50% { opacity: .35; } }
.uti-up { animation-name: upB; animation-duration: 1.2s !important; } @keyframes upB { 50% { transform: translateY(-3px); } }
.uti-lv { animation-name: lv; animation-duration: 2.4s !important; } @keyframes lv { 0% { transform: scaleX(.35); } 100% { transform: scaleX(.92); } }
.zoom-map { animation-name: zoomMap; animation-duration: 2.6s !important; } @keyframes zoomMap { 0%, 100% { transform: scale(1.22); } 50% { transform: scale(.94); } }
.zoom-bar { animation-name: zoomBar; animation-duration: 2.6s !important; } @keyframes zoomBar { 0%, 100% { transform: scaleX(.55); } 50% { transform: scaleX(1); } }
.zoom-knob { animation-name: zoomKnob; animation-duration: 2.6s !important; } @keyframes zoomKnob { 0%, 100% { transform: translateX(-45px); } 50% { transform: translateX(0); } }
.skin-row { animation-name: skin; animation-duration: 3s !important; } @keyframes skin { 0%, 100% { transform: translateX(0); } 33% { transform: translateX(-8px); } 66% { transform: translateX(8px); } }
.hint { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--mute); }

/* ── 챔피언 ── */
.champ { min-height: 92vh; display: grid; place-items: center; overflow: hidden; padding: 140px 0; }
.mosaic {
  position: absolute; inset: -40px -20px; z-index: 0; display: grid; grid-template-columns: repeat(auto-fill, 96px); grid-auto-rows: 96px;
  gap: 14px; justify-content: center; align-content: center;
}
.tile { position: relative; border-radius: 14px; overflow: hidden; background: #1a1a1a; }
.tile::before {
  content: ''; position: absolute; inset: 0; opacity: .4;
  background: url(/static/landing/lol/champ-atlas.webp) var(--x, 0) var(--y, 0) / 1400% 1300% no-repeat;
}
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--red); box-shadow: inset 0 0 18px rgba(232, 50, 78, .45); opacity: 0; }
.tile.hot::before { animation: tileLit 4.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.tile.hot::after { animation: tileHot 4.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes tileLit { 0%, 100% { opacity: .4; } 35%, 60% { opacity: 1; } }
@keyframes tileHot { 0%, 100% { opacity: 0; } 35%, 60% { opacity: 1; } }
.champ::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 42% 46% at 50% 50%, rgba(19, 19, 19, .97) 0%, rgba(19, 19, 19, .9) 45%, rgba(19, 19, 19, .45) 80%, rgba(19, 19, 19, .15) 100%),
    linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg));
}
.champ-in { position: relative; z-index: 1; text-align: center; max-width: 820px; padding: 0 var(--m); }
.champ-in .lead { margin-left: auto; margin-right: auto; }
.btn-o { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 11px 18px; border-radius: 10px; border: 1px solid rgba(232, 50, 78, .6); background: rgba(19, 19, 19, .7); font-size: 15px; font-weight: 800; text-decoration: none; transition: background-color .2s; }
.btn-o:hover { background: rgba(232, 50, 78, .14); }
.btn-o .ic { width: 16px; height: 16px; }
.champ-more { margin: 18px 0 0; font-size: 14.5px; color: var(--ink2); }
.champ-more a { color: var(--ink); text-underline-offset: 3px; }

/* ── 가이드 ── */
.docs .lead { margin-bottom: 44px; }
.dcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dcard {
  display: flex; align-items: center; gap: 28px; padding: 30px 30px; border-radius: 16px; text-decoration: none; color: inherit;
  border: 1px solid var(--line2); background: rgba(22, 22, 22, .88); transition: border-color .3s, transform .3s;
}
.dcard.dash-b { border-style: dashed; border-color: var(--line); }
.dcard:hover { border-color: rgba(232, 50, 78, .5); transform: translateY(-2px); }
.dviz { width: 96px; height: 64px; flex: none; }
.dviz .dl { fill: none; stroke: #4a4a4a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dviz .dl.hot { stroke: var(--red); }
.dcard h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.dcard p { margin: 0; font-size: 15px; color: var(--ink2); line-height: 1.6; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--redh); font-weight: 800; font-size: 15px; }
.more .ic { width: 15px; height: 15px; }
.doc-links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.doc-links a { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(19, 19, 19, .7); font-size: 14.5px; font-weight: 700; color: #d6d6d6; text-decoration: none; transition: border-color .2s, color .2s; }
.doc-links a:hover { border-color: rgba(232, 50, 78, .55); color: var(--ink); }

/* ── 제품 · 가격 전체 ({{PRODUCTS}}) ── */
.prods .lead { margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips[hidden] { display: none; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 15px; font-weight: 700; color: var(--ink2); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.chip:hover { color: var(--ink); }
.chip.on { color: #fff; border-color: var(--red); background: rgba(232, 50, 78, .14); }
.lp-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.lp-prod {
  display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 16px;
  border: 1px solid var(--line2); background: linear-gradient(180deg, #1a1a1a, #161616);
}
.lp-prod[hidden] { display: none; }
.lp-kind { align-self: flex-start; margin: 0 0 10px; padding: 1px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 800; color: var(--ink2); border: 1px solid var(--line); }
.lp-kind.k-set { color: var(--redh); border-color: rgba(232, 50, 78, .45); }
.lp-name { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; }
.lp-range { margin: 4px 0 0; font-size: 15px; font-weight: 800; color: var(--redh); font-variant-numeric: tabular-nums; }
.lp-desc { margin: 8px 0 0; font-size: 14.5px; color: var(--ink2); line-height: 1.6; }
.lp-opts { list-style: none; margin: 14px 0 0; padding: 0; }
.lp-opts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line2); font-size: 15px; }
.lp-opts span { color: var(--ink2); }
.lp-opts b { font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-feats h4 { margin: 14px 0 4px; font-size: 14px; font-weight: 800; color: #d6d6d6; }
.lp-feats ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink2); line-height: 1.6; }
.lp-more { margin-top: 12px; border-top: 1px solid var(--line2); }
.lp-more summary { padding: 11px 0 2px; cursor: pointer; font-size: 14.5px; font-weight: 800; color: var(--ink); list-style: none; }
.lp-more summary::-webkit-details-marker { display: none; }
.lp-more summary::after { content: ' +'; color: var(--mute); }
.lp-more[open] summary::after { content: ' −'; }
.lp-compat { margin: 14px 0 0; display: grid; gap: 4px; font-size: 14px; }
.lp-compat div { display: flex; gap: 10px; }
.lp-compat dt { color: var(--mute); min-width: 64px; }
.lp-compat dd { margin: 0; color: #d6d6d6; }
.lp-buy {
  margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; border-radius: 10px;
  border: 1px solid rgba(232, 50, 78, .5); font-size: 15px; font-weight: 800; text-decoration: none; text-align: center; transition: background-color .2s;
}
.lp-opts + .lp-buy, .lp-desc + .lp-buy, .lp-more + .lp-buy, .lp-feats + .lp-buy, .lp-compat + .lp-buy { margin-top: 18px; }
.lp-prod > :last-child { margin-top: auto; }
.lp-buy:hover { background: rgba(232, 50, 78, .14); }
.note { margin: 22px 0 0; font-size: 15px; color: var(--ink2); }
.note a { color: var(--ink); text-underline-offset: 3px; }

/* ── 읽을 글 · 질문 ── */
.read-in, .faq-in { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
.read-l, .faq-l { position: sticky; top: calc(var(--hd) + 32px); }
.lp-article { max-width: 780px; }
.lp-article h3 { margin: 40px 0 12px; font-size: 23px; line-height: 1.4; font-weight: 800; letter-spacing: -.02em; }
.lp-article h3:first-child { margin-top: 0; }
.lp-article p { margin: 0 0 14px; font-size: 17px; line-height: 1.85; color: #cdcdcd; }
.lp-faq details { border-bottom: 1px solid var(--line2); }
.lp-faq details:first-child { border-top: 1px solid var(--line2); }
.lp-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; color: var(--red); font-weight: 400; font-size: 24px; line-height: 1; }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.8; color: #c4c4c4; max-width: 780px; }

/* ── 마지막 띠 ── */
.cta { padding-top: 40px; }
.band { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; border-radius: 24px; border: 1px solid var(--line2); background: linear-gradient(100deg, #100c0e 35%, #1d0e13); }
.band-glow { position: absolute; right: -12%; top: -40%; width: 64%; height: 180%; background: radial-gradient(closest-side, rgba(232, 50, 78, .42), rgba(185, 24, 69, .12) 55%, transparent); animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
.band-in { position: relative; z-index: 1; padding: 64px 56px; max-width: 680px; }
.band .btn { width: auto; margin-top: 28px; }

/* ── 바닥 ── */
.ft { border-top: 1px solid var(--line2); margin-top: 60px; }
.ft-in { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.ft-about p { margin: 18px 0 0; max-width: 400px; font-size: 15px; color: var(--ink2); line-height: 1.7; }
.ft-about .ft-s { margin-top: 8px; font-size: 13.5px; color: var(--mute); }
.ft-col h2 { margin: 6px 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.ft-col a { display: block; margin: 0 0 12px; font-size: 15px; color: var(--ink2); text-decoration: none; }
.ft-col a:hover { color: var(--ink); }
.ft-end { margin: 0; padding: 22px var(--m); border-top: 1px solid var(--line2); text-align: center; font-size: 13.5px; color: var(--mute); }
.ft-end a { color: var(--ink2); }

/* ── 반응형 ── */
@media (max-width: 1240px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; }
  .play-in { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .card.wide { grid-column: 1 / -1; grid-row: auto !important; }
  .c-awa, .c-uti, .c-zoom, .c-skin { grid-column: auto; grid-row: auto; min-height: 250px; }
  .card.wide { min-height: 170px; }
  .dots { display: none; }
}
@media (max-width: 980px) {
  :root { --m: 22px; --hd: 60px; }
  .hd-nav { display: none; }
  .hd-buy { opacity: 1; transform: none; pointer-events: auto; }
  .hd-menu { display: inline-flex; }
  .sec { padding: 88px 0; }
  .hero { min-height: 0; padding-top: calc(var(--hd) + 36px); }
  .hero-in, .play-in, .read-in, .faq-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-r { max-width: 560px; width: 100%; }
  .read-l, .faq-l { position: static; }
  .arena { aspect-ratio: 4 / 3; }
  .dcards { grid-template-columns: 1fr; }
  .ft-in { grid-template-columns: 1fr 1fr; }
  .ft-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .logo .br { font-size: 33px; }
  .hd { gap: 10px; }
  .h-a { font-size: 52px; }
  .h-b { font-size: 88px; }
  .hero-p { font-size: 18px; margin-top: 22px; }
  .stats { gap: 14px; margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stats i { width: 44px; height: 44px; }
  .stats b { font-size: 18px; }
  .pc { padding: 20px 18px; }
  .pc-big { font-size: 54px; }
  .tab { grid-template-columns: 1fr; padding: 12px; }
  .tab i { display: none; }
  .tab span { font-size: 13px; }
  .h2 { font-size: 36px; }
  .lead { font-size: 17px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card.wide { grid-template-columns: minmax(0, 1fr); }
  .card.wide .txt { padding: 0 22px 22px; }
  .card.wide .viz { padding: 18px 18px 6px; max-height: 130px; }
  .c-awa, .c-uti, .c-zoom, .c-skin { min-height: 0; }
  .viz { max-height: 130px; }
  .dcard { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
  .keys { transform: none; margin: 0 0 0 auto; }
  .ar-mode { min-width: 0; }
  .mosaic { grid-template-columns: repeat(auto-fill, 74px); grid-auto-rows: 74px; gap: 10px; }
  .tile { border-radius: 11px; }
  .band-in { padding: 44px 24px; }
  .lp-article p { font-size: 16.5px; }
  .lp-faq summary { font-size: 17px; }
  .ft-in { gap: 28px; padding-top: 44px; }
}
@media (hover: none) { .try-pc { display: none; } .try-m { display: inline; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
