@font-face {
  font-family: 'Playground Korean';
  src: url('Galmuri11.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7FF;
}

:root {
  color-scheme: dark;
  font-family: system-ui, 'Playground Korean', sans-serif;
  color: #eff1ff;
  background: #131421;
  --panel: #202235;
  --line: #373b59;
  --muted: #b6bbd5;
  --lime: #c5f570;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #f8d2ff; outline-offset: 4px; }

.shell { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.top { border-block-end: 1px solid var(--line); background: #171829; }
.top .shell { display: flex; align-items: center; min-height: 4.5rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--lime);
  font-family: ui-monospace, monospace;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand::before {
  content: '';
  width: 1.05rem;
  aspect-ratio: 1;
  background: currentColor;
  clip-path: polygon(33% 0,66% 0,66% 33%,100% 33%,100% 66%,66% 66%,66% 100%,33% 100%,33% 66%,0 66%,0 33%,33% 33%);
}
.catalog { padding-block: clamp(2.5rem, 8vw, 5.25rem) 4rem; }
.catalog h1 { margin: 0 0 1.6rem; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.065em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.25rem; }
.game-card, .unlock { border: 1px solid var(--line); background: var(--panel); box-shadow: 5px 5px 0 #0c0d16; }
.cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  background: linear-gradient(#312a63, #695783 68%, #b177a4);
}
.cover span { position: absolute; display: block; }
.stars {
  left: 13%;
  top: 15%;
  width: 3px;
  height: 3px;
  background: #f8d2ff;
  box-shadow: 2.25rem .9rem #d4c6ff, 6.2rem -.35rem #f8d2ff, 8.9rem 1.8rem #d4c6ff, 12rem .15rem #e7bdeb, 16rem 2.4rem #d4c6ff;
}
.moon { right: 20%; top: 16%; width: 13%; aspect-ratio: 1; background: #ffdd9c; box-shadow: 0 0 30px #f4a6ad87; }
.hills {
  inset: 31% 0 0;
  background: #504778;
  clip-path: polygon(0 51%,12% 51%,12% 32%,25% 32%,25% 47%,41% 47%,41% 67%,56% 67%,56% 37%,64% 37%,64% 19%,78% 19%,78% 37%,91% 37%,91% 53%,100% 53%,100% 100%,0 100%);
}
.island {
  inset: 46% 7% 0 9%;
  background: linear-gradient(165deg, #8bd089 21%, #58a77c 21% 38%, #3a8668 38% 45%, #43706f 45% 58%, #354d61 58% 72%, #293952 72%);
  clip-path: polygon(0 43%,16% 43%,16% 24%,35% 24%,35% 12%,58% 12%,58% 26%,82% 26%,82% 42%,100% 42%,100% 62%,87% 62%,87% 76%,66% 76%,66% 89%,32% 89%,32% 75%,17% 75%,17% 60%,0 60%);
}
.trees {
  top: 36%;
  left: 35%;
  width: 25%;
  height: 28%;
  background: linear-gradient(#1f5a55 63%, #785663 63%);
  clip-path: polygon(0 35%,12% 35%,12% 13%,36% 13%,36% 35%,48% 35%,48% 70%,29% 70%,29% 97%,20% 97%,20% 70%,0 70%,0 35%,57% 35%,57% 21%,68% 21%,68% 0,89% 0,89% 21%,100% 21%,100% 59%,84% 59%,84% 86%,75% 86%,75% 59%,57% 59%,57% 35%);
}
.game-copy { padding: 1.3rem; }
.game-type { display: flex; gap: .65rem; flex-wrap: wrap; font-size: .875rem; color: var(--lime); }
.game-type span { border-inline-start: 1px solid var(--line); padding-inline-start: .65rem; }
.game-copy h2, .unlock h1 { margin: .55rem 0; font-size: 1.45rem; letter-spacing: -.045em; }
.game-copy h2 span, .unlock h1 span { white-space: nowrap; }
.game-copy p { margin: 0; line-height: 1.55; }
.game-copy p:not(.game-type), .game-type span { color: var(--muted); }
.launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .55rem 1.1rem;
  border: 0;
  border-radius: 3px;
  background: var(--lime);
  color: #161f17;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.launch:hover { background: #dcff9f; }
.game-copy .launch { margin-block-start: 1.25rem; }
.unlock { max-width: 26rem; margin: clamp(2.25rem, 8vw, 6rem) auto 2rem; padding: clamp(1.25rem, 5vw, 2rem); }
.unlock h1 { margin: 0 0 1.5rem; }
.unlock form { display: grid; gap: .65rem; }
.unlock label { color: var(--muted); }
.unlock input { min-width: 0; padding: .7rem .8rem; color: inherit; background: #131421; border: 1px solid #626888; border-radius: 3px; }
.unlock button { margin-block-start: .45rem; }
.form-error { margin: 0; color: #ffb2bd; }
