.playtest-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.55), var(--void) 640px),
    url("/assets/arena-hero.jpg") center top / cover no-repeat,
    var(--void);
}

.playtest-header {
  width: var(--shell);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.playtest-header nav { display: flex; gap: 28px; }
.playtest-header nav a,
.playtest-footer a {
  color: #cad9e0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
.playtest-header nav a:hover,
.playtest-footer a:hover { color: var(--cyan); }

.playtest-main {
  width: var(--shell);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 9vw, 120px);
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  grid-template-areas: "intro card" "how card";
  grid-template-rows: auto 1fr;
  gap: 0 clamp(36px, 7vw, 96px);
  align-items: start;
}

.playtest-intro { grid-area: intro; }
.playtest-how { grid-area: how; }
.playtest-card { grid-area: card; }

.playtest-intro h1 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-transform: uppercase;
}

.playtest-intro h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(192, 235, 250, 0.66);
}

.playtest-lede { max-width: 560px; margin: 26px 0 0; color: #c4d4dc; font-size: 1.05rem; }

.playtest-steps {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  list-style: none;
  counter-reset: step;
}

.playtest-steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 16px 18px 16px 64px;
  border-left: 1px solid var(--line-strong);
  background: rgba(9, 19, 30, 0.72);
  counter-increment: step;
}

.playtest-steps li::before {
  position: absolute;
  top: 16px;
  left: 20px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 720;
  content: "0" counter(step);
}

.playtest-steps strong { font-family: var(--display); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.playtest-steps span { color: var(--muted); font-size: 0.9rem; }

.playtest-fineprint { max-width: 560px; margin: 20px 0 0; color: var(--quiet); font-size: 0.82rem; }

.playtest-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  background: rgba(7, 14, 24, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.playtest-kicker {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.playtest-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 720;
  line-height: 1;
  text-transform: uppercase;
}

.playtest-card h2:focus { outline: none; }

.playtest-message { margin: 14px 0 0; color: var(--muted); font-size: 0.88rem; }
.playtest-message:empty { margin: 0; }
.playtest-message[data-kind="error"] { color: #ff9a8f; }
.playtest-message[data-kind="success"] { color: var(--green); }

.playtest-card form { display: grid; gap: 8px; margin-top: 10px; }

.playtest-card label {
  margin-top: 10px;
  color: var(--paper);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.playtest-card input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid rgba(141, 207, 234, 0.3);
  border-radius: 0;
  background: #050c16;
  color: var(--paper);
  font: 1rem var(--sans);
}

.playtest-card input:focus { border-color: var(--cyan); outline: 2px solid var(--cyan); outline-offset: 2px; }
.playtest-card input[aria-invalid="true"] { border-color: #ff9a8f; }

.playtest-submit { width: 100%; margin-top: 18px; cursor: pointer; }
.playtest-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.playtest-privacy { margin: 18px 0 0; color: var(--quiet); font-size: 0.78rem; }

.playtest-result-text { margin: 16px 0 26px; color: #c4d4dc; }

.playtest-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.playtest-footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .playtest-main { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "how"; grid-template-rows: none; max-width: 620px; }
  .playtest-card { margin-top: 32px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  .playtest-header { min-height: 72px; }
  .playtest-header nav { gap: 18px; }
  .playtest-header .brand-mark { width: 39px; height: 39px; }
  .playtest-footer { flex-direction: column; }
}

@media (max-width: 420px) {
  .playtest-header nav a:first-child { display: none; }
}
