/* PricePin website. Dark by default like the app; a light theme follows the system setting. */
:root {
  --bg: #070B12;
  --bg-2: #0C121C;
  --surface: #111927;
  --surface-2: #172133;
  --glass: rgba(20, 29, 45, .62);
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .24);
  --text: #F1F5F9;
  --text-2: #A3AEC0;
  --text-3: #66748A;
  --accent: #22D399;
  --accent-2: #6EF3C6;
  --accent-ink: #032018;
  --blue: #38BDF8;
  --violet: #8B5CF6;
  --down: #F43F5E;
  --amber: #F59E0B;
  --shadow: 0 40px 100px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04);
  --radius: 20px;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F5F7FB;
    --bg-2: #EDF1F7;
    --surface: #FFFFFF;
    --surface-2: #F3F6FA;
    --glass: rgba(255, 255, 255, .7);
    --line: rgba(15, 23, 42, .09);
    --line-2: rgba(15, 23, 42, .16);
    --text: #0B1220;
    --text-2: #475569;
    --text-3: #8391A5;
    --accent: #0EA474;
    --accent-2: #10B981;
    --accent-ink: #FFFFFF;
    --shadow: 0 40px 90px -30px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .05);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
}
img { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.03em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
kbd { font-family: var(--mono); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---- Background light ---- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 640px; height: 640px; left: 10%; top: -260px; background: var(--accent); opacity: .22; }
.aurora span:nth-child(2) { width: 520px; height: 520px; right: 4%; top: -120px; background: var(--blue); opacity: .16; animation-delay: -8s; }
.aurora span:nth-child(3) { width: 460px; height: 460px; left: 40%; top: 260px; background: var(--violet); opacity: .12; animation-delay: -14s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

/* ---- Navigation ---- */
.nav-shell { position: sticky; top: 14px; z-index: 50; padding: 0 16px; }
.nav {
  max-width: 1080px; margin: 14px auto 0; height: 60px; display: flex; align-items: center; gap: 20px;
  padding: 0 10px 0 18px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .35);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16.5px; text-decoration: none; letter-spacing: -.01em; }
.links { display: flex; gap: 4px; margin-left: 10px; }
.links a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 10px; }
.links a:hover { color: var(--text); background: var(--line); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gh { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-size: 13px; font-weight: 600; }
.gh:hover { color: var(--text); background: var(--line); }
.lang { height: 36px; min-width: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.lang:hover { color: var(--text); }

/* ---- Buttons ---- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 32px -8px color-mix(in srgb, var(--accent) 65%, transparent);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 44px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-glass { background: var(--glass); border: 1px solid var(--line-2); color: var(--text); backdrop-filter: blur(12px); }
.btn .win { fill: currentColor; stroke: none; }

/* ---- Hero ---- */
.hero { padding: 72px 0 40px; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-2); text-decoration: none;
}
.pill:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 50%, var(--line-2)); }
.pill svg { width: 14px; height: 14px; }
.pill-tag { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-weight: 700; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
h1 { font-size: clamp(44px, 8vw, 92px); font-weight: 800; margin: 26px 0 22px; letter-spacing: -.045em; }
.grad {
  background: linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 30%, var(--blue) 60%, var(--accent-2) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 36em; }
.cta { display: flex; gap: 12px; margin: 34px 0 22px; flex-wrap: wrap; justify-content: center; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; color: var(--text-3); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.4; }

/* ---- The desktop scene ---- */
.stage-wrap { margin-top: 64px; perspective: 2000px; }
.stage {
  position: relative; border-radius: 22px; padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.stage::before { content: ""; position: absolute; inset: -40px 10% auto; height: 200px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent); filter: blur(40px); z-index: -1; }
.screen { position: relative; aspect-ratio: 16 / 8.6; border-radius: 14px; overflow: hidden; background: #0A0F1A; color: #F1F5F9; font-size: 13px; --surface-w: rgba(17, 24, 38, .86); }
.wallpaper {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 90% at 15% 110%, rgba(34, 211, 153, .45), transparent 60%),
    radial-gradient(70% 80% at 90% -10%, rgba(56, 189, 248, .40), transparent 60%),
    radial-gradient(60% 60% at 60% 60%, rgba(139, 92, 246, .30), transparent 70%),
    linear-gradient(160deg, #0B1324, #060A12);
}
.wallpaper::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 30% 120%, rgba(255,255,255,.035) 0 2px, transparent 2px 40px); }

.bar { position: absolute; top: 0; left: 0; right: 0; height: 34px; background: rgba(8, 12, 20, .78); border-bottom: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(10px); overflow: hidden; display: flex; align-items: center; }
.bar-track { display: flex; gap: 30px; padding-left: 30px; white-space: nowrap; animation: scroll 50s linear infinite; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.bar-track span { display: inline-flex; align-items: center; gap: 7px; }
.bar-track img { width: 16px; height: 16px; }
.bar-track i { font-style: normal; color: #A3AEC0; }
@keyframes scroll { to { transform: translateX(-50%); } }

.win { position: absolute; background: var(--surface-w); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 24px 60px -12px rgba(0,0,0,.6); }
.chart-win { left: 5%; top: 15%; width: 47%; padding: 14px 16px 12px; }
.win-head { display: flex; justify-content: space-between; align-items: center; }
.coin-id { display: flex; align-items: center; gap: 8px; }
.coin-id small { color: #66748A; font-weight: 600; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.chart-top { display: flex; justify-content: space-between; align-items: flex-end; margin: 10px 0 6px; }
.big { font-size: clamp(16px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; margin-right: 8px; font-variant-numeric: tabular-nums; }
.chg { font-weight: 600; font-size: 12.5px; }
.tabs { display: flex; background: rgba(255,255,255,.05); border-radius: 9px; padding: 3px; }
.tabs button { border: 0; background: transparent; color: #A3AEC0; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 7px; cursor: pointer; }
.tabs button.on { background: rgba(255,255,255,.1); color: #fff; }
.chart { width: 100%; height: auto; aspect-ratio: 400 / 150; display: block; overflow: visible; }
.chart-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #A3AEC0; font-size: 12px; flex-wrap: wrap; }
.chart-foot b { color: #F1F5F9; font-weight: 600; }
.chart-foot .sep { width: 4px; height: 4px; border-radius: 50%; background: #66748A; margin: 0 6px; }

.widget { right: 5%; top: 13%; width: 33%; padding: 12px 10px 6px; }
.w-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 8px; }
.w-title { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12.5px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: #66748A; text-transform: uppercase; letter-spacing: .08em; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: #66748A; }
.live.on { color: #22D399; }
.live.on .pulse { background: #22D399; animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,211,153,.6); } 100% { box-shadow: 0 0 0 7px transparent; } }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 52px auto; gap: 8px; align-items: center; padding: 7px 6px; border-radius: 9px; }
.row + .row { border-top: 1px solid rgba(255,255,255,.05); }
.coin { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.coin img { width: 22px; height: 22px; }
.spark { width: 52px; height: 22px; }
.spark path { fill: none; stroke-width: 1.7; }
.spark .area { stroke: none; opacity: .16; }
.price { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.25; }
.price b { display: block; font-weight: 600; transition: color .5s ease; }
.price small { font-size: 11px; font-weight: 600; }
.row.flash-up .price b { color: #22D399; }
.row.flash-down .price b { color: #F43F5E; }
.up { color: #22D399; }
.down { color: #F43F5E; }

.toast {
  position: absolute; right: 5%; bottom: 14%; width: 31%; display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px; background: rgba(28, 36, 52, .92); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); backdrop-filter: blur(20px);
  transition: transform .5s cubic-bezier(.2,.9,.3,1.2), opacity .4s ease;
}
.toast.out { transform: translateX(120%); opacity: 0; }
.toast strong { display: block; font-size: 12.5px; }
.toast span { color: #A3AEC0; font-size: 11.5px; }

.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: rgba(14, 19, 30, .82); border-top: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; }
.tb-center { display: flex; gap: 10px; align-items: center; }
.start { width: 18px; height: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.start i { background: #4CC2FF; border-radius: 1px; }
.tb-search { width: 110px; height: 22px; border-radius: 11px; background: rgba(255,255,255,.08); }
.tb-app { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.1); position: relative; }
.tb-app.active { background: linear-gradient(135deg, #22D399, #0E9F6E); }
.tb-app.active::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: -6px; height: 3px; border-radius: 2px; background: #4CC2FF; }
.tray { position: absolute; right: 14px; display: flex; gap: 12px; align-items: center; font-size: 11.5px; color: #CBD5E1; font-variant-numeric: tabular-nums; }
.tray-price { padding: 2px 6px; border-radius: 5px; background: rgba(34,211,153,.16); color: #22D399; font-weight: 700; font-size: 11px; }

/* ---- Strip ---- */
.strip { text-align: center; padding-top: 72px; }
.strip > p { color: var(--text-3); font-size: 14px; font-weight: 500; }
.logos { display: flex; justify-content: center; gap: 14px 40px; flex-wrap: wrap; margin: 18px 0 48px; }
.logos span { font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--text-2); opacity: .7; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(12px); }
.stats div { padding: 26px 16px; display: flex; flex-direction: column; gap: 4px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(180deg, var(--text), var(--text-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--text-3); font-size: 14px; }

/* ---- Sections ---- */
.section { padding: 120px 0 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kicker { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.sub { color: var(--text-2); font-size: 18px; margin-top: 16px; }
.sub a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* ---- Bento ---- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 70%, var(--bg)));
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile:hover { border-color: var(--line-2); }
.tile h3 { font-size: 19px; margin-top: auto; padding-top: 20px; letter-spacing: -.02em; }
.tile > p { color: var(--text-2); font-size: 14.5px; margin-top: 6px; }
.demo { position: relative; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px; font-size: 13px; }
.t-alerts { grid-column: span 2; }
.t-charts { grid-column: span 4; }
.t-portfolio { grid-column: span 3; }
.t-radar { grid-column: span 3; }
.t-cal, .t-odds, .t-deck { grid-column: span 2; }
.t-search { grid-column: span 6; flex-direction: row; align-items: center; gap: 28px; }
.t-search .demo { flex: 1.3; }
.t-search h3 { margin-top: 0; padding-top: 0; }
.t-search > h3, .t-search > p { flex: 1; }
.t-search { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; column-gap: 32px; }
.t-search > p { align-self: start; }
.t-search .demo { grid-row: span 2; }
.t-search h3 { align-self: end; }

/* Alerts stack */
.stack { height: 190px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; }
.note-card { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); animation: bob 6s ease-in-out infinite; }
.note-card b { display: block; font-size: 13px; }
.note-card span { color: var(--text-3); font-size: 12px; }
.n2 { margin-left: 14px; animation-delay: -2s; opacity: .85; }
.n3 { margin-left: 28px; animation-delay: -4s; opacity: .7; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.ic { width: 30px; height: 30px; border-radius: 9px; flex: none; position: relative; }
.ic::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: currentColor; }
.ic.up { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.ic.warn { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.ic.new { background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue); }

/* Chart tile */
.chart-demo { height: 190px; display: flex; flex-direction: column; }
.cd-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.cd-top span { display: flex; gap: 8px; align-items: center; }
.cd-top b { font-variant-numeric: tabular-nums; font-size: 17px; }
.chart-demo svg { flex: 1; width: 100%; margin: 8px 0 4px; overflow: visible; }
.cd-axis { display: flex; justify-content: space-between; color: var(--text-3); font-size: 11px; font-family: var(--mono); }
.draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.in .draw { animation: draw 2.2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Portfolio */
.port { min-height: 190px; }
.port-head .switch b { font-size: 12.5px; font-weight: 600; letter-spacing: 0; display: inline; }
.port-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.port-head span { color: var(--text-3); font-size: 12px; display: block; }
.port-head b { font-size: 22px; letter-spacing: -.02em; display: block; font-variant-numeric: tabular-nums; }
.port-head em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.switch { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font-size: 12.5px; }
.switch span { width: 30px; height: 18px; border-radius: 9px; background: var(--line-2); position: relative; transition: background .2s ease; }
.switch span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.switch[aria-checked="true"] span { background: var(--accent); }
.switch[aria-checked="true"] span::after { transform: translateX(12px); }
.holdings { list-style: none; margin: 0; padding: 0; }
.holdings li { display: grid; grid-template-columns: 20px 1fr auto 74px; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.holdings span { font-weight: 600; }
.holdings b { font-weight: 500; color: var(--text-2); }
.holdings em { font-style: normal; text-align: right; font-weight: 600; }
.blurable { transition: filter .3s ease; }
.private .blurable { filter: blur(7px); }

/* Radar feed */
.feed { height: 190px; overflow: hidden; mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); }
.feed-track { display: flex; flex-direction: column; gap: 8px; animation: feed 26s linear infinite; }
.feed-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.feed-item i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.feed-item b { font-size: 13px; display: block; }
.feed-item span { color: var(--text-3); font-size: 11.5px; }
.feed-item em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }
@keyframes feed { to { transform: translateY(-50%); } }

/* Calendar */
.cal { height: 190px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; text-align: center; }
.cal-label { color: var(--text-3); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.countdown div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 0; }
.countdown b { display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown span { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.cal-date { font-size: 12.5px; color: var(--text-2); }

/* Odds */
.odds { height: 190px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.odds p { font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.odd { display: grid; grid-template-columns: 76px 1fr 38px; align-items: center; gap: 10px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.odd span { color: var(--text-2); }
.odd i { height: 8px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.odd i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--blue)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.in .odd i::after { width: var(--w); }
.odd b { text-align: right; }

/* Search */
.search { display: flex; flex-direction: column; gap: 12px; }
.kbd-row { display: flex; gap: 6px; }
kbd { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-2); border-bottom-width: 3px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.search-box { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent); font-size: 16px; font-weight: 500; }
.search-box svg { color: var(--text-3); }
.caret { width: 2px; height: 20px; background: var(--accent); animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }
.search-result { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-variant-numeric: tabular-nums; transition: opacity .3s ease; }
.search-result .sr-coin { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.search-result .sr-coin small { display: block; color: var(--text-3); font-weight: 500; font-size: 12px; }
.search-result b { font-size: 16px; }

/* Stream Deck */
.deck { height: 190px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; background: #050709; }
.key { border-radius: 10px; background: #0E1116; border: 1px solid rgba(255,255,255,.06); box-shadow: 0 2px 0 #000, inset 0 1px 0 rgba(255,255,255,.05); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; position: relative; line-height: 1.2; }
.key b { font-size: 11px; }
.key strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.key small { font-size: 10px; font-weight: 700; }
.key svg { position: absolute; left: 6px; right: 6px; bottom: 26%; width: calc(100% - 12px); height: 30%; opacity: .35; }

/* ---- Customizer ---- */
.custom { display: grid; grid-template-columns: 360px 1fr; gap: 20px; border-radius: 24px; padding: 14px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.controls { padding: 18px; display: flex; flex-direction: column; gap: 22px; }
.ctl label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.ctl output { color: var(--text); font-variant-numeric: tabular-nums; }
.seg { display: flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { flex: 1; border: 0; background: transparent; color: var(--text-2); font-size: 13.5px; font-weight: 600; padding: 8px 6px; border-radius: 9px; cursor: pointer; }
.seg button.on { background: var(--surface-2); color: var(--text); box-shadow: 0 2px 8px -2px rgba(0,0,0,.3); }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c); box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3px transparent; transition: box-shadow .2s ease, transform .2s ease; }
.swatches button:hover { transform: scale(1.1); }
.swatches button.on { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--c); }
input[type=range] { width: 100%; accent-color: var(--accent); }
.preview { position: relative; min-height: 420px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; padding: 24px; }
.pv-wall { position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 100%, rgba(34,211,153,.4), transparent 60%), radial-gradient(60% 70% at 100% 0%, rgba(56,189,248,.35), transparent 60%), radial-gradient(50% 50% at 50% 50%, rgba(139,92,246,.25), transparent 70%), linear-gradient(160deg, #0B1324, #060A12); }
.pv-item { position: relative; transition: transform .3s ease; }
.pv-card { width: 300px; border-radius: 16px; padding: 12px 10px 6px; color: var(--pv-text); background: rgba(var(--pv-bg), var(--pv-op)); border: 1px solid var(--pv-line); backdrop-filter: blur(20px); box-shadow: 0 30px 60px -15px rgba(0,0,0,.6); }
.pv-card .row + .row { border-top-color: var(--pv-line); }
.pv-card .w-head { color: var(--pv-text); }
.pv-card .muted { color: var(--pv-muted); }
.pv-bar { width: min(640px, 82vw); height: 40px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; color: var(--pv-text); background: rgba(var(--pv-bg), var(--pv-op)); border: 1px solid var(--pv-line); backdrop-filter: blur(20px); box-shadow: 0 30px 60px -15px rgba(0,0,0,.6); }
.pv-bar .bar-track { animation-duration: 30s; }
.pv-bar .bar-track i { color: var(--pv-muted); }
.pv-up { color: var(--pv-accent); }

/* ---- Band ---- */
.band { margin-top: 120px; display: flex; gap: 24px; align-items: center; padding: 34px 36px; border-radius: 24px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface) 55%); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.band-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); flex: none; }
.band-icon svg { width: 30px; height: 30px; }
.band h3 { font-size: 24px; margin-bottom: 6px; }
.band p { color: var(--text-2); max-width: 60em; }

/* ---- Download ---- */
.dl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.dl-main { padding: 30px; border-radius: 24px; background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--accent) 20%, var(--surface)), var(--surface) 60%); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.dl-ver { display: flex; gap: 14px; align-items: center; }
.dl-ver b { display: block; font-size: 20px; }
.dl-ver span { color: var(--text-2); font-size: 14px; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: center; color: var(--text-2); font-size: 15px; }
.steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; flex: none; }
.dl-list { display: flex; flex-direction: column; gap: 10px; }
.dl-list a { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.dl-list a:hover { border-color: var(--accent); transform: translateX(3px); }
.dl-list b { display: block; font-size: 15.5px; }
.dl-list span { color: var(--text-3); font-size: 13.5px; }
.dl-list svg { color: var(--accent); }
.note { display: flex; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); color: var(--text-2); font-size: 14.5px; }
.note svg { color: var(--amber); margin-top: 2px; }
.note b { color: var(--text); }

/* ---- FAQ ---- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq-grid .head { text-align: left; margin: 0; position: sticky; top: 110px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 22px; color: var(--text-2); }

/* ---- Final ---- */
.final { margin-top: 140px; text-align: center; padding: 80px 24px; border-radius: 32px; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.final::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent); filter: blur(30px); }
.final > * { position: relative; }
.final p { color: var(--text-2); font-size: 18px; margin: 14px 0 30px; }

/* ---- Footer ---- */
.footer { margin-top: 100px; border-top: 1px solid var(--line); padding: 44px 0 56px; }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 380px; }
.foot-brand p { color: var(--text-3); font-size: 14px; margin-top: 12px; }
.foot-cols { display: flex; gap: 64px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-cols b { font-size: 13px; color: var(--text); margin-bottom: 2px; }
.foot-cols a { color: var(--text-2); text-decoration: none; }
.foot-cols a:hover { color: var(--text); }

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

/* ---- Smaller screens ---- */
@media (max-width: 1040px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-alerts, .t-charts, .t-portfolio, .t-radar, .t-cal, .t-odds, .t-deck { grid-column: span 1; }
  .t-charts { grid-column: span 2; }
  .t-search, .t-deck { grid-column: span 2; }
  .custom { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .links { display: none; }
  .chart-win { left: 3%; top: 13%; width: 56%; }
  .widget { right: 3%; width: 38%; top: 13%; }
  .toast { display: none; }
  .screen { font-size: 11px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dl, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .head { position: static; }
  .band { flex-direction: column; align-items: flex-start; }
  .t-search { grid-template-columns: 1fr; }
  .t-search .demo { grid-row: auto; }
  .t-search h3 { padding-top: 20px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-shell { top: 8px; padding: 0 8px; }
  .nav { padding: 0 8px 0 12px; gap: 8px; }
  .gh .stars { display: none; }
  .hero { padding-top: 48px; }
  .cta .btn { width: 100%; }
  .trust { flex-direction: column; gap: 6px; align-items: center; }
  .stage-wrap { margin-top: 44px; perspective: none; }
  .stage { transform: none; padding: 6px; border-radius: 16px; }
  .screen { aspect-ratio: 9 / 10.5; }
  .chart-win { display: none; }
  .widget { left: 5%; right: 5%; width: auto; top: 54px; }
  .row { grid-template-columns: 1fr 52px auto; }
  .bento { grid-template-columns: 1fr; }
  .t-alerts, .t-charts, .t-portfolio, .t-radar, .t-cal, .t-odds, .t-deck, .t-search { grid-column: auto; }
  .stats div { padding: 18px 14px; }
  .preview { min-height: 340px; padding: 16px; }
  .pv-card { width: min(300px, 76vw); }
  .tray .clock { display: none; }
  .tb-search { width: 60px; }
  .section { padding-top: 88px; }
  .band { padding: 26px 22px; margin-top: 88px; }
  .dl-main { padding: 22px; }
  .dl-main .btn { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 54px; padding: 10px 18px; }
  .foot-cols { gap: 40px; }
  .final { padding: 56px 20px; margin-top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .odd i::after { width: var(--w); }
}
