:root {
  --black: #050505;
  --black-soft: #0a0907;
  --panel: #0d0c0a;
  --gold: #d7a72f;
  --gold-bright: #f6d270;
  --gold-deep: #815815;
  --ivory: #eeeae2;
  --muted: #8e8a82;
  --line: rgba(222, 179, 67, .23);
  --line-soft: rgba(255,255,255,.1);
  --danger: #ef7a68;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 77% 18%, rgba(169, 112, 18, .14), transparent 29rem),
    radial-gradient(circle at 15% 5%, rgba(255,255,255,.035), transparent 24rem),
    var(--black);
  font-family: "Avenir Next", Avenir, Montserrat, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.017) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.017) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.noise { position: fixed; inset: 0; pointer-events: none; opacity: .08; z-index: 20; background-image: repeating-radial-gradient(circle at 20% 20%, transparent 0, transparent 1px, rgba(255,255,255,.22) 1.5px, transparent 2px); background-size: 5px 5px; }
.shell { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.nav { height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line-soft); position: relative; z-index: 10; }
.wordmark { width: max-content; display: flex; align-items: center; position: relative; color: #f1eee8; font-size: 28px; font-weight: 650; letter-spacing: .24em; line-height: 1; }
.wordmark small { position: absolute; top: 34px; left: 1px; width: 250px; color: var(--gold); font: 600 7px/1.2 "Avenir Next", sans-serif; letter-spacing: .32em; text-transform: uppercase; }
.wordmark-o { width: 28px; height: 28px; margin-right: 6px; position: relative; border-radius: 50%; background: conic-gradient(var(--gold-bright) 0 42%, transparent 42% 47%, var(--gold) 47% 91%, transparent 91% 96%, var(--gold-bright) 96%); }
.wordmark-o:after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--black); }
.nav nav { display: flex; gap: 36px; color: #aaa69e; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.nav nav a:hover { color: var(--gold-bright); }
.nav-actions { justify-self: end; display: flex; gap: 12px; align-items: center; }
.mode-pill { border: 1px solid var(--line-soft); border-radius: 999px; padding: 10px 13px; color: #aaa69e; background: rgba(255,255,255,.025); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.mode-pill span { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.mode-pill.live { color: var(--gold-bright); border-color: var(--line); }
.mode-pill.live span { background: #68e3b0; box-shadow: 0 0 10px #68e3b0; }
.mode-pill.error span { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.trade-button { padding: 12px 17px; border: 1px solid var(--gold); color: var(--gold-bright); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.trade-button:hover { color: #090704; background: var(--gold-bright); }
.disabled { opacity: .46; pointer-events: none; }

.preview-banner { min-height: 40px; display: flex; justify-content: center; align-items: center; gap: 12px; color: #cabd9e; background: linear-gradient(90deg, rgba(129,88,21,.1), rgba(215,167,47,.2), rgba(129,88,21,.1)); border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .03em; }
.preview-banner strong { color: var(--gold-bright); text-transform: uppercase; letter-spacing: .12em; }
.preview-banner button { border: 0; padding: 0; color: var(--ivory); background: transparent; border-bottom: 1px solid var(--gold); }
.preview-banner.hidden { display: none; }

.hero { min-height: 760px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; padding-block: 64px 72px; }
.eyebrow { margin: 0 0 20px; color: var(--gold-bright); font: 650 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; }
.eyebrow span { display: inline-block; width: 36px; height: 1px; margin: 0 12px 3px 0; background: var(--gold); }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -.055em; line-height: .92; }
h1 { font-size: clamp(64px, 7vw, 112px); }
h2 { font-size: clamp(44px, 5vw, 76px); }
h1 em, h2 em { color: var(--gold-bright); font-style: normal; }
.hero-text { max-width: 530px; margin: 28px 0; color: #aaa69f; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.primary-cta { display: inline-flex; align-items: center; gap: 26px; padding: 16px 19px; color: #080705; background: linear-gradient(115deg, #c58a20, #f7d97e 48%, #b97917); border: 0; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 10px 40px rgba(183,120,18,.13); }
.primary-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.primary-cta b { font-size: 16px; }
.quiet-link { color: #aaa69e; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.quiet-link span { color: var(--gold); margin-left: 8px; }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 640px; margin-top: 52px; border-top: 1px solid var(--line-soft); }
.proof-row div { padding: 18px 10px 0 0; border-right: 1px solid var(--line-soft); display: grid; gap: 5px; }
.proof-row div + div { padding-left: 18px; }
.proof-row div:last-child { border-right: 0; }
.proof-row strong { color: var(--gold-bright); font: 550 16px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.proof-row span { color: #75716b; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }

.jackpot-stage { min-height: 630px; position: relative; isolation: isolate; padding: 27px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 36%, rgba(184,119,18,.2), transparent 31%), linear-gradient(145deg, rgba(255,255,255,.03), transparent 30%), #090806; box-shadow: inset 0 0 90px rgba(0,0,0,.8), 0 40px 100px rgba(0,0,0,.38); overflow: hidden; }
.jackpot-stage:before, .jackpot-stage:after { content: ""; position: absolute; pointer-events: none; }
.jackpot-stage:before { inset: 10px; border: 1px solid rgba(215,167,47,.08); }
.jackpot-stage:after { width: 450px; height: 1px; bottom: 157px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, var(--gold), transparent 66%); box-shadow: 0 0 38px 10px rgba(215,167,47,.22); }
.stage-glow { position: absolute; z-index: -1; left: 50%; bottom: 130px; width: 560px; height: 210px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(220,155,32,.18), transparent 70%); }
.epoch-meta { display: flex; justify-content: space-between; color: #8e897f; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.round-state { color: var(--gold-bright); }
.round-state i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: #6ee6ac; border-radius: 50%; box-shadow: 0 0 9px #6ee6ac; }
.round-state.ended { color: #f29f6f; }
.round-state.ended i { background: #f29f6f; box-shadow: 0 0 9px #f29f6f; }
.hourglass-orbit { width: 310px; height: 310px; position: absolute; top: 55px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; }
.tick-ring { position: absolute; inset: 0; border: 1px solid rgba(222,179,67,.32); border-radius: 50%; box-shadow: 0 0 28px rgba(199,133,21,.08), inset 0 0 28px rgba(199,133,21,.06); background: repeating-conic-gradient(from -1deg, rgba(242,200,90,.85) 0 1deg, transparent 1deg 9deg); mask: radial-gradient(transparent 0 45%, black 45.5% 47%, transparent 47.5% 100%); animation: slowturn 70s linear infinite; }
.tick-ring:after { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(222,179,67,.2); border-radius: 50%; }
.hourglass { width: 112px; height: 180px; position: relative; filter: drop-shadow(0 0 17px rgba(243,189,62,.28)); }
.hourglass .cap { position: absolute; left: 0; width: 112px; height: 11px; border: 2px solid var(--gold-bright); border-radius: 50%; background: linear-gradient(#f4cf6b, #5f3b0b 45%, #e7b947); }
.hourglass .cap.top { top: 0; }
.hourglass .cap.bottom { bottom: 0; }
.hourglass .glass { position: absolute; left: 15px; width: 82px; height: 78px; border-left: 2px solid #e9c467; border-right: 2px solid #e9c467; overflow: hidden; }
.hourglass .glass.top { top: 10px; clip-path: polygon(0 0,100% 0,53% 100%,47% 100%); background: linear-gradient(to bottom, rgba(240,191,61,.65) 0 39%, transparent 40%); }
.hourglass .glass.bottom { bottom: 10px; clip-path: polygon(47% 0,53% 0,100% 100%,0 100%); background: linear-gradient(to top, rgba(240,191,61,.73) 0 30%, transparent 31%); }
.hourglass .stream { position: absolute; z-index: 2; top: 82px; left: 55px; width: 2px; height: 38px; background: var(--gold-bright); box-shadow: 0 0 7px var(--gold); animation: sand 1.6s ease-in-out infinite; }
.jackpot-copy { position: absolute; z-index: 3; left: 0; right: 0; top: 348px; text-align: center; }
.jackpot-copy > p { margin: 0 0 7px; color: #817b71; font-size: 9px; letter-spacing: .24em; }
.jackpot-value { display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.jackpot-value strong { font: 400 clamp(48px, 5vw, 72px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.07em; background: linear-gradient(100deg, #fff8e8, #e5bd56 54%, #fff4d2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jackpot-value span { color: var(--gold); font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.countdown { width: 124px; height: 124px; margin: 20px auto 0; display: grid; place-items: center; position: relative; border-radius: 50%; background: conic-gradient(var(--gold-bright) var(--progress), rgba(255,255,255,.09) 0); box-shadow: 0 0 24px rgba(215,167,47,.09); }
.countdown:before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #090806; }
.countdown:after { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.countdown div { position: relative; z-index: 2; display: grid; gap: 6px; text-align: center; }
.countdown strong { color: var(--gold-bright); font: 550 21px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.04em; }
.countdown span { color: #757169; font-size: 7px; letter-spacing: .17em; }
.leader-strip { position: absolute; z-index: 3; left: 27px; right: 27px; bottom: 25px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 17px; }
.leader-strip div { display: grid; gap: 6px; }
.leader-strip div:last-child { padding-left: 22px; border-left: 1px solid var(--line-soft); }
.leader-strip span { color: #6f6b64; font-size: 8px; letter-spacing: .15em; }
.leader-strip a, .leader-strip strong { color: #e8dfcd; font: 550 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.leader-strip strong b { color: var(--gold-bright); font-weight: 550; }

.ticker { border-block: 1px solid var(--line); overflow: hidden; background: #090806; }
.ticker-track { width: max-content; padding: 15px 0; display: flex; gap: 30px; align-items: center; color: #a39987; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; animation: ticker 35s linear infinite; }
.ticker-track i { color: var(--gold); font-style: normal; font-size: 6px; }
.section { padding-block: 128px; }
.section-heading { max-width: 720px; }
.section-heading > p:last-child, .panel-copy { max-width: 590px; color: #96918a; line-height: 1.7; }
.how .section-heading { margin-bottom: 64px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.steps article { min-height: 330px; padding: 23px; position: relative; border-right: 1px solid var(--line-soft); }
.steps article:last-child { border-right: 0; }
.step-number { position: absolute; top: 22px; right: 20px; color: var(--gold); font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.line-icon { width: 70px; height: 70px; position: relative; margin: 50px 0 35px; border: 1px solid var(--line); border-radius: 50%; }
.line-icon:before, .line-icon:after, .line-icon i { content: ""; position: absolute; display: block; }
.swap-icon:before { left: 18px; top: 23px; width: 30px; height: 1px; background: var(--gold); box-shadow: 8px 14px 0 var(--gold); }
.swap-icon:after { left: 39px; top: 18px; width: 8px; height: 8px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.swap-icon i:first-child { left: 17px; top: 31px; width: 8px; height: 8px; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); transform: rotate(45deg); }
.qualify-icon:before { left: 25px; top: 15px; width: 18px; height: 18px; border: 1px solid var(--gold); border-radius: 50%; }
.qualify-icon:after { left: 17px; bottom: 13px; width: 34px; height: 19px; border: 1px solid var(--gold); border-radius: 50% 50% 0 0; border-bottom: 0; }
.clock-icon:before { inset: 13px; border: 1px solid var(--gold); border-radius: 50%; }
.clock-icon i:first-child { left: 34px; top: 23px; width: 1px; height: 13px; background: var(--gold); }
.clock-icon i:last-child { left: 34px; top: 35px; width: 11px; height: 1px; background: var(--gold); transform: rotate(26deg); transform-origin: left; }
.trophy-icon:before { left: 23px; top: 16px; width: 24px; height: 24px; border: 1px solid var(--gold); border-radius: 0 0 12px 12px; }
.trophy-icon:after { left: 34px; top: 40px; width: 1px; height: 13px; background: var(--gold); box-shadow: -8px 13px 0 4px #0d0c0a, -8px 13px 0 5px var(--gold); }
.claim-icon:before { left: 20px; top: 25px; width: 30px; height: 24px; border: 1px solid var(--gold); }
.claim-icon:after { left: 34px; top: 20px; width: 1px; height: 34px; background: var(--gold); }
.claim-icon i:first-child { left: 15px; top: 20px; width: 40px; height: 6px; border: 1px solid var(--gold); }
.steps h3 { margin: 0 0 13px; font-size: 16px; font-weight: 550; letter-spacing: .02em; }
.steps p { margin: 0; color: #88837c; font-size: 12px; line-height: 1.65; }
.steps p strong { color: var(--gold-bright); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); padding: 1px; }
.tokenomics-panel, .rollover-panel { min-height: 560px; background: radial-gradient(circle at 15% 85%, rgba(185,123,21,.12), transparent 22rem), var(--panel); padding: 60px; }
.tokenomics-panel h2 { font-size: clamp(52px, 5vw, 78px); }
.fee-bar { height: 11px; margin-top: 66px; display: flex; gap: 3px; }
.fee-bar span { height: 100%; }
.pot { background: linear-gradient(90deg, #9b6512, #f0c456); }
.protocol { background: #e2dfd7; }
.lp { background: #8c8374; }
.fee-legend { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 19px; }
.fee-legend div { display: grid; grid-template-columns: 8px auto; column-gap: 8px; align-items: center; }
.fee-legend i { grid-row: 1 / 3; width: 5px; height: 28px; }
.fee-legend strong { color: #e9e4dc; font: 550 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.fee-legend span { color: #767168; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.rollover-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; align-items: center; }
.rollover-ring { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--gold-bright) 0 20%, rgba(255,255,255,.07) 20%); box-shadow: 0 0 50px rgba(190,126,20,.12); }
.rollover-ring:before { content: ""; grid-area: 1/1; width: 77%; height: 77%; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-soft); }
.rollover-ring div { grid-area: 1/1; z-index: 1; display: grid; gap: 8px; text-align: center; }
.rollover-ring strong { color: var(--gold-bright); font: 450 42px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.rollover-ring span { color: #777169; font-size: 8px; letter-spacing: .16em; }
.rollover-panel h3 { margin: 0 0 17px; font-size: 24px; font-weight: 500; line-height: 1.35; }
.rollover-panel h3 b { color: var(--gold-bright); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; }
.rollover-panel p:last-child { color: #8d8880; font-size: 13px; line-height: 1.7; }

.section-heading.row { max-width: none; display: flex; justify-content: space-between; align-items: end; }
.activity-section h2 { font-size: clamp(42px, 4vw, 62px); }
.sync-copy { display: grid; grid-template-columns: 8px auto; gap: 4px 8px; align-items: center; text-align: right; }
.sync-copy > span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px var(--gold); }
.sync-copy b { color: #c5bfae; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.sync-copy small { grid-column: 1 / 3; color: #69645d; font: 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.activity-list { margin-top: 48px; border-top: 1px solid var(--line); }
.activity-item { display: grid; grid-template-columns: 150px 1fr 180px 110px; align-items: center; gap: 18px; min-height: 82px; border-bottom: 1px solid var(--line-soft); }
.activity-type { width: max-content; min-width: 100px; padding: 7px 9px; color: #b6a277; border: 1px solid var(--line); font: 650 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.activity-type.won { color: var(--black); background: var(--gold-bright); }
.activity-account { display: grid; gap: 5px; }
.activity-account strong { color: #ddd7cb; font: 550 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.activity-account span { color: #67625b; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.activity-value { text-align: right; }
.activity-value strong { color: var(--gold-bright); font: 500 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.activity-value span { color: #716c65; font-size: 8px; margin-left: 5px; }
.activity-link { justify-self: end; color: #8c867b; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.activity-link:hover { color: var(--gold-bright); }
.activity-empty { padding: 55px 0; color: #7c776f; text-align: center; font-size: 13px; }

.contract-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.contract-copy > p:nth-of-type(2) { max-width: 520px; color: #908b83; line-height: 1.7; }
.contract-copy .primary-cta { margin-top: 18px; }
.contract-card { border: 1px solid var(--line); background: linear-gradient(140deg, rgba(255,255,255,.03), transparent 38%), #090806; padding: 14px 28px 28px; }
.contract-row { min-height: 65px; display: flex; justify-content: space-between; align-items: center; gap: 22px; border-bottom: 1px solid var(--line-soft); }
.contract-row > span { color: #746f67; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.contract-row strong, .contract-row a, .contract-row button { max-width: 68%; color: #d5cfc2; border: 0; padding: 0; background: none; font: 500 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contract-row button:not(:disabled):hover, .contract-row a:hover { color: var(--gold-bright); }
.contract-row strong b { color: var(--gold-bright); font-weight: 500; }
.configure-button { width: 100%; margin-top: 22px; padding: 14px; color: var(--gold-bright); background: transparent; border: 1px solid var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.configure-button:hover { background: rgba(215,167,47,.08); }

.final-cta { min-height: 520px; position: relative; display: grid; place-items: center; text-align: center; overflow: hidden; border-block: 1px solid var(--line); background: radial-gradient(circle at 50% 90%, rgba(221,153,29,.24), transparent 28rem), #070604; }
.final-cta:before { content: ""; position: absolute; width: 620px; height: 620px; border: 1px solid rgba(221,173,60,.18); border-radius: 50%; top: 70px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 0 30px rgba(215,167,47,.02), 0 0 0 80px rgba(215,167,47,.015); }
.final-cta .shell { position: relative; z-index: 1; }
.final-cta p { color: var(--gold); font-size: 9px; letter-spacing: .25em; }
.final-cta h2 { font-size: clamp(58px, 7vw, 100px); }
.final-cta .primary-cta { margin-top: 30px; }
.footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; color: #625e58; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.mini-wordmark { display: flex; align-items: center; color: #b5b0a8; font-size: 14px; font-weight: 700; letter-spacing: .2em; }
.mini-wordmark i { width: 15px; height: 15px; margin-right: 3px; border: 3px solid var(--gold); border-radius: 50%; }

dialog { width: min(560px, calc(100% - 32px)); color: var(--ivory); background: #0b0a08; border: 1px solid var(--line); padding: 0; box-shadow: 0 30px 100px #000; }
dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
dialog form { padding: 30px; }
.dialog-head { display: flex; justify-content: space-between; align-items: start; }
.dialog-head h2 { font-size: 36px; }
.dialog-head button { color: #8e887e; background: none; border: 0; font-size: 28px; line-height: 1; }
dialog form > p { color: #8e887e; line-height: 1.6; font-size: 13px; }
dialog label { display: grid; gap: 9px; margin-top: 24px; color: #a59f94; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
dialog input { width: 100%; padding: 14px; color: var(--ivory); background: #060604; border: 1px solid var(--line-soft); outline: 0; font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
dialog input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,167,47,.08); }
.dialog-error { min-height: 21px; padding-top: 9px; color: var(--danger); font-size: 11px; }
.dialog-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.clear-button { border: 0; padding: 10px 0; color: #7f7970; background: none; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

@keyframes slowturn { to { transform: rotate(360deg); } }
@keyframes sand { 0%,100% { opacity: .45; transform: scaleY(.65); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 40px; }
  .jackpot-stage { width: min(680px, 100%); justify-self: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps article:nth-child(3) { border-right: 0; }
  .steps article:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
  .split-section { grid-template-columns: 1fr; }
  .contract-section { gap: 50px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1320px); }
  .nav { height: 80px; }
  .wordmark { font-size: 22px; }
  .wordmark-o { width: 23px; height: 23px; }
  .wordmark small, .mode-pill { display: none; }
  .preview-banner { padding: 10px 16px; flex-wrap: wrap; text-align: center; }
  .hero { min-height: 0; gap: 48px; padding-top: 40px; }
  .hero-text { font-size: 15px; }
  .hero-actions { align-items: start; flex-direction: column; }
  .proof-row { margin-top: 36px; }
  .jackpot-stage { min-height: 610px; padding: 20px; }
  .hourglass-orbit { transform: translateX(-50%) scale(.85); }
  .leader-strip { left: 20px; right: 20px; }
  .section { padding-block: 85px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 220px; border-right: 0; border-top: 1px solid var(--line-soft); padding-left: 112px; }
  .steps article:first-child { border-top: 0; }
  .steps article:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
  .line-icon { position: absolute; left: 20px; top: 28px; margin: 0; }
  .steps h3 { margin-top: 60px; }
  .tokenomics-panel, .rollover-panel { min-height: 0; padding: 40px 28px; }
  .rollover-panel { grid-template-columns: 1fr; }
  .rollover-ring { width: 230px; justify-self: center; }
  .section-heading.row { align-items: start; gap: 25px; flex-direction: column; }
  .sync-copy { text-align: left; }
  .activity-item { grid-template-columns: 104px 1fr auto; padding: 15px 0; }
  .activity-value { grid-column: 2; text-align: left; }
  .activity-link { grid-row: 1 / 3; grid-column: 3; }
  .contract-section { grid-template-columns: 1fr; }
  .footer { min-height: 130px; flex-direction: column; justify-content: center; gap: 12px; text-align: center; }
}

@media (max-width: 460px) {
  .trade-button { display: none; }
  .proof-row { grid-template-columns: 1fr; }
  .proof-row div, .proof-row div + div { padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .proof-row div:last-child { border-bottom: 0; }
  .jackpot-stage { min-height: 590px; }
  .hourglass-orbit { top: 48px; transform: translateX(-50%) scale(.72); }
  .jackpot-copy { top: 320px; }
  .leader-strip { grid-template-columns: 1fr; gap: 12px; }
  .leader-strip div:last-child { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .fee-legend { gap: 8px; }
  .activity-item { grid-template-columns: 94px 1fr; }
  .activity-link { display: none; }
}

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

/* ---- Optional wallet connect + winner claim ---- */
.wallet-button { padding: 12px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-bright); background: rgba(255,255,255,.025); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.wallet-button:hover { border-color: var(--gold); }
.wallet-button.connected { color: var(--gold-bright); border-color: var(--line); text-transform: none; }
/* Connected state doubles as the disconnect control, so make that legible on
   hover rather than leaving someone stuck on the wrong account. */
.wallet-button.connected:hover { color: #f0d9d0; border-color: #7a4b3f; }
.wallet-button.connected::after { content: " ×"; opacity: .45; }
.wallet-button.connected:hover::after { opacity: 1; }

.claim-panel { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border: 1px solid var(--gold); border-radius: 12px; background: linear-gradient(120deg, rgba(215,167,47,.14), rgba(215,167,47,.03)); position: relative; z-index: 3; }
.claim-panel.hidden { display: none; }
.claim-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.claim-info span { color: var(--gold-bright); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.claim-info strong { color: var(--ivory); font: 600 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.claim-info strong b { color: var(--gold-bright); font-weight: 600; }
.claim-button { padding: 13px 20px; border: 0; border-radius: 9px; color: #080705; background: linear-gradient(115deg, #c58a20, #f7d97e 48%, #b97917); font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.claim-button:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.claim-button:disabled { filter: grayscale(.5); opacity: .6; cursor: not-allowed; }

@media (max-width: 560px) {
  .wallet-button { display: none; }
  .claim-panel { flex-direction: column; align-items: stretch; text-align: center; }
}

/* The fourth proof cell (total paid to winners) needs room; drop to two
   columns before the numbers start wrapping. */
@media (max-width: 720px) {
  .proof-row { grid-template-columns: repeat(2, 1fr); max-width: 380px; }
  .proof-row div:nth-child(2n) { border-right: 0; }
  .proof-row div:nth-child(n + 3) { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
}
