* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0e0c2a;
  color: #f0eeff;
  font-family: 'Space Mono', monospace;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.wrap {
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* top row: big gif left, text right */
.top {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.coin-img {
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  border: 2px solid #2a2560;
  border-radius: 14px;
  background: #12103a;
  overflow: hidden;
}

.coin-img video,
.coin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.name-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.coin-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5.5rem;
  line-height: 0.9;
  color: #fff;
  border-top: 3px solid #7c5fff;
  border-bottom: 3px solid #7c5fff;
  padding: 6px 0;
}

.tagline {
  font-size: 0.75rem;
  color: #6e6a9a;
}

.about a {
  color: #a882ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about a:hover { color: #fff; }

.about {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #b0aad4;
  border-left: 2px solid #7c5fff;
  padding-left: 14px;
  text-align: justify;
  hyphens: auto;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  overflow: hidden;
}

.ca-addr {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: #a882ff;
  white-space: nowrap;
  line-height: 1.1;
  flex: 1;
  min-width: 0;
  display: block;
}

.ca-row button {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #6e6a9a;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.ca-row button:hover  { color: #a882ff; }
.ca-row button.copied { color: #7c5fff; }

.links {
  display: flex;
  gap: 10px;
}

.links a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border: 1px solid #2a2560;
  border-radius: 6px;
  color: #6e6a9a;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}

.links a:not([href="#"]) {
  border-color: #7c5fff;
  color: #a882ff;
}

.links a:not([href="#"]):hover { color: #c8aaff; border-color: #a882ff; }
.links a[href="#"] { cursor: default; pointer-events: none; }

.footer {
  border-top: 1px solid #2a2560;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.7rem;
  color: #6e6a9a;
  text-align: center;
}

@media (max-width: 600px) {
  .top { flex-direction: column; align-items: center; }
  .coin-img { width: 100%; height: auto; aspect-ratio: 1; }
  .coin-name { font-size: 4rem; }
  .name-block { width: 100%; }
}
