:root {
  --background: #fff;
  --ink: #1d1d1f;
  --ink-2: #56565c;
  --hairline: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #1a7f37;
  --apple-green: #16a34a;
  --red: #e5484d;
  --whop: #fa4616;
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-system);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

.page { min-height: 100vh; }

.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.center { text-align: center; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn-ink {
  display: inline-block; border-radius: 999px; background: var(--ink); color: #fff;
  padding: 6px 16px; font-size: 13px; font-weight: 500; transition: opacity .15s;
}
.btn-ink:hover { opacity: .85; }
.btn-blue {
  display: inline-block; border-radius: 999px; background: var(--blue); color: #fff;
  padding: 10px 22px; font-size: 15px; font-weight: 500; transition: background .15s;
}
.btn-blue:hover { background: var(--blue-hover); }
.btn-blue.wide { width: 100%; padding: 12px; }
.btn-blue.sm { padding: 5px 14px; font-size: 13px; }
.link-blue { color: var(--blue); }
.link-blue:hover { text-decoration: underline; }

.seg { display: flex; border-radius: 999px; background: rgba(210,210,215,.5); padding: 4px; font-size: 13px; font-weight: 500; }
.seg button { border-radius: 999px; padding: 6px 16px; color: var(--ink-2); transition: color .15s, background .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.1); }
.seg-sm { padding: 2px; font-size: 12px; }
.seg-sm button { padding: 4px 10px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(210,210,215,.7);
  background: rgba(255,255,255,.7);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.nav-inner { max-width: 72rem; margin: 0 auto; height: 52px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark { height: 26px; width: auto; }
.nav-links { display: none; gap: 28px; font-size: 13px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.currency { display: none; }
.menu-btn { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; border-radius: 999px; }
.menu-btn:hover { background: rgba(0,0,0,.05); }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { display: flex; flex-direction: column; padding: 8px 24px 16px; border-top: 1px solid rgba(210,210,215,.7); }
.mobile-menu a { padding: 10px 0; font-size: 15px; }
@media (min-width: 768px) {
  .nav-links, .currency { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Whop ---------- */
.whop-btn {
  display: none; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 14px;
  background: var(--whop); color: #fff; font-size: 13px; font-weight: 600; transition: opacity .15s;
}
.whop-btn:hover { opacity: .9; }
.whop-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@media (min-width: 640px) { .whop-btn { display: inline-flex; } }
.h1-whop { color: var(--whop); }
.lede strong { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { max-width: 64rem; margin: 0 auto; padding: 48px 24px 64px; text-align: center; }
@media (min-width: 768px) { .hero { padding-top: 64px; } }
.live-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; font-size: 12px; min-height: 24px; }
@media (min-width: 640px) { .live-row { font-size: 13px; } }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  background: rgba(250,70,22,.1); color: #d63a0f; padding: 3px 10px; font-weight: 600; font-size: 12px;
}
.live-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--whop); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero h1 { margin-top: 20px; font-size: clamp(2rem, 5vw, 4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.06em; }
.lede { margin: 16px auto 0; max-width: 62ch; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
@media (min-width: 640px) { .lede { font-size: 16px; } }

.progress-wrap { margin: 32px auto 0; max-width: 17rem; }
@media (min-width: 640px) { .progress-wrap { max-width: 24rem; } }
.progress-head { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; }
.raised { font-size: 20px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .raised { font-size: 24px; } .progress-head { font-size: 14px; } }
.raised-label { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.progress-head strong { font-weight: 500; color: var(--green); font-variant-numeric: tabular-nums; }
.progress { margin-top: 8px; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(210,210,215,.6); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.progress-bar { height: 100%; width: 0; border-radius: 999px; background: var(--apple-green); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }

.view-toggle-wrap { margin-top: 32px; display: flex; justify-content: center; }

.stage-wrap { position: relative; margin: 24px auto 0; width: 100%; max-width: 900px; display: grid; gap: 20px; }
.stage-col { min-width: 0; }
/* While bidding, the card sits beside the helmet (below it on narrow screens) so the logo preview stays in view. */
.stage-wrap .dialog { position: relative; inset: auto; margin: 0 auto; order: 1; width: 100%; max-width: 420px; text-align: left; color: var(--ink); background: #fff; box-shadow: 0 12px 48px rgba(0,0,0,.14); }
@media (min-width: 960px) {
  .stage-wrap.bidding {
    max-width: none; width: min(1200px, calc(100vw - 48px)); margin-left: calc(50% - min(600px, 50vw - 24px));
    grid-template-columns: 400px minmax(0, 1fr); gap: 32px; align-items: center;
  }
  .stage-wrap.bidding .dialog { order: 0; max-width: none; }
}
.stage { position: relative; aspect-ratio: 1.5; width: 100%; touch-action: pan-y; }
@media (max-width: 640px) { .stage { aspect-ratio: 1; } }
.stage canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); font-size: 13px; }
.stage-shadow { margin: -12px auto 0; height: 20px; width: 45%; border-radius: 50%; background: rgba(0,0,0,.12); filter: blur(16px); }
.sponsor-wheel { margin: 20px auto 0; max-width: 720px; }
.sponsor-wheel[hidden] { display: none; }
.wheel-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.wheel {
  margin-top: 10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.wheel-track { display: flex; width: max-content; animation: wheel 28s linear infinite; }
.wheel:hover .wheel-track { animation-play-state: paused; }
@keyframes wheel { to { transform: translateX(-50%); } }
.wheel-item {
  display: inline-flex; align-items: center; gap: 8px; margin-right: 12px; flex-shrink: 0;
  border-radius: 999px; background: #f5f5f7; padding: 5px 14px 5px 5px;
  font-size: 14px; font-weight: 500; transition: background .15s, box-shadow .15s;
}
.wheel-item:hover { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.08); }
.wheel-item img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .wheel { -webkit-mask-image: none; mask-image: none; }
  .wheel-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 8px; }
  .wheel-track [aria-hidden="true"] { display: none; }
}
.hint { margin-top: 20px; font-size: 13px; color: var(--ink-2); }
.hint strong { color: var(--ink); font-weight: 500; }

.tooltip {
  position: fixed; z-index: 50; pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  background: rgba(29,29,31,.92); color: #fff; border-radius: 10px; padding: 7px 11px;
  font-size: 12px; text-align: left; white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.tooltip strong { display: block; font-size: 13px; font-weight: 600; }
.tooltip span { color: rgba(255,255,255,.7); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.pitch { max-width: 48rem; margin: 0 auto; padding: 32px 24px 48px; text-align: center; }
.pitch-big { font-size: clamp(1.5rem, 3.4vw, 2.5rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.04em; }
.pitch-sub { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.pitch-cta { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 15px; }

.callout { max-width: 48rem; margin: 0 auto; padding: 48px 24px; text-align: center; border-top: 1px solid rgba(210,210,215,.6); border-bottom: 1px solid rgba(210,210,215,.6); }
.callout h2 { font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; }
.callout p { margin-top: 8px; font-size: 15px; }

.section { max-width: 64rem; margin: 0 auto; padding: 80px 24px 0; scroll-margin-top: 64px; }
.section.narrow { max-width: 44rem; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; }
.section-head p { margin-top: 10px; font-size: 17px; line-height: 1.5; }
.section-head p.small { font-size: 13px; max-width: 60ch; margin-left: auto; margin-right: auto; }

.card { border-radius: 18px; background: #f5f5f7; padding: 20px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.card-head h3 { font-size: 15px; font-weight: 600; }

.leaderboard { max-width: 36rem; margin: 0 auto 28px; }
.leaderboard ol { list-style: none; margin: 0; padding: 0; }
.leaderboard li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(210,210,215,.7); font-size: 14px; }
.leaderboard li:first-child { border-top: 0; }
.rank { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.leaderboard .grow { flex: 1; min-width: 0; }
.leaderboard .grow small { display: block; color: var(--ink-2); font-size: 12px; }
.leaderboard .amt { font-weight: 600; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 16px; }
.chip { border-radius: 999px; border: 1px solid var(--hairline); padding: 4px 10px; font-size: 12px; color: var(--ink-2); transition: all .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.total-bids { text-align: center; margin-bottom: 20px; }

.spot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.spot-card {
  text-align: left; border-radius: 16px; background: #f5f5f7; padding: 16px;
  display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s, transform .15s;
}
.spot-card:hover { box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.08); transform: translateY(-1px); background: #fff; }
.spot-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.spot-card .num-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 11px; }
.spot-card h4 { margin: 4px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.spot-card .zone { font-size: 12px; color: var(--ink-2); }
.spot-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.spot-card .price { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.spot-card .bids { font-size: 12px; color: var(--ink-2); }
.status { font-size: 12px; font-weight: 500; border-radius: 999px; padding: 3px 10px; }
.status.open { color: var(--blue); background: rgba(0,113,227,.1); }
.status.sold { color: var(--green); background: rgba(26,127,55,.1); }

.table-wrap { display: none; margin-top: 40px; overflow-x: auto; }
@media (min-width: 900px) { .table-wrap { display: block; } }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
td { padding: 12px; border-bottom: 1px solid rgba(210,210,215,.6); }
td .sub { display: block; font-size: 12px; color: var(--ink-2); }
tr:hover td { background: #fafafa; }

#days .empty { text-align: center; padding: 24px 8px; color: var(--ink-2); font-size: 14px; }

.steps { display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border-radius: 18px; background: #f5f5f7; padding: 24px; }
.step-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.step h3 { margin-top: 16px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 8px; font-size: 14px; line-height: 1.55; }

.stream { display: grid; gap: 28px; padding: 32px; align-items: center; }
@media (min-width: 768px) { .stream { grid-template-columns: 1.3fr 1fr; } }
.stream h2 { margin-top: 14px; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.04em; }
.stream p { margin: 12px 0 20px; font-size: 15px; line-height: 1.6; }
.stream-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stream-stats li { background: #fff; border-radius: 14px; padding: 14px 18px; display: flex; align-items: baseline; gap: 10px; }
.stream-stats strong { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stream-stats span { font-size: 13px; color: var(--ink-2); }

.specs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.specs-head h3 { font-size: 17px; font-weight: 600; }
.specs-price { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.specs dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.specs dt, .specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(210,210,215,.6); font-size: 14px; }
.specs dt { color: var(--ink-2); padding-right: 24px; }
.specs dl > :nth-last-child(-n+2) { border-bottom: 0; }
.fine { margin-top: 14px; line-height: 1.55; text-align: center; }

.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--ink-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p, .faq ul { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.faq ul { padding-left: 20px; }

.list-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(210,210,215,.7); font-size: 14px; }
.list-row:first-child { border-top: 0; }
.list-row .grow { flex: 1; }

.about { text-align: center; }
.about h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.04em; }
.about p { margin-top: 12px; font-size: 16px; line-height: 1.6; }

.footer { max-width: 64rem; margin: 96px auto 0; padding: 32px 24px 40px; border-top: 1px solid rgba(210,210,215,.7); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }
.footer-links a:hover { color: var(--ink); }

/* ---------- Dialog ---------- */
.dialog { border: 0; border-radius: 22px; padding: 0; width: min(420px, calc(100vw - 32px)); box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.dialog::backdrop { background: rgba(0,0,0,.25); backdrop-filter: blur(4px); }
.dialog-body { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dialog-body h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin-top: -8px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: #f5f5f7; font-size: 18px; line-height: 1; color: var(--ink-2); }
.bid-current { display: flex; justify-content: space-between; align-items: baseline; background: #f5f5f7; border-radius: 12px; padding: 12px 14px; }
.bid-current strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.field em { font-style: normal; font-weight: 400; }
.field input { font: inherit; font-size: 15px; font-weight: 400; border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.15); }
.logo-preview { display: flex; align-items: center; gap: 12px; margin-top: -4px; padding: 10px 12px; border-radius: 12px; background: #f5f5f7; color: var(--ink-2); }
.logo-preview img, .logo-preview-blank { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); object-fit: contain; padding: 4px; }
.logo-preview img:not([hidden]) + .logo-preview-blank { display: none; }
.logo-preview-blank { background: repeating-linear-gradient(45deg, #fff 0 6px, #f0f0f2 6px 12px); }
.logo-preview[data-state="loading"] .logo-preview-blank { animation: logo-pulse 1s ease-in-out infinite alternate; }
.logo-preview[data-state="found"] { color: var(--ink); }
@keyframes logo-pulse { to { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .logo-preview[data-state="loading"] .logo-preview-blank { animation: none; } }
.input-money { display: flex; align-items: center; border: 1px solid var(--hairline); border-radius: 10px; padding-left: 12px; }
.input-money:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.15); }
.input-money input { border: 0; box-shadow: none !important; flex: 1; padding-left: 6px; }
.field small { font-weight: 400; font-size: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 60;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 18px; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
/* Card setup, bid status and auction administration. */
.payment-page { max-width: 620px; margin: 64px auto; padding: 0 20px; }
.payment-card { padding: 28px; margin-top: 24px; }
.payment-page h1, .admin-page h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -1px; margin: 12px 0; }
.payment-page p { margin: 16px 0; line-height: 1.6; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 600; color: #6e6e73; }
.form-error { color: #b42318; font-size: 14px; line-height: 1.5; }
.form-error:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 12px; line-height: 1.6; color: #515154; }
.consent input { flex: 0 0 auto; margin-top: 4px; width: 16px; height: 16px; }
.bid-rules { font-size: 12px; line-height: 1.6; color: #515154; }
.bid-rules summary { cursor: pointer; font-weight: 600; }
.bid-rules p { margin-top: 10px; }
button:disabled { opacity: .5; cursor: not-allowed; }
#whop-email, #whop-payment, #whop-branding { margin: 18px 0; }
.admin-page { max-width: 1000px; margin: 48px auto; padding: 0 24px; }
.admin-page h2 { margin: 32px 0 16px; font-size: 24px; }
.admin-bid { padding: 24px; margin: 16px 0; overflow-wrap: anywhere; }
.admin-bid p { margin: 12px 0; }
.admin-bid button { margin-right: 8px; }
.review-logo { width: 64px; height: 64px; object-fit: contain; float: right; }
.my-bid { display: block; padding: 16px 20px; border-bottom: 1px solid #eee; }
.my-bid:last-child { border: 0; }
[hidden] { display: none !important; }
