:root {
  --bg: #fdf8f2;
  --paper: #ffffff;
  --ink: #2d2421;
  --muted: #74675f;
  --line: #efe2d4;
  --accent: #e8762b;
  --accent-ink: #b9531a;
  --accent-soft: #fdebd9;
  --purple: #7a4fd0;
  --display: "Gowun Dodum", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1714; --paper: #27201c; --ink: #f6ece4; --muted: #bcaea4;
    --line: #3d322b; --accent: #f39a52; --accent-ink: #f6b37c; --accent-soft: #3a2a1f;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.en { color: var(--muted); font-size: 0.94em; }
.en-h { font-family: var(--body); font-size: 0.55em; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; margin-left: 6px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .row { min-height: 60px; }
.brand { font-weight: 700; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand .ko { font-family: var(--display); letter-spacing: 0; color: var(--muted); font-weight: 400; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffc36b, var(--accent)); }
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { color: var(--accent-ink); }

/* hero */
.hero { overflow: hidden; padding-block: 56px 40px; background: radial-gradient(1200px 400px at 80% 0%, var(--accent-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; color: var(--accent-ink); font-weight: 700; margin: 0 0 10px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.3; margin: 0 0 18px; text-wrap: balance; }
.lead { font-size: 17px; margin: 0 0 10px; max-width: 34em; }
.fan { position: relative; height: 340px; }
.fan .c { position: absolute; width: 190px; border-radius: 14px; box-shadow: 0 14px 30px rgba(60, 30, 10, 0.22); border: 4px solid #fff; top: 20px; left: 50%; }
.c1 { transform: translateX(-120%) rotate(-12deg); }
.c2 { transform: translateX(-50%) translateY(-14px); z-index: 2; }
.c3 { transform: translateX(20%) rotate(12deg); }

/* blocks */
.block { padding-block: 40px; border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 20px; }
.block > p { max-width: 42em; margin: 0 0 10px; }
.game { display: flex; gap: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.game .icon { width: 116px; height: 116px; border-radius: 26px; flex: none; box-shadow: 0 6px 16px rgba(80, 40, 120, 0.25); }
.game-body { min-width: 0; }
.game-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0; }
.badge { font-size: 13px; font-weight: 700; color: var(--purple); background: color-mix(in srgb, var(--purple) 12%, transparent); padding: 2px 10px; border-radius: 999px; }
.game p { margin: 0 0 8px; }
.tags { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tags li { font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 20px; }
.strip img { border-radius: 10px; aspect-ratio: 5 / 7; object-fit: cover; width: 100%; }
.mail { font-size: 20px; font-weight: 700; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 32px 48px; color: var(--muted); font-size: 14px; background: var(--paper); }
.biz { display: grid; gap: 6px; margin: 0 0 16px; }
.biz div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.biz dt { font-weight: 700; color: var(--ink); }
.biz dd { margin: 0; }
.links, .copy { margin: 4px 0; }

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.doc .summary { background: var(--accent-soft); border-radius: 14px; padding: 16px 20px; font-weight: 500; margin-bottom: 28px; }
.doc h2 { font-size: 21px; margin: 28px 0 8px; }
.doc ul { padding-left: 1.2em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .fan { height: 270px; }
  .fan .c { width: 150px; }
  .game { flex-direction: column; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .biz div { grid-template-columns: 1fr; gap: 0; }
  nav { gap: 12px; font-size: 14px; }
}
