/* 게임 스튜디오 홈: 무채색 바탕, 포인트는 로고 색(집게 빨강 · 껍데기 파랑 · 워드마크 청록) */
body.gs {
  --bg: #0d0d0f; --bg-2: #141417; --card: #18181c; --line: #27272d; --text: #ecebe7; --dim: #9b9ba3;
  --night: #09090b; --logo-red: #e0493c; --logo-blue: #4f86d0; --logo-sky: #c9d3e4; --logo-teal: #5fa596;
  background: var(--bg);
}
.gs .top { background: rgba(13, 13, 15, .82); }
.gs .lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.gs .kicker { color: var(--dim); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.gs .btn.solid.red { background: var(--logo-red); border-color: var(--logo-red); color: #fff; }
.gs .btn.solid.red:hover { background: #fff; border-color: #fff; color: var(--bg); }
.gs .btn.line { border-color: #3a3a42; color: var(--text); }
.gs .btn.line:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.gs .btn.line.soon, .gs .btn.line.soon:hover { background: none; color: var(--dim); border: 1.5px dashed #3a3a42; cursor: default; }
.gs .btn.big { font-size: 18px; padding: 11px 28px 10px; }
.gs .btns.center { justify-content: center; }
.gs-h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.01em; margin: 0; }
.gs-h2 em { font-style: normal; color: var(--logo-teal); }
.gs-head { margin-bottom: 40px; }
.gs-muted { color: var(--dim); margin: 0; }

/* 대문 */
.gs-hero { position: relative; overflow: hidden; }
.gs-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(38% 45% at 34% 60%, rgba(79, 134, 208, .15), transparent 72%),
  radial-gradient(38% 45% at 66% 60%, rgba(224, 73, 60, .11), transparent 72%); pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 95%); mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 95%); }
.gs-hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 64px 112px; }
.gs-mark { width: 150px; height: auto; margin-bottom: 22px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.gs-title { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 11vw, 148px); line-height: .92; letter-spacing: -.035em; margin: 0 0 22px; }
.gs-title .w-hermit { color: var(--text); }
.gs-title .w-clab { color: var(--logo-red); }
.gs-line { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; margin: 0 0 32px; color: var(--text); text-wrap: balance; }

/* 게임 */
.gs-games { padding-block: 24px 112px; }
.gs-game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gs-game { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.gs-game:hover { border-color: #3a3a42; transform: translateY(-3px); }
.gs-art { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.gs-art img { width: 100%; height: 100%; object-fit: cover; }
.gs-art .gs-art-logo { position: absolute; left: 24px; bottom: 18px; width: 42%; height: auto; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .6)); }
.gs-game-txt { padding: 26px 28px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; }
/* one game: a wide card, art left and text right */
.gs-game-grid.single { grid-template-columns: minmax(0, 1fr); }
.gs-game-grid.single .gs-game { flex-direction: row; }
.gs-game-grid.single .gs-art { flex: 0 0 62%; }
.gs-game-grid.single .gs-game-txt { padding: 36px 40px; justify-content: center; }
.gs-game-grid.single .gs-game-txt p { flex: none; }
@media (max-width: 960px) { .gs-game-grid.single .gs-game { flex-direction: column; } .gs-game-grid.single .gs-art { flex: none; } .gs-game-grid.single .gs-game-txt { padding: 26px 28px 30px; } }
.gs-game-txt h3 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; margin: 0; }
.gs-game-txt p { color: var(--dim); margin: 0 0 8px; flex: 1; }
.gs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-chips li { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); }
.gs-chips li.dev { color: var(--logo-teal); border-color: rgba(95, 165, 150, .4); }

/* 소식 */
.gs-news { padding-block: 0 112px; }
.gs-news-list { border-top: 1px solid var(--line); }
.gs-news-list li { border-bottom: 1px solid var(--line); }
.gs-news-list a { display: grid; grid-template-columns: 180px 150px minmax(0, 1fr) 24px; gap: 24px; align-items: center; padding: 24px 6px; text-decoration: none; transition: background .2s, padding .2s; }
.gs-news-list a:hover { background: rgba(255, 255, 255, .03); padding-inline: 14px; }
.gs-news-list time { color: var(--dim); font-size: 15px; }
.gs-news-list .tag { justify-self: start; background: none; border: 1px solid currentColor; }
.gs-news-list .tag.blue { color: var(--logo-blue); }
.gs-news-list .tag.red { color: var(--logo-red); }
.gs-news-list strong { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.25; }
.gs-news-list .arrow { color: var(--dim); font-size: 20px; transition: transform .2s, color .2s; }
.gs-news-list a:hover .arrow { color: var(--text); transform: translateX(4px); }


/* 마무리 */
.gs-end { text-align: center; padding-block: 104px 120px; border-top: 1px solid var(--line); background: radial-gradient(50% 70% at 50% 0%, rgba(95, 165, 150, .1), transparent 70%); }
.gs-end-h { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0 auto 14px; max-width: 18ch; text-wrap: balance; }
.gs-end .gs-muted { margin: 0 auto 30px; max-width: 46ch; }
.gs-mail { margin: 28px 0 0; }
.gs-mail a { color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--line); }
.gs-mail a:hover { color: var(--text); border-color: var(--text); }

.gs .foot-cols { grid-template-columns: repeat(4, auto); gap: 48px; }
/* SNS: 로고 아래 아이콘 */
.foot-sns { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.foot-sns a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--dim); transition: color .2s, border-color .2s, background .2s; }
.foot-sns a:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.foot-sns svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .gs .foot-cols { grid-template-columns: repeat(2, auto); }
  .gs-game-grid { grid-template-columns: 1fr; }
  .gs-news-list a { grid-template-columns: 1fr 20px; gap: 6px 12px; } .gs-news-list time, .gs-news-list .tag { grid-column: 1; } .gs-news-list strong { grid-column: 1; } .gs-news-list .arrow { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 560px) { .gs-mark { width: 110px; } }

/* 넓은 화면에서 양옆이 비지 않게 메뉴, 본문, 바닥글을 화면 폭에 맞춘다 */
body.gs { --gutter: clamp(16px, 5vw, 96px); }
body.gs .wrap { width: 100%; max-width: none; padding-inline: var(--gutter); }
body.gs .top { padding-inline: var(--gutter); }
.gs-title { font-size: clamp(64px, 17vw, 340px); line-height: .95; white-space: nowrap; }
.gs-end-h { max-width: none; font-size: clamp(34px, 3.9vw, 80px); }
