/* Wump Pad - standalone NFT drop system. English only. Dark theme, same language as the main site. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/clash-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/clash-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/clash-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jb-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jb-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #08080a; --bg2: #0c0c0f; --panel: #101014; --panel2: #16161b;
  --line: #202027; --line2: #2b2b34;
  --ink: #f4f4f5; --dim: #8b8b95; --dim2: #5d5d67;
  --pink: #ff2f7d; --cyan: #23d8d1; --purple: #8b5cf6; --cream: #f3efe6;
  --disp: "Clash Display", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --bar: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 8% -12%, rgba(255,47,125,.13), transparent 70%), radial-gradient(840px 540px at 96% 0%, rgba(139,92,246,.13), transparent 70%), radial-gradient(720px 460px at 50% 114%, rgba(35,216,209,.09), transparent 70%); }
body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5; background: url("/assets/confetti.png") repeat; background-size: 220px 220px; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--pink); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.wrap { position: relative; z-index: 1; max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim2); }

/* bar */
.bar { position: sticky; top: 0; z-index: 60; height: var(--bar); background: rgba(11,10,18,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo img { width: 34px; height: 34px; border-radius: 9px; background: #000; }
.logo b { font-family: var(--disp); font-weight: 700; font-size: 19px; letter-spacing: .02em; color: var(--cream); }
.logo b span { color: var(--pink); }
.nav { display: flex; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.nav a { padding: 8px 15px; border-radius: 999px; font-family: var(--disp); font-weight: 600; font-size: 13.5px; color: var(--dim); }
.nav a:hover { color: var(--ink); }
.nav a.on { color: #170009; background: var(--pink); }
.spacer { flex: 1; }

/* buttons */
.btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, #ff5a9b, #f01e73); color: #1a0009; font-family: var(--disp); font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 11px; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 26px -14px rgba(255,47,125,.75); transition: filter .15s, transform .12s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.gh { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0)); color: var(--ink); border-color: var(--line2); box-shadow: none; }
.btn.gh:hover { background: var(--panel); }
.btn.sm { padding: 9px 14px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; filter: none; }

/* generic */
.h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 4vw, 46px); line-height: 1.02; margin: 0 0 10px; }
.h1 em { font-style: normal; color: var(--pink); }
.lede { color: var(--dim); max-width: 640px; margin: 0 0 22px; }
.sec { padding: 34px 0; }
.sec.first { padding-top: 26px; }
.panel { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.panel-head { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.panel-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.panel-head .right { margin-left: auto; color: var(--dim2); }
.panel-body { padding: 18px; }
.foot { border-top: 1px solid var(--line); padding: 26px 0; margin-top: 30px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 860px; margin: 4px auto 26px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.stat b { display: block; font-family: var(--disp); font-weight: 900; font-size: 22px; }
.stat span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim2); }

/* featured banner */
.feat { position: relative; display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 26px; align-items: center; background: linear-gradient(120deg, rgba(255,47,125,.12), rgba(139,92,246,.10) 60%, transparent); border: 1px solid var(--line2); border-radius: 22px; padding: 22px; margin-bottom: 26px; overflow: hidden; }
.feat-art { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #000; }
.feat-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); border: 1px solid rgba(255,47,125,.5); background: rgba(255,47,125,.08); padding: 5px 11px; border-radius: 999px; }
.feat-name { font-family: var(--disp); font-weight: 700; font-size: clamp(24px, 3.4vw, 38px); margin: 12px 0 4px; }
.feat-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 14px 0; }
.cd { display: inline-flex; gap: 8px; }
.cd b { font-family: var(--disp); font-weight: 700; font-size: 22px; min-width: 44px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 4px; }
.cd i { font-style: normal; align-self: center; color: var(--dim2); }
.price-big { font-family: var(--disp); font-weight: 900; font-size: 22px; color: var(--cyan); }

/* progress */
.prog { height: 8px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--cyan)); }
.prog.big { height: 10px; }

/* grid cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.coll { padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); cursor: pointer; text-align: left; transition: transform .18s, border-color .18s, box-shadow .18s; }
.coll:hover { transform: translateY(-4px); border-color: rgba(255,47,125,.45); box-shadow: 0 24px 48px -28px rgba(255,47,125,.55); }
.coll-cover { position: relative; aspect-ratio: 1; background: #000; overflow: hidden; }
.coll-cover img { width: 100%; height: 100%; object-fit: cover; }
.coll-price { position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(16,16,20,.85); border: 1px solid var(--line2); color: var(--cyan); }
.coll-live { position: absolute; right: 10px; top: 10px; font-family: var(--mono); font-size: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(255,47,125,.16); border: 1px solid rgba(255,47,125,.5); color: var(--pink); }
.coll-body { padding: 12px 14px 14px; }
.coll-name { font-family: var(--disp); font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 7px; }
.vf { font-style: normal; font-size: 9px; font-family: var(--mono); color: #0b0b10; background: var(--cyan); border-radius: 5px; padding: 1px 5px; }
.coll-by { font-family: var(--mono); font-size: 10px; color: var(--dim2); margin: 3px 0 9px; }
.coll-stat { font-family: var(--mono); font-size: 10px; color: var(--dim); margin-top: 7px; display: flex; justify-content: space-between; }

/* drop page */
.drop { display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: 28px; align-items: start; }
.drop-art { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; }
.drop h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0; }
.kv > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kv span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim2); }
.kv b { font-family: var(--disp); font-weight: 700; font-size: 16px; }
.mintbox { background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 16px; margin-top: 14px; }
.mint-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.qty button { width: 38px; height: 38px; background: var(--panel); border: 0; cursor: pointer; font-size: 18px; }
.qty button:hover { background: var(--panel2); }
.qty b { min-width: 44px; text-align: center; font-family: var(--disp); }
.total { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.total b { color: var(--cyan); }
.hint { font-family: var(--mono); font-size: 10px; color: var(--dim2); text-align: center; margin: 10px 0 0; }
.curve { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 10px; }
.curve b { color: var(--cyan); }
.curve .up { color: var(--pink); }
.refbox { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.refbox input { flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-family: var(--mono); font-size: 12px; color: var(--cyan); min-width: 0; }
.items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 22px; }
.items img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); background: #000; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field > span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim2); }
.input { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: 13px; width: 100%; }
.input::placeholder { color: var(--dim2); }
textarea.input { min-height: 78px; resize: vertical; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.actions { display: flex; gap: 12px; margin-top: 6px; }
.actions .btn { flex: 1; }

/* steps */
.steps { display: flex; gap: 10px; justify-content: center; margin: 8px 0 22px; }
.steps span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim2); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.wiz[data-step="1"] .steps .s1, .wiz[data-step="2"] .steps .s2, .wiz[data-step="3"] .steps .s3 { color: #170009; background: var(--pink); border-color: var(--pink); }
.step { display: none; }
.wiz[data-step="1"] .step.s1, .wiz[data-step="2"] .step.s2, .wiz[data-step="3"] .step.s3 { display: block; }
#cv { width: min(440px, 84vw); aspect-ratio: 1; height: auto; border-radius: 16px; border: 1px solid var(--line2); background: #0b0b10; touch-action: none; cursor: crosshair; }
.tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line2); cursor: pointer; padding: 0; }
.sw.on { border-color: #fff; transform: scale(1.14); }
.range { width: 160px; accent-color: var(--pink); }
.prev { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0b0b10; }
.prev img { width: 100%; display: block; }
.center { text-align: center; }

/* rewards */
.leader { display: grid; gap: 8px; }
.leader .row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.leader .rank { font-family: var(--disp); font-weight: 900; color: var(--dim2); }
.leader .amt { font-family: var(--mono); font-size: 12px; color: var(--cyan); }

/* tokens */
.sym { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.chg { font-family: var(--mono); font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.chg.up { color: #6ee7b7; background: rgba(110,231,183,.1); }
.chg.down { color: var(--pink); background: rgba(255,47,125,.1); }
.trow2 { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.trow2 b { font-family: var(--disp); font-weight: 700; font-size: 15px; }
.tok-price { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; }
.tok-price b { font-family: var(--disp); font-weight: 900; font-size: 26px; }
.toggle { display: inline-flex; gap: 0; background: var(--panel2); border: 1px solid var(--line); border-radius: 11px; padding: 3px; }
.tg { border: 0; background: none; color: var(--dim); font-family: var(--disp); font-weight: 600; font-size: 13px; padding: 7px 16px; border-radius: 8px; cursor: pointer; }
.tg.on { background: var(--pink); color: #170009; }
.pay { margin-top: 10px; }
.kvs { margin-top: 14px; }
.w-kv2 { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.w-kv2:last-child { border-bottom: 0; }
.w-kv2 span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim2); }
.w-kv2 b { color: var(--cyan); }
@media (max-width: 760px) { .trow2 { font-size: 13px; } }

/* compact token list */
.exhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.tlist { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); }
.trow { display: grid; grid-template-columns: 46px 1fr 130px 90px 120px 110px 90px auto; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .14s; }
.trow:last-child { border-bottom: 0; }
.trow:hover { background: var(--panel2); }
.tlogo { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; background: #000; border: 1px solid var(--line); }
.tname { font-family: var(--disp); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 7px; }
.tmeta .mono { display: flex; align-items: center; gap: 6px; }
.tcol { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.tcol b { font-family: var(--disp); font-weight: 700; font-size: 14px; }
.tcol .mono, .tcol .chg { font-size: 12px; }
.trow .buy { justify-self: end; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); display: inline-block; }
@media (max-width: 980px) { .trow { grid-template-columns: 44px 1fr 110px 90px auto; } .trow .hidesm { display: none; } }
@media (max-width: 640px) { .trow { grid-template-columns: 40px 1fr 90px auto; gap: 10px; } .trow .tcol:nth-child(4) { display: none; } }

/* raffle home */
.hero { padding: 40px 0 8px; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tab { cursor: pointer; border: 1px solid var(--line); background: var(--panel); color: var(--dim); font-family: var(--disp); font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 999px; }
.tab:hover { color: var(--ink); }
.tab.on { background: var(--pink); color: #170009; border-color: var(--pink); }
.rcard { padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); cursor: pointer; text-align: left; transition: transform .18s, border-color .18s, box-shadow .18s; }
.rcard:hover { transform: translateY(-4px); border-color: rgba(255,47,125,.45); box-shadow: 0 24px 48px -28px rgba(255,47,125,.55); }
.rcard-img { position: relative; aspect-ratio: 1; background: #000; overflow: hidden; }
.rcard-img img { width: 100%; height: 100%; object-fit: cover; }
.rcard-kind { position: absolute; right: 10px; bottom: 10px; font-family: var(--mono); font-size: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(16,16,20,.85); border: 1px solid var(--line2); color: var(--dim); }
.rcard-body { padding: 12px 14px 14px; }
.rcard-title { font-family: var(--disp); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.rcard-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.rcard-row b { font-family: var(--disp); font-weight: 700; font-size: 14px; }
.badge { position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid; }
.b-live { color: var(--cyan); border-color: rgba(35,216,209,.5); background: rgba(35,216,209,.1); }
.b-ending { color: var(--pink); border-color: rgba(255,47,125,.5); background: rgba(255,47,125,.1); }
.b-ended { color: var(--dim); border-color: var(--line2); background: rgba(16,16,20,.85); }
.badge.static { position: static; }
.cd { font-family: var(--mono); color: var(--cyan); font-size: 13px; font-weight: 500; }
.rdetail { display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: 28px; align-items: start; }
.rdetail-art { position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; }
.rcd-big { font-family: var(--mono); font-size: 12px; color: var(--dim); margin: 12px 0; }
.rcd-big .cd { font-size: 18px; }
.odds { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; font-family: var(--mono); }
.odds b { color: var(--cyan); }
.won { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.won b { color: var(--cyan); }
@media (max-width: 960px) { .rdetail { grid-template-columns: 1fr; } }
.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.filters .tabs { margin: 0; }
.sort { width: auto; min-width: 150px; }
.winner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 12px 14px; border: 1px solid rgba(35,216,209,.4); background: rgba(35,216,209,.07); border-radius: 12px; }
.winner .mono { color: var(--dim); }
.winner b { font-family: var(--disp); font-weight: 700; font-size: 18px; color: var(--cyan); }
.pp { padding: 10px 16px; }
.phead { display: flex; justify-content: space-between; color: var(--dim2); padding: 6px 0; border-bottom: 1px solid var(--line); }
.prow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: 0; }
.prow .mono { color: var(--dim); }

/* raffle single screen + winners + profile rows */
.rhead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rone { display: grid; grid-template-columns: minmax(220px, 340px) 1fr 300px; gap: 24px; align-items: start; }
.rone-art { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; }
.rone-main h1 { font-family: var(--disp); font-weight: 700; font-size: 30px; margin: 0 0 4px; }
.rone-cd { font-family: var(--mono); font-size: 13px; color: var(--dim); margin: 10px 0; }
.rone-cd .cd { font-size: 18px; }
.rone-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.rone-kv > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.rone-kv span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim2); }
.rone-kv b { font-family: var(--disp); font-weight: 700; font-size: 15px; }
.wrow { display: grid; grid-template-columns: 46px 1fr 150px 110px auto auto auto; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.wrow:last-child { border-bottom: 0; }
.wrow:hover { background: var(--panel2); }
.wcol { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.wcol b { font-family: var(--disp); font-weight: 700; font-size: 14px; }
.wcol b.win { color: #6ee7b7; } .wcol b.lose { color: var(--dim); }
.pp-scroll { max-height: 240px; overflow: auto; }
@media (max-width: 1100px) { .rone { grid-template-columns: 1fr; } .rone-side { grid-column: 1; } }
@media (max-width: 980px) { .wrow { grid-template-columns: 44px 1fr 120px auto; } .wrow .hidesm { display: none; } }

/* raffle: balanced grid, prize under image, buy at bottom */
.rgrid { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 24px; align-items: start; }
.rleft { display: flex; flex-direction: column; gap: 14px; }
.rstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rstats > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.rstats span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim2); }
.rstats b { font-family: var(--disp); font-weight: 700; font-size: 15px; }
.rright { display: flex; flex-direction: column; gap: 6px; }
.rright h1 { font-family: var(--disp); font-weight: 700; font-size: 30px; margin: 0 0 2px; }
.rbuy { margin-top: 20px; }
.rbuy .mintbox { margin: 0; }
@media (max-width: 900px) { .rgrid { grid-template-columns: 1fr; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); z-index: 90; background: rgba(16,16,20,.96); border: 1px solid var(--line2); color: var(--ink); padding: 11px 18px; border-radius: 999px; font-family: var(--mono); font-size: 12px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* reveal overlay */
.reveal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; }
.reveal.on { display: grid; }
.reveal-bg { position: absolute; inset: 0; background: rgba(4,4,6,.85); backdrop-filter: blur(6px); }
.reveal-card { position: relative; width: min(320px, 76vw); aspect-ratio: 1; transform-style: preserve-3d; animation: flip 1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes flip { 0% { transform: rotateY(0) scale(.9); } 100% { transform: rotateY(360deg) scale(1); } }
.reveal-face { position: absolute; inset: 0; border-radius: 20px; border: 1px solid var(--line2); overflow: hidden; backface-visibility: hidden; background: #000; display: grid; place-items: center; box-shadow: 0 40px 90px -40px rgba(255,47,125,.7); }
.reveal-face img { width: 100%; height: 100%; object-fit: cover; }
.reveal-cap { position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); font-family: var(--disp); font-weight: 900; font-size: 22px; color: var(--cream); text-shadow: 0 6px 30px rgba(255,47,125,.5); }

@media (max-width: 960px) { .drop { grid-template-columns: 1fr; } .feat { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .items { grid-template-columns: repeat(4, 1fr); } .nav a { padding: 7px 10px; font-size: 12px; } }
@media (max-width: 640px) { .cols2 { grid-template-columns: 1fr; } .logo b { font-size: 16px; } }

/* wrong-network warning bar */
.netwarn { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; font-size: 13px; color: #ffd7e6; background: rgba(255,47,125,.12); border-bottom: 1px solid rgba(255,47,125,.35); }
.netwarn[hidden] { display: none; }
.netwarn .btn { padding: 6px 12px; }

/* wallet menu */
.wallet { position: relative; }
.wmenu { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 12px; z-index: 30; box-shadow: 0 20px 50px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 9px; }
.wmenu[hidden] { display: none; }
.wm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wm-head .mono { font-size: 12px; color: var(--cyan); }
.wm-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--dim); }
.wm-row b { color: var(--ink); font-weight: 600; }
.wm-row b.win { color: #23d8d1; }
.wm-row b.lose { color: #ff2f7d; }
.wmenu .btn { width: 100%; }
.btn.danger { border-color: rgba(255,47,125,.45); color: #ff9cc2; }
.btn.danger:hover { background: rgba(255,47,125,.12); color: #fff; }

/* FAQ */
.faq { max-width: 780px; margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.qa .q { font-weight: 700; margin-bottom: 6px; }
.qa .a { color: var(--dim); font-size: 13px; line-height: 1.6; }

/* show full prize image (no crop) */
.rcard-img img { object-fit: contain; }
.feat-art img, .rone-art img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* wumps link */
.wl { color: var(--cyan); text-decoration: none; }
.wl:hover { text-decoration: underline; }
.getw { display: block; text-align: center; margin-top: 10px; font-size: 12px; color: var(--dim); text-decoration: none; }
.getw:hover { color: var(--ink); }

/* transaction status */
.txbox { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 12px 16px; z-index: 60; box-shadow: 0 24px 60px rgba(0,0,0,.55); max-width: min(560px, 92vw); }
.txbox[hidden] { display: none; }
.txbox.ok { border-color: rgba(35,216,209,.5); }
.txbox.err { border-color: rgba(255,47,125,.5); }
.tx-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--pink); animation: txspin .7s linear infinite; flex: none; }
.txbox.ok .tx-spin { border-color: #23d8d1; border-top-color: #23d8d1; animation: none; }
.txbox.err .tx-spin { border-color: #ff2f7d; border-top-color: #ff2f7d; animation: none; }
@keyframes txspin { to { transform: rotate(360deg); } }
.tx-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tx-title { font-size: 13px; font-weight: 600; }
.tx-link { font-size: 11px; color: var(--cyan); text-decoration: none; }
.tx-link:hover { text-decoration: underline; }
.tx-x { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 20px; line-height: 1; }
.tx-x:hover { color: var(--ink); }

/* featured big percent */
.feat-pct { font-family: var(--disp); font-weight: 800; font-size: clamp(34px, 6vw, 60px); line-height: 1; margin: 10px 0 6px; color: var(--cyan); }
.feat-sub { margin-bottom: 12px; }
/* per-user line */
.yours { margin-top: 10px; font-size: 12px; color: var(--cyan); text-align: center; }

/* wallet modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(6,6,9,.72); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal-card { width: min(380px, 92vw); background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.modal-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--disp); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.wlist { display: flex; flex-direction: column; gap: 8px; }
.wrow2 { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #17171c; cursor: pointer; font-weight: 600; }
.wrow2:hover { border-color: rgba(255,47,125,.5); }
.wrow2 img { width: 26px; height: 26px; border-radius: 7px; }

/* participants: show ~10 rows */
.pp-scroll { max-height: 440px; }

/* big fill percent (raffle page) */
.fill { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 8px; }
.fill b { font-family: var(--disp); font-weight: 800; font-size: 40px; line-height: 1; color: var(--cyan); }
.fill span { font-size: 11px; color: var(--dim); }

.feat-big-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
