:root {
  --primary: #00FF85;
  --primary-2: #00d470;
  --primary-deep: #052b1b;
  --secondary: #1E90FF;
  --accent: #00FF85;
  --ink: #FFFFFF;
  --muted: #9A9A9A;
  --bg: #0D0D0D;
  --font: 'Montserrat', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ---------- Scrollbars ---------- */
* { scrollbar-width: thin; scrollbar-color: var(--primary) rgba(255,255,255,.06); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.06); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-2); }
::-webkit-scrollbar-corner { background: transparent; }

body.track-body {
  font-family: var(--font); color: var(--ink); background: var(--bg); min-height: 100vh;
  display: flex; flex-direction: column;
}
.container { width: min(900px, 92%); margin: 0 auto; }
a { text-decoration: none; color: inherit; }

/* Nav */
.track-nav {
  background: linear-gradient(135deg, #0a0a0a 0%, #111 60%, #0c2118);
  border-bottom: 1px solid #222;
  padding: 18px 0;
}
.track-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 14px; background: #1a1a1a; border: 1.5px solid rgba(0,255,133,.35); padding: 6px; box-shadow: 0 8px 18px rgba(0,255,133,.15); display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-mark .logo-animate { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: inherit; background: transparent; }
.icn { display: inline-block; vertical-align: middle; object-fit: contain; }
.icn-sm { width: 18px; height: 18px; margin-right: 7px; }
.icn-lg { width: 30px; height: 30px; margin-right: 9px; }
.btn-call .icn { vertical-align: -4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: 1px; }
.brand-text small { color: var(--primary); font-weight: 600; font-size: .62rem; letter-spacing: 2.5px; }
.track-nav-cta { display: flex; gap: 12px; align-items: center; }
.btn-ghost { color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.3); padding: 10px 20px; border-radius: 40px; font-size: .85rem; font-weight: 600; transition: .25s; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-call { background: var(--primary); color: #04120b; padding: 10px 22px; border-radius: 40px; font-size: .85rem; font-weight: 700; box-shadow: 0 10px 22px rgba(0,255,133,.25); transition: .25s; }
.btn-call:hover { transform: translateY(-2px); }
.call-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 24px;
  background: linear-gradient(135deg, #1E90FF, #0b6ec7); color: #fff;
  text-decoration: none; border-radius: 50px; font-size: 15px; font-weight: 600;
  font-family: 'Arial', sans-serif; box-shadow: 0 8px 20px rgba(30,144,255,.35);
  transition: all .3s ease;
}
.call-btn i {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 17px;
}
.call-btn:hover {
  background: linear-gradient(135deg, #00e676, #00c853); transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,200,83,.45);
}
.call-btn:active { transform: scale(.98); }

/* Main */
.track-main { flex: 1; padding: 56px 0; }
.track-head { text-align: center; margin-bottom: 34px; }
.track-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.4px; }
.track-head p { color: var(--muted); margin-top: 10px; max-width: 560px; margin-left: auto; margin-right: auto; font-size: .95rem; }

.track-card { background: #151515; border: 1px solid #262626; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,255,133,.06); padding: 34px; max-width: 560px; margin: 0 auto; }
.track-card label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 8px; color: #d5d5d5; letter-spacing: .3px; }
.field { margin-bottom: 18px; }
.field input {
  width: 100%; padding: 14px 16px; border: 1.6px solid #2a2a2a; border-radius: 13px;
  font-family: var(--font); font-size: .95rem; background: #1d1d1d; color: #fff; transition: .25s;
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,255,133,.1); background: #222; }

.btn-track {
  width: 100%; padding: 15px; border: 0; border-radius: 13px; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #04120b;
  font-family: var(--font); font-weight: 700; font-size: 1rem; letter-spacing: .3px;
  box-shadow: 0 12px 26px rgba(0,255,133,.25); transition: .3s; margin-top: 6px;
}
.btn-track:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,255,133,.35); }

/* Result */
.track-result { margin-top: 26px; border: 1.5px solid #2a3a33; border-radius: 16px; padding: 20px; background: #101813; }
.result-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px dashed #2a3a33; padding-bottom: 16px; margin-bottom: 16px; }
.result-label { font-size: .66rem; font-weight: 700; letter-spacing: 1.4px; color: var(--muted); text-transform: uppercase; display: block; margin-bottom: 4px; }
.result-id { font-size: 1.05rem; font-weight: 800; color: var(--primary); letter-spacing: .4px; }
.chip { font-size: .74rem; font-weight: 700; padding: 7px 16px; border-radius: 30px; white-space: nowrap; }
.chip-teal { background: rgba(0,255,133,.12); color: var(--primary); }
.chip-amber { background: #2a2012; color: #ffc84d; }
.chip-blue { background: #12232e; color: #7cb8ff; }
.chip-green { background: #0f2418; color: #6bffab; }
.chip-red { background: #2a1212; color: #ff8a8a; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rc { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 11px; padding: 11px 13px; }
.rc label { font-size: .62rem; font-weight: 700; letter-spacing: 1.2px; color: #8a8a8a; text-transform: uppercase; display: block; margin-bottom: 4px; }
.rc p { font-size: .86rem; font-weight: 600; color: var(--ink); word-break: break-word; }
.result-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; background: rgba(0,255,133,.07); border: 1px solid rgba(0,255,133,.18); border-radius: 12px; padding: 13px 15px; }
.result-note span { font-size: 1.1rem; }
.result-note p { font-size: .78rem; color: var(--muted); line-height: 1.6; }

/* Alert */
.track-alert { margin-top: 26px; background: #2a1212; border: 1px solid #5c2222; color: #ff8a8a; border-radius: 13px; padding: 14px 16px; font-size: .85rem; font-weight: 600; line-height: 1.6; }

/* Hint */
.track-hint { margin-top: 22px; background: rgba(0,255,133,.06); border: 1px dashed rgba(0,255,133,.3); border-radius: 13px; padding: 13px 16px; font-size: .78rem; color: var(--muted); line-height: 1.6; }
.track-hint code { background: #1d1d1d; padding: 2px 8px; border-radius: 6px; font-weight: 700; color: var(--primary); }

/* Footer */
.track-foot { background: #080808; border-top: 1px solid #222; color: rgba(255,255,255,.6); padding: 22px 0; text-align: center; font-size: .8rem; }

.js-invalid { border-color: #ff5d5d !important; box-shadow: 0 0 0 4px rgba(255,93,93,.1) !important; }
.js-error-message { color: #ff6b6b; font-size: .75rem; margin-top: 6px; font-weight: 600; }

@media (max-width: 560px) {
  .track-card { padding: 24px; }
  .result-grid { grid-template-columns: 1fr; }
  .track-nav-cta .btn-ghost { display: none; }
}
