:root {
  --ink: #0b0c0a;
  --ink-soft: #111310;
  --panel: #151713;
  --panel-2: #1a1c18;
  --paper: #f2efe6;
  --muted: #94988e;
  --line: rgba(242, 239, 230, 0.14);
  --line-strong: rgba(242, 239, 230, 0.24);
  --acid: #c8ff2e;
  --acid-soft: rgba(200, 255, 46, 0.12);
  --gold: #ffc21a;
  --orange: #ff724c;
  --purple: #9d86ff;
  --radius: 26px;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 11%, rgba(200, 255, 46, 0.09), transparent 25rem),
    radial-gradient(circle at 20% 35%, rgba(255, 114, 76, 0.045), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  left: var(--cursor-x, 70%);
  top: var(--cursor-y, 20%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(200, 255, 46, 0.055);
  filter: blur(80px);
  pointer-events: none;
}

.section-shell,
.site-header {
  width: min(1460px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(11, 12, 10, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(200, 255, 46, 0.22));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name,
.brand-dot {
  font-size: 19px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  color: #c5c8be;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--acid);
  transition: right 220ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button {
  min-height: 48px;
  gap: 12px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-acid {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 12px 40px rgba(200, 255, 46, 0.12);
}

.button-acid:hover {
  background: #d5ff64;
  box-shadow: 0 16px 50px rgba(200, 255, 46, 0.2);
}

.button-ghost {
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.button-ghost:hover {
  border-color: rgba(242, 239, 230, 0.55);
}

.icon-button {
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
}

.icon-button svg {
  width: 19px;
  fill: currentColor;
}

.icon-button .sound-wave {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.sound-toggle.muted .sound-wave {
  opacity: 0;
}

.wallet-status {
  display: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29c475;
}

.wallet-button.connected .wallet-status {
  display: inline-block;
}

.wallet-count {
  min-width: 20px;
  height: 20px;
  display: none;
  place-items: center;
  padding: 0 6px;
  color: var(--paper);
  border-radius: 99px;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
}

.wallet-button.has-rewards .wallet-count { display: grid; }

@keyframes walletAttn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,255,46,.55); }
  50% { box-shadow: 0 0 0 9px rgba(200,255,46,0); }
}

.wallet-button.attn {
  animation: walletAttn .6s ease-out 4;
  outline: 1px solid var(--acid);
  outline-offset: 2px;
}

.hero {
  min-height: 910px;
  padding-top: 172px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: 1fr auto;
  column-gap: 38px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-left: clamp(0px, 2vw, 30px);
}

.eyebrow,
.section-index,
.console-kicker,
.dialog-kicker {
  color: #b2b5ab;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 7px rgba(200, 255, 46, 0.08);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1,
.section-heading h2,
.live-drops h2,
.fairness h2,
.token-copy h2 {
  margin: 0;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(78px, 8.4vw, 142px);
  font-weight: 750;
}

.hero h1 span,
.section-heading em,
.live-drops em,
.fairness em,
.token-copy em {
  display: block;
  color: var(--acid);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.065em;
}

.hero-lede {
  max-width: 560px;
  margin: 35px 0 0;
  color: #adafa8;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.contract-pill {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding: 8px 12px 8px 14px;
  color: #b9bcb3;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.contract-pill:hover {
  border-color: var(--line-strong);
}

.contract-label {
  color: #666b61;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contract-pill code {
  font-family: var(--mono);
  font-size: 11px;
}

.contract-pill svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.hero-object {
  position: relative;
  z-index: 1;
  min-height: 610px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-object::before {
  content: "";
  position: absolute;
  z-index: -4;
  width: min(50vw, 740px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 255, 46, 0.13);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 60px, rgba(255, 255, 255, 0.035) 61px 62px);
}

.hero-halo {
  position: absolute;
  z-index: -3;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  filter: blur(105px);
  opacity: 0.14;
}

.orbit {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 20px var(--acid);
}

.orbit-one {
  width: 82%;
  aspect-ratio: 1;
  animation: spin 18s linear infinite;
}

.orbit-two {
  width: 60%;
  aspect-ratio: 1;
  border-style: dashed;
  opacity: 0.5;
  animation: spin 28s linear infinite reverse;
}

.hero-case {
  width: min(47vw, 700px);
  transform: translateY(12px) rotate(-2deg);
  filter: drop-shadow(0 42px 48px rgba(0,0,0,.55));
  animation: floatCase 5s ease-in-out infinite;
}

.hero-token {
  position: absolute;
  z-index: 4;
  right: 3%;
  bottom: 5%;
  width: clamp(120px, 13vw, 210px);
  border-radius: 50%;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.62));
  animation: floatToken 4.2s ease-in-out infinite;
}

.hero-object-label {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(16, 18, 14, 0.72);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.hero-object-label span {
  color: #74796e;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-object-label strong {
  font-size: 13px;
}

.label-top {
  top: 19%;
  left: -2%;
}

.label-bottom {
  bottom: 18%;
  left: 9%;
}

.float-chip {
  position: absolute;
  z-index: 2;
  padding: 7px 10px;
  color: var(--ink);
  border-radius: 99px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.chip-one {
  top: 17%;
  right: 9%;
  transform: rotate(9deg);
}

.chip-two {
  bottom: 10%;
  left: 30%;
  color: var(--ink);
  background: var(--acid);
  transform: rotate(-5deg);
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  margin-top: 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  display: grid;
  gap: 2px;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric-number {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.metric-label {
  color: #777b72;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-live {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--acid);
}

.metric-live i,
.live-indicator i,
.opening-meta strong i,
.proof-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 13px currentColor;
}

.ticker {
  width: calc(100% - 30px);
  overflow: hidden;
  margin-inline: auto;
  padding: 25px 0 21px;
  color: var(--ink);
  background: var(--acid);
  transform: rotate(-1.4deg);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  animation: marquee 22s linear infinite;
}

.ticker-track span {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.ticker-track i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}

.cases {
  padding-top: 190px;
  padding-bottom: 150px;
}

.section-heading,
.live-drops-head,
.fairness,
.token-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 130px);
}

.section-heading {
  align-items: end;
}

.section-heading h2,
.live-drops h2,
.fairness h2,
.token-copy h2 {
  margin-top: 22px;
  font-size: clamp(64px, 7vw, 112px);
}

.section-heading p,
.fairness-copy > p,
.token-copy > p {
  max-width: 480px;
  margin: 0 0 8px;
  color: #91958b;
  font-size: 17px;
  line-height: 1.75;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 70px;
}

.case-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.008));
  cursor: pointer;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.case-card:hover,
.case-card.active {
  transform: translateY(-7px);
  border-color: rgba(200, 255, 46, 0.5);
  background: linear-gradient(160deg, rgba(200, 255, 46, 0.08), rgba(255,255,255,.01));
}

.case-card-top,
.case-footer,
.case-info {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-number {
  color: #666b61;
  font-family: var(--mono);
  font-size: 11px;
}

.case-tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #a7aba0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-art {
  position: relative;
  min-height: 290px;
  display: grid;
  place-items: center;
  margin: 12px 0 4px;
}

.case-art img {
  position: relative;
  z-index: 1;
  width: 92%;
  filter: drop-shadow(0 26px 28px rgba(0,0,0,.48));
  transition: transform 350ms cubic-bezier(.2,.8,.2,1), filter 350ms ease;
}

.case-card:hover .case-art img {
  transform: translateY(-10px) rotate(-2deg) scale(1.025);
}

.case-art-prime img {
  filter: hue-rotate(276deg) saturate(.75) drop-shadow(0 26px 28px rgba(0,0,0,.48));
}

.case-art-genesis img {
  filter: grayscale(.5) sepia(.15) hue-rotate(325deg) saturate(2) drop-shadow(0 26px 28px rgba(0,0,0,.48));
}

.case-glow {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  filter: blur(60px);
  opacity: 0.12;
}

.case-art-prime .case-glow {
  background: var(--purple);
}

.case-art-genesis .case-glow {
  background: var(--orange);
}

.case-info {
  align-items: flex-end;
  padding: 20px 2px 17px;
}

.case-info h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.case-info p {
  margin: 3px 0 0;
  color: #747970;
  font-size: 12px;
}

.case-price {
  display: grid;
  text-align: right;
}

.case-price strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.case-price span {
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
}

.case-footer {
  padding: 14px 2px 2px;
  border-top: 1px solid var(--line);
  color: #767a72;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.select-case {
  padding: 0;
  color: var(--paper);
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.select-case::after {
  content: " ↗";
  color: var(--acid);
}

.opening-console {
  margin-top: 92px;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 40%, rgba(200, 255, 46, 0.065), transparent 33%),
    #10120f;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.32);
}

.console-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.console-head h3 {
  margin: 7px 0 0;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.055em;
}

.console-balance {
  display: grid;
  gap: 3px;
  text-align: right;
}

.console-balance span {
  color: #6f746b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-balance strong {
  font-size: 17px;
}

.case-switcher {
  width: fit-content;
  display: flex;
  gap: 10px;
  margin-top: 32px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.case-tab {
  display: flex;
  gap: 8px;
  padding: 10px 13px;
  color: #858a80;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.case-tab span {
  color: #5f635c;
}

.case-tab.active {
  color: var(--ink);
  background: var(--paper);
}

.case-tab.active span {
  color: #656a61;
}

.reel-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.reel-topline > div:first-child {
  display: grid;
  gap: 3px;
}

.reel-topline > div:first-child span,
.spin-status,
.item-rarity {
  color: #666c61;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reel-topline > div:first-child strong {
  color: #c7cbc0;
  font-size: 13px;
}

.rarity-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.rarity-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #777c72;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.rarity-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8beb1;
  box-shadow: 0 0 8px currentColor;
}

.rarity-rare i { background: #55a7ff; }
.rarity-epic i { background: #b57aff; }
.rarity-legendary i { background: var(--acid); }

.reel-stage {
  --win-color: var(--acid);
  --spin-energy: 0;
  position: relative;
  height: 286px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(200,255,46,.045), transparent 35%),
    linear-gradient(180deg, #10130f 0%, #080a07 48%, #0d100c 100%);
  box-shadow: inset 0 0 90px rgba(0,0,0,.72), 0 24px 50px rgba(0,0,0,.2);
  isolation: isolate;
}

.reel-stage::before,
.reel-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  height: 1px;
  opacity: .65;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(242,239,230,.22) 20%, rgba(242,239,230,.22) 80%, transparent);
}

.reel-stage::before { top: 22px; }
.reel-stage::after { bottom: 22px; }

.reel-stage[data-win-rarity="rare"] { --win-color: #55a7ff; }
.reel-stage[data-win-rarity="epic"] { --win-color: #b57aff; }
.reel-stage[data-win-rarity="legendary"] { --win-color: var(--acid); }

.reel-atmosphere,
.reel-focus {
  position: absolute;
  pointer-events: none;
}

.reel-atmosphere {
  z-index: 0;
  inset: -55% -10%;
  overflow: hidden;
  opacity: calc(.08 + var(--spin-energy) * .62);
  transition: opacity .35s ease;
}

.reel-atmosphere::before {
  content: "";
  position: absolute;
  inset: 27% 28%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--win-color) 26%, transparent), transparent 64%);
  filter: blur(20px);
  transform: scale(calc(.8 + var(--spin-energy) * .55));
}

.reel-atmosphere i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 20%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(200,255,46,.16), transparent);
  filter: blur(18px);
  transform-origin: 0 50%;
}

.reel-atmosphere i:nth-child(1) { transform: rotate(18deg) translateX(-8%); }
.reel-atmosphere i:nth-child(2) { transform: rotate(146deg) translateX(-8%); }
.reel-atmosphere i:nth-child(3) { transform: rotate(272deg) translateX(-8%); }

.is-charging .reel-atmosphere i,
.is-rolling .reel-atmosphere i {
  opacity: .85;
  animation: energyOrbit 1.8s linear infinite;
}

.is-charging .reel-atmosphere i:nth-child(2),
.is-rolling .reel-atmosphere i:nth-child(2) { animation-delay: -.6s; }
.is-charging .reel-atmosphere i:nth-child(3),
.is-rolling .reel-atmosphere i:nth-child(3) { animation-delay: -1.2s; }

.reel-focus {
  z-index: 1;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 218px;
  opacity: .32;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(200,255,46,.09), transparent 68%);
  box-shadow: inset 1px 0 rgba(200,255,46,.035), inset -1px 0 rgba(200,255,46,.035);
  transition: opacity .3s ease, filter .3s ease;
}

.is-charging .reel-focus {
  opacity: .7;
  animation: focusCharge .52s ease-in-out infinite alternate;
}

.is-braking .reel-focus,
.impact .reel-focus {
  opacity: 1;
  filter: drop-shadow(0 0 20px color-mix(in srgb, var(--win-color) 48%, transparent));
}

.spin-status {
  position: absolute;
  z-index: 8;
  top: 12px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 99px;
  color: #9ba095;
  background: rgba(7,8,6,.72);
  backdrop-filter: blur(8px);
}

.spin-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}

.is-charging .spin-status i,
.is-rolling .spin-status i { animation: statusBlink .4s steps(2) infinite; }
.is-braking .spin-status i { background: #ffc21a; box-shadow: 0 0 8px #ffc21a; }
.impact .spin-status i { background: var(--paper); box-shadow: 0 0 12px var(--paper); }

.reel-track {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  transform: translate3d(0,0,0);
  will-change: transform;
}

.is-charging .reel-item {
  opacity: .42;
  filter: brightness(.58) saturate(.45);
  transform: scale(.93);
}

.reel-item {
  position: relative;
  flex: 0 0 168px;
  height: 210px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  place-items: center;
  padding: 13px 14px 15px;
  overflow: hidden;
  border: 1px solid rgba(184,190,177,.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 30%, rgba(184,190,177,.15), transparent 47%),
    linear-gradient(155deg, rgba(255,255,255,.075), rgba(255,255,255,.015));
  box-shadow: 0 16px 38px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.07);
  transition: filter .3s ease, opacity .3s ease, transform .3s ease, box-shadow .3s ease;
}

.reel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #b8beb1;
  box-shadow: 0 0 12px #b8beb1;
}

.item-rarity {
  justify-self: stretch;
  color: #7b8077;
  text-align: left;
}

.token-icon-shell {
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #0a0b09;
  box-shadow: 0 16px 30px rgba(0,0,0,.38), 0 0 30px rgba(255,255,255,.035);
}

.token-icon-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reward-symbol {
  margin-top: 6px;
  color: #8b9085;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
}

.reward-amount {
  max-width: 100%;
  overflow: hidden;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reel-item[data-rarity="rare"] {
  border-color: rgba(85,167,255,.5);
  background: radial-gradient(circle at 50% 30%, rgba(85,167,255,.2), transparent 48%), linear-gradient(155deg, rgba(85,167,255,.1), rgba(255,255,255,.012));
}
.reel-item[data-rarity="rare"]::before { background: #55a7ff; box-shadow: 0 0 14px #55a7ff; }

.reel-item[data-rarity="epic"] {
  border-color: rgba(181,122,255,.56);
  background: radial-gradient(circle at 50% 30%, rgba(181,122,255,.24), transparent 48%), linear-gradient(155deg, rgba(181,122,255,.11), rgba(255,255,255,.012));
}
.reel-item[data-rarity="epic"]::before { background: #b57aff; box-shadow: 0 0 16px #b57aff; }

.reel-item[data-rarity="legendary"] {
  border-color: rgba(200,255,46,.68);
  background: radial-gradient(circle at 50% 30%, rgba(200,255,46,.27), transparent 48%), linear-gradient(155deg, rgba(200,255,46,.12), rgba(255,255,255,.012));
  box-shadow: 0 16px 42px rgba(0,0,0,.3), inset 0 0 45px rgba(200,255,46,.06);
}
.reel-item[data-rarity="legendary"]::before { background: var(--acid); box-shadow: 0 0 18px var(--acid); }

.is-rolling:not(.is-braking) .reel-item {
  filter: blur(calc(var(--spin-energy) * .7px)) saturate(calc(1 - var(--spin-energy) * .14));
  opacity: calc(.9 - var(--spin-energy) * .25);
  transform: scale(calc(1 - var(--spin-energy) * .035));
}

.reel-item.landed {
  z-index: 4;
  filter: none;
  opacity: 1;
  transform: scale(1.09);
  animation: winnerLock .7s cubic-bezier(.15,.85,.2,1) both;
  box-shadow: 0 0 0 2px var(--win-color), 0 0 64px color-mix(in srgb, var(--win-color) 48%, transparent), inset 0 0 45px color-mix(in srgb, var(--win-color) 13%, transparent);
}

.impact .reel-item:not(.landed) {
  opacity: .13;
  filter: grayscale(.85) brightness(.55) blur(.6px);
  transform: scale(.91);
}

.reel-marker {
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(transparent, var(--acid) 15%, var(--acid) 85%, transparent);
  box-shadow: 0 0 20px rgba(200,255,46,.45);
}

.reel-marker span {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid var(--acid);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 22px rgba(200,255,46,.45), inset 0 0 10px rgba(200,255,46,.25);
}

.reel-marker::before,
.reel-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}

.reel-marker::before {
  top: 0;
  border-top: 9px solid var(--acid);
}

.reel-marker::after {
  bottom: 0;
  border-bottom: 9px solid var(--acid);
}

.reel-shade {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 16%;
  pointer-events: none;
}

.reel-shade-left {
  left: 0;
  background: linear-gradient(90deg, #10120f, transparent);
}

.reel-shade-right {
  right: 0;
  background: linear-gradient(-90deg, #10120f, transparent);
}

.reel-impact-ring {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 1px solid var(--win-color);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.3);
}

.spin-progress {
  position: absolute;
  z-index: 8;
  right: 22px;
  bottom: 12px;
  left: 22px;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
}

.spin-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--acid), #fff7bf);
  box-shadow: 0 0 12px var(--acid);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.is-charging .spin-progress i { animation: chargeBar .52s ease-out both; }
.is-rolling .spin-progress i { transform: scaleX(var(--spin-progress, 0)); }
.impact .spin-progress i { transform: scaleX(1); background: var(--win-color); box-shadow: 0 0 16px var(--win-color); }

.impact .reel-impact-ring { animation: impactRing .65s ease-out both; }
.impact { animation: stageImpact .35s ease-out; }

.win-particle {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 12px;
  border-radius: 2px;
  background: var(--particle);
  box-shadow: 0 0 10px var(--particle);
  pointer-events: none;
  animation: particleBurst .8s var(--delay) cubic-bezier(.12,.72,.24,1) both;
}

.odds-panel {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.odds-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 0;
  border: 0;
  background: transparent;
  color: #94998e;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.odds-toggle strong { color: var(--acid); font-size: 19px; font-weight: 400; }

.odds-grid {
  max-height: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s ease, opacity .3s ease, padding .45s ease;
}

.odds-panel.open .odds-grid {
  max-height: 180px;
  padding-top: 16px;
  opacity: 1;
}

.odd-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.odd-item::after {
  content: "";
  position: absolute;
  inset: auto 8px 0;
  height: 1px;
  background: #b8beb1;
}

.odd-item[data-rarity="rare"]::after { background: #55a7ff; }
.odd-item[data-rarity="epic"]::after { background: #b57aff; }
.odd-item[data-rarity="legendary"]::after { background: var(--acid); }
.odd-item img { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; }
.odd-item div { min-width: 0; display: grid; }
.odd-item strong { font-family: var(--mono); font-size: 10px; }
.odd-item span { overflow: hidden; color: #666c61; font-family: var(--mono); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.odd-item b { color: var(--paper); font-family: var(--mono); font-size: 10px; }

.console-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 28px;
}

.opening-meta {
  display: flex;
  gap: 45px;
}

.opening-meta > div {
  display: grid;
  gap: 3px;
}

.opening-meta span {
  color: #656a61;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.opening-meta strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.opening-meta strong i {
  color: #29c475;
}

.open-case-button {
  min-width: 245px;
  justify-content: space-between;
}

.open-case-button strong {
  padding-left: 17px;
  border-left: 1px solid rgba(11,12,10,.2);
  font-family: var(--mono);
  font-size: 10px;
}

.open-case-button:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}

.live-drops {
  padding: 130px 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.live-drops .section-index {
  color: #62665e;
}

.live-drops h2 em {
  color: var(--ink);
}

.live-drops-head {
  align-items: end;
}

.live-indicator {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #4f554a;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.live-indicator i {
  color: #27aa66;
}

.drop-stream {
  width: max-content;
  display: flex;
  gap: 12px;
  margin-top: 70px;
  padding-left: 24px;
  animation: stream 34s linear infinite;
}

.drop-card {
  width: 270px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(11,12,10,.15);
  border-radius: 16px;
  background: #ebe8df;
}

.drop-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
  background: #10110f;
}

.drop-card-copy {
  display: grid;
}

.drop-card-copy strong {
  font-size: 15px;
  letter-spacing: -.025em;
}

.drop-card-copy span {
  color: #75796f;
  font-family: var(--mono);
  font-size: 9px;
}

.fairness {
  padding-top: 170px;
  padding-bottom: 170px;
  align-items: center;
}

.fairness-copy > p {
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 0 0 5px;
  color: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.text-link span {
  color: var(--acid);
}

.proof-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(145deg, #171915, #0d0f0c);
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
}

.proof-topline {
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
  color: #6f736b;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}

.proof-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--acid);
}

.proof-hash {
  padding: 38px 22px 32px;
  font-family: var(--mono);
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 900;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.proof-hash span {
  color: var(--acid);
}

.proof-steps {
  border-top: 1px solid var(--line);
}

.proof-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.proof-step:last-child {
  border-bottom: 0;
}

.proof-step > span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.proof-step strong {
  font-size: 14px;
}

.proof-step p {
  margin: 2px 0 0;
  color: #71766c;
  font-size: 12px;
}

.token-section {
  padding: 145px 0;
  color: var(--ink);
  background: var(--acid);
}

.token-grid {
  align-items: center;
}

.token-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.token-disc {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(11,12,10,.25);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(11,12,10,.1) 0 1deg, transparent 1deg 15deg),
    radial-gradient(circle, transparent 55%, rgba(11,12,10,.06) 55.5% 56%, transparent 56.5%);
  animation: spin 40s linear infinite;
}

.token-visual img {
  position: relative;
  z-index: 2;
  width: 77%;
  border-radius: 50%;
  filter: drop-shadow(0 42px 50px rgba(25,28,20,.35));
  transform: rotate(-7deg);
}

.token-caption {
  position: absolute;
  inset: auto 6% 0;
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(11,12,10,.3);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.token-copy .section-index {
  color: rgba(11,12,10,.55);
}

.token-copy h2 em {
  color: var(--ink);
}

.token-copy > p {
  color: rgba(11,12,10,.66);
  margin-top: 34px;
}

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid rgba(11,12,10,.25);
  border-bottom: 1px solid rgba(11,12,10,.25);
}

.allocation-grid > div {
  padding: 20px 14px 18px 0;
  border-right: 1px solid rgba(11,12,10,.25);
}

.allocation-grid > div:not(:first-child) {
  padding-left: 18px;
}

.allocation-grid > div:last-child {
  border-right: 0;
}

.allocation-grid strong {
  font-size: 42px;
  letter-spacing: -.07em;
}

.allocation-grid > div > span {
  font-weight: 900;
}

.allocation-grid p {
  margin: 0;
  color: rgba(11,12,10,.6);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.token-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.token-section .button-light {
  color: var(--paper);
  background: var(--ink);
}

.token-section .button-ghost {
  color: var(--ink);
  border-color: rgba(11,12,10,.3);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: start;
  padding-top: 70px;
  padding-bottom: 30px;
}

.footer-brand {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-brand strong {
  font-size: 19px;
}

.footer-brand p {
  margin: 0;
  color: #666a62;
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-links a,
.footer-links button {
  padding: 0;
  color: #90958a;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 45px 0 0;
  padding-top: 20px;
  color: #53574f;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.result-dialog {
  width: min(480px, calc(100% - 32px));
  overflow: visible;
  padding: 32px;
  color: var(--paper);
  border: 1px solid rgba(200,255,46,.45);
  border-radius: 30px;
  background: #11130f;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), inset 0 0 90px rgba(200,255,46,.035);
  text-align: center;
}

.result-dialog::backdrop {
  background: rgba(4,5,3,.78);
  backdrop-filter: blur(10px);
}

.result-dialog[open] {
  animation: dialogIn 340ms cubic-bezier(.2,.8,.2,1);
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  color: #858a80;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.result-token-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin: 12px auto -10px;
  width: 240px;
  height: 240px;
}

.result-token-wrap img {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
  background: #0a0b09;
  filter: drop-shadow(0 25px 34px rgba(0,0,0,.5));
  animation: resultCoin 3s ease-in-out infinite;
}

.result-rays {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(200,255,46,.15) 0 2deg, transparent 2deg 16deg);
  mask-image: radial-gradient(circle, black, transparent 70%);
  animation: spin 20s linear infinite;
}

.result-dialog h2 {
  margin: 0;
  color: var(--acid);
  font-size: clamp(38px, 7vw, 62px);
  letter-spacing: -.07em;
  line-height: 1;
}

.result-dialog > p {
  margin: 8px 0 22px;
  color: #858a80;
  font-size: 13px;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.result-meta span {
  color: #6b7067;
  text-transform: uppercase;
}

.result-meta strong {
  color: var(--acid);
}

.result-actions {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 9px;
  margin-top: 20px;
}

.result-actions .button { width: 100%; padding-inline: 14px; }

.claim-receipt {
  display: none;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 12px;
  color: #a8ada1;
  border: 1px solid rgba(41,196,117,.28);
  border-radius: 12px;
  background: rgba(41,196,117,.06);
  text-align: left;
  font-size: 10px;
}

.claim-receipt.show { display: grid; animation: receiptIn .35s ease both; }
.claim-receipt i { display: grid; place-items: center; width: 24px; height: 24px; color: var(--ink); border-radius: 50%; background: #29c475; font-style: normal; font-weight: 900; }
.claim-receipt code { color: #697067; font-size: 8px; }

.wallet-dialog {
  width: min(470px, calc(100% - 30px));
  padding: 32px;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(200,255,46,.11), transparent 34%),
    #11130f;
  box-shadow: 0 40px 120px rgba(0,0,0,.72);
}

.wallet-dialog::backdrop { background: rgba(4,5,3,.8); backdrop-filter: blur(10px); }
.wallet-dialog[open] { animation: dialogIn .32s cubic-bezier(.2,.8,.2,1); }
.wallet-dialog h2 { margin: 14px 0 0; font-size: clamp(40px, 8vw, 58px); letter-spacing: -.065em; line-height: .9; }
.wallet-dialog h2 em { color: var(--acid); font-family: var(--serif); font-weight: 400; }
.wallet-dialog > p { margin: 22px 0 20px; color: #7c8177; font-size: 12px; }

.wallet-options { display: grid; gap: 8px; }

.wallet-option {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 11px;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.wallet-option:hover { border-color: rgba(200,255,46,.45); background: rgba(200,255,46,.04); transform: translateX(3px); }
.wallet-option > span:nth-child(2) { display: grid; }
.wallet-option strong { font-size: 13px; }
.wallet-option small { color: #676c63; font-size: 9px; }
.wallet-option b { color: #62675e; }

.wallet-option-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 900;
}

.phantom-icon { color: #fff; background: #6c5ce7; }
.solflare-icon { color: #12150e; background: #f0ef74; }
.backpack-icon { color: #fff; background: #e95c3d; }

.demo-connect {
  width: 100%;
  margin-top: 13px;
  padding: 13px;
  color: var(--acid);
  border: 1px dashed rgba(200,255,46,.28);
  border-radius: 13px;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.wallet-dialog-note { display: block; margin-top: 12px; color: #545951; font-size: 8px; line-height: 1.5; }
.production .demo-connect,
.production .wallet-dialog-note { display: none; }

.wallet-shell {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}

.wallet-shell.open { pointer-events: auto; visibility: visible; }

.wallet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4,5,3,.62);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity .35s ease;
}

.wallet-shell.open .wallet-backdrop { opacity: 1; }

.wallet-drawer {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(440px, calc(100% - 24px));
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(circle at 70% 0%, rgba(200,255,46,.08), transparent 32%),
    #10120f;
  box-shadow: -30px 0 100px rgba(0,0,0,.5);
  transform: translateX(calc(100% + 30px));
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}

.wallet-shell.open .wallet-drawer { transform: translateX(0); }

.drawer-head,
.drawer-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.drawer-head > div,
.drawer-section-head > div { display: grid; }
.drawer-head span,
.drawer-section-head span,
.drawer-balance > span { color: #5e645a; font-family: var(--mono); font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.drawer-head strong { margin-top: 2px; font-size: 20px; }
.drawer-section-head strong { color: #868c81; font-size: 10px; }

.drawer-close {
  width: 36px;
  height: 36px;
  color: #777c72;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.drawer-address {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 11px;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  text-align: left;
  cursor: pointer;
}

.wallet-identicon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); border-radius: 12px; background: var(--acid); font-weight: 900; }
.drawer-address > span:nth-child(2) { display: grid; }
.drawer-address strong { font-family: var(--mono); font-size: 11px; }
.drawer-address small { color: #666c61; font-size: 8px; }
.drawer-address b { color: #666c61; }

.drawer-balance {
  position: relative;
  display: grid;
  margin: 10px 0 26px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(200,255,46,.25);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(200,255,46,.09), rgba(200,255,46,.015));
}

.drawer-balance::after { content: "D"; position: absolute; right: -9px; bottom: -38px; color: rgba(200,255,46,.06); font-size: 130px; font-weight: 900; line-height: 1; }
.drawer-balance strong { position: relative; z-index: 1; margin-top: 4px; font-size: 40px; letter-spacing: -.06em; }
.drawer-balance strong small { color: var(--acid); font-family: var(--mono); font-size: 12px; }
.drawer-balance > i { width: fit-content; margin-top: 7px; padding: 4px 7px; color: #83c676; border-radius: 99px; background: rgba(41,196,117,.08); font-family: var(--mono); font-size: 7px; font-style: normal; }

.claim-all {
  padding: 8px 11px;
  color: var(--ink);
  border: 0;
  border-radius: 9px;
  background: var(--acid);
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.claim-all:disabled { color: #5d6259; background: #242720; cursor: default; }

.inventory-list,
.wallet-activity { display: grid; gap: 7px; margin-top: 12px; }

.inventory-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.022);
}

.inventory-item::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 0; width: 2px; background: var(--item-color); box-shadow: 0 0 10px var(--item-color); }
.inventory-item img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: #090a08; }
.inventory-item > div { min-width: 0; display: grid; }
.inventory-item strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.inventory-item span { color: #676d63; font-family: var(--mono); font-size: 8px; }
.inventory-item button { padding: 8px 10px; color: var(--acid); border: 1px solid rgba(200,255,46,.25); border-radius: 9px; background: transparent; font-size: 8px; font-weight: 900; cursor: pointer; }
.inventory-item button:disabled { opacity: .45; cursor: wait; }

.inventory-empty { padding: 24px 15px; color: #666c61; border: 1px dashed var(--line); border-radius: 13px; text-align: center; font-size: 10px; }
.inventory-empty strong { display: block; margin-bottom: 3px; color: #a2a79e; font-size: 12px; }

.activity-heading { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.activity-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 7px 2px; }
.activity-item i { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; background: #d8d8ce; font-style: normal; font-size: 11px; font-weight: 900; }
.activity-item.claim i { background: var(--acid); }
.activity-item > span { display: grid; }
.activity-item strong { font-size: 10px; }
.activity-item small { color: #5f655b; font-size: 8px; }
.activity-item time { color: #5f655b; font-family: var(--mono); font-size: 7px; }

.disconnect-wallet { width: 100%; margin-top: auto; padding: 14px; color: #757b70; border: 1px solid var(--line); border-radius: 12px; background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; }
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 15px 55px rgba(0,0,0,.45);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--acid);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: revealUp 850ms cubic-bezier(.2,.8,.2,1) forwards;
}

.reveal-delay-1 { animation-delay: 160ms; }
.reveal-delay-2 { animation-delay: 280ms; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 750ms ease, transform 750ms cubic-bezier(.2,.8,.2,1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 11px rgba(200,255,46,.025), 0 0 20px rgba(200,255,46,.3); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes floatCase {
  0%, 100% { transform: translateY(12px) rotate(-2deg); }
  50% { transform: translateY(-2px) rotate(0deg); }
}

@keyframes floatToken {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-13px) rotate(-1deg); }
}

@keyframes marquee { to { transform: translateX(-33.333%); } }
@keyframes stream { to { transform: translateX(-50%); } }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes resultCoin {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes statusBlink { 50% { opacity: .25; } }

@keyframes energyOrbit {
  0% { transform: rotate(0deg) translateX(-8%) scaleX(.72); }
  50% { opacity: .3; }
  100% { transform: rotate(360deg) translateX(-8%) scaleX(1.08); }
}

@keyframes focusCharge {
  from { transform: translateX(-50%) scaleX(.78); filter: brightness(.75); }
  to { transform: translateX(-50%) scaleX(1.08); filter: brightness(1.25); }
}

@keyframes chargeBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(.08); }
}

@keyframes winnerLock {
  0% { transform: scale(.92); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1.09); }
}

@keyframes impactRing {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(.25); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(5.2); }
}

@keyframes stageImpact {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  45% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}

@keyframes particleBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0) scale(.4); }
  16% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--distance) * -1)) scale(1); }
}

@keyframes receiptIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 820px; }
  .hero-object { min-height: 500px; }
  .hero h1 { font-size: clamp(68px, 9vw, 96px); }
  .case-art { min-height: 220px; }
  .case-info { align-items: flex-start; flex-direction: column; gap: 12px; }
  .case-price { text-align: left; }
  .section-heading, .live-drops-head, .fairness, .token-grid { gap: 55px; }
}

@media (max-width: 780px) {
  .cursor-glow { display: none; }
  .section-shell, .site-header { width: min(100% - 28px, 680px); }
  .site-header { top: 10px; height: 62px; padding: 8px 9px 8px 14px; }
  .brand-mark { width: 34px; height: 34px; }
  .sound-toggle { display: none; }
  .wallet-button { min-height: 44px; padding: 0 15px; }
  .wallet-count { min-width: 18px; height: 18px; }
  .hero { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 135px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(66px, 20vw, 104px); }
  .hero-lede { margin-top: 25px; }
  .hero-object { min-height: 430px; margin-top: 35px; overflow: clip; }
  .hero-case { width: min(100%, 570px); }
  .hero-object-label { padding: 10px 12px; }
  .label-top { left: 0; top: 14%; }
  .label-bottom { left: 2%; bottom: 14%; }
  .hero-token { right: -2%; bottom: 0; width: 130px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .metric { padding: 18px 8px; }
  .metric:nth-child(2) { border-right: 0; }
  .metric-wide { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .ticker { margin-top: 80px; transform: none; }
  .cases { padding-top: 130px; padding-bottom: 110px; }
  .section-heading, .live-drops-head, .fairness, .token-grid { grid-template-columns: 1fr; gap: 38px; }
  .section-heading h2, .live-drops h2, .fairness h2, .token-copy h2 { font-size: clamp(62px, 17vw, 96px); }
  .section-heading p { margin-top: 0; }
  .case-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .case-art { min-height: 270px; }
  .case-art img { width: min(92%, 430px); }
  .case-info { flex-direction: row; align-items: flex-end; }
  .case-price { text-align: right; }
  .opening-console { margin-top: 60px; padding: 18px; border-radius: 22px; }
  .console-head { align-items: flex-end; }
  .console-head h3 { font-size: 28px; }
  .case-switcher { width: 100%; }
  .case-tab { flex: 1; justify-content: center; padding-inline: 6px; }
  .reel-topline { align-items: flex-start; flex-direction: column; gap: 12px; }
  .rarity-legend { justify-content: flex-start; }
  .reel-stage { height: 226px; border-radius: 17px; }
  .reel-item { flex-basis: 128px; height: 174px; padding: 10px 10px 12px; border-radius: 15px; }
  .token-icon-shell { width: 74px; height: 74px; }
  .reel-item img { width: 100%; }
  .reward-amount { font-size: 10px; }
  .spin-status { top: 8px; right: 8px; }
  .console-actions { flex-direction: column; align-items: stretch; }
  .opening-meta { justify-content: space-between; gap: 15px; }
  .open-case-button { width: 100%; }
  .odds-grid { grid-template-columns: 1fr 1fr; }
  .odds-panel.open .odds-grid { max-height: 360px; }
  .live-drops { padding: 100px 0; }
  .live-indicator { justify-self: start; }
  .fairness { padding-top: 115px; padding-bottom: 115px; }
  .proof-hash { font-size: clamp(22px, 7vw, 34px); overflow: hidden; }
  .token-section { padding: 100px 0; }
  .token-visual { min-height: 410px; order: 2; }
  .token-copy { order: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; justify-content: flex-start; gap: 18px 24px; }
  .wallet-drawer { top: 8px; right: 8px; bottom: 8px; width: calc(100% - 16px); padding: 20px; border-radius: 22px; }
}

@media (max-width: 420px) {
  .brand-name, .brand-dot { display: none; }
  .hero h1 { font-size: 64px; }
  .hero-actions .button { width: 100%; }
  .contract-pill { width: 100%; grid-template-columns: 1fr auto; }
  .contract-label { display: none; }
  .hero-object { min-height: 360px; }
  .hero-object-label { transform: scale(.86); }
  .label-top { left: 0; }
  .label-bottom { left: 0; }
  .float-chip { display: none; }
  .case-art { min-height: 220px; }
  .console-balance strong { font-size: 14px; }
  .case-tab span { display: none; }
  .allocation-grid strong { font-size: 34px; }
  .result-dialog { padding: 28px 20px 22px; }
  .result-actions { grid-template-columns: 1fr; }
  .wallet-dialog { padding: 28px 20px 22px; }
  .drawer-balance strong { font-size: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
