@font-face {
  font-family: "Bangers";
  src: url("Bangers-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #141414;
  --pink: #ff3d7f;
  --pink-dark: #d81b60;
  --yellow: #ffe14d;
  --cream: #fff4d6;
  --white: #ffffff;
  --purple: #a98bfd;
  --blue: #29b6e8;
  --green: #36a852;
  --muted: #555;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(rgba(255, 61, 127, .12) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

a { color: var(--pink-dark); }
a:hover { color: var(--ink); }

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

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

.bang { font-family: "Bangers", Impact, "Arial Narrow Bold", sans-serif; font-weight: 400; letter-spacing: .02em; }

/* header */
.site-header { border-bottom: 4px solid var(--ink); background: var(--yellow); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 10px; border: 3px solid var(--ink); }
.brand span { font-size: 1.8rem; line-height: 1; }
.nav a { margin-left: 18px; color: var(--ink); font-weight: 700; text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* hero */
.hero { padding: 48px 0 32px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: .98;
  margin: 0 0 14px;
  color: var(--white);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
}
.hero p.lead { font-size: 1.25rem; margin: 0 0 22px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-block; padding: 12px 20px; border: 4px solid var(--ink); border-radius: var(--radius);
  background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.btn.pink { background: var(--pink); color: var(--white); }
.btn.pink:hover { color: var(--white); }
.btn[aria-disabled="true"] { background: var(--white); color: var(--muted); cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: 5px 5px 0 var(--ink); color: var(--muted); }
.small-print { font-size: .9rem; color: var(--muted); margin-top: 14px; }

.hero-art { position: relative; }
.hero-art .card {
  border: 5px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--pink);
  box-shadow: 10px 10px 0 var(--ink); transform: rotate(2deg);
}
.hero-art img.founder { width: 62%; margin: 0 auto; }
.hero-art .sticker {
  position: absolute; right: -6px; top: -16px; transform: rotate(8deg);
  background: var(--yellow); border: 4px solid var(--ink); padding: 6px 12px; font-size: 1.4rem; box-shadow: 4px 4px 0 var(--ink);
}

/* sections */
section { padding: 36px 0; }
h2.section-title { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 18px; text-shadow: 3px 3px 0 var(--yellow); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tile {
  background: var(--white); border: 4px solid var(--ink); border-radius: var(--radius); padding: 18px 18px 16px;
  box-shadow: 6px 6px 0 var(--ink);
}
.tile h3 { font-size: 1.6rem; margin: 0 0 6px; color: var(--pink-dark); }
.tile p { margin: 0; }

/* screenshots */
.shots {
  display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory;
}
.shots figure { margin: 0; flex: 0 0 min(260px, 70vw); scroll-snap-align: start; }
.shots img { border: 4px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); background: var(--pink); }

/* modes strip */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode { border: 4px solid var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: 6px 6px 0 var(--ink); }
.mode.evil { background: #1b1830; color: #fff; }
.mode.evil h3 { color: #b6ff3b; }
.mode.phil { background: #e6f5ee; }
.mode.phil h3 { color: var(--green); }
.mode h3 { font-size: 1.8rem; margin: 0 0 6px; }
.mode p { margin: 0; }

/* footer */
.site-footer { margin-top: 32px; border-top: 4px solid var(--ink); background: var(--ink); color: #eee; }
.site-footer .wrap { padding: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .95rem; }
.site-footer a { color: var(--yellow); }

/* legal pages */
.legal { background: var(--white); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); padding: 28px clamp(18px, 4vw, 40px); margin: 32px 0; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: 0 0 4px; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; padding-bottom: 4px; border-bottom: 3px solid var(--pink); }
.legal .meta { color: var(--muted); margin: 0 0 18px; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.legal th, .legal td { border: 2px solid var(--ink); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--yellow); }

@media (max-width: 760px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin-inline: auto; }
  .site-header .wrap { padding: 10px 0; gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 1.3rem; white-space: nowrap; }
  .nav { white-space: nowrap; font-size: .85rem; }
  .nav a { margin-left: 8px; }
}

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