/* =========================================================
   Fat Cat Card — 스타일
   ========================================================= */
:root {
  --bg: #fafafc;
  --bg-2: #f3f3f8;
  --surface: #ffffff;
  --surface-2: #f6f6fb;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #6b7280;
  --line: #e5e7eb;
  --accent: #6d28d9;
  --accent-2: #7c3aed;
  --accent-soft: #ede9fe;
  --accent-text: #5b21b6;
  --green: #10b981;
  --green-soft: #d1fae5;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --dark: #0b0b12;
  --shadow: 0 1px 2px rgba(17,24,39,.04), 0 8px 24px rgba(17,24,39,.06);
  --shadow-lg: 0 20px 60px rgba(17,24,39,.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
}

:root[data-theme="dark"] {
  /* 브라우저 기본 UI(언어 선택창·스크롤바·자동완성)도 어둡게 그리도록 알려줍니다 */
  color-scheme: dark;
  --bg: #0b0b12;
  --bg-2: #101019;
  --surface: #15151f;
  --surface-2: #1b1b27;
  --text: #f3f4f6;
  --text-2: #c7c9d1;
  --text-3: #9095a3;
  --line: #262636;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-soft: #2a1d55;
  --accent-text: #c4b5fd;
  --green-soft: #0f2f25;
  --amber-soft: #3a2a08;
  --dark: #000000;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.02em; }
.section-head p { color: var(--text-2); margin: 0; font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 20px rgba(109,40,217,.28); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(109,40,217,.36); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-light { background: #fff; color: #111827; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, #7c3aed, #4c1d95); color: #fff; font-size: 18px; line-height: 1; font-weight: 900;
  box-shadow: 0 4px 12px rgba(109,40,217,.35);
}
.nav { display: flex; gap: 22px; margin-left: 32px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.nav a:hover { color: var(--text); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer;
}
.lang select { border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; outline: none; }
.theme-toggle {
  padding: 8px 16px; border-radius: 999px; border: 0; background: var(--dark); color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer;
}
:root[data-theme="dark"] .theme-toggle { background: #fff; color: #111; }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(124,58,237,.16), transparent 70%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 700;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.12; margin: 20px 0 18px; letter-spacing: -.03em; }
.hero h1 .grad { background: linear-gradient(90deg, #6d28d9, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: var(--text-2); margin: 0 0 26px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 0; margin-top: 40px; }
.stat { padding: 0 24px 0 0; margin-right: 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: 12px; color: var(--text-3); }

/* Hero card art */
/* ---------- Hero 3D 씬 ----------
   원근(perspective) 안에 카드 3장을 깊이차를 두고 띄웠습니다.
   --rx/--ry 는 app.js 의 마우스 패럴랙스가 넣어주고, 없으면 0 으로 정지합니다. */
.hero-art { position: relative; height: 420px; perspective: 1150px; perspective-origin: 50% 46%; }
.scene {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.22,.8,.28,1);
}
.scene-glow {
  position: absolute; left: 50%; top: 50%; width: 480px; height: 480px; margin: -240px 0 0 -240px;
  border-radius: 50%; pointer-events: none; transform: translateZ(-160px);
  background: radial-gradient(circle, rgba(168,85,247,.42), rgba(109,40,217,.18) 45%, transparent 70%);
  animation: glowPulse 7s ease-in-out infinite;
}
.scene-grid {
  position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px;
  transform: translateZ(-150px) rotateX(74deg); pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(139,92,246,.20) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(139,92,246,.20) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
          mask-image: radial-gradient(circle, #000 20%, transparent 68%);
}
@keyframes glowPulse { 0%,100% { opacity: .8; } 50% { opacity: 1; } }

.deck {
  position: absolute; left: 50%; top: 50%; width: 400px; height: 250px; margin: -125px 0 0 -200px;
  transform-style: preserve-3d; animation: deckFloat 11s ease-in-out infinite;
}
@keyframes deckFloat {
  0%,100% { transform: rotateY(-15deg) rotateX(7deg) translateY(0); }
  50%     { transform: rotateY(-4deg)  rotateX(3deg) translateY(-16px); }
}
.deck-card {
  position: absolute; inset: 0; border-radius: 22px; padding: 22px 26px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: linear-gradient(135deg,#1a0b3d 0%, #4c1d95 45%, #a855f7 120%);
  box-shadow: 0 40px 80px rgba(76,29,149,.45), inset 0 1px 0 rgba(255,255,255,.22);
}
/* 뒤로 갈수록 내려앉고 어두워져서 깊이가 보입니다 */
.deck-card.d1 { transform: translateZ(0); }
.deck-card.d2 { transform: translateZ(-50px) translateY(30px) translateX(-36px) rotateZ(-5deg); filter: brightness(.72) saturate(.85); }
.deck-card.d3 { transform: translateZ(-100px) translateY(60px) translateX(-70px) rotateZ(-10deg); filter: brightness(.5) saturate(.7); }
.deck-card.d1::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 40%),
              repeating-linear-gradient(120deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px);
}
.deck-card .row { display: flex; justify-content: space-between; align-items: center; }
.deck-card .brand { font-weight: 800; letter-spacing: .02em; }
.deck-card .chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg,#f5d77a,#c9a227); position: relative; }
.deck-card .chip::before { content:""; position:absolute; inset: 6px; border: 1px solid rgba(0,0,0,.25); border-radius: 4px; }
.deck-card .num { font-family: "Courier New", monospace; font-size: 20px; letter-spacing: .14em; }
.deck-card .net { font-style: italic; font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.deck-card small { display: block; font-size: 10px; opacity: .75; letter-spacing: .1em; }
/* 카드 표면을 훑고 지나가는 빛 */
.glare {
  position: absolute; top: -60%; left: -40%; width: 40%; height: 220%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: rotate(18deg); animation: glareSweep 5.5s ease-in-out infinite;
}
@keyframes glareSweep { 0%,62% { left: -45%; } 100% { left: 115%; } }

/* 카드보다 앞쪽(+Z)에 떠 있어 원근 때문에 더 크게 보입니다 */
.coin {
  position: absolute; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 25px; color: #fff;
  box-shadow: 0 18px 38px rgba(0,0,0,.3), inset 0 2px 0 rgba(255,255,255,.4), inset 0 -3px 6px rgba(0,0,0,.25);
}
.coin.t { background: linear-gradient(135deg,#2ec99a,#1a7a5c); top: 30px; left: 26px; animation: coinA 8s ease-in-out infinite; }
.coin.b { background: linear-gradient(135deg,#ffa62b,#c96f00); bottom: 44px; left: 8px; animation: coinB 9.5s ease-in-out infinite; }
.coin.e { background: linear-gradient(135deg,#7b92f0,#3b4fb8); top: 54px; right: 18px; animation: coinC 10.5s ease-in-out infinite; }
@keyframes coinA { 0%,100% { transform: translateZ(120px) translateY(0) rotate(-6deg); } 50% { transform: translateZ(150px) translateY(-20px) rotate(6deg); } }
@keyframes coinB { 0%,100% { transform: translateZ(80px)  translateY(0) rotate(5deg); }  50% { transform: translateZ(110px) translateY(-24px) rotate(-5deg); } }
@keyframes coinC { 0%,100% { transform: translateZ(100px) translateY(0) rotate(4deg); }  50% { transform: translateZ(64px)  translateY(-18px) rotate(-7deg); } }

/* 움직임을 줄이도록 설정한 사용자에게는 애니메이션을 끄고 정지 화면으로 보여줍니다 */
@media (prefers-reduced-motion: reduce) {
  .scene { transition: none; }
  .scene-glow, .deck, .glare, .coin { animation: none; }
  .deck { transform: rotateY(-12deg) rotateX(5deg); }
  .glare { display: none; }
  .coin.t { transform: translateZ(120px); }
  .coin.b { transform: translateZ(80px); }
  .coin.e { transform: translateZ(100px); }
}

/* ---------- Ticker ---------- */
.ticker-wrap { padding: 30px 0 60px; }
.ticker-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ticker-head h3 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.ticker-head small { color: var(--text-3); font-size: 12px; }
.ticker { display: flex; flex-direction: column; gap: 8px; }
.ticker-row {
  display: grid; grid-template-columns: 90px 1.2fr 1fr 1fr auto 40px; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px;
  box-shadow: var(--shadow); font-size: 14px; animation: slideIn .4s ease;
}
.ticker-row:nth-child(n+5) { opacity: .55; }
.ticker-row .t { color: var(--text-3); font-size: 12px; }
.ticker-row .n { font-weight: 700; }
.ticker-row .c { color: var(--text-2); }
.ticker-row .m { font-family: "Courier New", monospace; color: var(--text-3); letter-spacing: .06em; }
.ticker-row .a { color: var(--green); font-weight: 700; }
.ticker-row .r { color: var(--accent-text); font-weight: 800; text-align: right; font-size: 12px; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.ticker-note { font-size: 11px; color: var(--text-3); margin-top: 10px; }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; padding: 5px; background: var(--accent-soft); border-radius: 999px; gap: 4px; margin: 0 auto 36px; }
.tab { border: 0; background: transparent; padding: 10px 26px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--accent-text); cursor: pointer; }
.tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 16px rgba(109,40,217,.3); }
.tabs-center { text-align: center; }

/* ---------- Card grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { overflow: hidden;
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card.best { border-color: var(--amber); }
.ribbon {
  position: absolute; top: 14px; right: -34px; transform: rotate(45deg); width: 130px; text-align: center;
  background: linear-gradient(90deg,#f59e0b,#fbbf24); color: #111; font-size: 11px; font-weight: 900; padding: 5px 0; letter-spacing: .1em;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 2;
}
.card-visual {
  aspect-ratio: 1.6; border-radius: 14px; padding: 16px 18px; color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.2);
}
.card-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.22), transparent 42%); pointer-events: none; }
.card-visual .top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.card-visual .chip { width: 34px; height: 25px; border-radius: 5px; background: linear-gradient(135deg,#f5d77a,#c9a227); }
.card-visual .num { font-family: "Courier New", monospace; font-size: 14px; letter-spacing: .12em; opacity: .9; }
.card-visual .bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.card-visual .holder { font-size: 9px; letter-spacing: .12em; opacity: .7; }
.card-visual .net { font-style: italic; font-weight: 900; font-size: 18px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 6px; }
.card-idx { font-weight: 900; font-size: 20px; color: var(--accent); letter-spacing: -.02em; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.card h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.01em; }
.card .sub { font-size: 12px; color: var(--text-3); margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 9px; }
.checks li::before {
  content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 11px; font-weight: 900; flex-shrink: 0;
}
.card .btn { margin-top: auto; }
.grid-note { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 22px; }

/* ---------- Guide prose ---------- */
.prose { max-width: 860px; margin: 0 auto; color: var(--text-2); font-size: 16px; }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--text); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; color: var(--text-3); font-weight: 700; background: var(--surface-2); letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
td.name { font-weight: 800; }
td.name a:hover { color: var(--accent); }
.tag-ok { color: var(--green); font-weight: 700; }
.tag-limit { color: #ef4444; font-weight: 700; }
.tag-check { color: var(--text-3); }
.tag-nokyc { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--amber-soft); color: #92400e; font-size: 11px; font-weight: 800; }
:root[data-theme="dark"] .tag-nokyc { color: #fcd34d; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.faq h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.faq p { margin: 0; font-size: 14px; color: var(--text-2); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step b.num { display: block; font-size: 40px; color: var(--accent); letter-spacing: -.03em; line-height: 1; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--text-2); font-size: 14px; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post .kicker { font-size: 11px; color: var(--accent-text); font-weight: 800; margin-bottom: 8px; }
.post h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.post p { font-size: 13px; color: var(--text-2); margin: 0 0 14px; flex: 1; }
.post a.more { font-size: 13px; font-weight: 800; color: var(--accent); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--dark); color: #fff; border-radius: 24px; padding: 56px 32px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(124,58,237,.45), transparent 70%); }
.cta-banner .eyebrow { color: #a78bfa; }
.cta-banner h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.02em; position: relative; }
.cta-banner p { color: #c7c9d1; margin: 0 0 26px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 60px; }
.footer .logo { margin-bottom: 14px; }
.footer p { font-size: 12px; color: var(--text-3); margin: 0 0 6px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--text-2); margin: 14px 0; }

/* ---------- Blog article page ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 60px 20px 80px; }
.article .kicker { font-size: 12px; font-weight: 800; color: var(--accent-text); letter-spacing: .1em; }
.article h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; letter-spacing: -.02em; margin: 10px 0 10px; }
.article .meta { font-size: 13px; color: var(--text-3); margin-bottom: 30px; }
.article h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -.01em; }
.article h3 { font-size: 18px; margin: 28px 0 8px; }
.article p, .article li { color: var(--text-2); font-size: 16px; }
.article ul, .article ol { padding-left: 22px; }
.article .callout { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 10px; color: var(--accent-text); font-size: 14px; margin: 24px 0; }
.article table { min-width: 0; }
.article .table-wrap { margin: 16px 0; }
.article .disclaimer { font-size: 12px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px; }
.post-list { max-width: 900px; margin: 0 auto; padding: 60px 20px 80px; }
.post-list .posts { grid-template-columns: repeat(2, 1fr); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid, .posts { grid-template-columns: repeat(2, 1fr); }
  /* 1단으로 접히면 텍스트 묶음을 display:contents 로 풀어 자식들을 직접 그리드 항목으로 만들고,
     3D 아트를 제목 바로 아래로 올립니다. 그래야 모바일 첫 화면에 비주얼이 걸립니다.
     (gap 을 0 으로 두고 각 요소의 기존 margin 을 그대로 씁니다) */
  .hero .container { grid-template-columns: 1fr; gap: 0; }
  .hero .container > div:first-child { display: contents; }
  .hero .pill    { order: 1; justify-self: start; }
  .hero h1       { order: 2; }
  .hero-art      { order: 3; }
  .hero p.lead   { order: 4; }
  .hero-actions  { order: 5; }
  .hero .stats   { order: 6; }
  /* 1단에서는 아트 영역이 화면 전체로 늘어나 코인이 카드와 멀어집니다.
     폭을 묶고 가운데 정렬해 씬이 한 덩어리로 보이게 합니다. */
  .hero-art { height: 360px; perspective: 950px; margin: 4px auto 18px; width: 100%; max-width: 460px; }
  .deck { width: 340px; height: 212px; margin: -106px 0 0 -170px; }
  .ticker-row { grid-template-columns: 80px 1.2fr 1fr auto 36px; }
  .ticker-row .m { display: none; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); padding: 16px 20px; border-bottom: 1px solid var(--line); margin: 0; }
  .menu-btn { display: inline-block; }
  .header .btn { display: none; }
  .lang { display: none; }
  .section { padding: 56px 0; }
  .grid, .faq-grid, .posts, .steps, .post-list .posts { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; gap: 16px 0; }
  .stat { width: 50%; margin: 0; padding-right: 12px; border-right: 0; }
  .hero-art { height: 290px; perspective: 800px; }
  .deck { width: 286px; height: 178px; margin: -89px 0 0 -143px; }
  .deck-card { padding: 16px 18px; border-radius: 18px; }
  .deck-card .num { font-size: 15px; }
  .deck-card .net { font-size: 21px; }
  /* 모바일은 깊이를 줄입니다. 좁은 화면에서는 원근 배율이 커서
     Z축으로 튀어나온 요소가 화면 밖으로 밀려나기 때문입니다. */
  .deck-card.d2 { transform: translateZ(-26px) translateY(16px) translateX(-22px) rotateZ(-5deg); }
  .deck-card.d3 { transform: translateZ(-52px) translateY(32px) translateX(-44px) rotateZ(-10deg); }
  .coin { width: 52px; height: 52px; font-size: 19px; }
  .coin.t { top: 2px; left: 44px; animation-name: coinAsm; }
  .coin.b { bottom: 26px; left: 30px; animation-name: coinBsm; }
  .coin.e { top: 22px; right: 34px; animation-name: coinCsm; }
  /* 돌출을 절반 이하로 낮춘 모바일 전용 궤적 */
  @keyframes coinAsm { 0%,100% { transform: translateZ(46px) translateY(0) rotate(-6deg); } 50% { transform: translateZ(60px) translateY(-14px) rotate(6deg); } }
  @keyframes coinBsm { 0%,100% { transform: translateZ(30px) translateY(0) rotate(5deg); }  50% { transform: translateZ(44px) translateY(-16px) rotate(-5deg); } }
  @keyframes coinCsm { 0%,100% { transform: translateZ(38px) translateY(0) rotate(4deg); }  50% { transform: translateZ(24px) translateY(-12px) rotate(-7deg); } }
  .scene-glow { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .scene-grid { display: none; }
  .ticker-row { grid-template-columns: 64px 1fr auto; font-size: 13px; padding: 10px 14px; }
  .ticker-row .c, .ticker-row .r { display: none; }
  .cta-banner { padding: 40px 20px; border-radius: 18px; }
}

/* =========================================================
   v1.1 추가: 실시간 시세 띠 · 발급 필터 · 상태 뱃지 · 상세 페이지
   ========================================================= */
.btn-ghost { background: transparent; color: var(--accent-text); border-color: var(--accent-soft); font-size: 13px; padding: 9px 16px; }
.btn-ghost:hover { background: var(--accent-soft); }
.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.card .benefit { font-size: 13px; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); border-radius: 8px; padding: 6px 10px; margin: 0 0 12px; line-height: 1.4; }
.card .sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified { font-size: 11px; color: var(--text-3); }
.st { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.st-ok { background: var(--green-soft); color: var(--green); }
.st-check { background: var(--amber-soft); color: #92400e; }
.st-no { background: #fee2e2; color: #b91c1c; }
:root[data-theme="dark"] .st-check { color: #fcd34d; }
:root[data-theme="dark"] .st-no { background: #3b1111; color: #fca5a5; }
td.muted { color: var(--text-3); font-size: 12px; white-space: nowrap; }
a.src { color: var(--accent); font-weight: 700; font-size: 12px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--text-3); padding: 40px; }

/* 필터 칩 */
.chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: -20px 0 30px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.chip .cnt { background: var(--bg-2); color: var(--text-3); border-radius: 999px; padding: 0 7px; font-size: 11px; }
.chip.active { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
.chip.active .cnt { background: var(--accent); color: #fff; }

/* 실시간 시세 띠 */
.rate-wrap { padding: 0 0 10px; }
.rate-box { background: var(--dark); color: #fff; border-radius: 16px; padding: 16px 20px; position: relative; overflow: hidden; }
.rate-box::before { content: ""; position: absolute; inset: auto auto -60% -10%; width: 50%; height: 120%; background: radial-gradient(closest-side, rgba(38,161,123,.35), transparent 70%); pointer-events: none; }
.rate-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #a7f3d0; margin-bottom: 10px; position: relative; }
.rate-strip { display: none; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: center; position: relative; }
.rate-strip.on { display: grid; }
.rate-item { display: flex; flex-direction: column; gap: 2px; padding-right: 14px; border-right: 1px solid rgba(255,255,255,.12); }
.rate-item:last-of-type { border-right: 0; }
.rate-item .lbl { font-size: 11px; color: #9ca3af; font-weight: 700; }
.rate-item .lbl small { font-weight: 400; opacity: .7; }
.rate-item b { font-size: 20px; letter-spacing: -.01em; }
.rate-item .chg { font-size: 11px; color: #9ca3af; }
.rate-item .chg.up { color: #34d399; }
.rate-item .chg.dn { color: #f87171; }
.rate-item.calc b { color: #a7f3d0; }
.rate-time { font-size: 11px; color: #6b7280; text-align: right; white-space: nowrap; }
.rate-sub { font-size: 13px; color: #c7c9d1; margin: 12px 0 0; position: relative; }
.rate-loading { font-size: 12px; color: #6b7280; }

/* 상세 페이지 */
.detail { max-width: var(--max); margin: 0 auto; padding: 48px 20px 80px; }
.detail-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-bottom: 48px; }
.detail-hero .kicker { font-size: 12px; font-weight: 800; color: var(--accent-text); letter-spacing: .08em; }
.detail-hero h1 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 14px; }
.detail-hero h1 small { display: block; font-size: 16px; font-weight: 600; color: var(--text-3); margin-top: 6px; letter-spacing: 0; }
.detail-hero .lead { color: var(--text-2); font-size: 16px; margin: 0 0 18px; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.detail-visual .card-visual { aspect-ratio: 1.6; max-width: 420px; margin: 0 auto; transform: rotate(-4deg); }
.detail-sec { margin-bottom: 44px; }
.detail-sec h2 { font-size: 24px; margin: 0 0 14px; letter-spacing: -.01em; }
.status-box { border-radius: 14px; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }
.status-box b { font-size: 18px; display: block; margin-bottom: 6px; }
.status-box p { margin: 0; color: var(--text-2); font-size: 14px; }
.status-box.st-ok { border-color: var(--green); background: var(--green-soft); color: inherit; }
.status-box.st-check { border-color: var(--amber); background: var(--amber-soft); color: inherit; }
.status-box.st-no { border-color: #ef4444; background: #fee2e2; color: inherit; }
:root[data-theme="dark"] .status-box.st-no { background: #3b1111; }
table.fees { min-width: 0; }
table.fees th { width: 200px; background: var(--surface-2); font-size: 13px; color: var(--text-2); }
.src-line { font-size: 12px; color: var(--text-3); margin: 12px 0 0; }
.detail-steps { padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.detail-steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 56px; position: relative; color: var(--text-2); font-size: 15px; }
.detail-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 16px; top: 12px; font-weight: 900; color: var(--accent); font-size: 18px; }
.detail-risks { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.detail-risks li { padding: 12px 16px 12px 40px; position: relative; background: var(--amber-soft); border-radius: 10px; font-size: 14px; color: var(--text); }
.detail-risks li::before { content: "!"; position: absolute; left: 14px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); color: #111; font-weight: 900; font-size: 12px; display: grid; place-items: center; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.related-card b { font-size: 16px; }
.related-card span { font-size: 12px; color: var(--text-2); }
.related-card .st { align-self: flex-start; }
.detail-cta { margin-top: 20px; }
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.crumbs a { color: var(--text-2); font-weight: 600; }

@media (max-width: 1024px) {
  .rate-strip { grid-template-columns: repeat(2, 1fr); }
  .rate-item { border-right: 0; }
  .rate-time { grid-column: 1 / -1; text-align: left; }
  .detail-hero { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .rate-strip { grid-template-columns: 1fr 1fr; }
  .rate-item b { font-size: 17px; }
  table.fees th { width: 120px; }
}

/* 푸터 텔레그램 문의 버튼 (메인·블로그·카드 상세 공통) */
.footer-contact {
  display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 18px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--text-2); font-size: 13px; font-weight: 700; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.footer-contact .tg { color: #2aabee; flex: none; }
.footer-contact:hover { color: #2aabee; border-color: #2aabee; }
