@font-face {
  font-family: "Press Start 2P";
  src: url("assets/fonts/press-start-2p-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Google Fonts subset: © Mrs. Gunnersaurus Unofficial fan account */
@font-face {
  font-family: "DotGothic16";
  src: url("assets/fonts/dotgothic16-footer.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Google Fonts subset: ↗ */
@font-face {
  font-family: "Inter Arrow";
  src: url("assets/fonts/inter-arrow.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --red: #ef0107;
  --deep-red: #a40813;
  --white: #fff;
  --ink: #211c25;
  --shadow: #610c1b;
  font-family: "Press Start 2P", monospace;
  font-synthesis: none;
  color: var(--white);
  background: var(--deep-red);
}

* { box-sizing: border-box; }
body, h1, h2, p, ul { margin: 0; }
body {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.checker {
  flex: 0 0 8px;
  background: repeating-linear-gradient(90deg, var(--white) 0 16px, var(--red) 16px 32px);
}
.page-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.content {
  height: 100%;
  min-height: min-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 4px 24px 20px;
}
.identity { position: relative; display: flex; justify-content: center; }
.greeting {
  position: absolute;
  top: 16px;
  left: calc(50% + 28px);
  display: grid;
  place-items: center;
  width: 72px;
  height: 48px;
  padding: 0 3px 12px 0;
  background: url("assets/greeting-bubble.svg") center / contain no-repeat;
  color: var(--ink);
  font-size: 18px;
  line-height: 22px;
}
.mascot { display: block; width: 128px; height: 192px; object-fit: contain; }
.socials {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: 480px;
  min-width: 0;
  min-height: min-content;
  /* Natural height of the heading and five full-size link cards in Figma. */
  max-height: 519px;
}
h2 { flex: none; font-size: 12px; font-weight: 400; line-height: 19px; margin-bottom: 16px; }
ul { list-style: none; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 16px; }
li { display: flex; flex: 1; min-height: min-content; }
.socials a {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--shadow);
  box-shadow: 5px 5px 0 var(--shadow);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}
.socials img { display: block; flex: 0 0 32px; image-rendering: pixelated; }
.label { flex: 1; min-width: 0; font-size: 14px; line-height: 24px; overflow-wrap: anywhere; }
.arrow { font: 700 20px/28px "Inter Arrow", sans-serif; }
.socials a:focus-visible { outline: 3px solid var(--white); outline-offset: 6px; }
.socials a:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--shadow); }
@media (hover: hover) {
  .socials a:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--shadow); }
}
footer {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 12px 24px 24px;
  font: 400 12px/17px "DotGothic16", sans-serif;
}
@media (min-width: 1024px) {
  .content {
    display: grid;
    height: auto;
    min-height: 100%;
    align-content: center;
    grid-template-columns: minmax(0, 560px) minmax(0, 480px);
    gap: clamp(48px, 6.6667vw, 96px);
    padding: 28px 72px 40px;
  }
  .socials { display: block; max-height: none; }
  ul { display: grid; grid-auto-rows: minmax(84px, auto); }
  .mascot { width: 224px; height: 336px; }
  .greeting {
    top: 28px;
    left: calc(50% + 48px);
    width: 96px;
    height: 64px;
    padding: 0 4px 16px 0;
    font-size: 22px;
    line-height: 26px;
  }
  footer { padding: 12px 72px 32px; }
}
@media (max-width: 359px) {
  .socials a { padding-inline: 16px; gap: 12px; }
  .label { font-size: 12px; }
}
