/* RNG ARENA 공식 홈페이지. 게임과 같은 Sweetie 16 팔레트 · Galmuri11 · 게임 UI 9-슬라이스(ui_panel·ui_button). */

@font-face { font-family: "Galmuri11"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/galmuri11-latin.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-203A, U+20A9, U+2122, U+2190-2193, U+221E, U+25B2-25CF, U+2605-2606, U+2665; }
@font-face { font-family: "Galmuri11"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/galmuri11-ko.woff2") format("woff2");
  unicode-range: U+AC00-D7A3, U+3131-318E, U+3000-303F, U+FF01-FF5E; }
@font-face { font-family: "Galmuri11"; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/galmuri11-bold-latin.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-203A, U+20A9, U+2122, U+2190-2193, U+221E, U+25B2-25CF, U+2605-2606, U+2665; }
@font-face { font-family: "Galmuri11"; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/galmuri11-bold-ko.woff2") format("woff2");
  unicode-range: U+AC00-D7A3, U+3131-318E, U+3000-303F, U+FF01-FF5E; }

:root {
  --bg: #1a1c2c;
  --bg-2: #222034;
  --panel: #29243a;
  --panel-2: #333c57;
  --border: #566c86;
  --text: #f4f4f4;
  --dim: #b4c8d6;
  --gold: #ffcd75;
  --orange: #ef7d57;
  --red: #b13e53;
  --plum: #5d275d;
  --purple: #b55dc9;
  --green: #a7f070;
  --teal: #38b764;
  --cyan: #73eff7;
  --sky: #41a6f6;
  --navy: #29366f;
  --focus: #73eff7;
  --font: "Galmuri11", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
  /* 게임 9-슬라이스 1배 마진 8px → 화면 2배 */
  --slice: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: none; font-smooth: never;
}
img { max-width: 100%; height: auto; }
.px, .px img, img.px { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; margin: 0 0 .5em; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--gold); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- 게임 UI 판넬·버튼 ---------- */
.panel {
  border: var(--slice) solid transparent;
  border-image: url("/assets/icons/ui_panel.png") 8 fill / var(--slice) / 0 stretch;
  image-rendering: pixelated;
  padding: 4px 6px;
}
.panel.gold { border-image-source: url("/assets/icons/ui_panel_gold.png"); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 2px 10px; font: 700 16px/1.3 var(--font); color: var(--text); text-decoration: none;
  border: var(--slice) solid transparent; border-image: url("/assets/icons/ui_button.png") 8 fill / var(--slice) / 0 stretch;
  image-rendering: pixelated; cursor: pointer; background: none; text-shadow: 0 2px 0 #1a1c2c;
}
.btn img { width: 32px; height: 32px; margin: -8px 0; }
.btn:hover { color: var(--gold); border-image-source: url("/assets/icons/ui_button_hover.png"); }
.btn:active { border-image-source: url("/assets/icons/ui_button_pressed.png"); transform: translateY(2px); }
.btn.gold { border-image-source: url("/assets/icons/ui_panel_gold.png"); color: var(--gold); }
.btn.gold:hover { color: #fff; }
.btn[aria-disabled="true"], .btn:disabled {
  border-image-source: url("/assets/icons/ui_button_disabled.png"); color: var(--dim); cursor: default; transform: none;
}
.btn .sub { display: block; font-size: 12px; font-weight: 400; color: var(--dim); }
.btn-col { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(26, 28, 44, .94);
  border-bottom: 4px solid #0f1020; box-shadow: 0 4px 0 #333c57;
}
@supports (backdrop-filter: blur(4px)) { .site-header { backdrop-filter: blur(4px); } }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; color: var(--text); text-decoration: none; font-size: 16px; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.lang { display: inline-flex; border: 2px solid var(--border); background: #0f1020; }
.lang button { font: 700 12px/1 var(--font); color: var(--dim); background: none; border: 0; padding: 10px 10px; min-width: 44px; min-height: 40px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--bg); }
.menu-btn { display: none; }

@media (max-width: 759px) {
  .site-header .wrap { flex-wrap: wrap; gap: 8px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 44px; height: 44px;
    background: #0f1020; border: 2px solid var(--border); color: var(--text); cursor: pointer; padding: 0;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 3px; background: currentColor; position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .nav { order: 3; flex-basis: 100%; margin: 0; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding-bottom: 8px; }
  .nav a { padding: 12px 4px; border-bottom: 2px solid #29243a; }
  .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
}

/* ---------- 히어로(시차 무대) ---------- */
.stage {
  --s: 2; --unit-scale: calc(var(--s) * .5);
  /* 네이티브 캔버스의 투명 여백·발 기준을 보존하고 중심을 대열에 맞춘다. */
  --gap: 28; --shift: 4; --boss: -72;
  position: relative; height: calc(192px * var(--s)); overflow: hidden; background: var(--bg);
  isolation: isolate;
}
@media (min-width: 600px) { .stage { --gap: 32; --shift: 0; --boss: -138; } }
@media (min-width: 900px) { .stage { --s: 3; --boss: -160; } }
.stage .layer {
  position: absolute; inset: 0; background-repeat: no-repeat; background-position: center;
  background-size: cover; image-rendering: pixelated;
}
.stage .actors { position: absolute; inset: 0; z-index: 2; }
.sprite {
  position: absolute; bottom: calc(32px * var(--s) - var(--hero-foot-pad) * var(--unit-scale));
  width: calc(var(--hero-w) * var(--unit-scale)); height: calc(var(--hero-h) * var(--unit-scale));
  left: calc(50% + (var(--slot) * var(--gap) + var(--shift)) * var(--s) * 1px - var(--hero-feet-x) * var(--unit-scale));
  background: url("/assets/sprites/heroes.png") no-repeat;
  background-size: calc(var(--hero-atlas-w) * var(--unit-scale)) calc(var(--hero-atlas-h) * var(--unit-scale));
  background-position: calc(var(--walk-start) * var(--unit-scale) * -1) calc(var(--row) * var(--hero-h) * var(--unit-scale) * -1);
  image-rendering: pixelated;
  animation: walk var(--walk-duration) steps(var(--walk-steps)) infinite; animation-delay: calc(var(--i, 0) * -83ms);
}
@keyframes walk {
  from { background-position-x: calc(var(--walk-start) * var(--unit-scale) * -1); }
  to { background-position-x: calc(var(--walk-end) * var(--unit-scale) * -1); }
}
.monster {
  --monster-scale: calc(var(--s) * .4);
  position: absolute; bottom: calc(32px * var(--s) - var(--monster-foot-pad) * var(--monster-scale));
  width: calc(var(--monster-w) * var(--monster-scale)); height: calc(var(--monster-h) * var(--monster-scale));
  left: calc(50% + var(--boss) * var(--s) * 1px - var(--monster-feet-x) * var(--monster-scale));
  background-repeat: no-repeat;
  background-size: calc(var(--monster-atlas-w) * var(--monster-scale)) calc(var(--monster-h) * var(--monster-scale));
  image-rendering: pixelated;
  animation: monster var(--monster-duration) steps(var(--monster-steps)) infinite, chase 7s ease-in-out infinite;
}
.monster.goblin { --monster-scale: calc(var(--s) * .5); --boss: 80; }
@media (min-width: 600px) { .monster.goblin { --boss: 105; } }
@keyframes monster { to { background-position-x: calc(var(--monster-atlas-w) * var(--monster-scale) * -1); } }
@keyframes chase { 0%, 100% { translate: 0 0; } 50% { translate: calc(14px * var(--s)) 0; } }
.stage-title {
  position: absolute; z-index: 4; left: 0; right: 0; top: calc(10px * var(--s)); text-align: center; padding: 0 12px;
}
.stage-title h1 { margin: 0; line-height: 0; }
.stage-title h1 img { width: calc(348px * (var(--s) - 1)); max-width: 100%; height: auto; }
.stage-title .tagline {
  display: inline-block; margin: 10px 0 0; padding: 4px 12px; font-size: 16px; font-weight: 700; color: var(--text);
  background: rgba(26, 28, 44, .72); text-shadow: 0 2px 0 #1a1c2c;
}
@media (min-width: 900px) { .stage-title .tagline { font-size: 24px; margin-top: 16px; } }
.stage-tools { position: absolute; z-index: 5; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.chip-btn {
  font: 700 12px/1 var(--font); color: var(--text); background: rgba(15, 16, 32, .85); border: 2px solid var(--border);
  padding: 8px 10px; min-height: 40px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.chip-btn:hover { border-color: var(--gold); color: var(--gold); }
.chip-btn img { width: 16px; height: 16px; }
.paused .stage .sprite, .paused .stage .monster { animation-play-state: paused; }

/* ---------- 리드(한 줄 소개 + 버튼) ---------- */
.lead { background: linear-gradient(#0f1020, var(--bg)); border-top: 4px solid #0f1020; padding: 28px 0 40px; }
.lead .wrap { display: grid; gap: 20px; align-items: center; }
.lead p.pitch { font-size: 16px; margin: 0; color: var(--text); }
.lead p.pitch strong { color: var(--gold); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.badges li { font-size: 12px; color: var(--dim); border: 2px solid #333c57; padding: 4px 10px; }
@media (min-width: 900px) { .lead .wrap { grid-template-columns: 1.3fr 1fr; } .cta { justify-content: flex-end; } }

/* ---------- 섹션 ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-2); border-block: 4px solid #0f1020; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.section-head h2, .section-head h1 { margin: 0; color: var(--gold); font-size: 24px; }
.section-head img { width: 32px; height: 32px; }
.section-head .more { margin-left: auto; font-size: 12px; }
.section-intro { color: var(--dim); max-width: 72ch; margin-bottom: 28px; }
.divider { height: calc(96px * 2); background-repeat: repeat-x; background-size: 768px 384px; background-position: 0 70%; image-rendering: pixelated; border-block: 4px solid #0f1020; }

.grid { display: grid; gap: 16px; }
.features { grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; flex-direction: column; gap: 6px; }
.feature .icon { display: flex; gap: 4px; margin-bottom: 4px; }
.feature .icon img { width: 64px; height: 64px; }
.feature h3 { color: var(--gold); margin: 0; }
.feature p { margin: 0; color: var(--dim); font-size: 16px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: #0f1020; border: 2px solid #333c57; padding: 12px; text-align: center; }
.stats b { display: block; font-size: 24px; color: var(--gold); line-height: 1.2; }
.stats span { font-size: 12px; color: var(--dim); }

/* ---------- 갤러리 ---------- */
.gallery { grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.shot { display: block; width: 100%; padding: 0; border: 4px solid #0f1020; background: #0f1020; cursor: zoom-in; position: relative; color: inherit; font: inherit; text-align: left; }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot span { display: block; padding: 6px 8px; font-size: 12px; color: var(--dim); background: #0f1020; }
.shot:hover { border-color: var(--gold); }
.shot:hover span { color: var(--gold); }

.lightbox { padding: 0; border: 0; background: rgba(10, 10, 20, .9); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--text); }
.lightbox::backdrop { background: rgba(10, 10, 20, .7); }
.lightbox .lb { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; gap: 8px; }
.lightbox .lb-img { display: grid; place-items: center; overflow: hidden; padding: 0 8px; }
.lightbox .lb-img img { image-rendering: pixelated; border: 4px solid #0f1020; max-width: none; }
.lightbox .lb-bar { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 12px; }
.lightbox .lb-bar .btn { white-space: nowrap; flex: none; }
.lightbox #lb-caption { flex: 0 1 auto; font-size: 16px; }
@media (max-width: 599px) { .lightbox #lb-caption { font-size: 12px; min-width: 0 !important; } }
.lightbox .lb-count { color: var(--dim); font-size: 12px; }

/* ---------- 영웅 ---------- */
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
@media (min-width: 900px) { .faces { grid-template-columns: repeat(8, 1fr); } }
.faces a { display: block; background: #0f1020; border: 2px solid #333c57; text-align: center; padding: 6px 0 4px; text-decoration: none; color: var(--dim); font-size: 12px; }
.faces a:hover { border-color: var(--gold); color: var(--gold); }
.faces img { width: 64px; height: 64px; display: block; margin: 0 auto; max-width: 100%; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.filters + .filters { margin-bottom: 24px; }
.filters .label { font-size: 12px; color: var(--dim); align-self: center; min-width: 4.5em; }
@media (max-width: 759px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .filters .label { min-width: 3em; flex: none; }
  .chip { flex: none; }
}
.chip { font: 700 12px/1 var(--font); color: var(--dim); background: #0f1020; border: 2px solid #333c57; padding: 8px 10px; min-height: 40px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip img { width: 32px; height: 32px; margin: -8px -4px; }
.chip[aria-pressed="true"] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.chip:hover { border-color: var(--gold); }
.hero-count { font-size: 12px; color: var(--dim); margin: 0 0 16px; }

.hero-grid { grid-template-columns: 1fr; }
@media (min-width: 680px) { .hero-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: repeat(3, 1fr); } }
.hero-card { display: flex; flex-direction: column; gap: 10px; position: relative; }
.hero-card .top { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: end; }
.hero-card .portrait { position: relative; width: 160px; height: 160px; background: radial-gradient(circle at 60% 40%, var(--hc, #333c57), #0f1020 72%); border: 2px solid #0f1020; overflow: hidden; }
.hero-card .portrait img { width: 160px; height: 160px; display: block; }
.hero-card .mini { --unit-scale: .65; position: absolute; right: -18px; bottom: -10px;
  width: calc(var(--hero-w) * var(--unit-scale)); height: calc(var(--hero-h) * var(--unit-scale)); --row: 0;
  background: url("/assets/sprites/heroes.png") no-repeat;
  background-size: calc(var(--hero-atlas-w) * var(--unit-scale)) calc(var(--hero-atlas-h) * var(--unit-scale));
  background-position: calc(var(--idle-start) * var(--unit-scale) * -1) calc(var(--row) * var(--hero-h) * var(--unit-scale) * -1);
  image-rendering: pixelated; filter: drop-shadow(0 2px 0 #0f1020); }
.hero-card:hover .mini { animation: idle var(--idle-duration) steps(var(--idle-steps)) infinite; }
@keyframes idle {
  from { background-position-x: calc(var(--idle-start) * var(--unit-scale) * -1); }
  to { background-position-x: calc(var(--idle-end) * var(--unit-scale) * -1); }
}
.hero-card .who { min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tags li { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; background: #0f1020; padding: 0 8px 0 0; border: 2px solid #333c57; }
.tags img { width: 32px; height: 32px; margin: -4px 0; }
.hero-card .desc { margin: 0; font-size: 16px; }
.ult { display: grid; grid-template-columns: 48px 1fr; gap: 8px; background: #0f1020; border: 2px solid var(--plum); padding: 8px; }
.ult img { width: 48px; height: 48px; }
.ult b { color: var(--gold); display: block; font-size: 16px; }
.ult b small { color: var(--purple); font-size: 12px; margin-right: 6px; font-weight: 700; }
.ult p { margin: 0; font-size: 12px; color: var(--dim); }
.syms { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--dim); }
.syms li { display: inline-flex; align-items: center; gap: 4px; }
.syms img { width: 32px; height: 32px; }
.unlock { font-size: 12px; color: var(--dim); margin: 0; }
.unlock b { color: var(--green); font-weight: 700; }

/* ---------- 소식 ---------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.post-item a { display: grid; grid-template-columns: 1fr; gap: 12px; color: inherit; text-decoration: none; }
@media (min-width: 680px) { .post-item a { grid-template-columns: 240px 1fr; } }
.post-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid #0f1020; display: block; }
.post-item h3 { color: var(--gold); margin: 0 0 4px; }
.post-item a:hover h3 { text-decoration: underline; }
.post-item p { margin: 0; color: var(--dim); font-size: 16px; }
time, .meta { font-size: 12px; color: var(--dim); }
.article { max-width: 760px; margin-inline: auto; }
.article h1 { font-size: 36px; color: var(--gold); margin-bottom: 4px; }
@media (max-width: 599px) { .article h1 { font-size: 24px; } }
.article .body { margin-top: 24px; }
.article .body h2 { font-size: 18px; color: var(--gold); margin-top: 1.6em; }
.article .body h3 { margin-top: 1.4em; }
.article .body img { image-rendering: pixelated; border: 4px solid #0f1020; display: block; margin: 16px 0; }
.article .body ul, .article .body ol { padding-left: 1.4em; }
.article .body li { margin-bottom: .3em; }
.article .body blockquote { margin: 1em 0; padding: 8px 16px; border-left: 4px solid var(--gold); background: #0f1020; color: var(--dim); }
.article .body code { background: #0f1020; padding: 1px 6px; font-size: 12px; }
.article .body hr { border: 0; border-top: 4px dotted #333c57; margin: 2em 0; }
.back { display: inline-block; margin-bottom: 16px; }

/* ---------- 프레스 ---------- */
.press-grid { grid-template-columns: 1fr; }
@media (min-width: 900px) { .press-grid { grid-template-columns: 1fr 1fr; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 16px; }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; }
.logo-prev { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .logo-prev { grid-template-columns: 2fr 1fr; } }
.logo-prev figure { margin: 0; padding: 24px 12px; display: grid; place-items: center; gap: 8px; background: #0f1020; border: 2px solid #333c57; }
.logo-prev figure.light { background: #f4f4f4; color: #1a1c2c; }
.logo-prev figcaption { font-size: 12px; color: var(--dim); }
.logo-prev figure.light figcaption { color: #333c57; }
.logo-prev img.logo { width: 348px; }
.logo-prev img.icon { width: 128px; height: 128px; }
.copy-block { position: relative; }
.copy-block h3 { display: flex; align-items: center; gap: 8px; }
.copy-block .text { white-space: pre-line; font-size: 16px; background: #0f1020; border: 2px solid #333c57; padding: 12px 14px; margin: 0 0 8px; }
.copy-btn { font-size: 12px; min-height: 36px; padding: 6px 10px; margin-left: auto; }
.press-shots { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .press-shots { grid-template-columns: repeat(4, 1fr); } }
.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.dl p { margin: 0; color: var(--dim); font-size: 12px; }
.contact-mail { font-size: 24px; font-weight: 700; }

/* ---------- 커뮤니티·푸터 ---------- */
.community .links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cta-band { text-align: center; }
.cta-band .cta { justify-content: center; margin-top: 16px; }
.site-footer { background: #0f1020; padding: 32px 0 40px; font-size: 12px; color: var(--dim); border-top: 4px solid #333c57; }
.site-footer .wrap { display: grid; gap: 16px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer a { color: var(--text); }
.site-footer small { display: block; font-size: 12px; line-height: 1.6; }
.site-footer .social { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.lost .big { font-size: 48px; font-weight: 700; color: var(--gold); line-height: 1; margin: 16px 0; text-shadow: 0 4px 0 var(--plum); }
.lost .sprite-still { width: 128px; height: 128px; margin: 0 auto; background: url("/assets/portraits/face_fortune.png") no-repeat center / 128px 128px; image-rendering: pixelated; }

/* ---------- 슬롯 미니 릴(게임 소개) ---------- */
.reel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 6px; background: #0f1020; border: 4px solid var(--plum); max-width: 360px; }
.reel-cell { aspect-ratio: 1; background: #f4f4f4 linear-gradient(#f4f4f4, #c2c3c7); display: grid; place-items: center; overflow: hidden; }
.reel-cell img { width: 64px; height: 64px; max-width: 100%; height: auto; }
.reel-cell.hit { background: var(--gold); box-shadow: inset 0 0 0 3px var(--orange); }
.about-grid { display: grid; gap: 24px; align-items: center; margin-bottom: 36px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; } }
.about-grid .reel { margin-inline: auto; }

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
