/* ════════════════════════════════════════════════════════════════
   Korean Shaman — Stylesheet
   Dark mode · Multi-color accent system
   ════════════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Base */
  --bg-0: #050510;
  --bg-1: #07060f;
  --bg-2: #0a0a14;
  --bg-3: #0d0d1a;
  --bg-4: #14142a;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --t1: #ffffff;
  --t2: #c5c4d6;
  --t3: #9ca3af;
  --t4: #6b7280;
  --t5: #4b5563;

  /* Accents */
  --purple: #a855f7;
  --purple-d: #9333ea;
  --purple-l: #c084fc;
  --purple-bg: rgba(168, 85, 247, 0.12);
  --purple-bg-2: rgba(168, 85, 247, 0.22);

  --pink: #ec4899;
  --pink-d: #db2777;
  --pink-l: #f472b6;
  --pink-bg: rgba(236, 72, 153, 0.12);

  --amber: #f59e0b;
  --amber-d: #d97706;
  --amber-l: #fbbf24;
  --amber-bg: rgba(245, 158, 11, 0.12);

  --orange: #f97316;
  --orange-d: #ea580c;

  --cyan: #22d3ee;
  --cyan-d: #06b6d4;
  --cyan-bg: rgba(34, 211, 238, 0.12);

  --green: #10b981;
  --green-d: #059669;
  --green-l: #34d399;
  --green-bg: rgba(16, 185, 129, 0.12);

  --red: #ef4444;
  --red-d: #dc2626;
  --rose: #f43f5e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard Variable', Pretendard, 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-1);
  color: var(--t1);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
em { font-style: normal; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--t3); }
.amber { color: var(--amber-l); }
.green { color: var(--green-l); }
.cyan { color: var(--cyan); }
.orange { color: var(--orange); }
.small { font-size: 12px; }

/* ─── Common dot ─── */
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}
.dot-red { background: var(--red); box-shadow: 0 0 8px var(--red); }
.dot-orange { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.dot-pink { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.dot-purple { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-yellow { background: var(--amber-l); box-shadow: 0 0 8px var(--amber-l); }

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr-inner {
  max-width: 1300px; margin: 0 auto;
  height: 56px;
  padding: 0 24px;
  display: flex; align-items: center; gap: 20px;
}
.hdr-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14px;
}
.logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--purple-l), var(--pink));
  border-radius: 7px; color: white;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.35);
}
.logo-text { letter-spacing: -0.02em; }

.hdr-nav { flex: 1; display: flex; justify-content: center; gap: 18px; }
.hdr-nav-item {
  font-size: 13px; font-weight: 500; color: var(--t2);
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.hdr-nav-item:hover { color: var(--t1); background: rgba(255,255,255,0.04); }
.hdr-nav-item.active { color: var(--t1); }

.hdr-right { display: flex; align-items: center; gap: 8px; }
.hdr-charge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; font-size: 12px; font-weight: 600;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple-l);
  border-radius: 999px;
  position: relative;
}
.ch-coin { color: var(--amber-l); }
.ch-badge {
  position: absolute; top: -5px; right: -5px;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: white;
  font-size: 10px; font-weight: 700;
  border-radius: 50%; border: 2px solid var(--bg-1);
}
.hdr-lang, .hdr-my {
  font-size: 12px; font-weight: 600; color: var(--t2);
  padding: 6px 10px; border-radius: 999px;
}
.hdr-lang:hover, .hdr-my:hover { background: rgba(255,255,255,0.04); }
.hdr-cta {
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--purple-d), var(--pink-d));
  color: white; font-size: 13px; font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.4);
  transition: transform 0.15s;
}
.hdr-cta:hover { transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */

.hero {
  padding: 36px 24px 56px;
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 60% 30%, rgba(245, 158, 11, 0.08), transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 70%, rgba(236, 72, 153, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 60px;
  gap: 32px;
  align-items: center;
  min-height: 380px;
  position: relative;
}
.hero-left { padding-left: 24px; }
.hero-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--t2);
  margin-bottom: 16px;
}
.hero-cat { color: var(--amber-l); font-size: 13px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.04em; }
.hero-name {
  font-size: 64px; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  color: white;
  font-family: 'Pretendard Variable', sans-serif;
  margin-bottom: 6px;
}
.hero-name-en { font-size: 14px; color: var(--t3); margin-bottom: 28px; letter-spacing: 0.05em; }

.hero-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.btn-orange {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--orange), var(--orange-d));
  color: white; font-size: 14px; font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
  transition: transform 0.15s;
}
.btn-orange:hover { transform: translateY(-2px); }
.btn-text { color: var(--t2); font-size: 13px; font-weight: 500; }

.hero-dots { display: flex; align-items: center; gap: 6px; }
.hd { width: 18px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.18); }
.hd.active { background: var(--orange); width: 28px; }
.hero-counter { color: var(--t4); font-size: 11px; margin-left: 14px; }

.hero-center { display: flex; justify-content: center; }
.hero-portrait {
  position: relative;
  width: 320px; aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(245,158,11,0.2), transparent 60%);
  pointer-events: none;
}

.hero-thumbs {
  display: flex; flex-direction: column; gap: 10px;
}
.thumb {
  width: 56px; aspect-ratio: 3/4;
  border-radius: 8px; overflow: hidden;
  opacity: 0.5; transition: opacity 0.2s, transform 0.2s;
  border: 2px solid transparent;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.active { opacity: 1; border-color: var(--amber-l); transform: scale(1.05); box-shadow: 0 0 16px rgba(251,191,36,0.35); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; min-height: auto; }
  .hero-left { padding-left: 0; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-thumbs { flex-direction: row; justify-content: center; }
  .hero-name { font-size: 48px; }
}

/* ════════════════════════════════════════════════════════════════
   TICKER
   ════════════════════════════════════════════════════════════════ */

.ticker {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 0;
}
.tk-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "status pills pills"
    "live   live   button";
  column-gap: 16px;
  row-gap: 8px;
  align-items: center;
  font-size: 12px;
}
.tk-status { grid-area: status; display: inline-flex; align-items: center; gap: 6px; color: var(--t2); }
.tk-status strong { color: white; }
.tk-pulse {
  width: 8px; height: 8px;
  background: var(--rose); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}
.tk-pills { grid-area: pills; display: flex; gap: 6px; flex-wrap: wrap; justify-self: start; }
.pill {
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.p-purple {
  background: var(--purple-bg-2); color: var(--purple-l);
  border: 1px solid rgba(168, 85, 247, 0.55);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}
.p-ghost { color: var(--t3); border: 1px solid var(--line); transform: scale(1); }
.tk-live { grid-area: live; display: flex; gap: 14px; color: var(--t3); flex-wrap: wrap; }
.tk-live span { font-size: 11px; }
.tk-live em { color: var(--t4); font-size: 10px; }
.btn-purple-pill {
  grid-area: button;
  justify-self: end;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: white;
  font-size: 12px; font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(168, 85, 247, 0.35);
}

/* 모바일에서는 단일 컬럼으로 스택 */
@media (max-width: 900px) {
  .tk-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "status"
      "pills"
      "live"
      "button";
  }
  .btn-purple-pill { justify-self: stretch; text-align: center; }
}

/* ════════════════════════════════════════════════════════════════
   SECTION COMMON
   ════════════════════════════════════════════════════════════════ */

section { padding: 88px 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head.left, .sec-title.left { text-align: left; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em;
  border-radius: 999px;
  margin-bottom: 18px;
}
.bp-dark { background: rgba(255,255,255,0.06); color: var(--t2); border: 1px solid var(--line); }
.bp-purple { background: var(--purple-bg); color: var(--purple-l); border: 1px solid rgba(168, 85, 247, 0.3); }
.bp-pink { background: var(--pink-bg); color: var(--pink-l); border: 1px solid rgba(236, 72, 153, 0.3); }
.bp-cyan { background: var(--cyan-bg); color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.3); }
.bp-yellow { background: rgba(251, 191, 36, 0.12); color: var(--amber-l); border: 1px solid rgba(251, 191, 36, 0.3); }
.bp-red { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.center-pill { display: inline-flex; }

.sec-title {
  font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.tw { color: white; }
.grad-purple-pink { background: linear-gradient(135deg, var(--purple-l) 0%, var(--pink) 50%, var(--orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-multi { background: linear-gradient(135deg, var(--purple-l) 0%, var(--pink) 30%, var(--amber-l) 60%, var(--green-l) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-fire { background: linear-gradient(135deg, #fef3c7 0%, var(--amber-l) 30%, var(--orange) 65%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-cyan-pink { background: linear-gradient(135deg, var(--cyan) 0%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.sec-sub { color: var(--t2); font-size: 16px; max-width: 600px; margin: 0 auto; }
.sec-cat-line {
  text-align: center; color: var(--purple-l); font-size: 12px;
  letter-spacing: 0.18em; margin: 20px 0 32px;
}
.sec-cat-line.green-line { color: var(--green-l); }

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .sec-title { font-size: 30px; }
}

/* ════════════════════════════════════════════════════════════════
   CHAE PROMO BANNER
   ════════════════════════════════════════════════════════════════ */

.chae-promo {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 24px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.06), rgba(34, 211, 238, 0.02));
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 16px;
  margin-bottom: 36px;
  position: relative;
}
.cp-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--cyan);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.cp-avatar::after {
  content: '+'; position: absolute; bottom: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--cyan); color: white;
  border-radius: 50%; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-1);
}
.cp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cp-content { flex: 1; }
.cp-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cp-new {
  padding: 2px 6px; background: var(--cyan); color: var(--bg-1);
  font-size: 10px; font-weight: 800; border-radius: 4px;
}
.cp-sub { font-size: 11px; color: var(--cyan); letter-spacing: 0.05em; }
.cp-headline { font-size: 16px; font-weight: 700; color: white; margin-bottom: 2px; }
.cp-cyan { color: var(--cyan); }
.cp-desc { font-size: 12px; color: var(--t3); }
.cp-btn {
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-d));
  color: var(--bg-1);
  font-size: 13px; font-weight: 700;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   SHAMAN CARDS (3 main shamans)
   ════════════════════════════════════════════════════════════════ */

.shaman-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) { .shaman-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .shaman-cards { grid-template-columns: 1fr; } }

.sh-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.sc-purple { border-color: rgba(168, 85, 247, 0.25); }
.sc-amber  { border-color: rgba(245, 158, 11, 0.22); }
.sc-pink   { border-color: rgba(236, 72, 153, 0.22); }
.sh-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.sc-purple:hover { border-color: var(--purple); }
.sc-amber:hover { border-color: var(--amber); }
.sc-pink:hover { border-color: var(--pink); }

.sc-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,6,15,0.7));
}
.sc-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  color: white; border-radius: 6px;
}
.sc-rev {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 12px; font-weight: 600; color: var(--amber-l);
  background: rgba(7,6,15,0.6);
  padding: 4px 8px; border-radius: 6px;
}

.bg-purple { background: var(--purple); }
.bg-amber  { background: var(--amber-d); }
.bg-pink   { background: var(--pink); }
.bg-cyan   { background: var(--cyan-d); }
.bg-green  { background: var(--green); }

.sc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.sc-tags { display: flex; gap: 6px; margin-bottom: 12px; }
.tag-purple { background: var(--purple-bg); color: var(--purple-l); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-amber  { background: var(--amber-bg); color: var(--amber-l); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-pink   { background: var(--pink-bg); color: var(--pink-l); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-cyan   { background: var(--cyan-bg); color: var(--cyan); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-green  { background: var(--green-bg); color: var(--green-l); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }

.sc-name { font-size: 24px; font-weight: 800; line-height: 1.1; margin-bottom: 4px; letter-spacing: -0.02em; }
.sc-cat { font-size: 12px; color: var(--t3); margin-bottom: 14px; letter-spacing: 0.03em; }

.sc-quote {
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid;
  border-radius: 4px;
  font-size: 13px;
  color: var(--t1);
  margin-bottom: 14px;
  font-style: italic;
}
.sc-purple .sc-quote { border-color: var(--purple); }
.sc-amber  .sc-quote { border-color: var(--amber); }
.sc-pink   .sc-quote { border-color: var(--pink); }

.sc-desc { font-size: 13px; color: var(--t2); line-height: 1.6; margin-bottom: 16px; }

.sc-list { margin-bottom: 16px; }
.sc-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--t2);
  margin-bottom: 6px;
}
.sc-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 9px; font-weight: 800;
}
.dot-purple li::before { background: var(--purple); }
.dot-amber  li::before { background: var(--amber-d); }
.dot-pink   li::before { background: var(--pink); }

.sc-stats { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 22px; height: 22px;
  border-radius: 50%; margin-left: -6px;
  background: linear-gradient(135deg, #6b7280, #4b5563);
  border: 2px solid var(--bg-3);
}
.avatars span:first-child { margin-left: 0; }
.sc-stars { font-size: 12px; color: var(--amber-l); }
.sc-stars em { color: var(--t3); margin-left: 4px; font-size: 11px; }

.sc-hear {
  padding: 9px 14px;
  border: 1px solid;
  background: transparent;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  margin-bottom: 12px;
  width: 100%;
  transition: background 0.2s;
}
.hr-purple { color: var(--purple-l); border-color: rgba(168,85,247,0.4); }
.hr-amber  { color: var(--amber-l); border-color: rgba(245,158,11,0.4); }
.hr-pink   { color: var(--pink-l); border-color: rgba(236,72,153,0.4); }
.hr-purple:hover { background: var(--purple-bg); }
.hr-amber:hover  { background: var(--amber-bg); }
.hr-pink:hover   { background: var(--pink-bg); }

.sc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }

.btn-light, .btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  font-size: 12px; font-weight: 700;
  border-radius: 8px;
  transition: transform 0.15s;
  white-space: nowrap;
}
.btn-light { background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
.btn-light:hover, .btn-solid:hover { transform: translateY(-1px); }
.c-purple { color: var(--purple-l); }
.c-amber  { color: var(--amber-l); }
.c-pink   { color: var(--pink-l); }

.btn-solid { color: white; }

.bt-tag {
  font-size: 9px; font-weight: 700;
  padding: 2px 5px; border-radius: 3px;
  background: rgba(0,0,0,0.3);
}

.btn-rounded {
  padding: 11px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--t2);
  font-size: 13px;
  transition: background 0.2s;
}
.btn-rounded:hover { background: rgba(255,255,255,0.08); }

/* ════════════════════════════════════════════════════════════════
   GRAND MASTER REPORTS
   ════════════════════════════════════════════════════════════════ */

.grand-masters .gm-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  background: var(--bg-3);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.gm-purple { background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(168,85,247,0.02)); border-color: rgba(168,85,247,0.2); }
.gm-green  { background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02)); border-color: rgba(16,185,129,0.2); }

.gm-img {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}
.gm-img img { width: 100%; height: 100%; object-fit: cover; }
.gm-rank {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 12px;
  background: rgba(7,6,15,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  color: white;
  border-radius: 999px;
}

.gm-body { padding: 32px 32px 32px 0; }
.gm-tag { font-size: 11px; letter-spacing: 0.18em; color: var(--purple-l); margin-bottom: 10px; }
.gm-green .gm-tag { color: var(--green-l); }
.gm-name { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.gm-sub { font-size: 14px; color: var(--purple-l); margin-bottom: 6px; font-weight: 600; }
.gm-green .gm-sub { color: var(--green-l); }
.gm-rare { font-size: 11px; color: var(--amber-l); letter-spacing: 0.12em; margin-bottom: 16px; font-weight: 600; }
.gm-desc { font-size: 14px; color: var(--t2); line-height: 1.7; margin-bottom: 20px; }

.gm-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.gms {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}
.gms strong {
  display: block; font-size: 22px; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.gm-purple .gms strong { color: var(--purple-l); }
.gm-green .gms strong { color: var(--green-l); }
.gms span { font-size: 11px; color: var(--t3); }

.gm-quote {
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid;
  border-radius: 4px;
  font-style: italic;
  font-size: 14px;
  color: var(--amber-l);
  margin-bottom: 20px;
  line-height: 1.6;
}
.gm-purple .gm-quote { border-color: var(--purple); }
.gm-green .gm-quote { border-color: var(--green); }
.gm-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: normal;
  color: var(--t3);
}
.gm-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  color: white; font-weight: 700; font-size: 14px;
  border-radius: 10px;
  width: 100%;
  transition: transform 0.15s;
}
.gm-cta:hover { transform: translateY(-2px); }
.bt-tag-y {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; background: var(--amber-l); color: var(--bg-1);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .grand-masters .gm-card { grid-template-columns: 1fr; gap: 0; }
  .gm-img { min-height: 280px; }
  .gm-body { padding: 24px; }
  .gm-name { font-size: 28px; }
}

/* ─── Report cards ─── */
.report-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  background: var(--bg-3);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.rc-purple { background: linear-gradient(135deg, rgba(168,85,247,0.06), rgba(0,0,0,0)); }
.rc-pink   { background: linear-gradient(135deg, rgba(236,72,153,0.06), rgba(0,0,0,0)); }

.rc-img {
  position: relative;
  background: var(--bg-4);
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  overflow: hidden;
}
.rc-illust { position: relative; width: 80%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }

/* Cosmos illust */
.illust-cosmos { background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 70%); }
.illust-cosmos .cosmos-ring {
  position: absolute; inset: 10%;
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.illust-cosmos .r2 { inset: 25%; border-color: rgba(245,158,11,0.25); animation-duration: 20s; animation-direction: reverse; }
.illust-cosmos .r3 { inset: 38%; border-color: rgba(245,158,11,0.18); animation-duration: 12s; }
.illust-cosmos .cosmos-star { font-size: 48px; color: var(--amber-l); text-shadow: 0 0 20px var(--amber); z-index: 2; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Heart illust */
.illust-heart { background: radial-gradient(circle, rgba(236,72,153,0.18), transparent 70%); }
.illust-heart .heart-glow {
  position: absolute; width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.5), transparent);
  filter: blur(20px);
}
.illust-heart .heart-shape { font-size: 80px; color: var(--pink); text-shadow: 0 0 40px var(--pink); z-index: 2; }

.rc-pill {
  position: absolute; bottom: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
  font-size: 10px; font-weight: 700;
  color: var(--amber-l);
  border-radius: 4px;
}
.rc-pink-pill { color: var(--pink-l); }

.rc-body { padding: 24px 28px 24px 0; position: relative; }
.rc-best {
  display: inline-block;
  padding: 4px 10px;
  background: var(--red); color: white;
  font-size: 10px; font-weight: 800;
  border-radius: 4px;
  margin-bottom: 12px;
}
.rc-essential { background: var(--pink); }
.rc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  font-size: 16px; margin-bottom: 12px;
}
.ri-amber { background: var(--amber-bg); color: var(--amber-l); }
.ri-pink  { background: var(--pink-bg); color: var(--pink-l); }
.rc-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.02em; }
.rc-sub { font-size: 12px; color: var(--t3); margin-bottom: 14px; letter-spacing: 0.04em; }
.rc-quote {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  font-style: italic;
  font-size: 13px;
  color: var(--amber-l);
  margin-bottom: 14px;
}
.rc-pink .rc-quote { border-color: var(--pink); color: var(--pink-l); }
.rc-desc { font-size: 13px; color: var(--t2); line-height: 1.6; margin-bottom: 14px; }
.rc-toggle {
  display: inline-block;
  font-size: 12px; color: var(--t3);
  margin-bottom: 16px;
}
.rc-toggle:hover { color: white; }

.rc-price {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.px-old { text-decoration: line-through; color: var(--t4); font-size: 14px; }
.px-new { font-size: 28px; font-weight: 800; color: white; }
.px-off { padding: 3px 8px; background: var(--red); color: white; font-size: 11px; font-weight: 700; border-radius: 4px; }
.px-coin { padding: 3px 8px; background: var(--amber-bg); color: var(--amber-l); font-size: 11px; font-weight: 700; border-radius: 4px; }

.rc-cta {
  display: block; width: 100%;
  padding: 13px 16px;
  font-size: 14px; font-weight: 700; color: white;
  border-radius: 10px;
  transition: transform 0.15s;
}
.rc-cta:hover { transform: translateY(-1px); }

.bg-amber-grad  { background: linear-gradient(135deg, var(--orange), var(--orange-d)); }
.bg-pink-grad   { background: linear-gradient(135deg, var(--pink), var(--pink-d)); }
.bg-red-grad    { background: linear-gradient(135deg, #f87171, #ef4444); }
.bg-green-grad  { background: linear-gradient(135deg, var(--green-l), var(--green)); }
.bg-orange-grad { background: linear-gradient(135deg, var(--amber-l), var(--orange)); }

.gm-divider { text-align: center; margin: 40px 0 12px; }
.ai-disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--t4);
  margin-top: 32px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}

@media (max-width: 800px) {
  .report-card { grid-template-columns: 1fr; }
  .rc-img { min-height: 180px; }
  .rc-body { padding: 20px; }
}

/* ════════════════════════════════════════════════════════════════
   FREE TRIAL
   ════════════════════════════════════════════════════════════════ */

.free-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .free-grid { grid-template-columns: 1fr; } }

.ft-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.ft-card:hover { transform: translateY(-4px); }
.ft-red:hover    { border-color: var(--rose); }
.ft-green:hover  { border-color: var(--green); }
.ft-amber:hover  { border-color: var(--amber); }

.ft-free {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 800;
  color: white;
  border-radius: 6px;
  z-index: 2;
}
.ft-red .ft-free { background: linear-gradient(135deg, var(--pink), var(--rose)); }
.ft-green-f { background: linear-gradient(135deg, var(--green-l), var(--green)); }
.ft-amber-f { background: linear-gradient(135deg, var(--amber-l), var(--amber-d)); }

.ft-icon-wrap { margin-bottom: 14px; }
.ft-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  font-size: 16px; font-weight: 800;
  border-radius: 10px; color: white;
}
.ft-red-i { background: linear-gradient(135deg, var(--pink), var(--rose)); }
.ft-green-i { background: linear-gradient(135deg, var(--green-l), var(--green)); }
.ft-amber-i { background: linear-gradient(135deg, var(--amber-l), var(--amber-d)); }

.ft-illust {
  height: 160px; border-radius: 10px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.illust-moonlady {
  background:
    radial-gradient(circle at 50% 25%, #fde047 0%, #f59e0b 25%, transparent 45%),
    linear-gradient(180deg, #7f1d1d 0%, #450a0a 50%, #1f0808 100%);
}
.illust-moonlady::before {
  content: ''; position: absolute; bottom: -20%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 70%;
  background: linear-gradient(180deg, var(--rose), var(--pink-d));
  clip-path: polygon(40% 0%, 60% 0%, 70% 50%, 70% 100%, 30% 100%, 30% 50%);
  border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
  opacity: 0.85;
}
.illust-zodiac {
  background:
    radial-gradient(ellipse at center, rgba(52, 211, 153, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #064e3b, #022c22);
}
.illust-zodiac::before {
  content: ''; position: absolute; inset: 25%;
  border: 2px solid var(--green-l);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--green-l), inset 0 0 30px rgba(52, 211, 153, 0.4);
}
.illust-scholar {
  background:
    radial-gradient(circle at 70% 30%, rgba(251, 191, 36, 0.35), transparent 50%),
    linear-gradient(180deg, #78350f, #451a03);
}
.illust-scholar::before {
  content: '萬';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: rgba(251, 191, 36, 0.5);
  font-weight: 200;
}

.ft-card h4 { font-size: 22px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.02em; }
.ft-sub { font-size: 13px; color: var(--t3); margin-bottom: 16px; }

.ft-list { margin-bottom: 18px; }
.ft-list li { font-size: 13px; color: var(--t2); margin-bottom: 6px; }

.ft-cta {
  display: block; width: 100%;
  padding: 12px;
  color: white; font-size: 13px; font-weight: 700;
  border-radius: 10px;
  transition: transform 0.15s;
}
.ft-cta:hover { transform: translateY(-1px); }

.ft-foot {
  text-align: center;
  color: var(--t3);
  font-size: 13px;
  margin-top: 36px;
  line-height: 1.8;
}

/* ════════════════════════════════════════════════════════════════
   MEET CHAE
   ════════════════════════════════════════════════════════════════ */

.meet-chae { text-align: center; }
.chae-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  margin-top: 36px;
  text-align: left;
  align-items: center;
}
@media (max-width: 900px) {
  .chae-grid { grid-template-columns: 1fr; gap: 32px; }
}

.chae-card {
  position: relative;
  padding: 24px;
  background: linear-gradient(180deg, rgba(34,211,238,0.08), rgba(0,0,0,0));
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: 18px;
  text-align: center;
}
.chae-new {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 10px;
  background: var(--cyan); color: var(--bg-1);
  font-size: 10px; font-weight: 800;
  border-radius: 4px;
}
.chae-portrait {
  width: 100%; aspect-ratio: 3/4;
  border-radius: 14px; overflow: hidden;
  margin-bottom: 16px;
  background: var(--cyan-bg);
  position: relative;
}
.chae-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,211,238,0.15), transparent 40%);
}
.chae-portrait img { width: 100%; height: 100%; object-fit: cover; filter: hue-rotate(20deg); }
.chae-role { font-size: 11px; color: var(--cyan); letter-spacing: 0.18em; margin-bottom: 4px; font-weight: 700; }
.chae-name { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.chae-sub { font-size: 12px; color: var(--t3); margin-bottom: 14px; }
.chae-stat { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: var(--amber-l); }
.chae-stat span { font-size: 11px; color: var(--t3); line-height: 1.3; }

.chae-headline {
  font-size: 56px; font-weight: 800;
  line-height: 1.05; letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.chae-text { font-size: 15px; color: var(--t2); line-height: 1.7; margin-bottom: 24px; }
.chae-feat {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 22px;
}
.cf {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.cf strong { display: block; font-size: 13px; margin-bottom: 4px; }
.cf span { font-size: 11px; color: var(--t3); line-height: 1.4; }
.cf-i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px; margin-bottom: 8px;
  font-size: 12px;
}
.ci-cyan { background: var(--cyan-bg); color: var(--cyan); }
.ci-pink { background: var(--pink-bg); color: var(--pink-l); }
.ci-purple { background: var(--purple-bg); color: var(--purple-l); }

.chae-quote {
  padding: 14px 18px;
  background: rgba(34,211,238,0.06);
  border-left: 3px solid var(--cyan);
  border-radius: 4px;
  font-style: italic;
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 22px;
}

.chae-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chae-btn-cyan {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-d));
  color: var(--bg-1); font-weight: 700; font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(34,211,238,0.4);
  transition: transform 0.15s;
}
.chae-btn-cyan:hover { transform: translateY(-2px); }
.chae-btn-purple {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: white; font-weight: 700; font-size: 14px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.cb-new { padding: 2px 6px; background: var(--pink); color: white; font-size: 9px; font-weight: 800; border-radius: 3px; }

@media (max-width: 640px) { .chae-headline { font-size: 36px; } .chae-feat { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   CELEB GRID
   ════════════════════════════════════════════════════════════════ */

.celeb-says {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 20px;
}
.cs-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.cs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cs-text { font-size: 13px; color: var(--t2); }
.cs-label { font-size: 11px; color: var(--cyan); font-weight: 700; letter-spacing: 0.06em; }
.cs-tabs { display: flex; gap: 6px; }
.ct-btn {
  padding: 6px 14px;
  font-size: 12px; font-weight: 700;
  border-radius: 999px;
  color: var(--t3);
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.ct-btn:hover { color: white; }
.ct-btn.active {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: white; border-color: transparent;
}

.celeb-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
@media (max-width: 1024px) { .celeb-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .celeb-grid { grid-template-columns: repeat(2, 1fr); } }

.celeb {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.celeb:hover { transform: translateY(-2px); border-color: var(--line-strong); }

.celeb-photo {
  position: relative;
  aspect-ratio: 1/1.1;
  background: var(--bg-4);
  overflow: hidden;
}
.celeb-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--photo-c1, #6b7280), var(--photo-c2, #1f2937));
}
.celeb-photo::after {
  content: var(--photo-init, '?');
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 200;
  color: rgba(255,255,255,0.55);
  font-family: 'Inter', serif;
}
.celeb-cyan-dot {
  position: absolute; top: 8px; right: 8px;
  width: 14px; height: 14px;
  background: var(--cyan); border-radius: 50%;
  border: 2px solid var(--bg-3);
  z-index: 2;
}

.celeb-info { padding: 10px 12px 12px; }
.celeb-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.celeb-grp { font-size: 11px; color: var(--t3); margin-bottom: 8px; }
.celeb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cab {
  padding: 5px;
  font-size: 10px; font-weight: 600;
  border-radius: 5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cab-view { background: rgba(0,0,0,0.4); color: white; }
.cab-comp { background: linear-gradient(135deg, var(--pink), var(--pink-d)); color: white; }

.celeb-cta {
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.celeb-cta p { font-size: 13px; }
.celeb-cta strong { display: block; font-size: 15px; margin-bottom: 2px; }
.cc-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-d));
  color: var(--bg-1); font-weight: 700; font-size: 13px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════════
   CANDLE
   ════════════════════════════════════════════════════════════════ */

.candle { background: linear-gradient(180deg, var(--bg-1), #15110a 100%); }
.cd-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
  margin: 28px 0 56px;
}
@media (max-width: 900px) { .cd-hero { grid-template-columns: 1fr; } }

.cd-text { padding-top: 8px; }
.cd-desc { font-size: 15px; color: var(--t2); line-height: 1.7; margin: 16px 0 18px; }
.cd-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--t3); }

.cd-art { display: flex; justify-content: center; }
.cd-card {
  position: relative;
  width: 100%; aspect-ratio: 3/4;
  max-width: 340px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(245, 158, 11, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #2d1810, #0a0500);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex; align-items: flex-end; padding: 14px;
}
.cd-illust {
  position: absolute; inset: 0;
}
.illust-prayer::before {
  content: ''; position: absolute; bottom: 25%; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 80px;
  background: linear-gradient(180deg, #fcd34d 0%, #92400e 100%);
  border-radius: 4px;
  box-shadow: 0 0 40px var(--amber-l);
}
.illust-prayer::after {
  content: ''; position: absolute; bottom: 49%; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 22px;
  background: radial-gradient(ellipse at 50% 100%, #fef3c7, var(--amber-l) 50%, var(--orange) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  filter: blur(0.5px);
  animation: flicker 2s infinite alternate;
}
@keyframes flicker { 0%,100% { transform: translateX(-50%) scaleY(1); } 50% { transform: translateX(-50%) scaleY(1.1) translateY(-2px); } }
.cd-live {
  position: relative; z-index: 2;
  padding: 5px 10px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(245,158,11,0.5);
  font-size: 10px; font-weight: 800;
  color: var(--amber-l);
  border-radius: 4px;
}

/* Panel */
.cd-panel {
  background: var(--bg-3);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 22px;
}
.cd-h3 { font-size: 26px; font-weight: 800; margin: 12px 0 18px; letter-spacing: -0.02em; }
.cd-cols { display: grid; grid-template-columns: 1fr 280px; gap: 28px; margin-bottom: 24px; }
@media (max-width: 800px) { .cd-cols { grid-template-columns: 1fr; } }
.cd-col p { font-size: 13.5px; line-height: 1.7; margin-bottom: 12px; }
.cd-col strong { color: var(--amber-l); }
.cd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ct-yellow, .ct-green {
  padding: 6px 12px; font-size: 12px; font-weight: 700;
  border-radius: 6px;
}
.ct-yellow { background: var(--amber-bg); color: var(--amber-l); border: 1px solid rgba(245,158,11,0.3); }
.ct-green  { background: var(--green-bg); color: var(--green-l); border: 1px solid rgba(16,185,129,0.3); }

.cd-mile { background: rgba(255,255,255,0.02); border-radius: 12px; padding: 18px; }
.cd-mile-label { font-size: 11px; color: var(--amber-l); letter-spacing: 0.16em; margin-bottom: 14px; font-weight: 700; }
.cm { display: grid; grid-template-columns: 28px 1fr; gap: 10px; margin-bottom: 12px; align-items: center; }
.cm-i { font-size: 18px; }
.cm strong { display: block; font-size: 13px; }
.cm span { font-size: 11px; color: var(--t3); }
.cm-done strong { color: var(--amber-l); }

.bias-label { font-size: 11px; color: var(--cyan); letter-spacing: 0.16em; margin: 8px 0 14px; font-weight: 700; }
.bias-row {
  display: flex; gap: 8px; padding-bottom: 6px;
  overflow-x: auto;
  margin-bottom: 18px;
  scrollbar-width: thin;
}
.bias-row::-webkit-scrollbar { height: 4px; }
.bias-row::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 2px; }

.bias {
  flex: 0 0 76px;
  text-align: center;
}
.bias-img {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bias-c1, #6b7280), var(--bias-c2, #1f2937));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 200; color: white;
  margin: 0 auto 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.bias.selected .bias-img { border-color: var(--amber-l); transform: scale(1.05); box-shadow: 0 0 16px rgba(251,191,36,0.4); }
.bias-name { font-size: 11px; font-weight: 600; }
.bias-grp { font-size: 9px; color: var(--t3); }

.cd-light {
  display: block; width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #1f1d2e, #0f0e1a);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--amber-l);
  font-size: 14px; font-weight: 700;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.cd-light:hover { background: linear-gradient(135deg, #2a2740, #1a1830); }
.cd-note { text-align: center; font-size: 11px; color: var(--t4); }

/* Progress card */
.cd-progress {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.cp-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; margin-bottom: 18px; align-items: end; }
.cp-label { font-size: 11px; color: var(--amber-l); letter-spacing: 0.16em; margin-bottom: 8px; font-weight: 700; }
.cp-stat strong { font-size: 36px; font-weight: 800; }
.cp-stat strong.amber { color: var(--amber-l); }
.cp-stat.right { text-align: right; }
.cp-bar {
  position: relative;
  height: 6px;
  background: var(--bg-4);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}
.cp-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, var(--amber-l), var(--orange));
  border-radius: 3px;
  width: 0;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cp-foot { font-size: 13px; margin-bottom: 16px; }
.cp-cta {
  display: block; width: 100%;
  padding: 14px;
  font-size: 14px; font-weight: 700; color: white;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.15s;
}
.cp-cta:hover { transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════════
   REAL SHAMAN
   ════════════════════════════════════════════════════════════════ */

.real-shaman { text-align: center; }
.rs-steps {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.rss { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rss-i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  font-size: 16px;
}
.rss-i.amber { background: var(--amber-bg); color: var(--amber-l); border: 1px solid rgba(245,158,11,0.3); }
.rss strong { font-size: 13px; color: white; }
.rss span { font-size: 11px; color: var(--t3); }
.rss-arrow { color: var(--t4); font-size: 16px; }

.rs-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 28px; text-align: left;
}
@media (max-width: 900px) { .rs-cards { grid-template-columns: 1fr; } }

.rs {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.rs:hover { transform: translateY(-3px); }
.rs-amber:hover { border-color: var(--amber); }
.rs-pink:hover  { border-color: var(--pink); }
.rs-green:hover { border-color: var(--green); }

.rs-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  color: white; border-radius: 5px;
}

.rs-img { width: 100%; aspect-ratio: 1/1.1; overflow: hidden; }
.rs-img img { width: 100%; height: 100%; object-fit: cover; }
.rs > p, .rs > div { padding: 0 18px; }
.rs > .rs-img { padding: 0; }
.rs-name { padding-top: 14px !important; font-size: 18px; font-weight: 800; }
.rs-en { font-size: 11px; color: var(--t3); margin-bottom: 8px; }
.rs-rate { font-size: 13px; color: var(--amber-l); margin-bottom: 8px; }
.rs-cat { display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.rs-sv { font-size: 11px; margin-bottom: 4px; }
.rs-px { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.rs-px strong { font-size: 22px; font-weight: 800; color: white; }
.rs-coin { padding: 2px 6px; background: var(--amber-bg); color: var(--amber-l); font-size: 10px; font-weight: 700; border-radius: 3px; }
.rs-cta {
  display: block; margin: 0 18px 18px;
  padding: 11px;
  color: white; font-size: 13px; font-weight: 700;
  border-radius: 8px;
  transition: transform 0.15s;
  text-align: center;
}
.rs-cta:hover { transform: translateY(-1px); }

.rs-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 28px;
}
@media (max-width: 640px) { .rs-stats { grid-template-columns: repeat(2, 1fr); } }
.rss-st {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.rss-st > span { display: block; font-size: 18px; margin-bottom: 6px; }
.rss-st strong { display: block; font-size: 24px; font-weight: 800; }
.rss-st .muted { font-size: 11px; }

.rs-big-cta {
  display: inline-block;
  padding: 16px 36px;
  color: white; font-weight: 700; font-size: 15px;
  border-radius: 12px;
  margin-bottom: 8px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
  transition: transform 0.15s;
}
.rs-big-cta:hover { transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════════
   COMPARE
   ════════════════════════════════════════════════════════════════ */

.compare { text-align: center; }
.cmp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 36px 0 40px;
  text-align: left;
}
@media (max-width: 700px) { .cmp-grid { grid-template-columns: 1fr; } }

.cmp {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  padding: 18px;
}
.cmp-i { font-size: 22px; }
.cmp-body p { font-size: 13px; color: var(--t2); margin-bottom: 6px; }
.cmp-body p:last-child { margin-bottom: 0; }
.lab-free, .lab-pre {
  display: inline-block;
  padding: 2px 6px;
  font-size: 10px; font-weight: 800;
  border-radius: 3px;
  margin-right: 8px;
}
.lab-free { background: rgba(239,68,68,0.15); color: #fca5a5; }
.lab-pre  { background: var(--purple-bg-2); color: var(--purple-l); }

.cmp-trust { font-size: 11px; color: var(--t3); letter-spacing: 0.16em; margin: 16px 0 16px; font-weight: 700; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; text-align: left; }
@media (max-width: 800px) { .testimonials { grid-template-columns: 1fr; } }
.ts {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.ts-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ts-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--pink)); }
.ts-head strong { font-size: 13px; }
.ts-head span { font-size: 11px; }
.ts-stars { color: var(--amber-l); margin-bottom: 8px; font-size: 13px; }
.ts p:last-child { font-size: 13px; color: var(--t2); line-height: 1.6; }

/* Big CTA box */
.big-cta {
  position: relative;
  padding: 40px 32px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(236,72,153,0.25), transparent 60%),
    linear-gradient(135deg, #4a0d2c, #1a0712);
  border: 1px solid rgba(236,72,153,0.3);
  border-radius: 20px;
  overflow: hidden;
}
.bc-fire { font-size: 38px; display: block; margin-bottom: 14px; }
.big-cta h3 { font-size: 30px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.02em; }
.big-cta > p { font-size: 14px; color: var(--t2); margin-bottom: 22px; line-height: 1.7; }
.bc-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.bc-btn-pink {
  padding: 14px 26px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: white; font-weight: 700; font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(236,72,153,0.4);
}
.bc-btn-dark {
  padding: 14px 26px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line-strong);
  color: white; font-weight: 700; font-size: 14px;
  border-radius: 999px;
}

/* ════════════════════════════════════════════════════════════════
   STORE
   ════════════════════════════════════════════════════════════════ */

.store { text-align: center; }
.store-cat { margin: 36px 0; text-align: left; }
.cat-h {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800;
  padding-bottom: 12px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cat-px { margin-left: auto; font-size: 12px; color: var(--t3); font-weight: 500; }
.cat-tag-cy { padding: 3px 10px; background: var(--cyan-bg); color: var(--cyan); font-size: 11px; font-weight: 700; border-radius: 999px; }

.store-grid { display: grid; gap: 14px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) {
  .g6 { grid-template-columns: repeat(3, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .g6, .g3 { grid-template-columns: repeat(2, 1fr); } }

.store-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.store-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.sc-art {
  width: 100%; aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.sc-art-tag {
  position: absolute; top: 8px; right: 8px;
  padding: 3px 8px;
  font-size: 10px; font-weight: 700;
  border-radius: 4px;
  z-index: 2;
}
.sc-art-tag.purple { background: var(--purple); color: white; }
.sc-art-tag.amber  { background: var(--amber-d); color: white; }
.sc-art-tag.pink   { background: var(--pink); color: white; }
.sc-art-tag.green  { background: var(--green); color: white; }
.sc-art-tag.cyan   { background: var(--cyan); color: var(--bg-1); }
.sc-art-discount {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 8px;
  background: rgba(0,0,0,0.7);
  color: var(--rose);
  font-size: 10px; font-weight: 800;
  border-radius: 4px;
  z-index: 2;
}
.sc-art-icon {
  position: absolute; top: 8px; left: 8px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 11px;
  z-index: 2;
}

.sc-info { padding: 14px; }
.sc-info .label { font-size: 10px; color: var(--t3); letter-spacing: 0.1em; margin-bottom: 4px; font-weight: 600; }
.sc-info h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.sc-info p { font-size: 11px; color: var(--t3); margin-bottom: 10px; }

.sc-bot { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 14px; }
.sc-px-old { text-decoration: line-through; color: var(--t4); font-size: 11px; }
.sc-px-new { font-size: 14px; font-weight: 800; color: white; margin-left: 4px; }
.sc-view {
  padding: 6px 12px;
  font-size: 11px; font-weight: 700;
  border-radius: 6px;
  color: white;
}

.theme-cats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin: 18px 0 16px;
}
@media (max-width: 600px) { .theme-cats { grid-template-columns: 1fr; } }
.thc {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
}
.thc span { display: block; font-size: 11px; font-weight: 500; opacity: 0.7; margin-top: 2px; }
.thc-gray { background: rgba(107, 114, 128, 0.15); color: #d1d5db; border: 1px solid rgba(107, 114, 128, 0.25); }
.thc-amber { background: var(--amber-bg); color: var(--amber-l); border: 1px solid rgba(245,158,11,0.25); }
.thc-pink  { background: var(--pink-bg); color: var(--pink-l); border: 1px solid rgba(236,72,153,0.25); }

/* Illustrations for store cards (CSS gradients) */
.illust-newyear  { background: radial-gradient(circle at 50% 30%, #fef3c7, #a855f7 50%, #1a0a3a 100%); }
.illust-wealth   { background: radial-gradient(circle at 50% 60%, #fcd34d, #d97706 50%, #1a1206 100%); }
.illust-love     { background: radial-gradient(circle at 50% 50%, #fce7f3, #ec4899 50%, #2a0a1f 100%); }
.illust-month-bl { background: radial-gradient(circle at 50% 30%, #93c5fd, #1e3a8a 60%, #0a0e2a 100%); }
.illust-month-pk { background: radial-gradient(circle at 50% 50%, #fce7f3, #ec4899 60%, #2a0a1f 100%); }
.illust-month-am { background: radial-gradient(circle at 50% 60%, #fef3c7, #f59e0b 60%, #1a1206 100%); }
.illust-month-gr { background: radial-gradient(circle at 50% 50%, #d1fae5, #10b981 60%, #042a1f 100%); }
.illust-month-ca { background: radial-gradient(circle at 50% 30%, #d1d5db, #4b5563 60%, #0a0e1a 100%); }
.illust-month-sc { background: radial-gradient(circle at 50% 50%, #fed7aa, #ea580c 60%, #2a0e06 100%); }
.illust-city     { background: linear-gradient(180deg, #1a1a3e 0%, #0a0a1f 100%); }
.illust-city::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(180deg, transparent, rgba(168,85,247,0.2));
  background-image: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,0.05) 8px 12px); }
.illust-coins    { background: radial-gradient(circle at 50% 60%, #fde047, #ea580c 50%, #1a0e02 100%); }
.illust-hearts   { background: radial-gradient(circle at 50% 50%, #fbcfe8, #ec4899 50%, #2a0a1f 100%); }
.illust-tree     { background: radial-gradient(circle at 50% 60%, #34d399, #047857 50%, #021a10 100%); }
.illust-rich     { background: radial-gradient(circle at 50% 60%, #fef3c7, #f59e0b 50%, #1a0e02 100%); }
.illust-wedding  { background: radial-gradient(circle at 50% 50%, #fce7f3, #be185d 60%, #2a0512 100%); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 28px;
}
.ft-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 800px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ft-grid { grid-template-columns: 1fr; } }

.ft-col h5 { font-size: 13px; font-weight: 800; margin-bottom: 14px; color: white; }
.ft-col a { display: block; font-size: 13px; color: var(--t3); margin-bottom: 8px; transition: color 0.2s; }
.ft-col a:hover { color: white; }
.ft-logo { margin-bottom: 14px; }
.ft-about { font-size: 12px; color: var(--t3); line-height: 1.7; }

.ft-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--t4);
}
.ft-links { display: flex; gap: 16px; }
.ft-links a { color: var(--t3); }

/* ════════════════════════════════════════════════════════════════
   FAB
   ════════════════════════════════════════════════════════════════ */

.fab-talk {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 80;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px;
  background: rgba(15, 17, 25, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: white; font-size: 13px; font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}
.fab-talk:hover { transform: translateY(-2px); }
.fab-talk svg { width: 18px; height: 18px; color: var(--cyan); }

/* ─── Reveal animation ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sh-card, .gm-card, .report-card, .ft-card, .rs, .ts, .store-card, .celeb {
  animation: fadeUp 0.6s ease both;
}

/* ════════════════════════════════════════════════════════════════
   HEADER 드롭다운 (콘텐츠 메뉴)
   ════════════════════════════════════════════════════════════════ */
.hdr-dropdown { position: relative; display: inline-flex; align-items: center; }
.hdr-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  font-family: inherit;
}
.hdr-dropdown-trigger:hover { color: var(--t1); background: rgba(255, 255, 255, 0.04); }
.hdr-dropdown.open .hdr-dropdown-trigger { color: var(--t1); background: rgba(168, 85, 247, 0.12); }
.hdr-dropdown-trigger .ddc { font-size: 10px; opacity: 0.6; transition: transform 0.2s; }
.hdr-dropdown.open .hdr-dropdown-trigger .ddc { transform: rotate(180deg); }

.hdr-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 340px;
  padding: 10px;
  background: rgba(15, 17, 25, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.hdr-dropdown.open .hdr-dropdown-panel { display: flex; }

/* 헤더 패널 — 위쪽에 작은 라벨 */
.hdd-head {
  padding: 10px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hdd-head::before { content: '📂'; font-size: 13px; }

.hdd-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
  color: white;
}
.hdd-item:hover { background: rgba(168, 85, 247, 0.12); }

.hdd-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 18px;
}
.hdd-icon-pink   { background: rgba(236, 72, 153, 0.18); color: #f9a8d4; }
.hdd-icon-purple { background: rgba(168, 85, 247, 0.18); color: #c4b5fd; }
.hdd-icon-amber  { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }
.hdd-icon-cyan   { background: rgba(6, 182, 212, 0.18); color: #67e8f9; }
.hdd-icon-green  { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.hdd-icon-rose   { background: rgba(244, 63, 94, 0.18); color: #fda4af; }

.hdd-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hdd-body strong {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: white;
}
.hdd-body em {
  font-style: normal;
  padding: 2px 7px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 4px;
}
.hdd-tag-free { background: rgba(16, 185, 129, 0.22); color: #6ee7b7; }
.hdd-tag-hot  { background: rgba(239, 68, 68, 0.22); color: #fca5a5; }
.hdd-body p { font-size: 11px; color: var(--t3); margin: 0; }
.hdd-arrow { color: var(--t4); font-size: 18px; transition: color 0.15s, transform 0.15s; }
.hdd-item:hover .hdd-arrow { color: white; transform: translateX(2px); }

@media (max-width: 600px) {
  .hdr-dropdown-panel { min-width: 280px; }
}

/* 헤더 충전 — a 태그로 사용 시 */
a.hdr-charge {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
a.hdr-charge:hover { text-decoration: none !important; }

/* ════════════════════════════════════════════════════════════════
   HEADER NOWRAP — 메뉴 글자 줄바꿈 방지 (어떤 zoom에서도)
   ════════════════════════════════════════════════════════════════ */
.site-header,
.site-header * { box-sizing: border-box; }

.hdr-inner {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  min-width: 0;
}
.hdr-nav {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}
.hdr-nav-item,
.hdr-dropdown-trigger,
.hdr-charge,
.hdr-lang,
.hdr-my,
.hdr-cta {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  word-break: keep-all;
}
.hdr-right {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

/* ════════════════════════════════════════════════════════════════
   CHAT MODAL — 메인 페이지 위에 뜨는 채팅 모달
   ════════════════════════════════════════════════════════════════ */
.chat-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  opacity: 0;
  transition: opacity 0.25s;
}
.chat-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.chat-modal {
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: 85vh;
  min-height: 600px;
  display: grid;
  grid-template-columns: 360px 1fr;
  background: #0a0a14;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(6, 182, 212, 0.15);
  transform: scale(0.95);
  transition: transform 0.25s;
}
.chat-modal-backdrop.open .chat-modal { transform: scale(1); }

@media (max-width: 720px) {
  .chat-modal { grid-template-columns: 1fr; }
  .cm-side { display: none; }
}

/* 좌측 사이드 - 캐릭터 사진 */
.cm-side {
  position: relative;
  background-image: url('images/shaman-5-chae.jpg');
  background-size: cover;
  background-position: center;
}
.cm-side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
}
.cm-side-top {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 16px;
  flex-wrap: wrap;
}
.cm-online {
  padding: 5px 12px;
  background: rgba(6, 182, 212, 0.18);
  color: #67e8f9;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cm-online::before {
  content: '●';
  color: #10b981;
  font-size: 8px;
}
.cm-model-pill {
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.cm-side-bottom {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
}
.cm-side-bottom .cmsb-role {
  font-size: 11px;
  font-weight: 700;
  color: #67e8f9;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.cm-side-bottom h3 {
  font-size: 28px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

/* 우측 채팅 영역 */
.cm-chat {
  display: flex;
  flex-direction: column;
  background: #0a0a14;
  min-height: 0;
}
.cm-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cmh-info strong {
  font-size: 17px;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 3px;
}
.cmh-info p {
  font-size: 11px;
  color: #9ca3af;
}
.cmh-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.15s;
}
.cmh-close:hover { background: rgba(255, 255, 255, 0.12); }

.cm-quick {
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.cm-quick-label {
  font-size: 10px;
  color: #6b7280;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.cm-quick-chips {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.cm-quick-chips button {
  padding: 6px 12px;
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.cm-quick-chips button:hover {
  background: rgba(6, 182, 212, 0.2);
  transform: translateY(-1px);
}

.cm-stream {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cm-msg {
  display: flex;
  max-width: 85%;
  align-items: flex-end;
  gap: 8px;
}
.cm-msg-bot { align-self: flex-start; }
.cm-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.cm-msg-bot .cm-bbl {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 4px;
}
.cm-msg-user .cm-bbl {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-top-right-radius: 4px;
}
.cm-bbl {
  padding: 11px 15px;
  font-size: 13px;
  line-height: 1.6;
  color: white;
  border-radius: 12px;
}
.cm-msg-bot .cm-mini-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background-image: url('images/shaman-5-chae.jpg');
  background-size: cover;
  flex-shrink: 0;
}

/* typing */
.cm-typing .cm-bbl { display: flex; gap: 4px; padding: 12px 16px; }
.cm-typing .cm-bbl i {
  width: 6px; height: 6px;
  background: #06b6d4;
  border-radius: 50%;
  font-style: normal;
  animation: cmTypeBounce 1.2s infinite;
}
.cm-typing .cm-bbl i:nth-child(2) { animation-delay: 0.2s; }
.cm-typing .cm-bbl i:nth-child(3) { animation-delay: 0.4s; }
@keyframes cmTypeBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.cm-link-row {
  text-align: center;
  padding: 10px 22px;
  font-size: 11px;
  color: #9ca3af;
}
.cm-link-row a {
  color: #67e8f9;
  text-decoration: none;
  font-weight: 600;
}
.cm-link-row a:hover { text-decoration: underline; }

.cm-input-row {
  display: flex;
  gap: 8px;
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}
.cm-input-row input {
  flex-grow: 1;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-family: inherit;
}
.cm-input-row input::placeholder { color: #6b7280; }
.cm-input-row input:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}
.cm-send {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: #06b6d4;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  flex-shrink: 0;
}
.cm-send svg { width: 16px; height: 16px; }
.cm-send:hover { transform: scale(1.05); }
