/* 하위 페이지(게임·앱 소개, Coming Soon, 개인정보처리방침) 공통 테마. 메인(index.html)과 같은 모양.
   분홍→민트 파스텔 바탕, 크림 카드 + 진한 테두리·그림자, 로고 초록 버튼, 분홍→초록 밑줄 제목, 선명한 글꼴(Nunito·맑은 고딕).
   별은 stars.js 가 만든다. 2026-10-30 */
:root{
  --card:#fff8ef; --ink:#2b2140; --line:#2b2140; --rule:rgba(43,33,64,.18);
  --txt:#2b2140; --muted:#5e516d; --pink:#ff5f93; --link:#d6336c; --green:#3cb43c;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:"Nunito","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  background:linear-gradient(135deg, #f8bfd0 0%, #f6dcc8 45%, #bfe6cf 100%) fixed;
  color:var(--txt); line-height:1.7; -webkit-font-smoothing:antialiased;
}
a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}

/* 상단: 메인으로 가는 링크 + 언어 버튼 */
.top{position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:8px; padding:16px 20px 0; max-width:960px; margin:0 auto}
.top > a, .home{font-size:15px; font-weight:800; color:var(--ink)}
.lang{display:flex; gap:8px}
.lang button{
  background:#fff; color:var(--muted); border:2px solid var(--line); border-radius:999px;
  padding:5px 14px; font-size:14px; font-weight:700; font-family:inherit; cursor:pointer; box-shadow:0 3px 0 var(--line);
}
.lang button.on{color:#fff; background:var(--pink)}

/* 제목: 굵은 글자 + 분홍→초록 밑줄 */
h2{display:inline-block; position:relative; font-size:28px; font-weight:800; margin-bottom:18px; padding-bottom:6px}
h2::after{content:""; position:absolute; left:0; right:0; bottom:0; height:7px; border-radius:7px; background:linear-gradient(90deg,#ff5f93,#34c46a)}

/* 카드 */
.card, .feat, .story{background:var(--card); border:2.5px solid var(--line); border-radius:20px; box-shadow:0 5px 0 var(--line)}

/* 별 */
header, main, section, footer, .wrap, .notice{position:relative; z-index:1}
#stars{position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden}
#stars i{position:absolute; display:block; animation:twinkle var(--t) ease-in-out var(--d) infinite, drift var(--m) ease-in-out var(--d) infinite alternate}
#stars i::before{content:""; display:block; width:100%; height:100%; background:#fff;
  clip-path:polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%)}
#stars i.dot::before{clip-path:none; border-radius:50%}
@keyframes twinkle{0%,100%{opacity:.25; transform:scale(.7)} 50%{opacity:.9; transform:scale(1)}}
@keyframes drift{from{translate:0 0} to{translate:var(--x) var(--y)}}
@media (prefers-reduced-motion:reduce){ #stars i{animation:none; opacity:.6} }

[data-lang="en"] .ko, [data-lang="ko"] .en{display:none !important}
