@font-face { font-family: "Bungee"; src: url("../fonts/bungee.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #0d1418;
  --ink-deep: #070b0d;
  --cream: #efe8d8;
  --fog: rgba(239, 232, 216, 0.62);
  --porch: #f2b24b;
  --porch-ink: #2b1a06;
  --display: "Bungee", "Arial Black", sans-serif;
  --col: min(660px, 88vw, 60vh);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: #1f2e35;
  color: var(--cream);
  font-family: var(--display);
}
#sky { position: absolute; inset: 0 auto auto 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: -2; }
#logo-art { position: absolute; display: block; pointer-events: none; z-index: -1; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header: just the wallet, top right */
.bar { position: absolute; top: 0; right: 0; z-index: 2; padding: clamp(14px, 2.4vh, 24px) max(16px, 2.4vw); }
.tile { border: 0; border-radius: 0; margin: 0; }
.wallet {
  font: clamp(13px, 1.5vw, 16px)/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 22px; min-width: 15.5em; text-align: center;
  color: var(--porch-ink); background: var(--porch); cursor: pointer;
  box-shadow:
    inset 0 4px 0 #ffd88f, inset 4px 0 0 #f8c56a, inset 0 -4px 0 #a8671a, inset -4px 0 0 #c98a2d,
    0 0 0 3px var(--ink), 7px 8px 0 3px rgba(2, 3, 10, 0.4);
}
.wallet:hover { filter: brightness(1.05); }
.wallet:active { transform: translate(3px, 4px); box-shadow: inset 0 4px 0 #ffd88f, inset 4px 0 0 #f8c56a, inset 0 -4px 0 #a8671a, inset -4px 0 0 #c98a2d, 0 0 0 3px var(--ink), 3px 4px 0 3px rgba(2, 3, 10, 0.4); }
.wallet:focus-visible { outline: 3px solid var(--cream); outline-offset: 5px; }

/* scene */
.scene {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(6px, 1.4vh, 16px);
  padding: clamp(64px, 8vh, 88px) 16px clamp(28px, 5vh, 56px);
}
.logo { margin: 0; width: min(980px, 92vw); height: 120px; color: transparent; font-size: 1px; overflow: hidden; user-select: none; }
.anchor { width: var(--col); min-width: 240px; aspect-ratio: 1; }

/* footer: a real full-width footer in the darkest tone of the current sky */
.foot {
  background: var(--ink-deep);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.07);
  transition: background-color 0.8s;
}
.foot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 18px max(16px, 2.4vw) 20px;
  font: 12px/1.4 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fog);
}
.foot p { margin: 0; }

@media (max-width: 560px) {
  .scene { padding-top: 76px; }
  .wallet { min-width: 0; padding: 12px 16px; font-size: 12px; }
  .foot-row { justify-content: center; text-align: center; }
}
