@font-face {
  font-family: 'Gochi Hand';
  src: url('./assets/brand/GochiHand-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  color: #573750;
  background: #f5efec;
  font-family: 'Gochi Hand', cursive;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 44px 30px;
}

.sleeve {
  position: relative;
  isolation: isolate;
  width: min(326px, 100%);
  padding: 12px;
}

.sleeve::before, .sleeve::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 20px;
  transform: rotate(-3.5deg);
}

.sleeve::before {
  inset: 0;
  border: 1px solid #bfaebd;
  background: linear-gradient(122deg, #ffffff80, #d6c5e610 40%, #ffffff44 70%, #e7d1e72e);
  box-shadow: inset 2px 2px 0 #fff9, 1px 2px 0 #ddc8d650, 8px 15px 25px -16px #57375057;
}

.sleeve::after {
  inset: 5px;
  border: 1px solid #fffc;
  border-right-color: #b8a6c060;
  border-bottom-color: #b8a6c070;
  border-radius: 16px;
}

.paper {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0;
  padding: 28px 20px 14px;
}

.paper::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 15px;
  background: linear-gradient(#fff8ed, #fff8ed) padding-box,
    linear-gradient(145deg, #ead194, #ebbbd3 21%, #cfc5ec 42%, #c8e3d7 60%, #f1dfab 79%, #e0b9cf) border-box;
  transform: rotate(1deg);
  box-shadow: 1px 3px 5px #5737500b;
}

.binder-pal { display: block; object-fit: contain; margin: 0 0 24px; transform: rotate(5deg); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: #dda8be55; }
a:focus-visible { outline: 2px solid #573750; outline-offset: 5px; }

.discord {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 7px 9px 6px 8px;
  color: #fff8ed;
  background: #573750;
  font-size: clamp(24px, 7.5vw, 30px);
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-1.5deg);
  box-shadow: 2px 3px 0 #dda8be;
  transition: background-color .15s, box-shadow .15s;
}
.discord:hover { background: #70465f; box-shadow: 2px 4px 0 #dda8be; }

.patreon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 7px;
  min-height: 54px;
  margin-top: 10px;
  font-size: 27px;
  line-height: 1.2;
  transform: rotate(1.4deg);
}
.patreon svg { width: 19px; height: 18px; fill: none; stroke: #a7637d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.patreon:hover { color: #a04e70; }
.patreon:hover svg { fill: #dda8be33; }

nav { display: flex; gap: 20px; margin-top: 20px; }
nav a { display: grid; place-items: center; min-height: 44px; padding: 4px; font-size: 19px; color: #75606e; text-decoration: underline; text-decoration-color: #c6b2bc; text-underline-offset: 4px; }
nav a:hover { color: #573750; text-decoration-color: currentColor; }

.tape {
  position: absolute;
  top: -8px;
  left: 23px;
  width: 63px;
  height: 23px;
  z-index: 2;
  background: repeating-linear-gradient(115deg, #dda8be99 0 6px, #f0d5dfaa 6px 9px);
  clip-path: polygon(2% 0, 98% 3%, 100% 30%, 98% 65%, 100% 100%, 0 98%, 2% 60%, 0 20%);
  transform: rotate(-12deg);
  pointer-events: none;
}
.sparkle { position: absolute; right: -9px; bottom: 12px; width: 24px; height: 29px; fill: #ead194; stroke: #fff8ed; stroke-width: 2px; transform: rotate(12deg); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
