@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Space+Mono:wght@400;700&display=swap');

:root {
  color-scheme: light;
  --bg-page: #f3f4f7;
  --bg-card: #fff;
  --bg-card-hover: #f7f8fb;
  --bg-surface: rgba(255,255,255,.88);
  --text-primary: #0f1830;
  --text-secondary: rgba(15,24,48,.72);
  --text-muted: rgba(15,24,48,.52);
  --text-xmuted: rgba(15,24,48,.36);
  --border-dim: rgba(15,24,48,.08);
  --border-mid: rgba(15,24,48,.14);
  --brand: #ff3d68;
  --brand-orange: #ff9a5a;
  --brand-glow: rgba(255,61,104,.35);
  --gold: #ffcc00;
  --green: #34c759;
  --blue: #007aff;
  --surface-input: rgba(0,0,0,.065);
  --grid-line: rgba(15,24,48,.038);
  --card-shadow: 0 1px 4px rgba(0,0,0,.06),0 0 0 1px var(--border-dim);
  --card-shadow-hover: 0 12px 35px rgba(255,61,104,.13),0 0 0 1px rgba(255,61,104,.24);
  --font-sans: "Space Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-mono: "Space Mono",ui-monospace,monospace;
}

:root.dark {
  color-scheme: dark;
  --bg-page: #090d18;
  --bg-card: #111827;
  --bg-card-hover: #172033;
  --bg-surface: rgba(17,24,39,.88);
  --text-primary: #f5f7ff;
  --text-secondary: rgba(245,247,255,.72);
  --text-muted: rgba(245,247,255,.5);
  --text-xmuted: rgba(245,247,255,.34);
  --border-dim: rgba(255,255,255,.08);
  --border-mid: rgba(255,255,255,.14);
  --surface-input: rgba(255,255,255,.075);
  --grid-line: rgba(255,255,255,.025);
  --card-shadow: 0 1px 5px rgba(0,0,0,.32),0 0 0 1px var(--border-dim);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-page); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-primary);
  background-color: var(--bg-page);
  background-image:
    linear-gradient(var(--grid-line) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size: 40px 40px;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .25s,color .25s;
}
button,input,select { font: inherit; }
button,a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.page-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 17% 6%,rgba(255,61,104,.1),transparent 27%),
    radial-gradient(circle at 83% 16%,rgba(255,154,90,.07),transparent 28%),
    radial-gradient(circle at 50% 66%,rgba(0,122,255,.045),transparent 33%);
}

.site-header {
  position: sticky; top: 12px; z-index: 60;
  width: calc(100% - 32px); max-width: 1024px; height: 50px;
  margin: 12px auto 0; padding: 0 12px 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--border-mid); border-radius: 12px;
  background: var(--bg-surface); box-shadow: 0 8px 32px rgba(0,0,0,.12);
  backdrop-filter: blur(20px); animation: header-in .65s cubic-bezier(.16,1,.3,1) both;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.brand > span:last-child > span { color: var(--brand); }
.brand-mark { position: relative; width: 18px; height: 19px; display: inline-block; filter: drop-shadow(0 2px 5px rgba(255,61,104,.3)); }
.brand-mark i { position: absolute; left: 1px; width: 14px; height: 8px; border-left: 4px solid; border-top: 4px solid; transform: rotate(45deg); border-radius: 1px; }
.brand-mark i:first-child { top: 1px; color: var(--brand-orange); }
.brand-mark i:last-child { top: 8px; color: var(--brand); opacity: .68; }
.desktop-nav { position: absolute; left: 50%; transform: translateX(-50%); height: 100%; display: flex; align-items: center; gap: 2px; }
.nav-link { height: 34px; padding: 0 13px; display: flex; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: .18s ease; }
.nav-link span { font-size: 15px; }
.nav-link:hover { color: var(--brand); background: rgba(255,61,104,.05); }
.nav-link.active { color: var(--brand); border-color: rgba(255,61,104,.25); background: rgba(255,61,104,.035); box-shadow: 0 1px 6px rgba(255,61,104,.08); }
.header-actions { display: flex; gap: 4px; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--text-secondary); font-size: 19px; transition: .18s; }
.icon-button:hover { color: var(--brand); background: rgba(255,61,104,.07); transform: rotate(-8deg); }
.menu-button { display: none; font-size: 18px; }
.mobile-nav { display: none; }

main { position: relative; z-index: 1; width: 100%; max-width: 896px; min-height: 70vh; margin: 0 auto; padding: 16px 32px 80px; }
.page { display: none; }
.page.active-page { display: block; animation: page-in .4s ease both; }

.live-pill {
  width: fit-content; min-height: 42px; margin: 8px auto 0; padding: 6px 10px 6px 18px;
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--border-dim); border-radius: 999px;
  background: var(--bg-surface); box-shadow: 0 3px 14px rgba(15,24,48,.08); color: var(--text-muted); font-size: 13px;
  animation: rise-in .55s .08s both;
}
.live-pill strong { color: var(--blue); font-family: var(--font-mono); }
.live-state { display: flex; align-items: center; gap: 8px; color: #16d68a; font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #20e6a0; box-shadow: 0 0 0 5px rgba(32,230,160,.1); animation: live-pulse 1.8s infinite; }
.pill-divider { width: 1px; align-self: stretch; background: var(--border-mid); }
.stats-link { padding: 7px 12px; border-radius: 999px; color: #fff; font-weight: 700; background: linear-gradient(110deg,var(--brand),#ff6384); box-shadow: 0 5px 16px var(--brand-glow); transition: .2s; }
.stats-link:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--brand-glow); }
.quick-stats { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 14px; color: var(--text-secondary); animation: rise-in .55s .14s both; }
.quick-stats span { display: flex; gap: 7px; align-items: center; }
.quick-stats strong { color: var(--text-primary); font-family: var(--font-mono); font-size: 13px; }
.quick-stats > i { width: 1px; height: 17px; background: var(--border-mid); }
.quick-stats b { font-style: normal; }
.trophy { color: #f1c40f; }.money { color: var(--green); }.spark { color: var(--brand); }

.claim-section { padding: 48px 0 32px; display: flex; flex-direction: column; align-items: center; text-align: center; scroll-margin-top: 90px; }
.eyebrow { margin: 0 0 28px; padding: 7px 15px; border: 1px solid rgba(255,61,104,.25); border-radius: 999px; color: var(--brand); background: rgba(255,61,104,.045); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .13em; box-shadow: inset 0 0 18px rgba(255,61,104,.03); animation: rise-in .6s .16s both; }
.claim-section h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; color: var(--text-primary); font-size: 60px; line-height: 1.08; font-weight: 700; letter-spacing: -.045em; animation: rise-in .65s .2s both; }
.claim-section h1 > span:first-child { width: 100%; }
.amount-stepper { display: inline-flex; align-items: center; gap: 7px; }
.amount-stepper button { width: 32px; height: 40px; border: 1px solid var(--border-dim); border-radius: 8px; background: var(--bg-surface); color: var(--text-muted); cursor: pointer; box-shadow: 0 2px 7px rgba(0,0,0,.04); transition: .17s; font-size: 20px; }
.amount-stepper button:hover { color: var(--brand); border-color: rgba(255,61,104,.3); transform: translateY(-2px); }
.amount-stepper b { min-width: 110px; color: var(--gold); font-family: var(--font-mono); letter-spacing: -.06em; text-shadow: 0 3px 18px rgba(255,204,0,.18); }
.amount-stepper b.pop { animation: amount-pop .28s; }
.claim-section h1 em { color: var(--brand); font-style: normal; }
.hero-copy { margin: 22px auto 20px; color: var(--text-secondary); font-size: 16px; }
.hero-copy strong { color: var(--text-primary); }
.mode-switch { width: 340px; height: 42px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-mid); border-radius: 10px; background: var(--surface-input); box-shadow: inset 0 1px 3px rgba(0,0,0,.06); }
.mode-switch button { border: 0; border-radius: 7px; background: transparent; color: var(--text-muted); cursor: pointer; font-weight: 600; transition: .2s; }
.mode-switch button.active { color: var(--brand); background: var(--bg-card); box-shadow: 0 2px 8px rgba(0,0,0,.08),0 0 0 1px rgba(255,61,104,.16); }
.bid-form { width: 100%; margin-top: 16px; display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 10px; align-items: center; }
.rank-control { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-muted); font-size: 14px; }
.rank-control select { width: 108px; height: 42px; padding: 0 15px; border: 1px solid var(--border-dim); border-radius: 10px; color: var(--text-primary); background: var(--bg-card); outline: 0; font-weight: 700; }
.price-chip { height: 42px; min-width: 62px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--gold); color: #1a1a15; font-family: var(--font-mono); font-weight: 700; box-shadow: 0 6px 16px rgba(255,204,0,.22); }
.field { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--border-dim); border-radius: 11px; background: var(--bg-card); box-shadow: 0 2px 9px rgba(0,0,0,.035); transition: .2s; }
.field:focus-within { border-color: rgba(255,61,104,.45); box-shadow: 0 0 0 3px rgba(255,61,104,.08); }
.field span { color: var(--text-muted); font-size: 18px; }
.field input,.field select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text-primary); min-width: 0; }
.field input::placeholder { color: var(--text-xmuted); }
.claim-button { height: 48px; padding: 0 22px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(105deg,#f52f58,var(--brand),#ff5d48); box-shadow: 0 8px 22px rgba(255,61,104,.28); cursor: pointer; white-space: nowrap; font-weight: 700; transition: transform .18s,box-shadow .18s,filter .18s; }
.claim-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,61,104,.38); filter: saturate(1.08); }
.claim-button:active { transform: translateY(0) scale(.98); }
.form-note { margin: 11px 0 0; color: var(--text-xmuted); font-size: 12px; }

.category-strip-wrap { position: relative; width: 100%; }
.category-strip { display: flex; gap: 7px; overflow-x: auto; padding: 2px 20px 8px 1px; scrollbar-width: none; }
.category-strip::-webkit-scrollbar { display: none; }
.category-chip { flex: none; padding: 7px 12px; border: 1px solid var(--border-dim); border-radius: 999px; background: var(--bg-surface); color: var(--text-muted); cursor: pointer; font-size: 12px; transition: .18s; }
.category-chip:hover { color: var(--brand); border-color: rgba(255,61,104,.25); transform: translateY(-1px); }
.category-chip.active { color: #fff; border-color: var(--brand); background: var(--brand); box-shadow: 0 5px 14px var(--brand-glow); }
.strip-fade { position: absolute; top: 0; right: 0; width: 55px; height: 38px; pointer-events: none; background: linear-gradient(90deg,transparent,var(--bg-page)); }

.podium { margin-top: 16px; display: flex; flex-direction: column; gap: 0; }
.podium-card { position: relative; min-height: 126px; display: grid; grid-template-columns: 38px 56px 1fr auto; gap: 11px; align-items: center; padding: 18px 20px; border: 1px solid var(--border-dim); background: var(--bg-card); box-shadow: var(--card-shadow); transition: transform .25s,box-shadow .25s,border .25s,filter .25s; overflow: hidden; }
.podium-card:first-child { min-height: 145px; border-radius: 14px 14px 0 0; border-color: rgba(255,154,90,.45); background: linear-gradient(120deg,rgba(255,61,104,.05),var(--bg-card) 45%,rgba(255,204,0,.055)); box-shadow: 0 9px 28px rgba(255,61,104,.13),inset 0 0 0 1px rgba(255,154,90,.12); }
.podium-card:last-child { border-radius: 0 0 14px 14px; }
.podium-card + .podium-card { border-top: 0; }
.podium-card:hover { z-index: 2; transform: translateY(-3px) scale(1.008); box-shadow: var(--card-shadow-hover); border-color: rgba(255,61,104,.35); }
.winner-ribbon { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 999px; color: #fff; background: linear-gradient(90deg,var(--brand),var(--brand-orange)); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.rank-badge { justify-self: start; min-width: 34px; padding: 4px 7px; border-radius: 999px; color: white; background: #7b61ff; font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-align: center; }
.rank-1 { background: #ff9a5a; color: #311405; }.rank-2 { background: #c0c8d4; color: #263143; }.rank-3 { background: #d4894a; }
.site-icon { width: 48px; height: 48px; padding: 4px; border: 2px solid var(--rank-color,#7b61ff); border-radius: 50%; background: var(--bg-card); object-fit: cover; box-shadow: 0 3px 11px rgba(15,24,48,.1); }
.podium-card:first-child .site-icon { width: 54px; height: 54px; animation: crown-pulse 2.4s infinite; }
.listing-copy { min-width: 0; }
.listing-copy h3 { margin: 0 0 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; line-height: 1.25; }
.listing-copy p { margin: 0 0 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-secondary); font-size: 13px; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 7px; color: var(--text-xmuted); font-size: 11px; }
.listing-price { align-self: start; color: var(--text-primary); font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.outbid-pill { position: absolute; right: 18px; bottom: 14px; padding: 8px 12px; border: 0; border-radius: 8px; color: white; background: linear-gradient(90deg,var(--brand),var(--brand-orange)); cursor: pointer; font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(5px); transition: .2s; }
.podium-card:hover .outbid-pill { opacity: 1; transform: none; }

.activity-card { margin-top: 20px; padding: 18px 20px 8px; border-radius: 12px; background: var(--bg-card); box-shadow: var(--card-shadow); }
.activity-card h2 { margin: 0 0 10px; color: var(--text-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; }
.activity-card h2 span { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.activity-card ul { margin: 0; padding: 0; list-style: none; }
.activity-card li { min-height: 42px; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid var(--border-dim); font-size: 11px; }
.activity-card li:first-child { border-top: 0; }
.activity-card li img { width: 22px; height: 22px; padding: 2px; border-radius: 5px; background: #fff; }
.activity-card li strong { color: var(--text-primary); }
.activity-card li b { color: var(--brand); font-weight: 400; }
.activity-card time { color: var(--text-xmuted); font-family: var(--font-mono); font-size: 10px; }

.leaderboard { margin-top: 20px; }
.list-toolbar { min-height: 40px; display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; }
.list-toolbar > div { display: flex; align-items: center; gap: 10px; }
.refresh-button { border: 0; background: transparent; color: var(--text-muted); cursor: pointer; font-family: var(--font-sans); font-size: 12px; }
.refresh-button.spinning { animation: spin .65s ease; }
.search-box { height: 34px; width: 208px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--border-dim); border-radius: 8px; background: var(--surface-input); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text-primary); font-family: var(--font-sans); font-size: 12px; }
.search-box input::placeholder { color: var(--text-xmuted); }
.listing-card { border-radius: 12px; background: var(--bg-card); box-shadow: var(--card-shadow); overflow: hidden; }
.listing-row { position: relative; min-height: 88px; display: grid; grid-template-columns: 44px 48px 1fr auto; align-items: center; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--border-dim); transition: background .18s,transform .18s; }
.listing-row:first-child { border-top: 0; }
.listing-row:hover { z-index: 1; background: var(--bg-card-hover); transform: translateX(3px); }
.listing-row:hover .row-outbid { opacity: 1; transform: translateY(0); }
.listing-row .site-icon { width: 44px; height: 44px; }
.row-outbid { position: absolute; right: 13px; top: 50%; transform: translateY(-44%); padding: 6px 9px; border: 0; border-radius: 7px; color: #fff; background: var(--brand); opacity: 0; cursor: pointer; font-size: 10px; font-weight: 700; transition: .18s; }
.listing-row:hover .listing-price { opacity: 0; }
.boundary { height: 38px; display: flex; align-items: center; gap: 12px; color: rgba(255,61,104,.55); font-family: var(--font-mono); font-size: 9px; letter-spacing: .3em; }
.boundary:before,.boundary:after { content:""; flex: 1; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,61,104,.15)); }
.boundary:after { transform: scaleX(-1); }
.empty-state { padding: 48px; text-align: center; color: var(--text-muted); }

.info-page { padding-top: 47px; min-height: 780px; text-align: left; }
.back-link { display: block; width: fit-content; margin-bottom: 27px; color: var(--text-muted); font-size: 12px; transition: .18s; }
.back-link:hover { color: var(--brand); transform: translateX(-3px); }
.plain-page-title { margin-bottom: 30px; }
.plain-page-title h1 { margin: 0 0 5px; font-size: 25px; letter-spacing: -.035em; }
.plain-page-title p { margin: 0; color: var(--text-muted); font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; text-align: left; }
.category-tile { height: 61px; padding: 9px 15px; display: grid; grid-template-columns: 34px minmax(0,1fr) 18px; align-items: center; gap: 11px; border: 1px solid var(--border-dim); border-radius: 11px; color: var(--text-primary); background: var(--bg-card); box-shadow: 0 1px 4px rgba(0,0,0,.035); cursor: pointer; text-align: left; transition: .2s; }
.category-tile:hover { transform: translateY(-2px); border-color: rgba(255,61,104,.25); box-shadow: var(--card-shadow-hover); }
.category-tile b { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border-dim); border-radius: 8px; color: var(--text-muted); background: var(--surface-input); font-size: 15px; }
.category-tile:first-child b { color: var(--brand); border-color: rgba(255,61,104,.2); background: rgba(255,61,104,.06); }
.category-tile h2 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.category-tile > span { color: var(--text-muted); font-size: 17px; transition: .18s; }
.category-tile:hover > span { color: var(--brand); transform: translateX(3px); }
.icon-page-title,.analytics-heading,.analytics-grid,.content-card,.builder-card,.rule-card,#aboutPage>.back-link,#rulesPage>.back-link,#aboutPage>.page-cta,#rulesPage>.page-cta { width: 100%; max-width: 720px; margin-left: auto; margin-right: auto; }
.icon-page-title { display: flex; align-items: center; gap: 12px; margin-bottom: 37px; }
.icon-page-title > span { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg,var(--brand),#ff6450); box-shadow: 0 7px 20px var(--brand-glow); font-size: 21px; }
.icon-page-title h1 { margin: 0 0 3px; font-size: 28px; letter-spacing: -.04em; }
.icon-page-title p { margin: 0; color: var(--text-muted); font-size: 13px; }
.analytics-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.analytics-heading h2 { margin: 0; font-size: 14px; }
.analytics-heading h2 small { color: #22dfa0; font-size: 10px; font-weight: 600; }
.analytics-heading a { color: var(--text-muted); font-size: 11px; }
.analytics-heading a:hover { color: var(--brand); }
.analytics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 19px; }
.analytics-grid article { min-height: 108px; padding: 15px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border-dim); border-radius: 10px; background: var(--bg-card); box-shadow: 0 1px 4px rgba(0,0,0,.04); text-align: center; }
.analytics-grid b { margin-bottom: 7px; font-size: 20px; }
.analytics-grid strong { margin-bottom: 5px; font-family: var(--font-mono); font-size: 19px; }
.analytics-grid span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); font-size: 10px; }
.cyan { color: #14c8c7; }
.mint { color: #20dba0; }
.content-card,.rule-card { margin-bottom: 19px; padding: 25px; border: 1px solid var(--border-mid); border-radius: 12px; background: var(--bg-card); box-shadow: 0 1px 4px rgba(0,0,0,.035); }
.content-card h2,.rule-card h2 { margin: 0 0 15px; font-size: 15px; }
.content-card p { margin: 0 0 13px; color: var(--text-secondary); font-size: 13px; line-height: 1.75; }
.content-card p:last-child { margin-bottom: 0; }
.how-list { margin: 0; padding: 0; list-style: none; }
.how-list li { position: relative; margin: 10px 0; padding-left: 24px; color: var(--text-secondary); font-size: 13px; line-height: 1.45; }
.how-list li::before { content:""; position: absolute; left: 2px; top: .42em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(255,61,104,.1); }
.how-list strong { color: var(--text-primary); }
.builder-card h2 { margin-bottom: 16px; }
.builder-card a { min-height: 66px; padding: 10px 14px; display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--border-mid); border-radius: 10px; transition: .2s; }
.builder-card a:hover { border-color: rgba(255,61,104,.35); transform: translateY(-2px); }
.x-avatar { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #050505; }
.builder-card a > span:nth-child(2) { display: flex; flex-direction: column; }
.builder-card small { margin-top: 2px; color: var(--text-muted); }
.builder-card a > b { color: var(--text-muted); }
.page-cta { display: block; width: fit-content !important; min-width: 220px; margin-top: 28px; border: 0; }
.rule-card { max-width: 760px; padding: 31px 33px; }
.rule-card h2 span { margin-right: 6px; }
.rule-card ul { margin: 0; padding-left: 21px; color: var(--text-secondary); font-size: 13px; line-height: 1.75; }
.rule-card.danger { border-color: rgba(255,61,104,.22); }
.rule-card.danger h2 span,.rule-card.danger li { color: var(--brand); }
.rule-card.danger > p { color: var(--text-secondary); font-size: 13px; }
.rule-card.danger small { display: block; margin-top: 13px; color: var(--text-muted); }
.rule-card.faq h2 span { color: #e3cb00; }
.rule-card.faq h3 { margin: 16px 0 3px; font-size: 13px; }
.rule-card.faq p { margin: 0; color: var(--text-secondary); font-size: 11px; }

footer { position: relative; z-index: 1; padding: 95px 16px 82px; text-align: center; color: var(--text-secondary); }
.footer-brand { justify-content: center; width: fit-content; margin: 0 auto 36px; font-size: 16px; }
footer > p { margin: 0 0 22px; }
footer > p a { text-decoration: underline; text-underline-offset: 3px; }
footer > p strong { color: var(--text-primary); }
.countdown { display: flex; justify-content: center; align-items: flex-start; gap: 17px; margin: 20px 0 42px; color: var(--brand); }
.countdown span { min-width: 72px; display: flex; flex-direction: column; }
.countdown b { font-family: var(--font-mono); font-size: 47px; line-height: 1; letter-spacing: -.06em; }
.countdown small { margin-top: 12px; color: var(--text-xmuted); font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; }
.countdown i { color: var(--text-xmuted); font-family: var(--font-mono); font-size: 35px; font-style: normal; }
.footer-nav { display: flex; justify-content: center; gap: 23px; color: var(--text-muted); font-size: 13px; }
.footer-nav a:hover { color: var(--brand); }
.built-by { margin-top: 28px; color: var(--text-xmuted); font-size: 11px; }

.celebration { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(7,9,15,.58); backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .42s; overflow: hidden; }
.celebration.active { opacity: 1; }
#confettiCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.winner-focus { position: relative; z-index: 2; width: min(1016px,calc(100% - 32px)); transform: translateY(80px) scale(.86); opacity: 0; }
.celebration.active .winner-focus { animation: focus-card 4.2s cubic-bezier(.2,.75,.2,1) both; }
.winner-focus .podium-card { min-height: 180px; border: 4px solid var(--brand); border-radius: 20px; background: linear-gradient(110deg,#fff6f3,#fff 50%,#fff9e8); box-shadow: 0 0 0 3px rgba(255,255,255,.65),0 35px 100px rgba(255,61,104,.55); color: #5b2631; }
.winner-focus .listing-copy h3 { color: #ff8155; font-size: 22px; }
.winner-focus .listing-copy p { font-size: 16px; }
.winner-focus .rank-badge { font-size: 13px; }
.winner-focus .site-icon { width: 70px; height: 70px; }
.cannon { position: absolute; z-index: 3; top: 59%; color: #8f59ff; font-size: 58px; filter: drop-shadow(0 8px 10px rgba(126,78,255,.35)); animation: cannon-wiggle .45s ease-in-out infinite alternate; }
.cannon-left { left: 10%; transform: rotate(-8deg); }.cannon-right { right: 10%; transform: rotate(8deg); }
.celebration-credit { position: absolute; z-index: 3; right: 24px; bottom: 24px; color: rgba(255,255,255,.6); font-size: 12px; }
.celebration-credit b { color: var(--brand); }

.modal-backdrop { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: rgba(7,9,15,.58); backdrop-filter: blur(7px); }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; width: min(430px,100%); padding: 34px; border: 1px solid rgba(255,61,104,.28); border-radius: 18px; background: var(--bg-card); box-shadow: 0 30px 100px rgba(0,0,0,.35); text-align: center; animation: modal-in .32s cubic-bezier(.16,1,.3,1); }
.modal-close { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--surface-input); color: var(--text-muted); cursor: pointer; font-size: 22px; }
.modal-icon { width: 54px; height: 54px; margin: 0 auto 17px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,var(--brand),var(--brand-orange)); box-shadow: 0 10px 25px var(--brand-glow); font-size: 24px; }
.modal h2 { margin: 0 0 9px; }.modal p { color: var(--text-muted); line-height: 1.6; }
.modal .claim-button { width: 100%; margin: 8px 0 12px; }
.modal small { color: var(--text-xmuted); }
.toast { position: fixed; z-index: 130; left: 50%; bottom: 26px; max-width: calc(100% - 32px); padding: 11px 17px; border-radius: 999px; color: #fff; background: #172033; box-shadow: 0 15px 35px rgba(0,0,0,.28); opacity: 0; transform: translate(-50%,18px); pointer-events: none; transition: .28s; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@keyframes header-in { from { opacity:0; transform:translateY(-18px) scale(.97); } }
@keyframes rise-in { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes page-in { from { opacity:0; transform:translateY(8px); } }
@keyframes amount-pop { 50% { transform:scale(1.15); filter:brightness(1.1); } }
@keyframes live-pulse { 50% { box-shadow:0 0 0 8px rgba(32,230,160,0); transform:scale(.85); } }
@keyframes crown-pulse { 50% { box-shadow:0 3px 21px rgba(255,61,104,.28); transform:scale(1.035); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes modal-in { from { opacity:0; transform:translateY(15px) scale(.94); } }
@keyframes focus-card { 0% { opacity:0; transform:translateY(120px) scale(.74); } 16%,78% { opacity:1; transform:translateY(80px) scale(1); } 100% { opacity:0; transform:translateY(40px) scale(1.04); } }
@keyframes cannon-wiggle { to { margin-top:-8px; filter:drop-shadow(0 12px 15px rgba(126,78,255,.55)); } }

@media (max-width: 760px) {
  .site-header { width: calc(100% - 32px); padding: 0 10px 0 16px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-block; }
  .mobile-nav { position: absolute; top: 56px; right: 0; width: 190px; padding: 8px; border: 1px solid var(--border-mid); border-radius: 11px; background: var(--bg-surface); box-shadow: 0 14px 35px rgba(0,0,0,.16); backdrop-filter: blur(18px); transform-origin: top right; }
  .mobile-nav.open { display: flex; flex-direction: column; animation: modal-in .2s; }
  .mobile-nav a { padding: 10px 12px; border-radius: 7px; color: var(--text-secondary); font-size: 13px; }
  .mobile-nav a:hover { color: var(--brand); background: rgba(255,61,104,.06); }
  main { max-width: none; padding: 16px 16px 64px; }
  .desktop-only { display: none !important; }
  .live-pill { min-height: 34px; margin-top: 10px; padding: 5px 14px; gap: 10px; font-size: 12px; }
  .quick-stats { gap: 13px; font-size: 12px; }
  .quick-stats > i { display: none; }
  .quick-stats strong { font-size: 11px; }
  .claim-section { padding: 32px 0 24px; }
  .eyebrow { margin-bottom: 25px; }
  .claim-section h1 { gap: 3px 8px; font-size: 35.2px; line-height: 1.08; letter-spacing: -.04em; }
  .amount-stepper { gap: 5px; }
  .amount-stepper b { min-width: 78px; }
  .amount-stepper button { width: 30px; height: 36px; }
  .hero-copy { margin: 18px 0 20px; line-height: 1.5; }
  .mode-switch { width: 100%; }
  .bid-form { grid-template-columns: 1fr; gap: 10px; }
  .rank-control { grid-column: 1; }
  .field,.claim-button { width: 100%; }
  .category-strip-wrap { margin-top: 4px; }
  .podium { gap: 10px; }
  .podium-card,.podium-card:first-child,.podium-card:last-child { min-height: 122px; grid-template-columns: 34px 52px 1fr auto; padding: 14px 12px; border: 1px solid var(--border-dim); border-radius: 12px; }
  .podium-card:first-child { min-height: 132px; border-color: rgba(255,154,90,.45); }
  .podium-card .listing-copy p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .podium-card .outbid-pill { display: none; }
  .activity-card { padding: 12px 12px 5px; }
  .activity-card li { grid-template-columns: 24px 1fr auto; }
  .leaderboard { margin-top: 16px; }
  .search-box { width: 145px; }
  .listing-row { min-height: 100px; grid-template-columns: 38px 44px 1fr auto; gap: 9px; padding: 12px 12px; }
  .listing-row .site-icon { width: 41px; height: 41px; }
  .listing-copy h3 { font-size: 14px; }
  .listing-copy p { font-size: 11px; }
  .listing-price { font-size: 12px; }
  .row-outbid { display: none; }
  .listing-row:hover { transform: none; }
  .listing-row:hover .listing-price { opacity: 1; }
  .info-page { padding-top: 42px; }
  .plain-page-title h1 { font-size: 24px; }
  .category-grid { grid-template-columns: 1fr; gap: 8px; }
  .category-tile { height: 58px; }
  .icon-page-title { margin-bottom: 30px; }
  .icon-page-title h1 { font-size: 23px; }
  .analytics-heading { align-items: flex-start; }
  .analytics-heading a { display: none; }
  .analytics-grid { grid-template-columns: repeat(2,1fr); }
  .content-card,.rule-card { padding: 20px; }
  .rule-card ul { padding-left: 18px; }
  .countdown { gap: 7px; }
  .countdown span { min-width: 58px; }
  .countdown b { font-size: 34px; }
  .countdown i { font-size: 26px; }
  .footer-nav { flex-wrap: wrap; gap: 12px 20px; }
  .winner-focus { width: calc(100% - 6px); }
  .winner-focus .podium-card { min-height: 150px; grid-template-columns: 30px 54px minmax(0,1fr) auto; padding: 13px 8px; border-radius: 15px; }
  .winner-focus .listing-copy h3 { font-size: 16px; }
  .winner-focus .listing-copy p { font-size: 13px; }
  .winner-focus .site-icon { width: 54px; height: 54px; }
  .winner-focus .outbid-pill { display: block; right: 8px; bottom: 8px; opacity: 1; }
  .cannon { top: 60%; font-size: 38px; }.cannon-left { left: 0; }.cannon-right { right: 0; }
  .celebration-credit { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
  .celebration { display:none; }
}
