/* kolbet v3: logo, bubble cursor, dense rows, landing, launch flow */
.brand > img { display: block; filter: drop-shadow(0 6px 16px rgba(75,99,255,.45)); transform-origin: 50% 85%; transition: transform .6s var(--spring), filter .4s; }
.brand:hover > img { transform: translateY(-2px) scale(1.08) rotate(-6deg); filter: drop-shadow(0 8px 22px rgba(75,99,255,.7)); }
.brand { gap: 9px; font-size: 19px; }
.wm { font-weight: 800; letter-spacing: -.045em; line-height: 1; }
#scroller { flex: 1; display: flex; flex-direction: column; }
.eyebrow { font: 500 12px var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.eyebrow b { color: var(--blue-2); font-weight: 500; }

/* ---- bubble cursor ---- */
@media (hover: hover) and (pointer: fine) {
  html.bubble, html.bubble * { cursor: none !important; }
  html.bubble input, html.bubble textarea { cursor: text !important; }
  html.bubble iframe { cursor: auto !important; }
}
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 100; display: none; }
html.bubble .cursor { display: block; }
/* outer: position + direction stretch (JS, every frame). inner: size (CSS transitions) */
.cursor-bubble { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.cursor-bubble i {
  position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,.75) 0 6%, rgba(255,255,255,.12) 18%, transparent 34%),
    radial-gradient(circle at 70% 78%, rgba(113,135,255,.35), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(75,99,255,.04) 55%, rgba(120,140,255,.22) 100%);
  border: 1px solid rgba(200,210,255,.38);
  box-shadow: inset 0 0 12px rgba(255,255,255,.12), inset -3px -5px 10px rgba(75,99,255,.3), 0 6px 18px -6px rgba(75,99,255,.5);
  transform: scale(1); transition: transform .45s var(--spring), opacity .25s, border-color .3s;
}
.cursor-dot { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.8); transition: opacity .2s; will-change: transform; }
.cursor.hover .cursor-bubble i { transform: scale(1.55); border-color: rgba(150,170,255,.7); }
.cursor.hover .cursor-dot { opacity: 0; }
.cursor.down .cursor-bubble i { transform: scale(.72); transition-duration: .15s; }
.cursor.hover.down .cursor-bubble i { transform: scale(1.3); }
.cursor.text .cursor-bubble i, .cursor.text .cursor-dot, .cursor.out .cursor-bubble i, .cursor.out .cursor-dot { opacity: 0; }


/* ---- market rows ---- */
.mlist { overflow: hidden; }
.mhead, .mrow { display: grid; grid-template-columns: minmax(240px, 1.6fr) 150px 70px 96px 92px 150px; gap: 14px; align-items: center; padding: 12px 18px; }
.mhead { font: 600 12px var(--mono); color: var(--ink-3); border-bottom: 1px solid var(--line); }
.mrow { border-top: 1px solid var(--line); transition: background .2s; font-size: 14px; }
.mhead + .mrow { border-top: 0; }
.mrow:hover { background: rgba(75,99,255,.045); }
.mrow .q { display: flex; gap: 12px; align-items: center; min-width: 0; }
.mrow .q > div { min-width: 0; }
.mrow .q b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .q a:hover { color: var(--blue-2); }
.mrow .p { display: grid; gap: 6px; }
.mrow .p span { font: 700 18px var(--mono); letter-spacing: -.03em; }
.mrow .r { text-align: right; font: 13px var(--mono); }
.mrow .acts { display: flex; gap: 6px; justify-content: flex-end; }
.mrow .acts .btn { padding: 7px 12px; font-size: 13px; min-width: 64px; }
.mrow.settled { opacity: .6; }
@media (max-width: 900px) {
  .mhead { display: none; }
  .mrow { grid-template-columns: 1fr auto; row-gap: 10px; }
  .mrow .p { grid-column: 1 / -1; }
  .mrow .r.hide-sm { display: none; }
  .mrow .acts { grid-column: 1 / -1; }
  .mrow .acts .btn { flex: 1; }
}

/* ---- landing ---- */
.hero-left { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding: 64px 0 10px; }
.hero-left h1 { font-size: clamp(44px, 6.4vw, 82px); line-height: .96; letter-spacing: -.05em; margin: 18px 0 20px; font-weight: 800; }
.hero-left h1 em { font-style: normal; color: var(--blue); }
.hero-left p { color: var(--ink-2); font-size: 17px; max-width: 520px; margin: 0 0 30px; }
.hero-left .hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.stack { position: relative; height: 300px; }
.stack .mcard { position: absolute; left: 0; right: 0; top: 60px; padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 50%), rgba(8,11,28,.94); transform-origin: 50% 0; transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
@media (max-width: 900px) { .hero-left { grid-template-columns: 1fr; } .stack { height: 320px; } }

.curve-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 44px; align-items: center; margin-top: 130px; }
.curve-wrap h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.04em; line-height: 1.02; margin: 12px 0 18px; font-weight: 800; }
.curve-wrap p { color: var(--ink-2); margin: 0 0 12px; }
.curve-wrap p b { color: var(--ink); font-weight: 600; }
.curve { position: relative; height: 430px; }
.curve .plot { position: absolute; inset: 22px 22px 40px 52px; }
.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.curve .ax { position: absolute; font: 11px var(--mono); color: var(--ink-3); }
.curve .dotk { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-2); background: #0b0f26; transition: transform .35s var(--spring), box-shadow .3s; z-index: 1; display: block; }
.curve .dotk img { width: 100%; height: 100%; object-fit: cover; }
.curve .dotk:hover { transform: scale(1.8); z-index: 3; box-shadow: 0 0 0 3px rgba(75,99,255,.55); }
.curve .tip { position: absolute; z-index: 4; pointer-events: none; padding: 8px 12px; font-size: 12px; white-space: nowrap; transform: translate(-50%, calc(-100% - 20px)); opacity: 0; transition: opacity .2s; border-radius: 10px; }
.curve .tip.on { opacity: 1; }
@media (max-width: 900px) { .curve-wrap { grid-template-columns: 1fr; } .curve { height: 340px; } }

.rules { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 120px; border-top: 1px solid var(--line); }
.rules > div { padding: 28px 28px 0 0; }
.rules .n { font: 500 12px var(--mono); color: var(--blue-2); }
.rules h3 { margin: 12px 0 6px; font-size: 17px; letter-spacing: -.02em; }
.rules p { margin: 0; color: var(--ink-2); font-size: 14px; }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr 1fr; row-gap: 26px; } }
.closing { margin-top: 130px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.closing h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; max-width: 620px; line-height: 1.1; }

/* ---- launch / coin ---- */
.steps { display: grid; gap: 12px; margin: 18px 0 6px; }
.step { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-3); }
.step i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.step.active { color: var(--ink); }
.step.active i { border-color: var(--blue-2); border-top-color: transparent; animation: spin .8s linear infinite; }
.step.done { color: var(--ink-2); }
.step.done i { background: var(--yes); border-color: var(--yes); box-shadow: 0 0 10px rgba(61,220,151,.5); }
.step.err { color: var(--no); }
.step.err i { border-color: var(--no); }
@keyframes spin { to { transform: rotate(360deg); } }
.chart-frame { width: 100%; height: 440px; border: 0; border-radius: 14px; background: #05070f; display: block; margin-top: 12px; }
.chart-empty { height: 300px; display: grid; place-items: center; text-align: center; color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: 14px; margin-top: 12px; padding: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); margin-top: 18px; }
.stat-row > div { padding: 14px 16px 0 0; }
.stat-row .l { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.stat-row .v { font: 600 16px var(--mono); margin-top: 3px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.links-row { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.links-row a:hover { color: var(--blue-2); }
.wallet-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(2,3,12,.4); font-weight: 600; transition: border-color .2s, background .2s; margin-top: 8px; text-align: left; }
.wallet-opt:hover { border-color: rgba(113,135,255,.5); background: rgba(75,99,255,.07); }
.wallet-opt span { margin-left: auto; font: 500 12px var(--mono); color: var(--ink-3); }
.note { font-size: 13px; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(2,3,12,.4); }
.note b { color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); user-select: none; }
.toggle input { accent-color: var(--blue); }


/* labels use the sans face; mono is kept for numbers only */
.eyebrow { font: 500 13px 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: 0; }
.term-bar { font: 600 13px 'Plus Jakarta Sans', system-ui, sans-serif; }
.term-col h4 { font: 600 13px 'Plus Jakarta Sans', system-ui, sans-serif; text-transform: none; letter-spacing: -.005em; color: var(--ink-2); margin-bottom: 12px; }
.term-feed { font: 500 13px/1.75 'Plus Jakarta Sans', system-ui, sans-serif; }
.sub { font: 500 12px 'Plus Jakarta Sans', system-ui, sans-serif; }

/* landing: crowd-odds explainer */
.pool-demo { padding: 24px; align-self: center; }
.pool-split { display: flex; gap: 6px; margin-top: 18px; height: 78px; }
.pool-split > div { min-width: 64px; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; transition: flex .5s var(--spring); }
.pool-split .yes { background: rgba(61,220,151,.12); border: 1px solid rgba(61,220,151,.35); color: var(--yes); }
.pool-split .no { background: rgba(255,92,122,.10); border: 1px solid rgba(255,92,122,.32); color: var(--no); }
.pool-split b { font-size: 22px; letter-spacing: -.03em; }
.pool-split span { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-pays { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--ink-2); }


/* ---- performance ---- */
/* backdrop blur only where it shows (fixed chrome); in-page panels use a solid tint */
.glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.012) 40%, rgba(255,255,255,0) 100%), rgba(11, 14, 34, .82); }
.nav.glass, .toast.glass { backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); background: rgba(9, 12, 30, .6); }
/* skip layout/paint for rows that are off screen */
.mrow { content-visibility: auto; contain-intrinsic-size: auto 62px; }
.table tbody tr { content-visibility: auto; contain-intrinsic-size: auto 56px; }
.card-link { content-visibility: auto; contain-intrinsic-size: auto 220px; }
.bg-liquid { will-change: transform; }


/* rules page */
.terms { padding: 26px 30px; max-width: 820px; }
.terms h3 { margin: 22px 0 8px; font-size: 17px; }
.terms h3:first-child { margin-top: 0; }
.terms p { color: var(--ink-2); margin: 0 0 10px; line-height: 1.65; }
