/*
 * The website around the game (E-101): landing page and support page, in the look of the title sheet (blueprint
 * paper, white hand-lettering). Plain CSS, no build step; the game itself lives under /spielen/.
 */
:root {
  --ink: #1d2f6a;
  --paper: #f6f0dc;
  --white: #fdfdff;
  --brass: #b8862e;
  --yellow: #f4c95d;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  min-height: 100dvh;
  color: var(--white);
  font-family: 'Chalkboard SE', 'Bradley Hand', 'Segoe Print', 'Comic Neue', casual, cursive;
  background-color: #24498c;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-text-size-adjust: 100%;
}
a {
  color: inherit;
}
/* The sheet with its double line round it. */
.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(40px, calc(env(safe-area-inset-top) + 28px)) 24px max(28px, calc(env(safe-area-inset-bottom) + 20px));
  text-align: center;
}
.sheet::before,
.sheet::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.sheet::after {
  inset: 15px;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.3);
}
h1 {
  margin: 0;
  font-size: clamp(46px, 14vw, 76px);
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: rotate(-3deg);
  text-shadow: 2px 3px 0 rgba(10, 25, 60, 0.35);
}
h1 + .underline {
  width: min(82%, 400px);
  height: 14px;
  margin: 6px 0 0;
  border-top: 3px solid var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: rotate(-2deg);
}
.tagline {
  margin: 18px 0 0;
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}
.tagline em {
  font-style: normal;
  color: var(--yellow);
}
.plane {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 18px 0 6px;
  filter: drop-shadow(4px 10px 8px rgba(5, 15, 40, 0.45));
  transform: rotate(-4deg);
}
.pitch {
  max-width: 400px;
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.35;
}
.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
}
.store-badge img {
  display: block;
  width: 220px;
  height: auto;
}
.hint {
  max-width: 340px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  opacity: 0.9;
}
/* «Im Browser spielen»: a brass plate (E-094); red when there is no app for the device. */
.play {
  display: inline-block;
  padding: 14px 26px 15px;
  border: 2px solid #5a3a12;
  border-radius: 12px;
  color: #2b1a05;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, #f3d48a 0%, #d6a748 45%, #a8762a 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 4px 0 #5a3a12, 0 8px 14px rgba(0, 0, 0, 0.35);
}
.play.main {
  padding: 18px 34px 19px;
  border-color: #5c0d0d;
  color: var(--white);
  font-size: 26px;
  text-shadow: 0 2px 0 rgba(60, 0, 0, 0.5);
  background: radial-gradient(circle at 35% 25%, #ff8a7a 0%, #e0302a 40%, #a3121a 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 4px 0 #5c0d0d, 0 8px 14px rgba(0, 0, 0, 0.35);
}
.play:active {
  translate: 0 3px;
}
/* A note of paper with tape, for the instructions on the iPhone. */
.note {
  max-width: 320px;
  margin: 8px 0 0;
  padding: 12px 16px 13px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  background: var(--paper);
  transform: rotate(1.5deg);
  box-shadow: 2px 5px 8px rgba(0, 0, 0, 0.35);
}
.foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 28px 6px 0;
  font-size: 14px;
}
.credit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: rgba(253, 253, 255, 0.85);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.credit img {
  display: block;
  width: 84px;
  height: auto;
}
.links a {
  margin-left: 14px;
}
[hidden] {
  display: none !important;
}
/* Support page: text on a sheet of paper. */
.page {
  max-width: 440px;
  margin: 22px 0 0;
  padding: 20px 22px 22px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  text-align: left;
  background: var(--paper);
  box-shadow: 2px 5px 8px rgba(0, 0, 0, 0.35);
}
.page h2 {
  margin: 18px 0 6px;
  font-size: 19px;
}
.page p {
  margin: 0 0 10px;
}
