/* ─────────────────────────────────────────
   Genoma de la Inercia — genommalab.ai
   Dark contemplative aesthetic
───────────────────────────────────────── */

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

:root {
  --bg:         #060608;
  --banner-bg:  #0d0d10;
  --banner-border: rgba(201,168,76,0.25);
  --gold:       #c9a84c;
  --gold-dim:   rgba(201,168,76,0.55);
  --gray:       #3a4458;
  --text:       rgba(255,255,255,0.75);
  --text-dim:   rgba(255,255,255,0.35);
  --caption-bg: rgba(6,6,8,0.88);
  --font:       'Courier New', Courier, monospace;
}

html, body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

/* ── Banner ───────────────────────────── */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  height: 40px;
  background: var(--banner-bg);
  border-bottom: 1px solid var(--banner-border);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
}

.banner-domain {
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 0.12em;
}

.banner-sep {
  color: var(--text-dim);
}

.banner-label {
  color: var(--text-dim);
}

.banner-price {
  color: var(--gold);
  font-weight: bold;
  min-width: 130px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.banner-rate {
  color: var(--text-dim);
  font-size: 10px;
}

.banner-live {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dim);
  font-size: 10px;
  margin-left: auto;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ── Canvas ───────────────────────────── */
canvas#helix {
  display: block;
  position: fixed;
  top: 40px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 40px);
}

/* ── Caption ──────────────────────────── */
.caption {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(transparent, var(--caption-bg) 30%);
  padding: 40px 0 28px;
  pointer-events: none;
}

.caption-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  pointer-events: all;
}

.caption-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.caption-artist {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.caption-lot {
  font-size: 9px;
  color: rgba(201,168,76,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.caption-desc {
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.caption-link {
  font-size: 10px;
  color: var(--gold-dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: color 0.2s, border-color 0.2s;
}

.caption-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Mobile ───────────────────────────── */
@media (max-width: 640px) {
  .banner {
    font-size: 9px;
    gap: 6px;
    padding: 0 12px;
  }
  .banner-rate { display: none; }
  .caption-desc { font-size: 10px; }
}
