:root {
  color-scheme: dark;
  background: #020201;
  font-family: Impact, "Arial Narrow", sans-serif;
  --logo: min(57.64vw, 92dvh, 1120px);
  --logo-top: calc(1.7dvh - var(--logo) * .10654);
  --tag: min(80vw, 45.56dvh, 550px);
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
.scene { position: relative; height: 100svh; height: 100dvh; overflow: hidden; isolation: isolate; }
img { display: block; height: auto; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.artwork { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.artwork img { position: absolute; left: 50%; transform: translateX(-50%); }
.planet { width: 44dvh; bottom: 12dvh; }
.pepe { height: 44dvh; width: auto; bottom: 22dvh; }
.pile { width: min(900px, 150vw); bottom: -15dvh; }
.wordmark, .tagline { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; pointer-events: none; }
.wordmark { top: var(--logo-top); width: var(--logo); }
.tagline { top: calc(var(--logo-top) + var(--logo) * .38275 + 6px - var(--tag) * .10083); width: var(--tag); }
.wordmark img, .tagline img { width: 100%; }
.links {
  position: absolute;
  left: 50%;
  bottom: 1.8%;
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 24px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4.5;
  color: #624008;
  text-decoration: none;
  text-shadow: 0 1px #ffe8a1;
  border-radius: 7px;
}
.bar-art { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(-49.65%); z-index: -1; }
.bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  width: 88%;
  min-width: 0;
  font-size: clamp(14px, 1.25vw, 20px);
  line-height: 1.12;
  white-space: nowrap;
}
.icon { flex-shrink: 0; width: 1.8em; height: 1.8em; object-fit: contain; filter: sepia(1); mix-blend-mode: multiply; }
.telegram { filter: grayscale(1) sepia(1); opacity: .65; }
.chain { width: 1.5em; height: 1.5em; object-fit: cover; filter: grayscale(1) contrast(2); }
.contract { grid-column: 1 / -1; width: 86%; justify-self: center; }
.contract .bar-content { width: 92%; gap: .65em; font-size: clamp(13px, 1.13vw, 17px); }
.address { flex: 1; min-width: 0; overflow-wrap: anywhere; white-space: normal; text-align: center; }
.bar:hover { filter: brightness(1.1); }
.bar:focus-visible { outline: 3px solid #fff6cc; outline-offset: 3px; }
@media (max-width: 700px) and (min-height: 501px) {
  :root { --logo: 95vw; --logo-top: calc(1.8dvh - var(--logo) * .10654); --tag: min(80vw, 310px); }
  .stars { object-position: 90% 50%; }
  .planet { width: 83vw; bottom: 26dvh; }
  .pepe { height: 38dvh; bottom: 43dvh; }
  .pile { width: 235vw; bottom: -7dvh; }
  .links { width: calc(100vw - 20px); bottom: 1.14%; gap: 6px; }
  .social { min-height: 46px; }
  .contract { width: 100%; }
  .bar-content { font-size: clamp(11px, 3.1vw, 17px); gap: .4em; }
  .contract .bar-content { font-size: clamp(10px, 2.85vw, 14px); gap: .65em; }
}
@media (min-width: 701px) and (max-width: 1000px) and (min-height: 601px) {
  :root { --logo: 82vw; --tag: 42vw; }
}
@media (max-height: 600px) and (min-width: 701px) {
  :root { --logo: min(82dvh, 57.64vw); --logo-top: calc(1.55dvh - var(--logo) * .10654); --tag: 70dvh; }
  .planet { width: 40dvh; bottom: 3dvh; }
  .pepe { height: 44dvh; bottom: 17dvh; }
  .pile { width: 150dvh; bottom: -52dvh; }
  .links { width: min(680px, calc(100vw - 24px)); bottom: 1.72%; grid-template-columns: minmax(0, 26%) minmax(0, 26%) minmax(0, 40%); gap: .75%; align-items: end; }
  .social { min-height: 44px; }
  .contract { grid-column: auto; width: 100%; }
  .bar-content { font-size: clamp(12px, 2.3dvh, 17px); gap: .4em; }
  .contract .bar-content { font-size: clamp(12px, 2.3dvh, 16px); }
}
