/* the Cards page (Money chat): the hero card on a lit floor, its dossier, the hall of every Monstrosity */
.cx { position: relative; z-index: 1; overflow-x: clip; }      /* the hero light reaches past the stage: never a sideways scroll */
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) minmax(0, 1fr); gap: 48px; align-items: center; min-height: calc(100vh - var(--hdr)); padding: 26px 40px 30px; }
.st-l .lbl { display: flex; align-items: center; gap: 8px; }
.st-l h1 { margin: 16px 0 0; font: 400 clamp(46px, 4.4vw, 76px)/.94 var(--serif); letter-spacing: -.025em; }
.st-l h1 em { color: var(--lime); }
.st-l p { margin: 18px 0 0; max-width: 46ch; color: var(--ink2); font-size: 15px; line-height: 1.6; }
.st-l p b { color: var(--ink); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 28px; max-width: 470px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.kpis > div { padding: 14px 16px; background: var(--bg1); }
.kpis b { display: block; margin-top: 10px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.kpis b.gold { color: var(--gold); }
.kpis b small { font-size: .5em; color: var(--ink3); margin-left: 3px; }
.cta { display: flex; gap: 10px; margin-top: 26px; }
.pill.big { height: 44px; padding: 0 20px; font-size: 13px; }

/* the hero card, its light and its floor */
.st-c { position: relative; display: grid; place-items: center; height: min(640px, calc(100vh - var(--hdr) - 60px)); }
.hero-wrap { position: relative; z-index: 2; width: min(420px, calc((100vh - var(--hdr) - 110px) * .716)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.halo { position: absolute; z-index: 1; width: 250%; height: 165%; left: -75%; top: -32%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--ht, #b8ff3a) 30%, transparent) 30%, color-mix(in srgb, var(--ht, #b8ff3a) 12%, transparent) 52%, transparent 74%); }
.halo::after { content: ''; position: absolute; inset: 14%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--ht, #b8ff3a) 16%, transparent) 0 2deg, transparent 2deg 11deg); -webkit-mask: radial-gradient(closest-side, transparent 38%, #000 50%, transparent 92%); mask: radial-gradient(closest-side, transparent 38%, #000 50%, transparent 92%); }
@keyframes spin2 { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
.floor { position: absolute; z-index: 1; bottom: -16%; left: -30%; right: -30%; height: 30%; pointer-events: none; background: radial-gradient(46% 38% at 50% 40%, color-mix(in srgb, var(--ht, #b8ff3a) 38%, transparent), transparent 72%); }
.floor::after { content: ''; position: absolute; left: 28%; right: 28%; top: 30%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ht, #b8ff3a) 85%, #fff), transparent); box-shadow: 0 0 24px 4px color-mix(in srgb, var(--ht, #b8ff3a) 50%, transparent); }

/* the dossier */
.st-r { align-self: center; min-width: 0; }
.dz-k { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dz h2 { margin: 14px 0 6px; font: 400 clamp(30px, 2.6vw, 42px)/1 var(--serif); letter-spacing: -.02em; }
.dz .sp2 { color: var(--ink3); font: 500 12px/1.4 var(--mono); }
.dz .story { margin: 16px 0 0; color: var(--ink2); font-size: 14px; line-height: 1.6; max-width: 52ch; }
.dz blockquote { margin: 16px 0 0; padding: 12px 16px; border-left: 2px solid var(--ht, var(--lime)); background: rgba(255, 255, 255, .02); border-radius: 0 10px 10px 0; font: italic 400 19px/1.3 var(--serif); color: var(--ink); }
.dz .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.dz .chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2); font: 500 11px/1 var(--mono); color: var(--ink2); }
.dz .chip i { font-style: normal; color: var(--ink4); }
.dz .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.dz .facts > div { padding: 11px 13px; background: var(--bg1); }
.dz .facts.bt { margin-top: 18px; }
.dz .facts.bt + .facts { margin-top: 8px; }
.dz .facts.bt b { color: var(--ht, var(--lime)); }
.dz .facts b { display: block; margin-top: 8px; font: 600 17px/1 var(--mono); }
.dz .own { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 13px 14px; border-radius: var(--r2); border: 1px solid var(--line2); background: linear-gradient(90deg, rgba(232, 180, 90, .07), transparent); }
.dz .own .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold2); color: var(--gold); flex: none; }
.dz .own .ico svg { width: 18px; height: 18px; }
.dz .own .tx2 { flex: 1; min-width: 0; font-size: 13px; color: var(--ink2); }
.dz .own .tx2 b { color: var(--ink); }
.dz .links { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* the hall */
.grid-sec { padding: 10px 40px 60px; }
.sec-h { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.sec-h h2 { margin: 0; font: 400 32px/1 var(--serif); letter-spacing: -.02em; }
.sec-h .sp { flex: 1; }
.filters { display: flex; gap: 6px; }
.filters button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--ink2); font: 500 11px/1 var(--mono); letter-spacing: .06em; cursor: pointer; }
.filters button.on { background: var(--bg3); color: var(--ink); border-color: var(--line3); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px 24px; }
.cell { cursor: pointer; transition: transform .25s var(--ease); }
.cell:hover { transform: translateY(-6px); }
.cell .cap2 { display: flex; justify-content: space-between; margin-top: 12px; font: 500 11px/1.2 var(--mono); color: var(--ink3); }
.cell .cap2 b { color: var(--ink2); font-weight: 500; }
.cell.sel .gc-in { box-shadow: 0 0 0 2px var(--lime), 0 3cqw 8cqw -2cqw rgba(0, 0, 0, .75); }
.grid .empty { grid-column: 1 / -1; }

/* the card back (no Monstrosity yet) */
.gback { container-type: inline-size; position: relative; aspect-ratio: 63 / 88; border-radius: 4.6cqw; overflow: hidden; box-shadow: 0 0 0 .35cqw rgba(255, 255, 255, .06), 0 3cqw 8cqw -2cqw rgba(0, 0, 0, .75), 0 0 10cqw -3cqw rgba(184, 255, 58, .45);
  background: linear-gradient(140deg, #d6ff8a, #4e7d10 30%, #b8ff3a 55%, #2f520a 80%, #c9ff6e); }
.gback .in { position: absolute; inset: 2.5cqw; border-radius: 2.8cqw; overflow: hidden; display: grid; place-items: center;
  background: repeating-conic-gradient(from 0deg at 50% 46%, rgba(184, 255, 58, .06) 0 6deg, transparent 6deg 12deg), radial-gradient(circle at 50% 46%, #183a12 0%, #07120d 55%, #040a07 100%); }
.gback .ring { position: absolute; left: 50%; top: 46%; width: 62cqw; height: 62cqw; transform: translate(-50%, -50%); border-radius: 50%; border: .5cqw solid rgba(184, 255, 58, .35); box-shadow: 0 0 6cqw rgba(184, 255, 58, .25), inset 0 0 6cqw rgba(184, 255, 58, .2); animation: spin 30s linear infinite; }
.gback .ring::before { content: ''; position: absolute; inset: 5cqw; border-radius: 50%; border: .3cqw dashed rgba(184, 255, 58, .3); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.gback .g { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -52%); font: italic 400 40cqw/1 var(--serif); color: var(--lime); text-shadow: 0 0 8cqw rgba(184, 255, 58, .6); }
.gback .w { position: absolute; bottom: 9cqw; left: 0; right: 0; text-align: center; font: 600 4cqw/1 var(--mono); letter-spacing: .5em; color: rgba(230, 239, 225, .7); }
.gback .bar { position: absolute; bottom: 17cqw; left: 14cqw; right: 14cqw; height: 1.6cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .08); overflow: hidden; }
.gback .bar u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4e7d10, var(--lime)); box-shadow: 0 0 3cqw var(--lime); transition: width 1s var(--ease); }
.gback .pct { position: absolute; bottom: 20.5cqw; left: 14cqw; right: 14cqw; display: flex; justify-content: space-between; font: 600 2.8cqw/1 var(--mono); letter-spacing: .1em; color: rgba(230, 239, 225, .55); text-transform: uppercase; }

/* render mode: one card, full size, still (the NFT picture) */
body.render { background: #040a07; overflow: hidden; }
body.render .hdr, body.render .atmo, body.render main { display: none; }
body.render #render { display: grid !important; place-items: center; position: fixed; inset: 0; background: radial-gradient(70% 55% at 50% 45%, color-mix(in srgb, var(--rt, #b8ff3a) 30%, transparent), transparent 75%), radial-gradient(circle at 50% 50%, #0b1a12, #030805 80%); }
body.render #render .gc { width: 90vw; }
body.render .gc.flat .gc-artfoil { opacity: .16 !important; }
body.render .gc.flat .gc-foil { opacity: .55 !important; }

@media (max-width: 1280px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); }
  .st-r { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; padding: 22px 16px; gap: 30px; min-height: 0; }
  .st-c { height: auto; padding: 10px 0 40px; order: -1; }
  .hero-wrap { width: min(340px, 84vw); }
  .grid-sec { padding: 10px 16px 40px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 400px; margin: 0 auto; }
  .dz .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { display: none; }
}
