@import "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap";

/* src/index.css */
:root {
  --base: #0a0a0b;
  --base-2: #0d0d10;
  --surface: #141417;
  --surface-2: #1b1b20;
  --surface-hi: #232329;
  --gold: #c9a96a;
  --gold-bright: #efdcaf;
  --gold-dim: #8c7846;
  --gold-deep: #5e4f29;
  --crimson: #a8293a;
  --crimson-deep: #6f1622;
  --text: #ece9e2;
  --muted: #8c897f;
  --faint: #5b594f;
  --line: #232229;
  --line-2: #2e2d35;
  --win: #6cba8a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px #0006, 0 8px 24px -12px #0009;
  --shadow-2: 0 4px 12px #0000004d, 0 24px 60px -24px #000000bf;
  --gold-grad: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 42%, var(--gold-dim) 100%);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--base);
  color: var(--text);
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  line-height: 1.55;
}

body:before {
  content: "";
  position: fixed;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(80% 50% at 50% -8%, #c9a96a1a, transparent 60%), radial-gradient(60% 40% at 50% 108%, #a8293a14, transparent 60%), radial-gradient(120% 80% at 50% 50%, transparent 55%, #0000008c 100%), var(--base);
  inset: 0;
}

body:after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  inset: 0;
}

::selection {
  color: var(--gold-bright);
  background: #c9a96a47;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--base);
}

::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border: 3px solid var(--base);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-deep);
}

.serif {
  letter-spacing: .005em;
  font-family: Cormorant Garamond, serif;
}

.mono {
  font-variant-numeric: tabular-nums;
  font-family: JetBrains Mono, monospace;
}

h1, h2, h3 {
  letter-spacing: .004em;
  font-family: Cormorant Garamond, serif;
  font-weight: 600;
  line-height: 1.08;
}

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

@keyframes shimmer {
  0% {
    background-position: 200%;
  }

  100% {
    background-position: -200%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-dim), var(--gold), var(--gold-bright), var(--gold), var(--gold-dim));
  color: #0000;
  animation: shimmer 7s linear infinite;
  background-size: 220%;
  -webkit-background-clip: text;
  background-clip: text;
}

header.nav {
  position: sticky;
  z-index: 50;
  display: flex;
  backdrop-filter: blur(16px) saturate(120%);
  background: linear-gradient(#0a0a0beb, #0a0a0bb8);
  border-bottom: 1px solid #0000;
  border-image:  1;
  align-items:  center;
  gap: 30px;
  padding: 15px 34px;
  top: 0;
}

.brand {
  display: flex;
  cursor: pointer;
  letter-spacing: .02em;
  align-items:  center;
  gap: 11px;
  font-family: Cormorant Garamond, serif;
  font-size: 25px;
  font-weight: 700;
}

.brand {
  flex: 1 1 0;
}

.brand .crown {
  display: block;
  filter: drop-shadow(0 0 10px #c9a96a73);
  transition: transform .4s var(--ease);
  width: auto;
  height: 30px;
}

.brand:hover .crown {
  transform: rotate(-6deg)scale(1.08);
}

.nav-links {
  display: flex;
  flex: none;
  justify-content: center;
  gap: 30px;
}

.nav-actions {
  display: flex;
  flex: 1 1 0;
  justify-content: flex-end;
  align-items:  center;
}

.nav-links button {
  position: relative;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s var(--ease);
  background: none;
  border: none;
  padding: 4px 0;
  font: 500 12.5px Inter;
}

.nav-links button:after {
  content: "";
  position: absolute;
  background: var(--gold-grad);
  transition: right .3s var(--ease);
  height: 1.5px;
  bottom: -3px;
  left: 0;
  right: 100%;
}

.nav-links button:hover {
  color: var(--text);
}

.nav-links button:hover:after, .nav-links button.active:after {
  right: 0;
}

.nav-links button.active {
  color: var(--gold-bright);
}

.burn-counter {
  display: flex;
  color: var(--gold);
  letter-spacing: .02em;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: 999px;
  align-items:  center;
  gap: 9px;
  padding: 6px 15px;
  font: 500 12.5px JetBrains Mono;
}

.burn-counter .dot {
  background: var(--crimson);
  box-shadow: 0 0 9px var(--crimson);
  animation: pulse 2s ease-in-out infinite;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

@keyframes pulse {
  50% {
    opacity: .4;
  }
}

.bal-chip {
  display: flex;
  color: var(--muted);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: 999px;
  align-items:  center;
  gap: 10px;
  margin-left: 12px;
  padding: 6px 14px;
  font: 500 12.5px JetBrains Mono;
}

.bal-chip b {
  color: var(--gold-bright);
  font-weight: 500;
}

.bal-chip .usd {
  color: var(--win);
}

.bal-chip .div {
  background: var(--line-2);
  width: 1px;
  height: 13px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.sound-toggle {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  cursor: pointer;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  margin-left: 10px;
  transition: border-color .2s, transform .15s;
  font-size: 15px;
}

.sound-toggle:hover {
  border-color: var(--gold-dim);
  transform: translateY(-1px);
}

.wallet-connected {
  display: inline-flex;
  align-items:  center;
  gap: 8px;
}

.wallet-mini {
  border-radius: 4px;
  width: 16px;
  height: 16px;
}

@media (width <= 920px) {
  .bal-chip {
    display: none;
  }
}

.wallet-overlay {
  position: fixed;
  z-index: 100;
  backdrop-filter: blur(6px);
  display: flex;
  animation: fadeUp .25s var(--ease);
  background: #060608b3;
  justify-content: center;
  align-items:  center;
  padding: 20px;
  inset: 0;
}

.wallet-modal {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  width: 100%;
  max-width: 400px;
  padding: 24px;
}

.wallet-modal-head {
  display: flex;
  justify-content: space-between;
  align-items:  center;
}

.wallet-modal-head h3 {
  font-size: 24px;
}

.wallet-x {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  transition: color .2s;
  font-size: 16px;
}

.wallet-x:hover {
  color: var(--text);
}

.wallet-sub {
  color: var(--muted);
  margin: 4px 0 18px;
  font-size: 13.5px;
}

.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-option {
  display: flex;
  text-align: left;
  cursor: pointer;
  background: var(--base-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
  align-items:  center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
}

.wallet-option:hover:not(:disabled) {
  border-color: var(--gold-dim);
  background: #c9a96a0d;
  transform: translateY(-1px);
}

.wallet-option:disabled {
  opacity: .6;
  cursor: wait;
}

.wallet-option img {
  border-radius: 9px;
  width: 34px;
  height: 34px;
}

.wallet-option .wn {
  color: var(--text);
  flex: 1;
  font: 600 16px Inter;
}

.wallet-option .wbadge {
  color: var(--faint);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px 10px;
  font: 500 11px JetBrains Mono;
}

.wallet-option .wbadge.on {
  color: var(--win);
  border-color: #6cba8a66;
}

.wallet-foot {
  color: var(--faint);
  text-align: center;
  margin-top: 18px;
  font-size: 11.5px;
}

.btn {
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s, border-color .25s, background .25s;
  position: relative;
  border: 1px solid #0000;
  padding: 11px 22px;
  font: 600 14px Inter;
}

.btn-gold {
  background: var(--gold-grad);
  color: #1c1505;
  box-shadow: inset 0 1px 0 #ffffff73, var(--shadow-1);
  border: none;
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: inset 0 1px #ffffff80, 0 10px 28px -8px #c9a96a80;
}

.btn-gold:active:not(:disabled) {
  transform: translateY(0);
}

.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: #ffffff04;
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--gold-dim);
  color: var(--gold-bright);
  background: #c9a96a0f;
}

.btn-crimson {
  background: linear-gradient(180deg, var(--crimson), var(--crimson-deep));
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff26, var(--shadow-1);
  border: none;
}

.btn-crimson:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px #a8293a8c;
}

.btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 96px;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section + .section:before {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  height: 1px;
  top: 0;
  left: 0;
  right: 0;
}

.eyebrow {
  display: inline-flex;
  color: var(--gold);
  letter-spacing: .26em;
  text-transform: uppercase;
  align-items:  center;
  gap: 10px;
  margin-bottom: 16px;
  font: 600 11px Inter;
}

.eyebrow:before {
  content: "";
  background: var(--gold-dim);
  width: 22px;
  height: 1px;
}

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 42px);
}

.hero {
  text-align: center;
  position: relative;
  padding: 88px 0 80px;
}

.hero > * {
  animation: fadeUp .8s var(--ease) both;
}

.hero-logo {
  display: block;
  animation: fadeUp .8s var(--ease) both, emberGlow 5s var(--ease) infinite 1s;
  width: auto;
  height: clamp(96px, 14vw, 148px);
  margin: 0 auto 26px;
}

@keyframes emberGlow {
  0%, 100% {
    filter: drop-shadow(0 0 18px #c9a96a59) drop-shadow(0 6px 22px #8b1e2d2e);
  }

  50% {
    filter: drop-shadow(0 0 30px #c9a96a8c) drop-shadow(0 6px 26px #8b1e2d52);
  }
}

.hero .eyebrow {
  animation-delay: 50ms;
}

.hero h1 {
  animation-delay: .12s;
  margin-bottom: 20px;
  font-size: clamp(46px, 8.5vw, 98px);
  font-weight: 600;
  line-height: 1;
}

.hero p.lead {
  color: var(--muted);
  animation-delay: .2s;
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 19px;
}

.hero-cta {
  display: flex;
  animation-delay: .28s;
  justify-content: center;
  gap: 14px;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--line);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  gap: 1px;
}

.stat {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 28px 24px;
  transition: background .3s;
}

.stat:hover {
  background: linear-gradient(180deg, var(--surface-hi), var(--surface-2));
}

.stat .label {
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font: 500 11px Inter;
}

.stat .value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font: 700 27px JetBrains Mono;
}

.stat .value.gold {
  color: var(--gold-bright);
  text-shadow: 0 0 24px #c9a96a40;
}

.grid {
  display: grid;
  gap: 18px;
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s;
  padding: 26px;
}

.card.game {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card.game:after {
  content: "";
  position: absolute;
  opacity: 0;
  background: radial-gradient(80% 60% at 50% 0%, #c9a96a14, #0000 70%);
  transition: opacity .3s;
  inset: 0;
}

.card.game:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}

.card.game:hover:after {
  opacity: 1;
}

.card h3 {
  margin-bottom: 6px;
  font-size: 25px;
}

.card .tag {
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  font: 500 10.5px JetBrains Mono;
}

.card p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.feed {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.feed .feed-head {
  border-bottom: 1px solid var(--line);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items:  center;
  padding: 15px 18px;
  font: 500 11px Inter;
}

.feed-row {
  display: flex;
  border-bottom: 1px solid var(--line);
  animation: slideIn .4s var(--ease);
  align-items:  center;
  gap: 12px;
  padding: 11px 18px;
  font: 500 13px JetBrains Mono;
}

.feed-row:last-child {
  border-bottom: none;
}

.feed-row .g {
  color: var(--muted);
  text-transform: capitalize;
  width: 72px;
}

.feed-row .w {
  color: var(--text);
  flex: 1;
}

.feed-row .m.win {
  color: var(--win);
}

.feed-row .m.win.big {
  color: var(--gold-bright);
  text-shadow: 0 0 14px #c9a96a99;
  font-weight: 700;
}

.feed-row .m.lose {
  color: var(--faint);
}

.panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 28px;
}

.panel h3 {
  margin-bottom: 18px;
  font-size: 26px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font: 500 11px Inter;
}

.field input, .field select {
  background: var(--base-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 100%;
  padding: 11px 13px;
  transition: border-color .2s, box-shadow .2s;
  font: 500 15px JetBrains Mono;
}

.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px #c9a96a1f;
}

.row {
  display: flex;
  gap: 14px;
}

.row > * {
  flex: 1;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: var(--line-2);
  cursor: pointer;
  border-radius: 99px;
  width: 100%;
  height: 5px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: var(--gold-grad);
  border: 2px solid var(--base);
  box-shadow: 0 0 0 1px var(--gold-dim), 0 2px 8px #00000080;
  cursor: pointer;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  transition: transform .15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  background: var(--gold);
  border: 2px solid var(--base);
  cursor: pointer;
  border-radius: 50%;
  width: 17px;
  height: 17px;
}

input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.result-big {
  text-align: center;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  padding: 16px 0;
  font: 700 64px JetBrains Mono;
}

.result-big.win {
  color: var(--win);
  text-shadow: 0 0 30px #6cba8a59;
}

.result-big.lose {
  color: var(--crimson);
  text-shadow: 0 0 30px #a8293a4d;
}

.toggle {
  display: flex;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--base-2);
  gap: 3px;
  padding: 3px;
}

.toggle button {
  color: var(--muted);
  cursor: pointer;
  transition: all .22s var(--ease);
  background: none;
  border: none;
  border-radius: 7px;
  flex: 1;
  padding: 9px;
  font: 600 13px Inter;
}

.toggle button:hover {
  color: var(--text);
}

.toggle button.active {
  background: linear-gradient(180deg, var(--surface-hi), var(--surface-2));
  color: var(--gold-bright);
  box-shadow: inset 0 1px #ffffff0f, 0 1px 3px #0006;
}

.crash-screen {
  background: radial-gradient(circle at 50% 65%, #a8293a1a, transparent 70%), var(--base-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  height: 330px;
}

.crash-mult {
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  transition: color .2s;
  font: 700 90px JetBrains Mono;
}

.crash-mult.running {
  color: var(--win);
  text-shadow: 0 0 40px #6cba8a66;
}

.crash-mult.crashed {
  color: var(--crimson);
  text-shadow: 0 0 40px #a8293a73;
}

.crash-mult.waiting, .crash-mult.cooldown {
  color: var(--gold-bright);
}

.crash-phase {
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  font: 500 12px Inter;
}

.mines-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  max-width: 380px;
  margin: 0 auto;
}

.mine-tile {
  aspect-ratio: 1;
  background: linear-gradient(180deg, var(--surface-hi), var(--surface-2));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  transition: transform .15s var(--ease), border-color .2s, box-shadow .2s;
  justify-content: center;
  align-items:  center;
  font-size: 23px;
  box-shadow: inset 0 1px #ffffff08;
}

.mine-tile:hover:not(.done) {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px #0009;
}

.mine-tile.safe {
  border-color: var(--win);
  background: #6cba8a26;
  box-shadow: 0 0 16px #6cba8a66;
}

.mine-tile.bomb {
  border-color: var(--crimson);
  background: #a8293a38;
  box-shadow: 0 0 18px #a8293a8c;
}

@keyframes tilePop {
  0% {
    transform: scale(.55);
    opacity: 0;
  }

  60% {
    transform: scale(1.14);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.mine-tile.safe, .mine-tile.bomb {
  animation: tilePop .3s var(--ease);
}

.verify-out {
  background: var(--base-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--muted);
  margin-top: 16px;
  padding: 18px;
  font: 400 13px / 1.7 JetBrains Mono;
}

.check {
  color: var(--win);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(#ffffff03, #0000);
  padding: 22px;
  transition: border-color .3s;
}

.step:hover {
  border-color: var(--line-2);
}

.step .n {
  background: var(--gold-grad);
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
  font-family: Cormorant Garamond;
  font-size: 44px;
  font-weight: 600;
}

.step h4 {
  margin: 4px 0 6px;
  font-family: Cormorant Garamond;
  font-size: 21px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

footer {
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  text-align: center;
  background: linear-gradient(#0000, #0000004d);
  padding: 48px 32px;
  font-size: 13px;
}

footer .footer-logo {
  display: block;
  opacity: .9;
  filter: drop-shadow(0 0 12px #c9a96a4d);
  width: auto;
  height: 56px;
  margin: 0 auto 18px;
}

footer .resp {
  color: var(--gold-dim);
  letter-spacing: .08em;
  margin-bottom: 8px;
  font: 500 12px JetBrains Mono;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
  padding: 22px 0;
}

.faq-item:hover {
  padding-left: 8px;
}

.faq-item h4 {
  margin-bottom: 8px;
  font-size: 22px;
}

.faq-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.notice {
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  color: var(--gold-bright);
  background: linear-gradient(#c9a96a1a, #c9a96a0a);
  margin: 18px 0;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.gp-crumb {
  display: flex;
  color: var(--muted);
  flex-wrap: wrap;
  align-items:  center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 12.5px;
}

.gp-crumb a, .gp-crumb button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color .2s;
  font-size: 12.5px;
}

.gp-crumb a:hover, .gp-crumb button:hover {
  color: var(--gold-bright);
}

.gp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 28px;
}

.pill {
  display: inline-flex;
  color: var(--muted);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: 999px;
  align-items:  center;
  gap: 7px;
  padding: 6px 13px;
  font: 500 11px JetBrains Mono;
}

.pill b {
  color: var(--gold);
  font-weight: 500;
}

.pill .live {
  background: var(--win);
  box-shadow: 0 0 8px var(--win);
  animation: pulse 2s ease-in-out infinite;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.gp-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 4px;
}

.gp-title h1 {
  font-size: clamp(38px, 5vw, 50px);
}

.gp-sub {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 16px;
}

.gp-main {
  display: grid;
  grid-template-columns: 1fr 348px;
  align-items:  start;
  gap: 20px;
}

.gp-stage {
  background: radial-gradient(circle at 50% 38%, #c9a96a14, transparent 62%), linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  display: flex;
  position: relative;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  flex-direction: column;
  min-height: 400px;
  padding: 24px;
}

.gp-stage .stage-label {
  display: inline-flex;
  color: var(--text);
  letter-spacing: .02em;
  align-items:  center;
  gap: 8px;
  font: 600 13px Inter;
}

.gp-stage .stage-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items:  center;
  gap: 18px;
}

.gp-stage .stage-foot {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

.bet-panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 22px;
}

.bet-panel .blabel {
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 9px;
  font: 500 11px Inter;
}

.amt-input {
  display: flex;
  background: var(--base-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  align-items:  center;
  gap: 9px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}

.amt-input:focus-within {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px #c9a96a1f;
}

.amt-input span {
  color: var(--gold);
  font-family: JetBrains Mono;
}

.amt-input input {
  color: var(--text);
  outline: none;
  background: none;
  border: none;
  flex: 1;
  width: 100%;
  font: 500 18px JetBrains Mono;
}

.quick-row {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.quick-row button {
  background: var(--base-2);
  border: 1px solid var(--line-2);
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  flex: 1;
  padding: 8px 0;
  transition: all .2s;
  font: 500 12px JetBrains Mono;
}

.quick-row button:hover {
  border-color: var(--gold-dim);
  color: var(--gold-bright);
  background: #c9a96a0d;
}

.bet-divider {
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  height: 1px;
  margin: 18px 0;
}

.stat-line {
  display: flex;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items:  center;
  padding: 9px 0;
  font-size: 13px;
}

.stat-line:last-child {
  border-bottom: none;
}

.stat-line .k {
  color: var(--muted);
}

.stat-line .v {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: JetBrains Mono;
}

.stat-line .v.gold {
  color: var(--gold-bright);
}

.stat-line .v.win {
  color: var(--win);
}

.gp-lower {
  display: grid;
  grid-template-columns: 1fr 348px;
  align-items:  start;
  gap: 20px;
  margin-top: 20px;
}

.info-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  padding: 22px;
}

.info-card h4 {
  display: flex;
  align-items:  center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 19px;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  color: var(--muted);
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 13.5px;
  line-height: 1.5;
}

.info-card li:before {
  content: "›";
  position: absolute;
  color: var(--gold);
  left: 2px;
}

.info-card .lm-row {
  display: flex;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
}

.info-card .lm-row:last-child {
  border-bottom: none;
}

.info-card .lm-row .k {
  color: var(--muted);
}

.info-card .lm-row .v {
  font-variant-numeric: tabular-nums;
  font-family: JetBrains Mono;
}

.recent {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.recent .rh {
  display: flex;
  border-bottom: 1px solid var(--line);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  justify-content: space-between;
  padding: 15px 18px;
  font: 500 11px Inter;
}

.recent .rr {
  display: flex;
  border-bottom: 1px solid var(--line);
  animation: slideIn .4s var(--ease);
  align-items:  center;
  gap: 10px;
  padding: 11px 18px;
  font: 500 12.5px JetBrains Mono;
}

.recent .rr:last-child {
  border-bottom: none;
}

.recent .rr .rw {
  color: var(--text);
  flex: 1;
}

.recent .rr .rm {
  color: var(--win);
}

.recent .rr .rm.big {
  color: var(--gold-bright);
  text-shadow: 0 0 12px #c9a96a80;
}

.recent .rr .ra {
  color: var(--muted);
  text-align: right;
  width: 72px;
}

.coin-wrap {
  perspective: 900px;
  padding: 10px 0;
}

.coin {
  position: relative;
  transform-style: preserve-3d;
  width: 132px;
  height: 132px;
  margin: 0 auto;
}

.coin-face {
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  color: #1a1407;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  font-size: 58px;
  inset: 0;
  box-shadow: inset 0 0 0 4px #00000038, inset 0 3px 6px #fff6, 0 12px 34px #0000008c;
}

.coin-front {
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 55%, var(--gold-dim));
}

.coin-back {
  background: radial-gradient(circle at 35% 30%, #e6c98a, var(--gold-dim) 55%, var(--gold-deep));
  transform: rotateY(180deg);
}

.plinko-canvas {
  display: block;
  width: 100%;
  height: 360px;
}

.crash-canvas {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  inset: 0;
}

.spin-wheel {
  display: block;
  filter: drop-shadow(0 16px 30px #00000080);
  width: 290px;
  height: 290px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (width <= 920px) {
  .gp-main, .gp-lower {
    grid-template-columns: 1fr;
  }
}

@media (width <= 820px) {
  header.nav {
    gap: 16px;
    padding: 13px 18px;
  }

  main {
    padding: 0 18px 72px;
  }

  .stat-band, .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cols-3, .cols-2 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 64px 0 48px;
  }
}
