:root {
  color-scheme: light;
  --ink: #21160c;
  --muted: #76634a;
  --paper: #ead6a6;
  --panel: #f7e9c4;
  --line: rgba(86, 54, 20, 0.22);
  --gold: #be862e;
  --red: #92272d;
  --green: #2f6f5c;
  --blue: #315d7e;
  --violet: #584185;
  --shadow: 0 28px 80px rgba(10, 5, 1, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(190, 134, 46, 0.34), transparent 25%),
    radial-gradient(circle at 88% 6%, rgba(88, 65, 133, 0.32), transparent 25%),
    linear-gradient(145deg, #080503 0%, #1d1008 48%, #35200e 74%, #090604 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 28%, rgba(0, 0, 0, 0.55) 100%),
    repeating-linear-gradient(90deg, rgba(255, 230, 170, 0.035) 0 1px, transparent 1px 42px);
}

.board-shell {
  position: relative;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0 58px;
}

.board-header {
  margin-bottom: 28px;
  color: #fff2c8;
}

.eyebrow {
  margin: 0 0 8px;
  color: #f0b75a;
  font-family: Cinzel, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro {
  max-width: 820px;
  margin: 16px 0 0;
  color: rgba(255, 238, 196, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.prototype-list {
  display: grid;
  gap: 18px;
}

.prototype-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 330px;
  padding: 24px;
  border: 1px solid rgba(244, 197, 104, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(247, 233, 196, 0.92), rgba(227, 198, 139, 0.9)),
    var(--paper);
  box-shadow: var(--shadow);
}

.book-mock {
  position: relative;
  width: 240px;
  height: 300px;
  margin: 0 auto;
  border-radius: 9px 15px 15px 9px;
  overflow: hidden;
  box-shadow:
    12px 18px 38px rgba(35, 17, 4, 0.36),
    inset 12px 0 18px rgba(0, 0, 0, 0.2),
    inset -8px 0 14px rgba(255, 255, 255, 0.1);
}

.book-mock::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 22px;
  background: rgba(0, 0, 0, 0.2);
}

.prototype-copy {
  min-width: 0;
}

.type {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.12;
}

.prototype-copy p:not(.type) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 20px;
  color: #4d3923;
  font-size: 14px;
  line-height: 1.6;
}

li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}

.beast-book {
  background:
    radial-gradient(circle at 38% 18%, #f3d795 0 4px, transparent 5px),
    radial-gradient(circle at 62% 18%, #f3d795 0 4px, transparent 5px),
    repeating-linear-gradient(115deg, #684120 0 12px, #4c2b14 12px 22px, #7b522b 22px 33px);
}

.fur {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(80deg, transparent 0 9px, rgba(255, 236, 174, 0.18) 9px 13px);
  filter: blur(0.4px);
}

.strap {
  position: absolute;
  left: 24px;
  right: 0;
  top: 138px;
  height: 34px;
  background: #321c0f;
  border-block: 2px solid #a77738;
}

.eye {
  position: absolute;
  top: 70px;
  width: 44px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #1b0b03 0 4px, #e6c86f 5px 12px, #44200a 13px);
  box-shadow: 0 0 18px rgba(255, 212, 100, 0.28);
}

.left-eye {
  left: 64px;
}

.right-eye {
  right: 50px;
}

.teeth {
  position: absolute;
  left: 42px;
  right: 18px;
  bottom: 36px;
  height: 28px;
  background: repeating-linear-gradient(135deg, #f7e7be 0 10px, transparent 10px 20px);
}

.potion-book {
  background:
    radial-gradient(circle at 72% 62%, rgba(56, 111, 78, 0.28), transparent 18%),
    linear-gradient(135deg, #6d4c31, #342012 72%);
}

.worn-label {
  position: absolute;
  left: 46px;
  right: 26px;
  top: 38px;
  padding: 18px 14px;
  border: 1px solid rgba(255, 224, 158, 0.5);
  color: #ffe2a0;
  font-family: Cinzel, serif;
  font-size: 19px;
  text-align: center;
  background: rgba(34, 20, 10, 0.42);
}

.ink-notes {
  position: absolute;
  left: 54px;
  bottom: 54px;
  color: #f2d7a7;
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
  line-height: 1.45;
  transform: rotate(-6deg);
}

.stain {
  position: absolute;
  border-radius: 50%;
  background: rgba(39, 112, 76, 0.36);
}

.stain-a {
  width: 46px;
  height: 38px;
  right: 28px;
  bottom: 92px;
}

.stain-b {
  width: 30px;
  height: 26px;
  left: 74px;
  top: 132px;
}

.spell-book {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 225, 130, 0.2), transparent 30%),
    linear-gradient(135deg, #213d5a, #172335 76%);
}

.rune-ring {
  position: absolute;
  left: 66px;
  top: 44px;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border: 2px solid #d8b666;
  border-radius: 50%;
  color: #f6dda0;
  font-size: 54px;
  box-shadow: 0 0 28px rgba(255, 223, 128, 0.18);
}

.cover-title {
  position: absolute;
  left: 42px;
  right: 24px;
  bottom: 58px;
  color: #f8e2a2;
  font-family: Cinzel, serif;
  font-size: 22px;
  text-align: center;
}

.wand-line {
  position: absolute;
  left: 62px;
  right: 42px;
  bottom: 38px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f6dda0, transparent);
}

.fairy-book {
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 246, 196, 0.9), transparent 12%),
    linear-gradient(135deg, #392654, #1b132b 72%);
}

.moon {
  position: absolute;
  right: 38px;
  top: 38px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f9e7ad;
  box-shadow: 0 0 30px rgba(249, 231, 173, 0.42);
}

.moon::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #392654;
}

.storybook-title {
  position: absolute;
  left: 42px;
  right: 28px;
  top: 126px;
  color: #f7dfac;
  font-family: Cinzel, serif;
  font-size: 24px;
  line-height: 1.2;
}

.stars {
  position: absolute;
  left: 58px;
  bottom: 60px;
  color: #f6dda0;
  font-size: 24px;
  letter-spacing: 0.2em;
}

.creature-book {
  background:
    linear-gradient(35deg, transparent 0 47%, rgba(53, 76, 48, 0.55) 48% 52%, transparent 53%),
    linear-gradient(145deg, #c9a35a, #7d5d30 74%);
}

.map-lines {
  position: absolute;
  inset: 28px 24px;
  border: 1px solid rgba(54, 37, 17, 0.3);
  background:
    radial-gradient(ellipse at 30% 34%, transparent 0 28px, rgba(65, 43, 18, 0.32) 29px 30px, transparent 31px),
    radial-gradient(ellipse at 72% 68%, transparent 0 36px, rgba(65, 43, 18, 0.3) 37px 38px, transparent 39px);
}

.creature-mark {
  position: absolute;
  left: 50px;
  top: 54px;
  color: #2e2416;
  font-family: Cinzel, serif;
  font-size: 21px;
  line-height: 1.1;
}

.claw {
  position: absolute;
  right: 38px;
  bottom: 52px;
  width: 70px;
  height: 82px;
  border-left: 9px solid rgba(57, 35, 13, 0.46);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.claw::before,
.claw::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 72px;
  border-left: 8px solid rgba(57, 35, 13, 0.42);
  border-radius: 50%;
}

.claw::before {
  left: -34px;
  top: 8px;
}

.claw::after {
  left: 22px;
  top: 6px;
}

.forbidden-book {
  background:
    radial-gradient(circle at 50% 40%, rgba(157, 39, 45, 0.2), transparent 28%),
    linear-gradient(135deg, #121010, #2c1012 76%);
}

.seal {
  position: absolute;
  left: 76px;
  top: 50px;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 2px solid #8a232a;
  border-radius: 50%;
  color: #d7c2a2;
  font-family: Cinzel, serif;
  font-size: 18px;
  box-shadow: inset 0 0 18px rgba(146, 39, 45, 0.3), 0 0 28px rgba(146, 39, 45, 0.28);
}

.black-title {
  position: absolute;
  left: 42px;
  right: 28px;
  bottom: 56px;
  color: #e5d7bb;
  font-family: Cinzel, serif;
  font-size: 21px;
  line-height: 1.2;
  text-align: center;
}

.red-thread {
  position: absolute;
  left: 112px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #92272d;
  box-shadow: 0 0 12px rgba(146, 39, 45, 0.8);
}

@media (max-width: 820px) {
  .prototype-row {
    grid-template-columns: 1fr;
  }

  .book-mock {
    width: min(240px, 100%);
  }
}
