@font-face{font-family:"Shobu Serif";src:url(/assets/fonts/serif.7e0c47b432.woff2) format("woff2");font-weight:200 900;font-style:normal;font-display:swap}
/* 쇼부카지노.com 공식 안내 랜딩 - 쇼부 공식 사이트(shobu.casino)와 같은 색 토큰(옻칠 검정·금·아이보리·인장 빨강).
   제목은 Noto Serif KR(쓰는 글자만 뽑은 woff2, @font-face 는 build.py 가 맨 위에 붙인다), 본문은 기기 기본 고딕. */
:root {
  --bg: #0b0806;
  --surface: #130f0a;
  --surface-2: #1b150e;
  --surface-3: #251c12;
  --line: rgba(216, 176, 100, 0.16);
  --line-strong: rgba(216, 176, 100, 0.4);
  --gold: #d8b064;
  --gold-hi: #f6e2a4;
  --gold-lo: #8d6428;
  --champagne: #ead09a;
  --text: #f3e9d6;
  --text-2: #c9bb9d;
  --text-3: #9d8e72;
  --seal: #c8402a;
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "Shobu Serif", "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gutter: 32px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(216, 176, 100, 0.09), transparent 62%),
    radial-gradient(900px 520px at -10% 38%, rgba(200, 64, 42, 0.05), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 1rem/1.75 var(--sans);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
strong { font-weight: 700; color: var(--text); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(216, 176, 100, 0.35); color: #fff; }

.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1a1206; font-weight: 700; transition: top 0.2s; }
.skip:focus { top: 12px; }
.gold {
  color: var(--gold-hi);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold {
    background: linear-gradient(180deg, #fff4cf 0%, #f6e2a4 28%, #d8b064 62%, #a87a32 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 1rem/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold {
  color: #1a1206;
  background: linear-gradient(180deg, #fbebb8 0%, #e6c47b 46%, #bb8b40 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 28px rgba(216, 176, 100, 0.22);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 34px rgba(216, 176, 100, 0.32); }
.btn-ghost { color: var(--gold-hi); border-color: var(--line-strong); background: rgba(19, 15, 10, 0.55); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(216, 176, 100, 0.08); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.06rem; }
.btn:active { transform: translateY(0) scale(0.98); }

/* 머리띠 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 8, 6, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 36px; }
@media (min-width: 760px) { .brand img { height: 40px; } }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--text-2); font-weight: 600; font-size: 0.95rem; transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover { color: var(--gold-hi); background: rgba(216, 176, 100, 0.06); }
.main-nav a[aria-current="page"] { color: var(--gold-hi); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 10px 10px 2px 2px; }
.header-cta { flex: none; }
.header-cta .btn { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.menu-btn {
  display: none; flex: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(19, 15, 10, 0.6); color: var(--gold-hi); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.m-nav { border-top: 1px solid var(--line); background: rgba(11, 8, 6, 0.97); }
.m-nav[hidden] { display: none; }
.m-nav ul { list-style: none; padding: 8px 0 16px; }
.m-nav li + li { border-top: 1px solid rgba(216, 176, 100, 0.08); }
.m-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 600; color: var(--text); }
.m-nav a[aria-current="page"] { color: var(--gold-hi); }
.m-nav a::after { content: "›"; color: var(--gold); font-size: 1.3rem; }
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 380px) { .header-cta .btn { padding: 0 12px; font-size: 0.86rem; } .brand img { height: 32px; } }

/* 첫 화면 */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(600px, 92vh, 900px); }
.hero-media, .hero-media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 66% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 8, 6, 0.94) 34%, rgba(11, 8, 6, 0.55) 62%, rgba(11, 8, 6, 0.2) 100%);
}
.hero-inner { padding-block: 32vh 28px; }
.hero h1 { display: grid; gap: 14px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 700; color: var(--champagne); letter-spacing: 0.02em; }
.hero-kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.hero-lead { max-width: 36em; margin: 20px 0 28px; color: var(--text-2); font-size: clamp(1.02rem, 1.4vw, 1.14rem); }
.hero-lead strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.addr {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 22px; padding: 10px 12px 10px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(19, 15, 10, 0.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.addr-label { color: var(--text-3); font-size: 0.86rem; font-weight: 600; }
.addr-host { font: 700 1.08rem/1 var(--sans); color: var(--gold-hi); letter-spacing: 0.01em; }
.copy-btn {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text-2); font: 600 0.86rem/1 var(--sans); cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.copy-btn:hover { color: var(--gold-hi); border-color: var(--gold); }
.copy-btn[data-done] { color: var(--gold-hi); border-color: var(--gold); }
.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 34px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: rgba(19, 15, 10, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-stats li { list-style: none; padding: 16px 18px; display: grid; gap: 2px; }
.hero-stats li:nth-child(odd) { border-right: 1px solid var(--line); }
.hero-stats li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.hero-stats strong { font: 900 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--serif); }
.hero-stats span { color: var(--text-2); font-size: 0.88rem; }
@media (min-width: 760px) {
  .hero { justify-content: center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 8, 6, 0.95) 0%, rgba(11, 8, 6, 0.82) 34%, rgba(11, 8, 6, 0.3) 66%, rgba(11, 8, 6, 0.08) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(11, 8, 6, 0) 32%);
  }
  .hero-inner { padding-block: 96px 56px; }
  .hero-copy { max-width: 640px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats li { padding: 20px 24px; }
  .hero-stats li:nth-child(odd) { border-right: 0; }
  .hero-stats li:nth-child(-n + 2) { border-bottom: 0; }
  .hero-stats li + li { border-left: 1px solid var(--line); }
}

/* 공통 구역 */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.label { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; }
.label::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--seal); box-shadow: 0 0 0 3px rgba(200, 64, 42, 0.18); }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-head p { margin: 0; color: var(--text-2); font-size: 1.04rem; }
.more-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--gold-hi); font-weight: 700; }
.more-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.more-link:hover::after { transform: translateX(4px); }
.section-foot { margin-top: 28px; display: flex; justify-content: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }

/* 소개 */
.about { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 8, 6, 0.55), transparent 45%); }
.about figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-points { display: grid; gap: 14px; margin-top: 24px; list-style: none; }
.about-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); }
.about-points svg { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.about-points strong { display: block; color: var(--text); }
@media (min-width: 900px) { .about { grid-template-columns: 1.05fr 0.95fr; } }

/* 게임 카드 */
.game-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
@media (min-width: 760px) { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.game-card {
  position: relative; display: block; height: 100%; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.game-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.game-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 8, 6, 0.96) 0%, rgba(11, 8, 6, 0.6) 38%, rgba(11, 8, 6, 0) 66%); }
.game-card .body { position: absolute; inset: auto 0 0 0; padding: 16px; display: grid; gap: 4px; }
.game-card h3 { font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.game-card p { margin: 0; color: var(--text-2); font-size: 0.88rem; line-height: 1.55; }
.game-card .tag { justify-self: start; margin-bottom: 4px; padding: 3px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; color: #1a1206; background: var(--gold); }
a.game-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
a.game-card:hover img { transform: scale(1.05); }
@media (max-width: 420px) { .game-card .body { padding: 12px; } .game-card p { font-size: 0.82rem; } }

/* 혜택 카드 */
.benefit-grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.benefit-card {
  display: grid; height: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(37, 28, 18, 0.7), rgba(19, 15, 10, 0.95));
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.benefit-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.benefit-card figure { margin: 0; overflow: hidden; }
.benefit-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.benefit-card .body { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; }
.benefit-card .kind { color: var(--text-3); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
.benefit-card h3 { font-size: 1.12rem; color: var(--text); }
.benefit-card .big { font: 900 clamp(1.7rem, 3vw, 2.2rem)/1.15 var(--serif); }
.benefit-card p { margin: 4px 0 0; color: var(--text-2); font-size: 0.93rem; line-height: 1.65; }
@media (max-width: 639px) {
  .benefit-card { grid-template-columns: 112px 1fr; }
  .benefit-card img { height: 100%; aspect-ratio: auto; min-height: 128px; }
  .benefit-card .body { padding: 14px 14px 16px; }
  .benefit-card .big { font-size: 1.5rem; }
  .benefit-card p { font-size: 0.86rem; }
}

/* 가입 단계 */
.steps { display: grid; gap: 16px; list-style: none; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.step {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 21, 14, 0.9), rgba(19, 15, 10, 0.9));
}
.step-no {
  display: block; margin-bottom: 14px; font: 900 2.6rem/1 var(--serif); color: transparent;
  -webkit-text-stroke: 1px var(--gold); letter-spacing: 0.02em;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.step a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

/* 입출금 요약 */
.money-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .money-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.money-card { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.money-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 14px; }
.money-card h3 svg { width: 26px; height: 26px; color: var(--gold); }
.facts { display: grid; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(216, 176, 100, 0.1); }
.facts dt { color: var(--text-2); }
.facts dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* 안전 */
.trust-grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.trust-item { padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(19, 15, 10, 0.7); }
.icon-ring {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: radial-gradient(circle at 30% 25%, rgba(246, 226, 164, 0.18), rgba(216, 176, 100, 0.04));
  color: var(--gold-hi);
}
.icon-ring svg { width: 24px; height: 24px; }
.trust-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.trust-item p { margin: 0; color: var(--text-2); font-size: 0.92rem; }

/* 자주 묻는 질문 */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; display: block; padding: 20px 52px 20px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.05rem; color: var(--text); transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--gold-hi), var(--gold-hi)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold-hi), var(--gold-hi)) center / 1.5px 12px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq .ans { padding: 0 8px 22px 0; color: var(--text-2); }
.faq .ans p:last-child { margin-bottom: 0; }
.faq .ans a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

/* 마지막 행동 띠 */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid var(--line); }
.nw { white-space: nowrap; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 320px at 18% 50%, rgba(216, 176, 100, 0.16), transparent 70%),
    radial-gradient(600px 300px at 90% 120%, rgba(200, 64, 42, 0.12), transparent 70%),
    var(--lacquer, #0b0806);
}
.cta-inner { display: grid; gap: 24px; align-items: center; justify-items: center; text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.cta-inner .seal { width: clamp(96px, 12vw, 136px); height: auto; filter: drop-shadow(0 12px 30px rgba(216, 176, 100, 0.25)); }
.cta-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-inner p { margin: 0; color: var(--text-2); max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; gap: 36px; }
  .cta-actions { justify-content: flex-end; }
}

/* 하위 쪽 첫 화면 */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero picture, .page-hero picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.page-hero picture img { object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 8, 6, 0.96) 0%, rgba(11, 8, 6, 0.84) 45%, rgba(11, 8, 6, 0.45) 100%), linear-gradient(0deg, var(--bg), rgba(11, 8, 6, 0) 40%);
}
.page-hero .container { padding-block: clamp(36px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; color: var(--text-3); font-size: 0.88rem; margin-bottom: 18px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold-lo); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--gold-hi); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; max-width: 18em; }
.page-hero .lead { max-width: 40em; margin: 16px 0 24px; color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.page-hero .hero-actions .btn { min-height: 46px; }

/* 하위 쪽 본문 */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.doc > * { min-width: 0; }
@media (min-width: 1024px) { .doc { grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; } }
.toc { order: -1; }
@media (min-width: 1024px) { .toc { order: 0; position: sticky; top: calc(var(--header-h) + 24px); } }
.toc-box { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(19, 15, 10, 0.75); }
.toc-title { margin: 0 0 10px; color: var(--text-3); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc-box a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-size: 0.94rem; font-weight: 600; transition: color 0.2s, background-color 0.2s; }
.toc-box a:hover { color: var(--gold-hi); background: rgba(216, 176, 100, 0.06); }
.toc-cta { display: none; margin-top: 14px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(216, 176, 100, 0.1), rgba(19, 15, 10, 0.9)); }
.toc-cta p { margin: 0 0 14px; color: var(--text-2); font-size: 0.92rem; }
.toc-cta .btn { width: 100%; }
.toc-cta .btn + .btn { margin-top: 8px; }
@media (min-width: 1024px) { .toc-cta { display: block; } }
@media (max-width: 1023px) {
  .toc-box { padding: 12px; }
  .toc ol { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc-box a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 40px; display: flex; align-items: center; }
}

.prose { min-width: 0; }
.prose > section { padding-top: 8px; }
.prose > section + section { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.prose h3 { font-size: 1.18rem; margin: 26px 0 10px; color: var(--champagne); }
.prose p, .prose li { color: var(--text-2); }
.prose p strong, .prose li strong { color: var(--text); }
.prose ul.dots { list-style: none; display: grid; gap: 8px; margin: 0 0 1em; }
.prose ul.dots li { position: relative; padding-left: 18px; }
.prose ul.dots li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.prose ol.nums { list-style: none; counter-reset: n; display: grid; gap: 12px; margin: 0 0 1em; }
.prose ol.nums li { counter-increment: n; position: relative; padding-left: 40px; }
.prose ol.nums li::before {
  content: counter(n); position: absolute; left: 0; top: 0.1em; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font: 700 0.86rem/1 var(--sans); color: #1a1206; background: var(--gold);
}
.prose a:not(.btn) { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.note {
  margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  background: rgba(216, 176, 100, 0.05); color: var(--text-2); font-size: 0.92rem;
}
.note strong { color: var(--champagne); }
.table-wrap { margin: 14px 0 6px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.94rem; }
table.data caption { caption-side: top; text-align: left; padding: 12px 16px 0; color: var(--text-3); font-size: 0.85rem; }
table.data th, table.data td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(216, 176, 100, 0.1); }
table.data thead th { background: rgba(216, 176, 100, 0.09); color: var(--gold-hi); font-weight: 700; white-space: nowrap; }
table.data tbody th { color: var(--text); font-weight: 700; white-space: nowrap; }
table.data td { color: var(--text-2); font-variant-numeric: tabular-nums; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; white-space: nowrap; }
@media (max-width: 600px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; }
  table.data { min-width: 0; }
  table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.data, table.data tbody, table.data tr, table.data th, table.data td { display: block; }
  table.data caption { display: block; padding: 0 0 8px; }
  table.data tr { margin-bottom: 10px; padding: 4px 0 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(19, 15, 10, 0.72); }
  table.data tbody th { padding: 12px 14px 8px; color: var(--gold-hi); white-space: normal; border-bottom: 1px solid rgba(216, 176, 100, 0.12); }
  table.data td { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 10px; padding: 8px 14px; border-bottom: 0; }
  table.data td::before { content: attr(data-label); color: var(--text-3); font-size: 0.84rem; font-weight: 600; }
  table.data .num { text-align: left; }
}
.level { display: inline-flex; align-items: center; gap: 8px; }
.level img { width: 28px; height: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 10px 0 0; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(19, 15, 10, 0.7); color: var(--text-2); font-size: 0.86rem; }
.card-row { display: grid; gap: 14px; margin: 16px 0 4px; }
@media (min-width: 700px) { .card-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(19, 15, 10, 0.7); }
.mini-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.mini-card h3 { margin: 0 0 4px; font-size: 1.04rem; color: var(--text); }
.mini-card p { margin: 0; font-size: 0.88rem; }
.game-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.game-block > * { min-width: 0; }
@media (min-width: 760px) { .game-block { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; } }
.game-block figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.game-block figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 759px) { .game-block figure img { aspect-ratio: 16 / 9; object-position: 50% 30%; } }
.game-block h2 { margin-bottom: 10px; }
.kv { display: grid; gap: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(216, 176, 100, 0.08); }
.kv dt { color: var(--text-3); font-weight: 600; font-size: 0.92rem; }
.kv dd { margin: 0; color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 480px) { .kv div { grid-template-columns: 1fr; gap: 2px; } }

/* 바닥 */
.site-footer { padding-block: 48px 40px; border-top: 1px solid var(--line); background: rgba(8, 6, 4, 0.8); color: var(--text-3); font-size: 0.9rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }
.footer-brand img { height: 38px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 30em; }
.site-footer h2 { margin-bottom: 12px; font: 700 0.92rem/1.4 var(--sans); color: var(--text-2); letter-spacing: 0.04em; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
@media (max-width: 859px) { .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } }
.site-footer a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-2); transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-hi); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(216, 176, 100, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 0.84rem; }

/* 휴대폰 아래 고정 버튼 */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 8, 6, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; min-height: 50px; padding: 0 12px; }
@media (max-width: 759px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* 스크롤 등장(자바스크립트가 화면 밖 요소에만 is-pending 을 붙인다) */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-pending { opacity: 1; transform: none; transition: none; }
  .btn, .game-card, .game-card img, .benefit-card, .more-link::after { transition: none; }
}
