:root {
  --bg: #07060a;
  --bone: #e9e4dc;
  --ash: #8d8794;
  --line: #241c26;
  --blood: #8f1228;
  --blood-hot: #d1203f;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(143, 18, 40, .2), transparent 70%), var(--bg);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }

.stage {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 22px 30px;
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
}

/* title */
.title { text-align: center; }
.logo { display: block; margin: 0 auto; height: 150px; width: auto; }
.title h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 4rem);
  letter-spacing: .32em;
  text-indent: .32em;
  text-transform: uppercase;
  margin: 14px 0 0;
  line-height: 1.1;
}
.sub {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .7em;
  text-indent: .7em;
  text-transform: uppercase;
  color: var(--ash);
}
.rule { display: flex; justify-content: center; margin: 26px 0; width: 100%; }
.rule i {
  position: relative; width: 70%; max-width: 260px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
}
.rule i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px;
  background: var(--bg); border: 1px solid var(--blood-hot);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* game menu */
.menu { list-style: none; padding: 0; margin: 10px 0 0; width: 100%; }
.menu a {
  position: relative;
  display: grid;
  grid-template-columns: 30px 38px 1fr 18px;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background-color: #100c13;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.menu a::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
  background: var(--blood-hot);
  transform: scaleY(0); transition: transform .15s ease;
}
.menu .num { font-family: var(--serif); font-size: .8rem; color: var(--ash); letter-spacing: .1em; }
.menu .ico { width: 38px; height: 38px; color: var(--ash); }
.menu .ico svg { width: 100%; height: 100%; display: block; }
.menu .name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.menu .cursor { color: var(--blood-hot); opacity: 0; }
.menu a:hover, .menu a:focus-visible {
  outline: none;
  transform: translateX(6px);
  border-color: var(--blood);
  background-color: #2a0f19;
}
.menu a:hover::before, .menu a:focus-visible::before { transform: scaleY(1); }
.menu a:hover .ico, .menu a:focus-visible .ico { color: var(--blood-hot); }
.menu a:hover .cursor, .menu a:focus-visible .cursor { opacity: 1; }

/* game + legal pages */
.back {
  align-self: flex-start;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ash);
}
.back:hover { color: var(--blood-hot); }
.game { text-align: center; }
.game .back { margin-bottom: 40px; }
.gicon { width: 84px; height: 84px; color: var(--blood-hot); }
.gicon svg { width: 100%; height: 100%; }
.gtitle {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  letter-spacing: .2em; text-transform: uppercase;
  margin: 22px 0 8px;
  line-height: 1.3;
}
.gline { margin: 0; color: var(--ash); letter-spacing: .08em; }
.btn {
  display: inline-block;
  margin-top: 6px;
  padding: 14px 34px;
  font-family: var(--serif);
  font-size: .85rem; letter-spacing: .3em; text-transform: uppercase;
  border: 1px solid var(--blood-hot);
  color: var(--bone);
  transition: background-color .15s ease;
}
.btn:hover, .btn:focus-visible { outline: none; background-color: var(--blood); }
.soon {
  display: inline-block;
  margin-top: 6px;
  padding: 14px 34px;
  font-family: var(--serif);
  font-size: .85rem; letter-spacing: .3em; text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ash);
}
.art { display: block; width: 100%; height: auto; margin-top: 34px; border: 1px solid var(--line); background: #100c13; }
.media { width: 100%; aspect-ratio: 16 / 9; margin-top: 40px; border: 1px solid var(--line); }
.media iframe { width: 100%; height: 100%; border: 0; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 10px; }
.shots img { width: 100%; display: block; border: 1px solid var(--line); }

.legal { align-items: stretch; }
.legal .back { margin-bottom: 30px; }
.legal .gtitle { text-align: center; font-size: clamp(1.6rem, 6vw, 2.2rem); }
.legal .meta { text-align: center; color: var(--ash); font-size: .8rem; letter-spacing: .1em; margin: 0; }
.legal h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blood-hot);
  margin: 34px 0 8px;
}
.legal p, .legal li { color: #cbc5bd; font-size: .95rem; }
.legal a { color: var(--blood-hot); }
.legal a:hover { text-decoration: underline; }
.legal ul { padding-left: 20px; }

/* footer */
.foot {
  display: flex; justify-content: center; gap: 28px;
  padding: 26px 20px 34px;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--ash);
}
.foot a:hover { color: var(--blood-hot); }

@media (max-width: 520px) {
  .menu a { grid-template-columns: 24px 32px 1fr 14px; gap: 10px; padding: 16px 14px; }
  .menu .name { font-size: 1rem; letter-spacing: .08em; }
  .menu .ico { width: 32px; height: 32px; }
}
