* { box-sizing: border-box; }
:root {
  --bg: #07170b;
  --green: #39ff64;
  --ink: #07170b;
  --paper: #f3f5e8;
  --soft: rgba(243, 245, 232, 0.72);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 12%, rgba(57, 255, 100, 0.24), transparent 28rem),
    linear-gradient(135deg, #07170b 0%, #0a2410 45%, #07170b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.top, main, footer { width: min(1120px, calc(100% - 28px)); margin-inline: auto; }
.top {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { color: var(--green); font-weight: 1000; font-size: 1.15rem; letter-spacing: 0; }
nav { display: flex; gap: 10px; align-items: center; }
nav a {
  padding: 9px 12px;
  border: 1px solid rgba(243, 245, 232, 0.18);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}
nav a:hover { border-color: var(--green); color: var(--green); }
.hero {
  min-height: calc(100svh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
  padding: 36px 0 56px;
}
.tag {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(57, 255, 100, 0.12);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  line-height: 0.86;
  font-weight: 1000;
  letter-spacing: 0;
}
h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 0.92;
  font-weight: 1000;
}
.line {
  margin-bottom: 26px;
  color: var(--soft);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(243, 245, 232, 0.2);
  border-radius: 999px;
  color: var(--paper);
  font-weight: 900;
}
.btn.primary { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn:hover { transform: translateY(-1px); }
.meme {
  padding: 10px;
  border: 1px solid rgba(57, 255, 100, 0.32);
  border-radius: 28px;
  background: rgba(243, 245, 232, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 60px rgba(57, 255, 100, 0.1);
}
.meme img { width: 100%; border-radius: 20px; }
.ticker {
  overflow: hidden;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 0;
  border-block: 1px solid rgba(57, 255, 100, 0.2);
  color: var(--green);
  font-weight: 1000;
  white-space: nowrap;
}
.ticker span { padding-right: 28px; }

.meme-wall {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 260px;
  gap: 14px;
  margin-bottom: 20px;
}
.meme-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 100, 0.26);
  border-radius: 24px;
  background: #0a1f0f;
  box-shadow: inset 0 0 34px rgba(57, 255, 100, 0.08);
}
.meme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}
.meme-card b {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 23, 11, 0.82);
  color: var(--green);
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.meme-card.tall { grid-row: span 2; }
.meme-card.tall img { object-position: 34% center; }
.meme-card.zoom img { transform: scale(1.45); object-position: 34% 38%; }
.meme-card.tilt img { transform: rotate(-4deg) scale(1.16); object-position: center; }
.meme-card.wide { grid-column: span 2; }
.meme-card.wide img { object-position: center 44%; }

.story, .eu {
  margin-bottom: 20px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(243, 245, 232, 0.13);
  border-radius: 28px;
  background: rgba(243, 245, 232, 0.07);
}
.story p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.5;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.cards div {
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
}
.cards b { font-size: 1.45rem; font-weight: 1000; }
.cards span { color: rgba(7, 23, 11, 0.62); font-weight: 900; text-transform: uppercase; }
.contract {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(57, 255, 100, 0.24);
  border-radius: 18px;
  background: rgba(243, 245, 232, 0.06);
}
.contract span { color: var(--green); font-weight: 1000; text-transform: uppercase; }
.contract code {
  min-width: 0;
  overflow: hidden;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contract button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--green);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}
.contract.copied button { background: var(--paper); }
.eu { background: transparent; }
.eu p:last-child { max-width: 760px; margin-bottom: 0; color: rgba(243, 245, 232, 0.62); font-size: 0.94rem; line-height: 1.45; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 0 34px;
  color: rgba(243, 245, 232, 0.58);
  font-weight: 850;
}
footer span { color: var(--green); }
@media (max-width: 820px) {
  .meme-wall { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .meme-card.tall, .meme-card.wide { grid-row: auto; grid-column: auto; }
  .top { height: auto; align-items: flex-start; flex-direction: column; padding-top: 16px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 26px; padding-top: 34px; }
  .meme { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .contract { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .meme-wall { grid-auto-rows: 220px; }
  nav { width: 100%; justify-content: space-between; gap: 6px; }
  nav a { padding-inline: 9px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
}
