:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --line: #2a2a2f;
  --text: #ecebe8;
  --muted: #9c9a96;
  --red: #ff1a1a;
  --steam: #66c0f4;
  --max: 960px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-header img { height: 40px; width: auto; display: block; }
.site-header nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 24px;
}
.site-header nav a:hover { color: var(--text); }

/* Studio intro */
.studio { padding: 88px 0 72px; text-align: center; }
.studio img { width: min(560px, 85vw); height: auto; }
.studio p {
  max-width: 560px; margin: 32px auto 0; color: var(--muted); font-size: 18px;
}

/* Game */
.game { border-top: 1px solid var(--line); padding-top: 56px; }
.capsule {
  display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.game-body { text-align: center; padding: 8px 0 96px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px; padding: 10px 20px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  font-weight: 600; letter-spacing: .02em;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--steam);
  box-shadow: 0 0 0 4px rgba(102,192,244,.18);
}
.game-body .pitch {
  max-width: 600px; margin: 28px auto 0; color: var(--muted);
}

.features {
  list-style: none; padding: 0; margin: 40px auto 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 32px;
  text-align: left;
}
.features li { position: relative; padding-left: 22px; color: var(--muted); }
.features li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 8px; height: 8px; background: var(--red);
}
.features strong { color: var(--text); }

/* Contact */
.contact { border-top: 1px solid var(--line); padding: 80px 0 96px; }
.contact .wrap { max-width: 600px; }
.contact h2 { font-size: 30px; margin: 0 0 8px; text-align: center; }
.contact .lead { color: var(--muted); text-align: center; margin: 0 0 32px; }
.contact form { display: grid; gap: 18px; }
.contact label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.contact input, .contact textarea {
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 14px; width: 100%;
}
.contact textarea { resize: vertical; min-height: 140px; }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .privacy { margin: 0; color: var(--muted); font-size: 14px; }
.contact button {
  justify-self: start; font: inherit; font-weight: 600; cursor: pointer;
  color: #fff; background: var(--red); border: 0; border-radius: 999px; padding: 12px 28px;
}
.contact button:hover { filter: brightness(1.12); }
.form-status { padding: 12px 16px; border-radius: 8px; margin: 0 0 24px; background: var(--surface); }
.form-status.is-ok { border-left: 3px solid #3ecf6e; }
.form-status.is-error { border-left: 3px solid var(--red); }

/* Legal pages */
.legal { padding: 64px 0 96px; max-width: 720px; }
.legal h1 { font-size: 34px; line-height: 1.2; margin: 0 0 32px; }
.legal h2 { font-size: 19px; margin: 36px 0 8px; }
.legal p, .legal address { margin: 0 0 12px; font-style: normal; }
.legal .note {
  border-left: 3px solid var(--red); padding: 8px 14px; background: var(--surface);
  color: var(--muted); font-size: 15px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  padding-top: 28px; padding-bottom: 28px;
}
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 20px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header img { height: 32px; }
  .site-header nav a { margin-left: 16px; }
  .studio { padding: 56px 0 48px; }
  .game { padding-top: 40px; }
  .game-body { padding-bottom: 64px; }
}
