/* bidcheck landing: live auction floor / scoreboard. (/shortcut keeps landing.css) */
:root {
  --ink: #0d0c0a;
  --ink2: #151310;
  --rule: #2b2823;
  --bone: #efeae0;
  --dim: #a39d91;
  --faint: #6b665d;
  --bid: #ffd23f;   /* the one accent: primary CTA, last seconds on the clock */
  --buy: #3ddc84;
  --pass: #ff5a4f;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--bone); }
body { font: 17px/1.5 var(--sans); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
p, h1, h2, h3, ol, dl, dd { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.mono { font-family: var(--mono); }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.005em; }
.fine { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---- nav ---- */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.logo img { border-radius: 6px; }
.navLinks { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.navLink { color: var(--dim); text-decoration: none; }
.navCta { text-decoration: none; border: 1px solid var(--bone); padding: 8px 12px; border-radius: 3px; }

/* ---- hero ---- */
.hero { padding-top: 36px; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.14em; }
.liveDot { width: 8px; height: 8px; border-radius: 50%; background: var(--bone); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

.heroGrid { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
h1 { font-size: clamp(62px, 17.5vw, 172px); line-height: 0.86; max-width: 9.5ch; }
.clock { order: -1; display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.clockLabel { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; }
.clockLabel:last-child { margin-left: auto; }
.clockTime { font-size: 40px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.clockTime.hot { color: var(--bid); }

.heroFoot { display: grid; gap: 22px; margin-top: 28px; }
.lede { font-size: 19px; line-height: 1.45; color: var(--dim); max-width: 40ch; }
.ctaRow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btnBid {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  font: 900 26px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink); background: var(--bid); text-decoration: none; padding: 18px 30px; border-radius: 3px;
}
.textLink { color: var(--bone); text-underline-offset: 4px; text-decoration-color: var(--faint); }
.ctaRow .textLink { font-size: 16px; }

/* ---- reel: two rows of 9:16 clips drifting in opposite directions ---- */
.reel { margin-top: 44px; padding: 26px 0; overflow: hidden; overflow: clip; perspective: 1400px; }
.reelTilt { display: grid; gap: 14px; transform: rotateX(9deg) rotateZ(-3deg) scale(1.08); }
.track { display: flex; width: max-content; animation: drift 70s linear infinite; will-change: transform; }
.row[data-row="1"] .track { animation-duration: 84s; animation-direction: reverse; }
.reel:hover .track, .reel.held .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }

/* margin, not gap, so each copy of the row is exactly half the track */
.clip {
  position: relative; flex: none; width: 140px; aspect-ratio: 9 / 16; margin-right: 12px;
  background: #141210; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden;
  container-type: inline-size; user-select: none; -webkit-user-select: none;
}
.stage { position: absolute; inset: 0; }
.streamTop { position: absolute; top: 5cqw; left: 6cqw; right: 6cqw; display: flex; justify-content: space-between; align-items: center; font-size: 6cqw; color: var(--dim); }
.live { background: var(--bone); color: var(--ink); font-weight: 700; padding: 0.5cqw 2.5cqw; border-radius: 1.5cqw; }

/* abstract card shape: solid blocks, blurred; never real art */
.shape { position: absolute; left: 17cqw; right: 17cqw; top: 22cqw; aspect-ratio: 63 / 88; background: var(--a); border-radius: 4cqw; filter: blur(2.4cqw); transform: rotate(-2deg); }
.shape i { position: absolute; display: block; }
.shape i:nth-child(1) { top: 11%; left: 9%; right: 9%; height: 44%; background: var(--b); }
.shape i:nth-child(2) { top: 20%; left: 32%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.shape i:nth-child(3) { bottom: 16%; left: 12%; right: 12%; height: 9%; background: var(--c); opacity: 0.55; }
.isBack .shape { background: var(--a); }
.isBack .shape i:nth-child(1) { top: 0; left: 0; right: 0; height: 50%; background: var(--b); }
.isBack .shape i:nth-child(2) { top: 41%; left: 37%; width: 26%; background: var(--c); }
.isBack .shape i:nth-child(3) { top: 48%; bottom: auto; left: 0; right: 0; height: 4%; background: #111; opacity: 1; }

.auction { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqw; display: flex; align-items: center; gap: 3cqw; padding: 3cqw 3.5cqw; border-radius: 3cqw; background: rgba(13, 12, 10, 0.82); font-size: 6.6cqw; }
.aTime { font-weight: 700; font-variant-numeric: tabular-nums; }
.aBid { flex: 1; color: var(--dim); font-variant-numeric: tabular-nums; }
.aBtn { border: 1px solid var(--bone); border-radius: 2cqw; padding: 0.8cqw 3cqw; font-weight: 700; }

.notif {
  position: absolute; top: 4cqw; left: 4cqw; right: 4cqw; padding: 3cqw 4cqw 3.5cqw; border-radius: 4cqw;
  background: rgba(36, 34, 30, 0.96); transform: translateY(-130%); opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}
.notifTop { display: flex; align-items: center; gap: 2cqw; font-size: 4.6cqw; color: var(--dim); letter-spacing: 0.05em; }
.notifTop img { width: 5cqw; height: 5cqw; border-radius: 1cqw; }
.notifTop span { margin-left: auto; }
.notif p { margin-top: 1.5cqw; font-size: 6.2cqw; line-height: 1.28; font-weight: 600; }

.verdict {
  position: absolute; left: 5cqw; bottom: 22cqw; padding: 2cqw 3.5cqw; border-radius: 2cqw;
  font-size: 7cqw; font-weight: 700; color: var(--ink); letter-spacing: 0.02em;
  opacity: 0; transform: translateY(3cqw); transition: opacity 0.3s 0.35s, transform 0.3s 0.35s;
}
.verdict.buy { background: var(--buy); }
.verdict.pass { background: var(--pass); }
.clip[data-phase="result"] .notif { transform: none; opacity: 1; }
.clip[data-phase="result"] .verdict { opacity: 1; transform: none; }

/* real footage when public/clips/clipN.mp4 exists: it carries its own notification */
.clipVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hasVideo > :not(video) { display: none; }

.reelCaption { margin-top: 14px; font-size: 12px; color: var(--dim); letter-spacing: 0.04em; }

/* ---- how it works: one horizontal timeline ---- */
.how { margin-top: 96px; }
h2 { font-size: clamp(46px, 12vw, 104px); line-height: 0.88; }
.timeline { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 34px; }
.timeline li { position: relative; padding-top: 18px; border-top: 1px solid var(--rule); }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--bone); }
.timeline li:last-child::before { background: var(--buy); }
.tick { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; }
.timeline h3 { font-size: 44px; line-height: 0.92; margin: 10px 0 10px; }
.timeline p { color: var(--dim); max-width: 34ch; }

/* ---- pricing: a price board ---- */
.prices { margin-top: 104px; }
.board { margin-top: 34px; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.lot { background: var(--ink); padding: 22px 20px 24px; display: grid; gap: 18px; align-content: start; }
.lotHead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lotHead .mono { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; }
.lotHead h3 { font-size: 34px; line-height: 1; }
.lotPrice { font-size: clamp(110px, 30vw, 170px); line-height: 0.8; font-variant-numeric: tabular-nums; }
.per { font-size: 16px; font-weight: 500; color: var(--dim); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.lotRows { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.lotRows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px dashed var(--rule); }
.lotRows dt { color: var(--dim); }
.lotRows dd { text-align: right; }
.lotRows .off { color: var(--faint); }
.btnLine, .btnBone {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px 20px; border-radius: 3px;
  font: 900 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
}
.btnLine { color: var(--bone); border: 1px solid var(--bone); background: transparent; }
.btnBone { color: var(--ink); background: var(--bone); border: 1px solid var(--bone); }
.boardNote { margin-top: 16px; max-width: 78ch; text-transform: none; letter-spacing: 0.02em; line-height: 1.6; }

.board.three .lotPrice { font-size: clamp(92px, 26vw, 150px); }
.lotSub { font-size: 13px; color: var(--dim); letter-spacing: 0.04em; margin-top: -6px; }
.lot .btnBid { width: 100%; font-size: 22px; padding: 15px 20px; }

/* monthly / yearly switch */
.interval { display: inline-flex; border: 1px solid var(--rule); border-radius: 3px; margin-top: 26px; }
.interval button { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); background: transparent; border: 0; padding: 11px 16px; cursor: pointer; }
.interval button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.interval .save { color: var(--buy); }
.interval button[aria-pressed="true"] .save { color: var(--ink); }

/* ---- account, pro, sign-in pages ---- */
.page { padding-top: 40px; padding-bottom: 80px; }
.page h1, .authPage h1 { font-size: clamp(56px, 15vw, 128px); line-height: 0.86; }
.page .lede { margin-top: 18px; }
.authPage { padding-top: 48px; padding-bottom: 80px; display: grid; gap: 22px; justify-items: start; }
.authPage form { width: 100%; max-width: 420px; }
.panel { margin-top: 34px; border: 1px solid var(--rule); display: grid; gap: 1px; background: var(--rule); }
.panel > * { background: var(--ink); padding: 20px; }
.field { display: grid; gap: 8px; }
.label { font: 500 12px/1.2 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; }
.bigValue { font: 900 clamp(48px, 13vw, 88px)/0.9 var(--display); text-transform: uppercase; }
.meter { height: 8px; background: var(--rule); }
.meter span { display: block; height: 100%; background: var(--bone); }
.meter.full span { background: var(--pass); }
.keyRow { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.keyRow code { flex: 1 1 260px; min-width: 0; font: 500 16px/1.4 var(--mono); padding: 14px 16px; border: 1px solid var(--rule); background: var(--ink2); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.btnSmall { font: 700 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; padding: 14px 18px; border-radius: 3px; border: 1px solid var(--bone); background: var(--bone); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btnSmall.ghost { background: transparent; color: var(--bone); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.emailForm { display: grid; gap: 12px; max-width: 460px; margin-top: 30px; }
.emailForm input { font: 400 18px/1.2 var(--sans); color: var(--bone); background: var(--ink2); border: 1px solid var(--rule); border-radius: 3px; padding: 16px; width: 100%; }
.emailForm input:focus { outline: 2px solid var(--bone); outline-offset: 1px; }
.note { font: 400 13px/1.6 var(--mono); color: var(--dim); }
.note.ok { color: var(--buy); }
.note.bad { color: var(--pass); }
[hidden] { display: none !important; }

/* ---- final ---- */
.final { margin-top: 112px; padding-bottom: 88px; }
.final h2 { font-size: clamp(60px, 16vw, 168px); line-height: 0.86; max-width: 10ch; }
.final .ctaRow { margin-top: 30px; }

footer { border-top: 1px solid var(--rule); padding-top: 22px; padding-bottom: max(36px, env(safe-area-inset-bottom)); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; }

/* ---- wider screens ---- */
@media (min-width: 760px) {
  .wrap { padding-left: 40px; padding-right: 40px; }
  .clip { width: 200px; margin-right: 16px; }
  .reelTilt { gap: 16px; }
  .btnBid { width: auto; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .timeline li { padding-right: 36px; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .board.three { grid-template-columns: repeat(3, 1fr); }
  .board.three .lotPrice { font-size: min(8.2vw, 112px); }
  .lot { padding: 28px 30px 30px; }
}

@media (min-width: 1000px) {
  .hero { padding-top: 48px; }
  h1 { font-size: min(8.6vw, 124px); max-width: none; }
  .heroGrid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
  .clock { order: 0; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 22px; border: 1px solid var(--rule); min-width: 250px; margin-bottom: 10px; }
  .clockLabel:last-child { margin-left: 0; }
  .clockTime { font-size: 84px; }
  .heroFoot { grid-template-columns: 1fr auto; align-items: end; gap: 40px; margin-top: 40px; }
  .heroFoot .fine { grid-column: 1 / -1; }
}

/* ---- reduced motion: one static row, nothing ticking or sliding ---- */
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .row[data-row="1"] { display: none; }
  .reelTilt { transform: none; }
  .row { overflow-x: auto; padding: 0 20px; scrollbar-width: none; }
  .notif, .verdict { transition: none; }
  .liveDot { animation: none; }
}
