:root {
  --bg: #07080c;
  --bg-raise: #101218;
  --ink: #f6f1e8;
  --muted: #a39c92;
  --faint: #6f6a62;
  --line: rgba(246, 241, 232, .1);
  --sol: #b388ff;
  --sol-deep: #9945ff;
  --mint: #3ee0a2;
  --usdt: #1f9d74;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 40px 90px rgba(0, 0, 0, .45);
  --header: 76px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
html.modal-open, body.modal-open { overflow: hidden; }
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(153, 69, 255, .16), transparent 42%),
    var(--bg);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: "Bricolage Grotesque", Outfit, sans-serif; font-weight: 700; }
::selection { background: rgba(153, 69, 255, .45); color: white; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.ambient-orb-a {
  width: min(52vw, 680px);
  height: min(52vw, 680px);
  left: -8vw;
  top: -12vw;
  background: radial-gradient(circle, rgba(153, 69, 255, .45), transparent 68%);
  animation: drift 22s ease-in-out infinite alternate;
}
.ambient-orb-b {
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  right: -10vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(38, 161, 123, .32), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
.ambient-orb-c {
  width: min(36vw, 420px);
  height: min(36vw, 420px);
  left: 30vw;
  bottom: -12vh;
  background: radial-gradient(circle, rgba(20, 241, 149, .12), transparent 70%);
}
.grain {
  position: absolute;
  inset: -20%;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, 5%, 0) scale(1.08); }
}

.topbar, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(18px, 4vw, 64px);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(7, 8, 12, .72);
  border-bottom: 1px solid rgba(246, 241, 232, .06);
  backdrop-filter: blur(18px) saturate(1.3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 3px;
  padding: 0 5px;
  background:
    linear-gradient(#101218, #101218) padding-box,
    linear-gradient(145deg, #7dffd0, #9945ff) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 8px 18px rgba(153, 69, 255, .28);
}
.brand-mark i {
  width: 3.5px;
  height: 15px;
  border-radius: 99px;
  transform: rotate(24deg);
}
.brand-mark i:first-child { background: linear-gradient(180deg, #eafff7, #14f195); }
.brand-mark i:last-child { background: linear-gradient(180deg, #efe6ff, #9945ff); }
.brand-name {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}
.brand-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}
.wallet-btn, .bottom-cta, .claim-btn, .spin-btn {
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.wallet-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.wallet-btn svg, .claim-btn svg, .bottom-cta span { flex: none; }
.wallet-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wallet-btn:hover, .bottom-cta:hover, .claim-btn:hover, .spin-btn:hover { transform: translateY(-2px); }
.wallet-btn:hover { background: var(--ink); color: #12110e; }

.stage {
  min-height: calc(100svh - var(--header));
  padding: 20px clamp(18px, 4vw, 72px) 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero-copy { text-align: center; max-width: 920px; margin: 0 auto 28px; }
.eyebrow, .section-label, .machine-kicker, .modal-eyebrow, .asset-tag b, .drum-unit, .result-toast small, .modal-foot, .feature-no {
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 241, 232, .03);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.eyebrow img { width: 16px; height: 16px; object-fit: contain; }
.eyebrow i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.hero-copy h1, .details h2, .cta-section h2 {
  margin: 18px 0 0;
  font-size: clamp(52px, 5.5vw, 84px);
  line-height: .92;
  letter-spacing: -.05em;
}
.hero-copy h1 span, .details h2 span, .cta-section h2 span, .reward-modal h2 span {
  background: linear-gradient(100deg, #d7c4ff 10%, #8dffe0 55%, #f6f1e8 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy h1 span { display: block; white-space: nowrap; }
.hero-sub, .details-intro > p, .reward-modal > p {
  color: var(--muted);
}
.hero-sub {
  max-width: 460px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.6;
}

.reveal { animation: reveal .9s var(--ease) both; }
.reveal-delay-1 { animation-delay: .08s; }
.reveal-delay-2 { animation-delay: .16s; }
.reveal-delay-3 { animation-delay: .24s; }
.reveal-delay-4 { animation-delay: .34s; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.machine-wrap { position: relative; width: min(1080px, 100%); margin: 0 auto; }
.machine-glow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -28px;
  height: 90px;
  background: radial-gradient(ellipse, rgba(153, 69, 255, .28), rgba(38, 161, 123, .12) 45%, transparent 72%);
  filter: blur(18px);
  opacity: .7;
  pointer-events: none;
}
.machine-shadow {
  position: absolute;
  z-index: -1;
  left: 10%;
  right: 10%;
  bottom: -18px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .7);
  filter: blur(16px);
}
.machine {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(246, 241, 232, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 22%),
    linear-gradient(180deg, #161821, #0c0d12 40%, #090a0e);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .14);
  user-select: none;
}
.machine-edge {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), var(--mint), var(--sol-deep), transparent);
}
.win-sheen {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .18), transparent 65%);
  transform: translateX(-130%);
}
.machine.won .win-sheen { animation: sheen .9s var(--ease); }
@keyframes sheen { to { transform: translateX(130%); } }

.machine-head {
  height: 54px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(246, 241, 232, .06);
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
}
.machine-status { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.status-light {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(62, 224, 162, .8);
}
.machine.spinning .status-light {
  background: var(--sol);
  box-shadow: 0 0 14px rgba(179, 136, 255, .9);
  animation: pulse .7s ease-in-out infinite alternate;
}
.machine.won .status-light { background: white; box-shadow: 0 0 14px rgba(255, 255, 255, .7); }
@keyframes pulse { to { opacity: .35; } }

.reels-shell {
  --mx: 50%;
  --my: 42%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}
.reel-module {
  min-width: 0;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sol-module {
  background: radial-gradient(ellipse at 50% 0%, rgba(153, 69, 255, .16), transparent 58%);
  border-right: 1px solid rgba(246, 241, 232, .06);
}
.usdt-module { background: radial-gradient(ellipse at 50% 0%, rgba(38, 161, 123, .16), transparent 58%); }
.asset-tag { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.asset-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(179, 136, 255, .45);
  background: radial-gradient(circle at 30% 30%, rgba(153, 69, 255, .35), rgba(12, 13, 18, .4));
  box-shadow: 0 0 16px rgba(153, 69, 255, .2);
}
.asset-icon.usdt {
  border-color: rgba(62, 224, 162, .4);
  background: radial-gradient(circle at 30% 30%, rgba(38, 161, 123, .4), rgba(12, 13, 18, .4));
  box-shadow: 0 0 16px rgba(38, 161, 123, .22);
}
.asset-icon img { width: 15px; height: 15px; object-fit: contain; }
.sol-module .asset-tag b { color: #d7c4ff; font-size: 11px; }
.usdt-module .asset-tag b { color: #b7ffe4; font-size: 11px; }

.drum-scene {
  position: relative;
  flex: 1;
  min-height: 250px;
  border-radius: 22px;
  overflow: hidden;
  perspective: 900px;
  perspective-origin: 50% 46%;
  border: 1px solid rgba(246, 241, 232, .08);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, .05), transparent 58%),
    linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .35));
  box-shadow: inset 0 18px 36px rgba(0, 0, 0, .28), inset 0 -18px 32px rgba(0, 0, 0, .35);
}
.sol-module .drum-scene {
  border-color: rgba(179, 136, 255, .28);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(153, 69, 255, .22), transparent 62%),
    linear-gradient(180deg, #14111c, #0b0c11);
}
.usdt-module .drum-scene {
  border-color: rgba(62, 224, 162, .24);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(38, 161, 123, .2), transparent 62%),
    linear-gradient(180deg, #0e1714, #0b0c11);
}
.drum-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .09), transparent 28%);
}
.drum {
  position: absolute;
  inset: 0 7%;
  z-index: 1;
  transform-style: preserve-3d;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}
.reel-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 78px;
  margin-top: -39px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(246, 241, 232, .08);
  background: linear-gradient(180deg, rgba(36, 38, 48, .97), rgba(16, 17, 22, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .07), 0 12px 24px rgba(0, 0, 0, .2);
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
.reel-card img { width: 20px; height: 20px; object-fit: contain; }
.drum-value {
  font-family: "Bricolage Grotesque", Outfit, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.045em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #f7f3ec;
}
.drum-unit { font-size: 10px; font-weight: 700; color: #8d877d; }
.scene-frame {
  position: absolute;
  z-index: 3;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 92px;
  transform: translateY(-50%);
  border-radius: 18px;
  border: 1px solid rgba(246, 241, 232, .2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), inset 0 0 24px rgba(255, 255, 255, .03);
  pointer-events: none;
}
.sol-module .scene-frame { border-color: rgba(198, 170, 255, .45); box-shadow: 0 0 28px rgba(153, 69, 255, .16); }
.usdt-module .scene-frame { border-color: rgba(140, 235, 196, .42); box-shadow: 0 0 28px rgba(38, 161, 123, .16); }
.machine.won .sol-module .winning-face {
  border-color: rgba(210, 186, 255, .85);
  background: linear-gradient(180deg, rgba(72, 48, 110, .98), rgba(24, 18, 36, .98));
  box-shadow: 0 0 36px rgba(153, 69, 255, .35), inset 0 1px rgba(255, 255, 255, .24);
}
.machine.won .usdt-module .winning-face {
  border-color: rgba(150, 245, 205, .85);
  background: linear-gradient(180deg, rgba(18, 78, 60, .98), rgba(10, 24, 20, .98));
  box-shadow: 0 0 36px rgba(38, 161, 123, .32), inset 0 1px rgba(255, 255, 255, .22);
}
.machine.won .sol-module .winning-face .drum-value { color: #f4ecff; text-shadow: 0 0 18px rgba(179, 136, 255, .55); }
.machine.won .usdt-module .winning-face .drum-value { color: #edfff7; text-shadow: 0 0 18px rgba(62, 224, 162, .45); }
.machine.spinning .reel-card { box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 14px 28px rgba(0, 0, 0, .25); }
.machine.spinning .reels-shell { animation: shake .12s linear infinite; }
@keyframes shake {
  50% { transform: translateY(.4px); }
}

.reel-divider {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 58%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 232, .14);
  background: #101218;
  box-shadow: 0 0 0 8px rgba(12, 13, 18, .92);
  color: var(--muted);
  font-family: "Bricolage Grotesque", Outfit, sans-serif;
  font-size: 18px;
}

.machine-controls {
  min-height: 104px;
  padding: 16px 18px 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(246, 241, 232, .06);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent);
}
.control-copy {
  margin: 0;
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.spin-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 280px;
  height: 70px;
  padding: 0 14px 0 22px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(180deg, #fffaf3, #e7e0d4);
  color: #14120f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35), inset 0 1px white;
}
.spin-btn:hover { box-shadow: 0 18px 40px rgba(153, 69, 255, .28), inset 0 1px white; }
.spin-btn:disabled { cursor: progress; transform: none; }
.spin-btn-shine {
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: translateX(-120%) rotate(12deg);
}
.machine.spinning .spin-btn-shine { animation: shine 1.15s linear infinite; }
@keyframes shine { to { transform: translateX(420%) rotate(12deg); } }
.spin-btn-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.spin-btn-copy small { font-size: 10px; font-weight: 700; letter-spacing: .18em; color: #6d675e; }
.spin-btn-copy b { font-family: "Bricolage Grotesque", Outfit, sans-serif; font-size: 18px; letter-spacing: .04em; }
.spin-btn-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background:
    linear-gradient(#14120f, #14120f) padding-box,
    conic-gradient(from 80deg, #9945ff, #14f195, #d7c4ff, #9945ff) border-box;
  border: 1.5px solid transparent;
}
.spin-btn-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.machine.spinning .spin-btn-icon { animation: spinIcon .8s linear infinite; }
@keyframes spinIcon { to { transform: rotate(360deg); } }

.hero-foot { width: min(1080px, 100%); margin: 18px auto 0; display: flex; justify-content: flex-end; }
.hero-foot a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-foot a:hover { color: var(--ink); }
.hero-foot b { font-weight: 500; }

.details {
  padding: 108px clamp(18px, 6vw, 96px) 96px;
  border-top: 1px solid rgba(246, 241, 232, .06);
}
.section-label { color: var(--faint); font-size: 11px; font-weight: 700; }
.details-intro { max-width: 760px; }
.details-intro > p { max-width: 520px; margin: 18px 0 0; font-size: 16px; }
.feature-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-grid article {
  min-height: 280px;
  padding: 24px 24px 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(246, 241, 232, .035), rgba(246, 241, 232, .015));
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.feature-grid article:nth-child(1) { box-shadow: inset 0 1px rgba(179, 136, 255, .55); }
.feature-grid article:nth-child(2) { box-shadow: inset 0 1px rgba(246, 241, 232, .28); }
.feature-grid article:nth-child(3) { box-shadow: inset 0 1px rgba(62, 224, 162, .5); }
.feature-grid article:hover { transform: translateY(-4px); background: rgba(246, 241, 232, .045); }
.feature-no { color: var(--faint); font-size: 12px; font-weight: 700; }
.feature-icon {
  width: 48px;
  height: 48px;
  margin: 48px 0 22px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(7, 8, 12, .45);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-grid h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.03em; }
.feature-grid p { margin: 0; max-width: 280px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.cta-section {
  position: relative;
  min-height: 620px;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.cta-orbit {
  position: absolute;
  width: min(760px, 88vw);
  height: min(760px, 88vw);
  border-radius: 50%;
  border: 1px solid rgba(179, 136, 255, .16);
  box-shadow: 0 0 80px rgba(153, 69, 255, .05);
  animation: spinIcon 64s linear infinite;
}
.cta-orbit-inner {
  width: min(520px, 64vw);
  height: min(520px, 64vw);
  border-color: rgba(62, 224, 162, .16);
  animation-direction: reverse;
  animation-duration: 48s;
}
.cta-section h2, .cta-section .section-label, .bottom-cta { position: relative; }
.cta-section h2 { margin: 16px 0 32px; }
.bottom-cta {
  height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, #fffaf3, #e7e0d4);
  color: #14120f;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(153, 69, 255, .18);
}
.bottom-cta span { font-size: 16px; }

footer {
  height: 92px;
  border-top: 1px solid rgba(246, 241, 232, .06);
  color: var(--faint);
  font-size: 13px;
}
footer > span { letter-spacing: .16em; text-transform: uppercase; font-size: 11px; font-weight: 700; }

.result-toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: calc(var(--header) + 14px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  border: 1px solid rgba(246, 241, 232, .12);
  background: rgba(16, 18, 24, .88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  backdrop-filter: blur(16px);
  transform: translate(-50%, -160%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.result-toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast-symbol {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #082117;
  background: linear-gradient(135deg, var(--mint), #c9b0ff);
}
.toast-symbol svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result-toast small { display: block; color: var(--faint); font-size: 10px; font-weight: 700; }
.result-toast b { font-size: 14px; font-weight: 700; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 5, 8, .72);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.reward-modal {
  position: relative;
  width: min(640px, 100%);
  padding: 36px 36px 28px;
  border-radius: 28px;
  overflow: hidden;
  outline: none;
  border: 1px solid rgba(246, 241, 232, .12);
  background:
    radial-gradient(circle at 100% 0%, rgba(153, 69, 255, .2), transparent 36%),
    linear-gradient(165deg, #171922, #0c0d12 62%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
  transform: translateY(18px) scale(.98);
  transition: transform .45s var(--ease);
}
.modal-backdrop.open .reward-modal { transform: none; }
.modal-glow {
  position: absolute;
  width: 280px;
  height: 180px;
  top: -80px;
  right: -40px;
  background: radial-gradient(circle, rgba(62, 224, 162, .2), transparent 68%);
  pointer-events: none;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}
.modal-close:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.modal-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 11px; font-weight: 700; }
.modal-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--sol-deep));
  box-shadow: 0 0 10px rgba(153, 69, 255, .6);
}
.reward-modal h2 {
  margin: 18px 0 10px;
  font-size: clamp(40px, 6vw, 60px);
  line-height: .92;
  letter-spacing: -.045em;
}
.reward-modal > p { margin: 0; max-width: 420px; font-size: 15px; }
.result-grid {
  margin: 28px 0 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.result-card {
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
.sol-card { border-color: rgba(179, 136, 255, .35); background: linear-gradient(160deg, rgba(153, 69, 255, .14), rgba(255, 255, 255, .03)); }
.usdt-card { border-color: rgba(62, 224, 162, .32); background: linear-gradient(160deg, rgba(38, 161, 123, .14), rgba(255, 255, 255, .03)); }
.result-asset { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.result-asset img { width: 16px; height: 16px; }
.result-card strong {
  display: block;
  margin-top: 18px;
  font-family: "Bricolage Grotesque", Outfit, sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.sol-card strong { color: #f3eaff; }
.usdt-card strong { color: #e9fff6; }
.result-card small { display: block; margin-top: 6px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.result-plus { color: var(--faint); font-family: "Bricolage Grotesque", Outfit, sans-serif; font-size: 22px; }
.claim-btn {
  width: 100%;
  height: 60px;
  padding: 0 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #fffaf3, #e7e0d4);
  color: #14120f;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(153, 69, 255, .18);
}
.claim-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.modal-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--faint); font-size: 10px; font-weight: 700; }
.modal-backdrop.open .result-card { animation: reveal .55s var(--ease) both; }
.modal-backdrop.open .usdt-card { animation-delay: .08s; }

.spin-btn:focus-visible, .wallet-btn:focus-visible, .bottom-cta:focus-visible,
.claim-btn:focus-visible, .modal-close:focus-visible, .hero-foot a:focus-visible, .brand:focus-visible {
  outline: 2px solid rgba(246, 241, 232, .85);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  :root { --header: 66px; }
  .wallet-btn svg { display: none; }
  .stage { min-height: auto; padding: 8px 14px 24px; justify-content: flex-start; }
  .hero-copy { margin-bottom: 14px; }
  .hero-copy h1 { font-size: clamp(30px, 8vw, 40px); }
  .details h2, .cta-section h2 { font-size: clamp(40px, 11vw, 56px); }
  .hero-sub { margin-top: 10px; font-size: 13px; }
  .machine { border-radius: 22px; }
  .machine-head { height: 42px; padding: 0 14px; }
  .reels-shell { grid-template-columns: 1fr; min-height: 0; }
  .sol-module { border-right: 0; border-bottom: 1px solid rgba(246, 241, 232, .06); }
  .reel-module { padding: 10px 12px 8px; gap: 6px; }
  .drum-scene { min-height: 132px; border-radius: 18px; }
  .drum {
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  }
  .reel-card { height: 58px; margin-top: -29px; grid-template-columns: 22px 1fr auto; padding: 0 12px; border-radius: 14px; }
  .reel-card img { width: 16px; height: 16px; }
  .drum-value { font-size: 28px; }
  .scene-frame { height: 70px; left: 4%; right: 4%; }
  .reel-divider { top: 50%; width: 30px; height: 30px; font-size: 16px; box-shadow: 0 0 0 6px rgba(12, 13, 18, .94); }
  .machine-controls { min-height: 0; padding: 14px; flex-direction: column; align-items: stretch; }
  .control-copy { max-width: none; text-align: center; font-size: 13px; }
  .spin-btn { width: 100%; min-width: 0; height: 62px; }
  .hero-foot { display: none; }
  .details { padding: 72px 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .feature-icon { margin: 28px 0 16px; }
  .cta-section { min-height: 520px; }
  footer { height: auto; padding: 28px 16px; flex-direction: column; align-items: flex-start; }
  .reward-modal { padding: 28px 16px 18px; border-radius: 22px; }
  .result-grid { grid-template-columns: 1fr; }
  .result-plus { display: none; }
  .result-card strong { margin-top: 12px; font-size: 36px; }
  .result-toast { left: 12px; right: 12px; width: auto; transform: translateY(-160%); }
  .result-toast.show { transform: none; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: clamp(28px, 8vw, 34px); }
  .wallet-btn { height: 34px; padding: 0 12px; font-size: 12px; }
  .drum-scene { min-height: 128px; }
  .reel-card { height: 52px; margin-top: -26px; }
  .drum-value { font-size: 24px; }
  .scene-frame { height: 64px; }
  .spin-btn { height: 58px; }
  .brand-name { letter-spacing: .14em; font-size: 11px; }
}

@media (max-height: 820px) and (min-width: 861px) {
  .stage { padding-top: 16px; padding-bottom: 18px; }
  .hero-copy { margin-bottom: 16px; }
  .hero-copy h1 { font-size: clamp(46px, 5vw, 68px); margin-top: 12px; }
  .hero-sub { margin-top: 10px; }
  .reels-shell { min-height: 300px; }
  .drum-scene { min-height: 210px; }
  .reel-card { height: 68px; margin-top: -34px; }
  .drum-value { font-size: 30px; }
  .scene-frame { height: 80px; }
  .machine-controls { min-height: 88px; padding-top: 12px; padding-bottom: 12px; }
  .spin-btn { height: 60px; }
  .reel-divider { top: 60%; }
}

@media (hover: none) {
  .feature-grid article:hover, .wallet-btn:hover, .spin-btn:hover, .bottom-cta:hover, .claim-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .ambient-orb-a, .ambient-orb-b, .cta-orbit, .machine.spinning .reels-shell,
  .machine.spinning .spin-btn-shine, .machine.spinning .spin-btn-icon, .machine.spinning .status-light,
  .machine.won .win-sheen, .modal-backdrop.open .result-card {
    animation: none;
  }
  .reveal { opacity: 1; transform: none; }
  .result-toast, .modal-backdrop, .reward-modal, .spin-btn, .wallet-btn { transition: none; }
}
