@property --tc { syntax: '<color>'; inherits: true; initial-value: #a855f7; }

:root {
  --bg: #07060b;
  --panel: rgba(20, 17, 30, .72);
  --line: rgba(168, 140, 255, .16);
  --line-2: rgba(255, 255, 255, .1);
  --text: #ece9f5;
  --muted: #8d87a3;
  --violet: #a855f7;
  --violet-2: #7c3aed;
  --blue: #3b82f6;
  --tc: #a855f7;
  --serif: 'Cinzel', Georgia, serif;
  --serif-2: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: --tc .6s; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- background beams (tinted by current pack) ---------- */
.beams { position: fixed; inset: 0 0 auto; height: 100vh; pointer-events: none; z-index: 0; overflow: hidden;
  background: radial-gradient(900px 520px at 50% 52%, color-mix(in srgb, var(--tc) 22%, transparent), transparent 70%); }
.beams i { position: absolute; top: -20%; width: 34vw; height: 120%; filter: blur(28px); opacity: .5; transform-origin: top center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 38%, transparent), transparent 75%); }
.beams i:nth-child(1) { left: 2%; transform: rotate(24deg); }
.beams i:nth-child(2) { left: 22%; transform: rotate(10deg); opacity: .3; }
.beams i:nth-child(3) { right: 22%; transform: rotate(-10deg); opacity: .3; background: linear-gradient(180deg, rgba(59, 130, 246, .35), transparent 75%); }
.beams i:nth-child(4) { right: 2%; transform: rotate(-24deg); background: linear-gradient(180deg, rgba(59, 130, 246, .45), transparent 75%); }
main, header, footer { position: relative; z-index: 1; }

/* ---------- header ---------- */
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; color: var(--violet); filter: drop-shadow(0 0 14px rgba(168, 85, 247, .55)); }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; display: block; border-radius: 10px; }
.brand-text b { display: block; font-family: var(--serif-2); font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: .01em; }
.brand-text small { display: block; font-size: 10px; letter-spacing: .32em; color: var(--violet); margin-top: 6px; }
.nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line-2); }
.nav a { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #b9b3cc; padding: 10px 16px 14px; position: relative; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav a.on { color: #e0c7ff; }
.nav a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.pills { display: flex; justify-content: flex-end; gap: 10px; }
.pill { display: flex; align-items: center; gap: 9px; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(16, 14, 24, .75); backdrop-filter: blur(10px); white-space: nowrap; }
.pill b { font-weight: 600; font-size: 15px; }
.pill small { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.sol-ic { width: 1em; height: .84em; flex: none; display: inline-block; vertical-align: -.06em; }
.solv { display: inline-flex; align-items: center; gap: .32em; white-space: nowrap; }
.pot-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #0d0b14; border: 1px solid rgba(153, 69, 255, .4); }
.pot-ic .sol-ic { width: 16px; height: 14px; }
.payout { display: inline-flex; align-items: center; gap: 10px; }
.payout .sol-ic { width: .8em; height: .68em; }
.payout small { font-size: .5em; color: var(--muted); }
.sol-badge .sol-ic { width: 22px; height: 19px; }
.wallet-ic, .ic-wallet { width: 22px; height: 16px; border: 2px solid currentColor; border-radius: 4px; position: relative; color: #cfc8e6; flex: none; }
.wallet-ic::after, .ic-wallet::after { content: ''; position: absolute; right: -2px; top: 3px; width: 8px; height: 6px; border: 2px solid currentColor; border-radius: 2px; background: var(--bg); }
.addr-pill .dots { color: var(--muted); margin-left: 6px; }
.x-pill { width: 52px; justify-content: center; padding: 0; color: #e9e6f2; transition: border-color .2s, color .2s; }
.x-pill svg { width: 20px; height: 20px; }
.x-pill:hover { border-color: var(--violet); color: #fff; }
.foot-x { display: inline-flex; align-items: center; gap: 8px; color: #d9d3ea; font-size: 14px; font-weight: 600; white-space: nowrap; }
.foot-x svg { width: 16px; height: 16px; }
.foot-x:hover { color: #fff; }
.addr-pill:hover { border-color: var(--violet); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 28px 0 40px; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .42em; text-transform: uppercase; color: #c8c1dc; }
.eyebrow em { font-style: normal; }
.eyebrow span { color: var(--violet); letter-spacing: 0; }
.title { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.05; margin: 8px 0 4px; letter-spacing: .03em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 18px;
  background: linear-gradient(180deg, #ffffff 10%, #cfcadb 55%, #8c869e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title > span { transition: opacity .25s, transform .25s; }
.title.swap > span { opacity: 0; transform: translateY(6px); }
.diamond { width: 22px; height: 30px; background: var(--tc); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .55); flex: none; filter: drop-shadow(0 0 8px var(--tc)); }
.subtitle { margin: 0; font-size: 19px; color: #bdb7cf; min-height: 1.5em; }
.subtitle b { color: var(--tc); font-weight: 600; }

.stage { position: relative; max-width: 1180px; margin: 14px auto 0; height: clamp(470px, 46vw, 540px); display: grid; grid-template-columns: 170px 52px 1fr 52px 170px; align-items: center; padding: 0 24px; }
.side { display: flex; flex-direction: column; gap: 6px; letter-spacing: .3em; text-transform: uppercase; z-index: 4; transition: opacity .3s; }
.side small { font-size: 13px; color: #a7a1b8; }
.side b { white-space: nowrap; font-size: 17px; font-weight: 600; color: var(--tc); text-shadow: 0 0 18px color-mix(in srgb, var(--tc) 60%, transparent); }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(16, 14, 24, .7); font-size: 26px; line-height: 1; z-index: 5; transition: border-color .2s, transform .2s, opacity .3s; }
.arrow:hover { border-color: var(--tc); transform: scale(1.06); }
.side.left { grid-column: 1; } .arrow.prev { grid-column: 2; } .carousel { grid-column: 3; } .arrow.next { grid-column: 4; } .side.right { grid-column: 5; text-align: right; }
.side, .arrow, .carousel { grid-row: 1; }
.carousel { position: relative; height: 100%; touch-action: pan-y; cursor: grab; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); transition: opacity .35s; }
.carousel.dragging { cursor: grabbing; }

/* pack tiles (shop shelf) */
.slide { position: absolute; left: 50%; top: 50%; width: clamp(250px, 24vw, 310px); aspect-ratio: 310 / 440; transform: translate(-50%, -50%); transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .5s, filter .5s; will-change: transform;
  border-radius: 30px; border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(120% 60% at 50% 85%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%), radial-gradient(circle, rgba(255, 255, 255, .07) 1.2px, transparent 1.6px) 0 0 / 16px 16px, #121019; }
.slide.center { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.slide .tile-pack { flex: 1; display: grid; place-items: center; padding: 22px 0 6px; min-height: 0; }
.slide .bpack { width: 62%; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.slide.center:hover .bpack { transform: translateY(-8px) rotate(-1.5deg); }
.tile-foot { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 24px 22px; text-align: left; }
.tile-foot b { font-size: 22px; font-weight: 700; }
.tile-foot span { font-size: 17px; font-weight: 700; color: var(--c); }
.slide .badge { position: absolute; top: 14px; right: 14px; z-index: 3; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 5px 10px; border-radius: 99px; background: var(--c); color: #0a0810; box-shadow: 0 0 20px var(--c); }

/* booster pack */
.bpack { --c: #a855f7; position: relative; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); user-select: none; }
.bpack img { display: block; width: 100%; height: auto; pointer-events: none; }
.bp-fallback { display: none; }
.bpack.noimg { aspect-ratio: 9 / 15.5; }
.bpack.noimg .bp-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; border-radius: 4px; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, #fff) 0%, var(--c) 30%, color-mix(in srgb, var(--c) 40%, #000) 100%); container-type: inline-size; }
.bp-crimp { position: absolute; top: 0; left: 0; right: 0; height: 6%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 2px, rgba(0, 0, 0, .2) 2px 5px); }
.bp-crimp.b { top: auto; bottom: 0; }
.bp-orb { width: 58%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 26cqw; background: radial-gradient(circle at 35% 30%, #fff, color-mix(in srgb, var(--c) 70%, #fff) 30%, var(--c) 65%, #000 120%); box-shadow: 0 0 30px var(--c); }
.bp-small { font-weight: 800; font-size: 8cqw; letter-spacing: .1em; }
.bp-big { font-weight: 900; font-size: 15cqw; line-height: .95; text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 16px var(--c); padding: 0 6%; }
.bp-chip { font-size: 5cqw; font-weight: 700; background: rgba(0, 0, 0, .55); padding: 2% 6%; border-radius: 99px; }
.bp-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 47%, transparent 58%); background-size: 260% 100%; animation: sheen 4.5s linear infinite; }
@keyframes sheen { from { background-position: 130% 0; } to { background-position: -130% 0; } }

/* ---------- opener: rip the top off, card comes out ---------- */
.stage.opening .side, .stage.opening .arrow { opacity: 0; pointer-events: none; }
.stage.revealed .side { opacity: 1; }
.stage.opening .carousel { opacity: 0; pointer-events: none; }
.opener { position: absolute; left: 50%; top: 50%; z-index: 5; width: clamp(190px, 19vw, 240px); translate: -50% -50%; perspective: 1400px; }
.op-pack { position: relative; z-index: 2; animation: opIn .6s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes opIn { from { transform: translateY(40px) scale(.7); opacity: 0; } }
.op-pack .bpack { width: 100%; }
.op-body { position: relative; z-index: 2; clip-path: polygon(0 12.5%, 6% 13.6%, 13% 12.2%, 20% 13.9%, 27% 12.4%, 34% 13.8%, 41% 12.1%, 48% 13.9%, 55% 12.3%, 62% 13.7%, 69% 12.2%, 76% 13.9%, 83% 12.4%, 90% 13.8%, 100% 12.6%, 100% 100%, 0 100%);
  transition: transform .9s cubic-bezier(.6, 0, .8, .4), opacity .6s .3s; }
.op-top { position: absolute; inset: 0; z-index: 3; transform-origin: 0% 13%; clip-path: polygon(0 0, 100% 0, 100% 12.6%, 90% 13.8%, 83% 12.4%, 76% 13.9%, 69% 12.2%, 62% 13.7%, 55% 12.3%, 48% 13.9%, 41% 12.1%, 34% 13.8%, 27% 12.4%, 20% 13.9%, 13% 12.2%, 6% 13.6%, 0 12.5%);
  transition: transform .75s cubic-bezier(.3, .6, .3, 1), opacity .5s .25s; }
.op-pack.charging { animation: shake var(--spd, .4s) linear infinite; }
.op-pack.charging .bpack { filter: drop-shadow(0 0 var(--glow, 8px) var(--tc)) brightness(var(--bright, 1)); }
@keyframes shake {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  25% { translate: calc(var(--amp, 2px) * -1) var(--amp, 2px); rotate: -.8deg; }
  50% { translate: var(--amp, 2px) calc(var(--amp, 2px) * -.5); rotate: .8deg; }
  75% { translate: calc(var(--amp, 2px) * -.6) 0; rotate: .4deg; }
}
.op-pack.peeling .op-top { transform: rotate(-6deg) translateY(-3%); transition-duration: .3s; }
.op-pack.ripped .op-top { transform: translate(90%, -75%) rotate(34deg); opacity: 0; }
.op-pack.out .op-body { transform: translateY(115%) rotate(4deg); opacity: 0; }
.tear-glow { position: absolute; left: 4%; right: 4%; top: 8%; height: 11%; z-index: 1; border-radius: 50%; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(closest-side, #fff, color-mix(in srgb, var(--tc) 80%, #fff) 40%, transparent); filter: blur(8px); }
.opener.ripped .tear-glow { opacity: 1; }
.opener.out .tear-glow { opacity: 0; }
.op-card { position: absolute; left: 7%; right: 7%; top: 14%; z-index: 1; --cy: 0%; --cs: .96; transform: translateY(var(--cy)) scale(var(--cs)); transition: transform .9s cubic-bezier(.2, .9, .25, 1.1); }
.op-card.rise { --cy: -56%; }
.op-card.center { --cy: -8%; --cs: 1.42; z-index: 4; }

.flipper { position: relative; width: 100%; aspect-ratio: 5 / 7.6; transform-style: preserve-3d; transform: rotateY(180deg); transition: transform 1s cubic-bezier(.2, .9, .25, 1.12); }
.op-card.flip .flipper { transform: rotateY(0deg); }
.flipper .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flipper .face.back { transform: rotateY(180deg); }
.flipper .slab { --sw: 100%; width: 100%; height: 100%; }
#fx { position: absolute; inset: -20% -10%; width: 120%; height: 140%; pointer-events: none; z-index: 6; }
.flash { position: fixed; inset: 0; background: #fff; z-index: 50; pointer-events: none; animation: flash .7s ease-out forwards; }
@keyframes flash { from { opacity: var(--o, .8); } to { opacity: 0; } }
.quake { animation: quake .5s linear; }
@keyframes quake { 20%, 80% { translate: 3px -2px; } 40%, 60% { translate: -5px 3px; } 50% { translate: 5px -3px; } }

.dots-row { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.dots-row button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .2); transition: width .3s, background .3s; }
.dots-row button.on { width: 26px; background: var(--tc); }
.odds-line { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); min-height: 18px; }
.odds-line span { margin: 0 6px; }

/* ---------- check your pack ---------- */
.check { max-width: 760px; margin: 28px auto 0; padding: 0 20px; }
.check-bar { display: flex; align-items: center; gap: 12px; height: 76px; padding: 0 8px 0 22px; border-radius: 18px; border: 1px solid rgba(168, 85, 247, .45);
  background: rgba(14, 12, 22, .88); box-shadow: inset 0 0 30px rgba(168, 85, 247, .07), 0 20px 50px -25px rgba(0, 0, 0, .8); transition: border-color .2s, box-shadow .2s; }
.check-bar:focus-within { border-color: #c084fc; box-shadow: inset 0 0 30px rgba(168, 85, 247, .12), 0 0 0 4px rgba(168, 85, 247, .14); }
.check-bar .ic-wallet { color: var(--violet); }
.check-bar input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--text); font-family: var(--mono); font-size: 16px; letter-spacing: .01em; text-overflow: ellipsis; padding: 0; }
.check-bar input::placeholder { font-family: var(--sans); font-size: 17px; color: #9d96b3; letter-spacing: 0; }
.clear-btn { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); color: var(--muted); font-size: 17px; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s; }
.clear-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.check-btn { flex: none; height: 60px; padding: 0 24px 0 26px; border-radius: 12px; border: 1px solid rgba(147, 197, 253, .45); color: #fff;
  background: linear-gradient(135deg, #3b6ff0, #2346b8 55%, #1c2f7a); box-shadow: 0 10px 30px -10px rgba(59, 130, 246, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
  font-family: var(--serif-2); font-weight: 600; font-size: 23px; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; transition: transform .15s, box-shadow .2s, filter .2s; }
.check-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.check-btn:active { transform: translateY(1px); }
.check-btn .arr { font-family: var(--sans); font-size: 18px; transition: transform .2s; }
.check-btn:hover .arr { transform: translateX(3px); }
.check-btn.ready { border-color: color-mix(in srgb, var(--tc) 70%, #fff); background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 85%, #fff 15%), color-mix(in srgb, var(--tc) 55%, #000)); color: #fff;
  box-shadow: 0 10px 40px -8px color-mix(in srgb, var(--tc) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); animation: ready 2s ease-in-out infinite; }
.check-btn .count { font-family: var(--sans); font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, .3); }
.check-status { --sc: var(--muted); display: flex; align-items: center; justify-content: center; gap: 9px; margin: 14px 0 0; min-height: 22px; font-size: 14px; color: var(--sc); text-align: center; }
.check-status .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 10px var(--sc); }
.check-status b { color: var(--text); font-weight: 600; }
.check-status[data-state="ok"] { --sc: #4ade80; }
.check-status[data-state="ready"] { --sc: color-mix(in srgb, var(--tc) 70%, #fff); }
.check-status[data-state="warn"] { --sc: #fbbf24; }
.check-status[data-state="error"] { --sc: #fb7185; }
@keyframes ready { 50% { box-shadow: 0 10px 55px -6px color-mix(in srgb, var(--tc) 95%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); } }
@keyframes ready { 50% { box-shadow: 0 0 70px color-mix(in srgb, var(--tc) 55%, transparent); } }
.reveal-actions { display: flex; justify-content: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; padding: 0 20px; }
.ra { height: 58px; padding: 0 26px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(10, 9, 15, .8); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; transition: border-color .2s, background .2s; }
.ra:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.ra.dim { border-color: rgba(255, 255, 255, .15); color: #9d97ae; }
.ra.primary { border-color: var(--tc); box-shadow: 0 0 30px color-mix(in srgb, var(--tc) 30%, transparent); }
.payout { font-family: var(--mono); font-size: clamp(30px, 4vw, 44px); font-weight: 500; margin-top: 4px; }
.demo-wallets { margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: 12px; color: var(--muted); align-items: center; padding: 0 20px; }
.demo-wallets button { background: rgba(16, 14, 24, .8); border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 11px; font-family: var(--mono); font-size: 11px; }
.demo-wallets button i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.trust { margin: 26px 0 0; font-size: 12px; letter-spacing: .3em; color: #a29cb4; }
.trust i { font-style: normal; color: var(--violet); margin: 0 8px; }

/* ---------- graded slab ---------- */
.slab { --sw: 240px; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; --rc: #9aa3b8; position: relative; width: var(--sw); aspect-ratio: 5 / 7.6; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .2s ease-out; container-type: inline-size; }
.slab-case { position: absolute; inset: 0; border-radius: 6.5cqw; padding: 5cqw; display: flex; flex-direction: column; gap: 4cqw;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 40%, rgba(255, 255, 255, .08)); border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: inset 0 0 0 4px rgba(10, 10, 14, .7), inset 0 0 0 5px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 40px -6px color-mix(in srgb, var(--rc) 55%, transparent); backdrop-filter: blur(6px); }
.slab-card { flex: 1; min-height: 0; border-radius: 3cqw; border: 1px solid rgba(255, 255, 255, .3); background: #0c0b11; padding: 4.5cqw; display: flex; flex-direction: column; gap: 2.5cqw; }
.sc-head { display: flex; flex-direction: column; gap: 1cqw; text-align: left; }
.sc-head b { font-family: var(--sans); font-weight: 600; font-size: 6.6cqw; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; }
.sc-head span { font-family: var(--mono); font-size: 4.2cqw; color: #9c97ab; }
.sc-art { position: relative; flex: 1; min-height: 0; border-radius: 1.5cqw; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
  background: radial-gradient(circle at 50% 40%, hsl(var(--h), 60%, 30%), #050508 75%); display: grid; place-items: center; }
.sc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.sc-glyph { font-size: 22cqw; opacity: .9; }
.sc-rar { text-align: center; font-size: 4.6cqw; letter-spacing: .32em; text-transform: uppercase; color: var(--rc); font-weight: 600; }
.sc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 2cqw; }
.sc-stats span { display: flex; flex-direction: column; align-items: center; font-size: 3.8cqw; letter-spacing: .1em; color: #9c97ab; }
.sc-stats b { font-size: 6.4cqw; color: #f1eef8; font-weight: 500; }
.slab-label { display: flex; justify-content: space-between; align-items: center; gap: 3cqw; padding: 1cqw 2cqw 0; text-align: left; }
.slab-label small { display: block; font-size: 3.6cqw; letter-spacing: .14em; color: #b8b2c8; }
.slab-label strong { display: block; font-size: 8.6cqw; font-weight: 500; letter-spacing: .02em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62cqw; }
.slab-label code { display: block; font-size: 3.4cqw; color: #8e889e; letter-spacing: .08em; }
.slab-label em { font-style: normal; font-size: 9cqw; font-weight: 500; }
.slab-glare { position: absolute; inset: 0; border-radius: 6.5cqw; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 40%), linear-gradient(125deg, transparent 35%, rgba(255, 255, 255, .1) 45%, transparent 55%); }
.slab.r-rare { --rc: #3b82f6; }
.slab.r-epic { --rc: #a855f7; }
.slab.r-legendary { --rc: #f5b544; }
.slab.r-mythic { --rc: #22e5a0; }
.slab.r-mythic .slab-case { border-color: transparent; background: linear-gradient(#0c0b11cc, #0c0b11cc) padding-box, conic-gradient(from var(--a, 0deg), #22e5a0, #fff36b, #ff4d9a, #8a5cff, #22e5a0) border-box; border: 2px solid transparent; }
.slab.locked .sc-art img { filter: grayscale(1) brightness(.18) blur(2px); }
.slab.locked { opacity: .55; }
.slab.locked .sc-head b::after { content: ''; }
.slab-back .slab-case { align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--tc) 35%, transparent), transparent 60%), repeating-linear-gradient(45deg, #0e0c15 0 10px, #13101c 10px 20px); }
.back-mark { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--tc); font-family: var(--serif); letter-spacing: .3em; font-size: 13px; }
.back-mark svg { width: 70px; height: 70px; filter: drop-shadow(0 0 16px var(--tc)); }

/* ---------- sections ---------- */
.block { margin-top: 120px; scroll-margin-top: 30px; }
.label { display: block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--violet); font-weight: 600; margin-bottom: 8px; }
.muted { color: var(--muted); font-size: 14px; }
.muted b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.sec-head { max-width: 640px; margin-bottom: 34px; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: .03em; margin: 0; line-height: 1.1; }
.sec-head p { color: #b3adc6; font-size: 17px; margin: 14px 0 0; }
.h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; backdrop-filter: blur(10px); }

/* stats bar */
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); backdrop-filter: blur(10px); margin-top: 30px; overflow: hidden; }
.statbar .kv { background: none; border: 0; border-radius: 0; padding: 20px 24px; }
.statbar .kv + .kv { border-left: 1px solid var(--line); }
.kv span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.kv b { font-family: var(--mono); font-weight: 500; font-size: 20px; }
.kv .solv { display: inline-flex; font-size: inherit; color: inherit; letter-spacing: 0; text-transform: none; margin: 0; }

/* your wallet */
.me { margin-top: 16px; }
.me-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.me-head code { font-size: 14px; color: #d9d4e8; word-break: break-all; }
.tier-chip { --c: #8d87a3; padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); }
.me-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.me-grid .kv { background: rgba(255, 255, 255, .025); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; }
.jp { margin-top: 16px; }
.jp-label { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22e5a0, #b6ffe6); box-shadow: 0 0 12px #22e5a0; transition: width .6s; }

/* how it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px 22px; overflow: hidden; }
.steps li::after { content: ''; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(168, 85, 247, .18), transparent); }
.steps .num { position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.steps .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 20px; color: #e0c7ff; background: rgba(168, 85, 247, .14); border: 1px solid rgba(168, 85, 247, .35); margin-bottom: 18px; }
.steps h3 { font-size: 17px; margin: 0 0 6px; }
.steps h3 b { color: #e0c7ff; font-weight: 700; }
.steps p { margin: 0; color: #a9a3bb; font-size: 14px; }
.table-wrap { margin-top: 14px; padding: 6px 8px; overflow-x: auto; }
.tiers-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.tiers-table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 16px; }
.tiers-table td { padding: 12px 16px; border-top: 1px solid var(--line-2); color: #cfc9de; vertical-align: middle; }
.t-name { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--c); white-space: nowrap; }
.t-name img { width: 30px; height: auto; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.oddsbar { display: flex; height: 6px; width: 150px; border-radius: 99px; overflow: hidden; gap: 2px; margin-bottom: 4px; }
.oddsbar i { display: block; height: 100%; }
.tiers-table small { color: var(--muted); font-size: 12px; }
.table-note { margin: 6px 16px 14px; color: var(--muted); font-size: 13px; }
.table-note b { color: var(--text); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.info h3 { font-size: 17px; margin: 0 0 8px; }
.info p { margin: 0 0 14px; color: #a9a3bb; font-size: 14px; }
.info p b { color: var(--text); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.flow span { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.flow i { font-style: normal; color: var(--violet); }
.formula { display: block; font-size: 13px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); color: #e0c7ff; overflow-x: auto; white-space: nowrap; }

/* collection + activity */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.roster .slab { --sw: 100%; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.feed, .epochs { list-style: none; margin: 0; padding: 0; max-height: 400px; overflow-y: auto; }
.feed li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--line-2); font-size: 14px; animation: slideIn .4s ease-out; }
.feed li:last-child, .epochs li:last-child { border-bottom: 0; }
.feed img, .feed .ph { width: 36px; height: 48px; border-radius: 4px; object-fit: cover; border: 1px solid var(--rc, #555); }
.feed .who { font-family: var(--mono); color: var(--muted); font-size: 12px; display: block; }
.feed .amt { font-family: var(--mono); font-size: 13px; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } }
.epochs li { padding: 10px 2px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.epochs .row { display: flex; justify-content: space-between; gap: 8px; }
.epochs .row + .row { color: var(--muted); }
.epochs code { color: #6f6985; font-size: 11px; word-break: break-all; }

/* footer */
.foot { margin-top: 120px; border-top: 1px solid var(--line-2); padding: 34px 0 50px; }
.foot-in { display: flex; gap: 28px; align-items: flex-start; }
.foot p { margin: 0; color: var(--muted); font-size: 12px; flex: 1; max-width: 720px; }
.brand.small .brand-mark { width: 28px; height: 28px; }
.brand.small .brand-text b { font-size: 22px; }
.mode { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--muted); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .top { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .stage { grid-template-columns: 0 44px 1fr 44px 0; padding: 0 8px; height: clamp(440px, 100vw, 520px); }
  .side { position: absolute; bottom: -34px; }
  .side.left { left: 24px; align-items: flex-start; }
  .side.right { right: 24px; align-items: flex-end; }
  .side small { font-size: 10px; } .side b { font-size: 13px; }
  .slide { width: min(290px, 60vw); }
  .dots-row { margin-top: 48px; }
  .two, .info-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .statbar, .me-grid { grid-template-columns: repeat(2, 1fr); }
  .statbar .kv:nth-child(3) { border-left: 0; }
  .statbar .kv:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-in { flex-direction: column; gap: 14px; }
}
@media (max-width: 640px) {
  .check { padding: 0 16px; }
  .check-bar { flex-wrap: wrap; height: auto; padding: 8px 8px 8px 16px; gap: 8px 10px; }
  .check-bar input { height: 48px; flex-basis: 0; }
  .check-btn { width: 100%; justify-content: center; height: 54px; font-size: 21px; }
  .wrap { padding: 0 16px; }
  .brand-text b { font-size: 24px; } .brand-mark { width: 36px; height: 36px; }
  .addr-pill b, .pill small { display: none; }
  .pill { padding: 0 12px; gap: 8px; }
  .x-pill { width: 44px; padding: 0; }
  .pill { height: 44px; }
  .nav a { padding: 8px 10px 12px; font-size: 11px; }
  .slide { width: min(270px, 68vw); }
  .opener { width: 48vw; }
  .arrow { width: 38px; height: 38px; font-size: 22px; }
  .roster { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .block { margin-top: 90px; }
  .statbar .kv { padding: 14px 16px; }
  .kv b { font-size: 16px; }
  .trust { letter-spacing: .15em; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
