:root {
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --ink: #0b0f1a;
  --strip: rgba(8, 12, 24, 0.6);
  --line: rgba(255, 255, 255, 0.5);
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
  --radius: 6px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #0b2a8f url("/img/bg.webp") 22% center / cover no-repeat;
  color: var(--text);
  font: 16px/1.4 var(--sans);
  overflow-x: hidden;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 32px clamp(var(--gutter), 7vw, 120px);
}
.panel { width: min(440px, 100%); display: flex; flex-direction: column; gap: 14px; }

.word {
  margin: 0 0 6px;
  font: 800 clamp(88px, 10vw, 140px)/0.85 var(--serif);
  letter-spacing: -0.035em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.ca {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 48px; padding: 0 14px; cursor: pointer; text-align: left;
  color: var(--text); background: var(--strip);
  border: 0; border-radius: var(--radius);
}
.ca-value {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 14px/1.2 var(--mono); color: var(--text-2);
}
.ca-copy { flex: none; font: 600 14px/1 var(--sans); color: var(--text); }
.ca:hover .ca-copy { text-decoration: underline; }

.actions { display: flex; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  font: 600 16px/1 var(--sans); text-decoration: none; border-radius: var(--radius);
}
.btn-buy { flex: 1; background: var(--text); color: var(--ink); }
.btn-buy:hover { background: rgba(255, 255, 255, 0.88); }
.btn-x { color: var(--text); border: 1px solid var(--line); background: rgba(8, 12, 24, 0.25); }
.btn-x:hover { border-color: var(--text); }
.btn:focus-visible, .ca:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* phones: keep meme man in frame, details at the bottom */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  body { background-position: 18% center; }
  .hero { align-items: flex-end; justify-content: center; padding-bottom: 24px; }
  .hero::before {
    content: ""; position: fixed; inset: 50% 0 0 0; pointer-events: none;
    background: linear-gradient(to bottom, rgba(8, 12, 24, 0), rgba(8, 12, 24, 0.75));
  }
  .panel { position: relative; }
}
