/* Senzio Games. Colors and type come from the Senzio brand kit. */
:root {
  --white: #ffffff;
  --cream: #fcf5ea;
  --ink: #090915;
  --ink-muted: #5c5e6a;
  --orange: #fd3104;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow: 5px 5px 0 var(--ink);
  --font: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 720px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--cream);
  padding: 8px 16px; border-radius: var(--radius-sm); z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header { border-bottom: 3px solid var(--ink); background: var(--white); position: sticky; top: 0; z-index: 50; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.brand img { height: 52px; width: auto; }
.site-header nav { display: flex; gap: 24px; }
.site-header nav a, .site-footer nav a { font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--orange); }

/* ---------- buttons and chips ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  padding: 14px 28px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

.chip {
  display: inline-block;
  font-size: 11px; line-height: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--cream);
  margin-bottom: 12px;
  align-self: flex-start;
}
.chip-live { background: #5fe394; }

.small { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }

/* ---------- home hero ---------- */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(38px, 9vw, 64px); line-height: 0.98; }
.lead { font-size: 20px; line-height: 28px; max-width: 34ch; margin-bottom: 28px; }
.hero-logo { max-width: 340px; justify-self: center; }

@media (min-width: 820px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .hero-logo { max-width: 420px; justify-self: end; transform: rotate(-2deg); }
}

/* ---------- sections ---------- */
.section { padding: 48px 0; }
.section-title { font-size: clamp(28px, 5vw, 36px); margin-bottom: 24px; }
.page-title { font-size: clamp(36px, 8vw, 56px); line-height: 0.98; }
.big { font-size: 20px; line-height: 30px; }

/* ---------- game cards ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  display: flex; flex-direction: column;
  text-decoration: none;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.card-art {
  display: grid; place-items: center;
  min-height: 170px; padding: 24px;
  border-bottom: 3px solid var(--ink);
  text-align: center;
}
.card-title {
  font-size: 32px; line-height: 0.95; font-weight: 800;
  transform: rotate(-3deg);
  max-width: 10ch;
}
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 24px; line-height: 28px; font-weight: 700; margin-bottom: 8px; }
.card-body p { color: var(--ink-muted); flex: 1; }
.more { font-weight: 800; }

/* ---------- game page ---------- */
.game-hero { padding: 32px 0 56px; border-bottom: 3px solid var(--ink); }
.game-hero h1 { font-size: clamp(44px, 12vw, 96px); line-height: 0.92; margin-bottom: 12px; }
.tagline { font-size: clamp(22px, 4vw, 30px); line-height: 1.15; font-weight: 700; margin-bottom: 28px; max-width: 20ch; }
.crumb { font-weight: 700; margin-bottom: 32px; }
.crumb a { color: inherit; }
.hero-note { margin: 16px 0 0; font-weight: 700; }
.hero-status {
  display: inline-block; margin: 0;
  border: 3px solid currentColor; border-radius: var(--radius-pill);
  padding: 8px 18px;
}
.btn-play { background: var(--cream); }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li {
  position: relative; padding-left: 36px; font-weight: 500;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  background: var(--orange); border: 3px solid var(--ink); border-radius: 50%;
}

/* ---------- signup ---------- */
.signup-panel { background: var(--cream); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 48px 0; }
.signup-panel h2 { font-size: clamp(28px, 5vw, 40px); }
.signup form { display: flex; flex-wrap: wrap; gap: 12px; }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  font: inherit; font-size: 18px;
  padding: 14px 18px;
  border: 3px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink);
}
.signup button { font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.signup .hp { position: absolute; left: -9999px; }
.signup-msg { margin: 12px 0 0; font-weight: 700; }

/* ---------- prose ---------- */
.prose h2 { font-size: 24px; margin: 32px 0 8px; }

/* ---------- footer ---------- */
.site-footer { border-top: 3px solid var(--ink); padding: 32px 0; }
.signup-panel p { max-width: 60ch; }
.foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.site-footer nav { display: flex; gap: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
