/* JB Trade Scanner website - same look as the app: chunky display font, dark panels, 3D buttons. */
:root {
  --bg: #12141b;
  --side: #1b1e27;
  --panel: #262a35;
  --panel2: #2f3441;
  --edge: #0c0e13;
  --text: #f2f4f8;
  --muted: #a7afc0;
  --soft: #c7cedb;
  --card: #ffffff;
  --card-text: #1b1e27;
  --card-muted: #5b6475;
  --card-edge: #c9ced8;
  --blue: #0b74e5;
  --blue-edge: #064f9e;
  --red: #c81e1e;
  --red-edge: #7f1212;
  --green: #15803d;
  --green-edge: #0d5a2a;
  --green-text: #6ee79b;
  --amber: #d97706;
  --yellow: #ffcb2b;
  --display: "Lilita One", "Arial Black", sans-serif;
  --body: "Nunito", "Segoe UI", sans-serif;
  --radius: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #5fb0ff; }
a:hover { color: #8cc6ff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: .5px; line-height: 1.02; }
.muted { color: var(--muted); }
.caps { font-size: 13px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* ---- 3D buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: none; border-radius: 12px;
  font-family: var(--body); font-weight: 900; font-size: 16px; text-decoration: none;
  color: var(--text); background: var(--panel2); border-bottom: 5px solid var(--edge);
  cursor: pointer; transition: transform .08s, border-bottom-width .08s, filter .15s;
}
.btn:hover { filter: brightness(1.12); color: var(--text); }
.btn:active { transform: translateY(4px); border-bottom-width: 1px; }
.btn-primary { background: var(--blue); border-bottom-color: var(--blue-edge); color: #fff; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .5px; }
.btn-primary:hover { color: #fff; }
.btn-go { background: var(--green); border-bottom-color: var(--green-edge); color: #fff; }
.btn-go:hover { color: #fff; }
.btn-lg { min-height: 60px; padding: 0 30px; }
.kbd { font-family: var(--body); font-weight: 900; font-size: 13px; background: var(--blue-edge); border-radius: 6px; padding: 2px 8px; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(18, 20, 27, .92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--edge); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand span { font-family: var(--display); font-size: 22px; line-height: 1; }
.brand b { color: var(--yellow); font-weight: 400; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--soft); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 800; }
.nav-links a:hover { background: var(--panel2); color: var(--text); }
.nav .btn { min-height: 46px; font-size: 18px; }

/* ---- hero ---- */
.hero { padding: 64px 0 110px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #1b2f22; color: var(--green-text); border-radius: 999px; padding: 6px 14px; font-weight: 900; font-size: 14px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hero h1 { font-size: clamp(46px, 7vw, 82px); margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { font-size: 19px; color: var(--soft); max-width: 560px; margin: 0 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { flex-shrink: 0; }

.hero-visual { position: relative; }
.shot { border-radius: var(--radius); border: 3px solid var(--edge); border-bottom-width: 8px; overflow: hidden; background: var(--panel); }
.hero-visual .shot { transform: none; }
.hero-visual .tracker-float { position: absolute; width: 34%; left: -6%; bottom: -22%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }

/* ---- sections ---- */
section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(34px, 5vw, 52px); margin: 8px 0 12px; }
.section-head p { color: var(--soft); margin: 0; font-size: 18px; }
.band { background: var(--side); border-top: 3px solid var(--edge); border-bottom: 3px solid var(--edge); }

/* white item cards, like the in-game slots */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.item-card { background: var(--card); color: var(--card-text); border-radius: 14px; border-bottom: 7px solid var(--card-edge); padding: 20px; }
.item-card .label { font-size: 12px; font-weight: 900; letter-spacing: 1.5px; color: var(--card-muted); }
.item-card h3 { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 28px; margin: 6px 0 8px; line-height: 1.05; }
.item-card p { margin: 0; color: #3b4252; font-size: 16px; }

/* panels */
.panel { background: var(--panel); border-radius: var(--radius); border-bottom: 6px solid var(--edge); padding: 24px; }
.panel h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.panel p { margin: 0; color: var(--soft); font-size: 16px; }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.t-blue { background: var(--blue); box-shadow: 0 4px 0 var(--blue-edge); }
.t-green { background: var(--green); box-shadow: 0 4px 0 var(--green-edge); }
.t-red { background: var(--red); box-shadow: 0 4px 0 var(--red-edge); }
.t-amber { background: var(--amber); box-shadow: 0 4px 0 #8a4b05; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); }
.checks svg { flex-shrink: 0; margin-top: 3px; }
.checks b { color: var(--text); }

/* verdict comparison */
.verdicts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.verdict { border-radius: 14px; padding: 16px; text-align: center; }
.verdict .caps { color: rgba(255,255,255,.85); font-size: 12px; }
.verdict .display { font-size: 34px; color: #fff; }
.verdict small { display: block; font-weight: 800; color: rgba(255,255,255,.9); }
.v-win { background: #16a34a; border-bottom: 6px solid #0f7a37; }
.v-loss { background: var(--red); border-bottom: 6px solid var(--red-edge); }
.weights { display: grid; gap: 10px; }
.weight { display: grid; grid-template-columns: 130px 1fr 96px; gap: 12px; align-items: center; font-size: 15px; }
.bar { height: 14px; border-radius: 7px; background: var(--edge); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 7px; }
.weight b { font-family: var(--display); font-weight: 400; font-size: 18px; text-align: right; }

/* tiers */
.tiers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tier { border-radius: 10px; padding: 8px 14px; font-weight: 900; font-size: 14px; }
.tier-hot { background: var(--green); color: #fff; }
.tier-solid { background: var(--blue); color: #fff; }
.tier-slow { background: var(--amber); color: #1b1e27; }
.tier-avoid { background: var(--red); color: #fff; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* pricing */
.price-card { max-width: 520px; margin: 0 auto; background: var(--panel); border-radius: 20px; border: 3px solid var(--edge); border-bottom-width: 9px; overflow: hidden; }
.price-top { background: var(--panel2); padding: 26px 28px 20px; text-align: center; }
.price { font-family: var(--display); font-size: 84px; line-height: 1; }
.price small { font-family: var(--body); font-size: 18px; color: var(--muted); font-weight: 800; }
.price-body { padding: 24px 28px 30px; }
.price-body .btn { width: 100%; margin-top: 22px; }
.fine { text-align: center; font-size: 14px; color: var(--muted); margin-top: 14px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
details { background: var(--panel); border-radius: 14px; border-bottom: 5px solid var(--edge); }
summary { cursor: pointer; padding: 18px 22px; font-weight: 900; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--yellow); }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 22px 20px; color: var(--soft); }

/* gallery (in-game screenshots) */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* footer */
footer { background: var(--side); border-top: 3px solid var(--edge); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--soft); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* legal pages */
.doc { max-width: 780px; padding: 56px 20px 80px; margin: 0 auto; }
.doc h1 { font-size: 48px; margin: 0 0 8px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; font-weight: 900; }
.doc p, .doc li { color: var(--soft); }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-visual { margin: 10px 0 90px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .cards, .features, .gallery, .verdicts { grid-template-columns: 1fr; }
  .weight { grid-template-columns: 104px 1fr 48px; }
  .hero-visual .tracker-float { width: 40%; left: -2%; bottom: -30%; }
  .btn-lg { width: 100%; }
  .price { font-size: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---- sign-in in the top bar ---- */
.auth { display: flex; align-items: center; }
.btn-google { background: #ffffff; color: #1b1e27; border-bottom-color: #c9ced8; }
.btn-google:hover { color: #1b1e27; }
.nav .btn-google { min-height: 46px; padding: 0 16px; font-size: 15px; }
.user { position: relative; }
.user-btn { min-height: 46px; padding: 0 14px 0 8px; gap: 8px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.avatar-letter { display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-family: var(--display); font-size: 16px; }
.user-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 270px; z-index: 30; background: var(--panel); border: 3px solid var(--edge); border-bottom-width: 6px; border-radius: 14px; padding: 8px; display: grid; gap: 2px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.user-menu a, .user-menu button { display: block; text-align: left; width: 100%; padding: 10px 12px; border: none; border-radius: 9px; background: transparent; color: var(--text); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.user-menu a:hover, .user-menu button:hover { background: var(--panel2); color: var(--text); }
.menu-status { padding: 8px 12px 10px; border-bottom: 2px solid var(--side); margin-bottom: 4px; display: grid; gap: 2px; }
.menu-status b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.menu-status .owned { color: var(--green-text); font-size: 13px; }
.menu-status .not-owned { color: var(--yellow); font-size: 13px; }
.pill-muted { background: #3a2a10; color: #ffcb6b; }
.pill-muted i { background: var(--yellow); }
.account-box { max-width: 760px; }
.account-box h3 { font-size: 24px; }
@media (max-width: 640px) {
  .nav .wrap { gap: 10px; }
  .nav .btn-primary { display: none; }
  .user-name { display: none; }
  .user-btn { padding: 0 8px; }
}

/* ---- cookie banner ---- */
.cookie-banner { position: fixed; z-index: 50; left: 20px; bottom: 20px; width: min(440px, calc(100vw - 40px)); background: var(--panel); border: 3px solid var(--edge); border-bottom-width: 8px; border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.cookie-title { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 6px; }
.cookie-text { margin: 0 0 16px; color: var(--soft); font-size: 15px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { min-height: 48px; }
.cookie-actions .btn-primary { font-size: 18px; }
@media (max-width: 640px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; } .cookie-actions .btn { flex: 1; } }


/* ---- winning theme: hero glow, win chip, inventory wall ---- */
.hero-win { position: relative; overflow: hidden; }
.hero-win::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 203, 43, .16), transparent 70%); }
.hero-win .wrap { position: relative; }
.hero-win h1 { font-size: clamp(42px, 6vw, 74px); }
.hero-win h1 em { display: inline-block; }
.win-chip { position: absolute; right: -10px; top: -18px; background: #16a34a; border-bottom: 6px solid #0f7a37;
  border-radius: 14px; padding: 8px 16px; transform: rotate(3deg); box-shadow: 0 14px 30px rgba(0,0,0,.45); text-align: center; }
.win-chip .caps { color: rgba(255,255,255,.85); font-size: 11px; display: block; }
.win-chip b { font-family: var(--display); font-weight: 400; font-size: 32px; color: #fff; line-height: 1; }

.wall-band { padding: 26px 0 30px; background: var(--side); border-top: 3px solid var(--edge); border-bottom: 3px solid var(--edge); overflow: hidden; }
.wall-head p { margin: 0 0 16px; color: var(--soft); font-size: 15px; }
.wall-head b { color: var(--yellow); }
.item-wall { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall-track { display: flex; gap: 14px; width: max-content; animation: wall 70s linear infinite; }
.mini { width: 150px; flex-shrink: 0; background: #fff; color: #1b1e27; border-radius: 12px; border-bottom: 6px solid #c9ced8; padding: 10px 12px; display: grid; gap: 3px; }
.mini-cat { font-size: 10px; font-weight: 900; letter-spacing: 1px; color: #5b6475; }
.mini-name { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 17px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-val { font-weight: 900; font-size: 15px; }
.mini-pips { display: flex; gap: 2px; }
.mini-pips i { height: 6px; flex: 1; border-radius: 2px; }
@keyframes wall { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none; } }
.grow-list { margin-top: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grow-list { grid-template-columns: 1fr; } .win-chip { right: 6px; } }

.nav-links a, .nav .btn, .user-btn { white-space: nowrap; }
.hero-win h1 { font-size: clamp(40px, 5.2vw, 68px); }
@media (min-width: 981px) { .hero-win .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
