/* Blitzpot homepage */
:root {
  --black: #0b0b0b;
  --panel: #131313;
  --white: #f4f4f1;
  --ink: #f4f4f1;
  --g1: #a3a3a0;
  --g2: #6e6e6b;
  --g3: #4d4d4a;
  --ld: #222;
  --ll: #222;
  --sq-light: #ebebe7;
  --sq-dark: #b6b6b0;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--black); color: var(--white); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--white); color: var(--black); }
.mono { font-family: var(--mono); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent; background: none; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: #fff; }
.btn-line { border-color: #2e2e2e; color: var(--white); }
.btn-line:hover { border-color: #555; background: #141414; }
.btn-ghost { color: var(--g1); padding: 0 10px; }
.btn-ghost:hover { color: var(--white); }
.btn-line.mono { font-size: 12px; color: var(--g1); }
.btn-line.mono:hover { color: var(--white); }
.btn-line.mono svg { opacity: .7; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; will-change: transform; transition: background .3s, border-color .3s, transform .35s cubic-bezier(.2,.7,.2,1); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11,11,11,.97); border-color: var(--ld); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; gap: 36px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--g1); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--white); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }

/* hero */
.hero { padding: 120px 0 0; background: var(--black); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 80px; align-items: center; }
.round-line { margin: 0 0 28px; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border: 1px solid #262626; border-radius: 999px; color: var(--g1); font-size: 13px; }
.round-line .sep { color: var(--g3); }
.round-line [data-countdown] { color: var(--white); font-family: var(--sans); font-weight: 500; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
h1 { margin: 0; max-width: 13em; font-size: clamp(36px, 4.1vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.lede { margin: 22px 0 0; max-width: 31em; color: var(--g1); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.pot { display: flex; flex-direction: column; gap: 4px; margin-top: 36px; }
.pot-label { font-size: 13px; color: var(--g2); }
.pot-value { font-size: 16px; color: var(--g1); font-weight: 500; }
.pot-value #potNum { font-family: var(--sans); font-size: 44px; font-weight: 600; color: var(--white); letter-spacing: -.04em; margin-right: 4px; line-height: 1.1; }
.cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.showcase { margin: 0; background: var(--panel); border: 1px solid #222; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset; }
.show-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--ld); font-size: 13px; min-width: 0; }
.show-tag { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 500; font-size: 13px; }
.show-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g2); }
.show-tag.live::before { background: #fff; animation: pulse 2s infinite; }
.show-title { position: relative; padding-left: 12px; }
.show-title::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: #333; }
.show-title { color: var(--g1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.show-board { padding: 0; }
#board { width: 100%; aspect-ratio: 1; }
.show-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--ld); }
.show-moves { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; overflow: hidden; white-space: nowrap; font-size: 12px; color: var(--g2); mask-image: linear-gradient(90deg, transparent, #000 30%); justify-content: flex-end; flex: 1; min-width: 0; }
.show-moves li.cur { color: var(--white); }
.show-watch { flex: none; font-size: 13px; color: var(--g1); }
.show-watch:hover { color: var(--white); }

.cm-chessboard.cf .board .square.white { fill: var(--sq-light); }
.cm-chessboard.cf .board .square.black { fill: var(--sq-dark); }
.cm-chessboard.cf.border-type-none .board .border { stroke-width: 0; fill: var(--sq-dark); }
.cm-chessboard.cf .coordinates { pointer-events: none; user-select: none; }
.cm-chessboard.cf .coordinates .coordinate { font-size: 10px !important; font-weight: 600; font-family: var(--sans); }
@media (max-width: 600px) { .cm-chessboard.cf .coordinates .coordinate { font-size: 8px !important; } }
.cm-chessboard.cf .coordinates .coordinate.black { fill: #f7f7f4; }
.cm-chessboard.cf .coordinates .coordinate.white { fill: #8d8d87; }
.cm-chessboard .markers .marker.marker-last { fill: rgba(20, 20, 20, .16); opacity: 1; }
.cm-chessboard .markers .marker.marker-check { fill: rgba(0, 0, 0, .4); opacity: 1; }

.facts { margin: 80px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ld); }
.facts > div { padding: 24px 0 30px; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--ld); }
.facts dt { font-size: 13px; color: var(--g2); }
.facts dd { margin: 8px 0 0; font-family: var(--sans); font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.facts dd span { font-family: var(--sans); }

/* light sections */
.light { background: var(--black); color: var(--ink); padding: 104px 0; border-top: 1px solid var(--ld); }
.light + .light { padding-top: 0; border-top: 0; }
.dark { background: var(--black); padding: 104px 0; border-top: 1px solid var(--ld); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.more { font-size: 14px; color: var(--g1); border-bottom: 1px solid var(--ll); padding-bottom: 2px; }
.more:hover { color: var(--ink); border-color: var(--ink); }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ll); }
.steps li { padding: 32px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--ll); }
.piece { width: 44px; height: 44px; display: block; margin: 0 0 24px -4px; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.steps li:hover .piece { transform: translateY(-6px) rotate(-6deg); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--g1); font-size: 15px; }
.steps b { color: var(--ink); font-weight: 600; }

.stand-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; margin-top: 32px; align-items: start; }
.table { border-top: 1px solid #3a3a3a; }
.tr { display: grid; grid-template-columns: 40px minmax(0, 1fr) 48px 48px 48px 60px; gap: 8px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--ll); font-size: 15px; }
.tr > span:nth-child(n+3) { text-align: right; font-family: var(--mono); font-size: 14px; }
.th { font-size: 12px; color: var(--g2); padding: 10px 0; }
.th > span { font-family: var(--sans) !important; font-size: 12px !important; }
.tr .rk { font-family: var(--mono); color: var(--g2); font-size: 13px; }
.tr .who { font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr .who small { margin-left: 8px; color: var(--g2); font-size: 11px; }
.tr .pts { font-weight: 600; }
.tr > span:nth-child(n+3) { font-family: var(--sans); font-size: 15px; }
.tr .rk { font-family: var(--sans); }
.lb-empty { padding: 28px 0; color: var(--g2); border-bottom: 1px solid var(--ll); }
.side h3 { font-size: 14px; margin: 0 0 10px; }
.side h3 + .results { margin-bottom: 32px; }
.results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ll); }
.results li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ll); font: 13px var(--mono); }
.results li span:last-child { color: var(--g2); }
.results li.none { font-family: var(--sans); color: var(--g2); }

/* fair play */
.fair-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
.fair-lede { margin: 20px 0 0; color: var(--g1); font-size: 17px; max-width: 26em; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ld); }
.checks li { padding: 20px 0; border-bottom: 1px solid var(--ld); color: var(--g1); }
.checks b { display: block; color: var(--white); font-weight: 600; margin-bottom: 4px; }

/* faq */
.faq-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; padding-top: 110px; }
#faq { padding-top: 0; }
.faq { border-top: 1px solid var(--ll); }
.faq details { border-bottom: 1px solid var(--ll); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center/12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.5px 12px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { overflow: hidden; }
.faq p { margin: 0; padding: 0 0 22px; color: var(--g1); max-width: 38em; }

.closer { padding: 120px 0; }
.closer-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.closer h2 { max-width: 16em; }
.closer #potNum2 { font-family: var(--sans); }

/* footer */
.foot { border-top: 1px solid var(--ld); color: var(--g2); font-size: 13px; }
.foot-in { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; }
.foot a { color: var(--g1); text-decoration: underline; text-underline-offset: 3px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--black); pointer-events: none; transform: translateY(100%); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding-top: 104px; }
  .hero-in, .fair-in, .faq-in, .stand-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--ld); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--ll); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .nav-in { height: 58px; gap: 12px; }
  #ca { display: none; }
  .light, .dark { padding: 80px 0; }
  .faq-in { padding-top: 80px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 18px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--ll); }
  .tr { grid-template-columns: 26px minmax(0, 1fr) 26px 26px 26px 38px; font-size: 14px; }
  .show-watch { display: none; }
}

/* links */
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--g1); transition: color .15s, background .15s; }
.icon-btn:hover { color: var(--white); background: #161616; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--g1); text-decoration: none; }
.foot-links a:hover { color: var(--white); }
@media (max-width: 600px) { .nav-right .icon-btn, .nav-right [data-link="buy"], .nav-right .div { display: none; } }

/* featured games reel */
.show-meta { margin-left: auto; flex: none; color: var(--g2); font-size: 12px; white-space: nowrap; }
.show-p { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 14px; font-weight: 500; }
.sp-side { width: 12px; height: 12px; border-radius: 3px; flex: none; border: 1px solid #444; }
.sp-side.w { background: #f4f4f1; border-color: #f4f4f1; }
.sp-side.b { background: #0b0b0b; }
.sp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-res { min-width: 26px; height: 24px; display: inline-grid; place-items: center; padding: 0 6px; border-radius: 6px; font-weight: 600; font-size: 13px; color: var(--g1); }
.sp-res:empty { display: none; }
.sp-res.win { background: var(--white); color: var(--black); }
.show-prog { height: 2px; background: #1d1d1d; }
.show-prog i { display: block; height: 100%; width: 0; background: var(--white); transition: width .35s ease-out; }
.reel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ld); }
.reel button { display: grid; gap: 2px; text-align: left; padding: 12px 14px; background: none; border: 0; border-right: 1px solid var(--ld); color: var(--g2); transition: background .15s, color .15s; min-width: 0; }
.reel button:last-child { border-right: 0; }
.reel button:hover { background: #171717; color: var(--g1); }
.reel button[aria-selected="true"] { background: #1a1a1a; color: var(--white); box-shadow: inset 0 2px 0 var(--white); }
.reel .r-n { font: 500 11px var(--mono); color: var(--g3); }
.reel button[aria-selected="true"] .r-n { color: var(--g1); }
.reel .r-t { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel .r-s { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
  .show-meta { display: none; }
  .reel { grid-template-columns: 1fr 1fr; }
  .reel button:nth-child(2) { border-right: 0; }
  .reel button:nth-child(n+3) { border-top: 1px solid var(--ld); }
}
