:root {
  --bg: #07090d;
  --panel: #0d1118;
  --panel-2: #111720;
  --border: #202936;
  --text: #f3f6fa;
  --muted: #8994a4;
  --muted-2: #626d7c;
  --green: #35d58a;
  --yellow: #f2c94c;
  --red: #ff647c;
  --blue: #5ba7ff;
  --purple: #a78bfa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, #162030 0, transparent 40%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  height: 72px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(7, 9, 13, 0.85);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #394452;
  border-radius: 10px;
  background: #111720;
  font-weight: 800;
}

.brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.network-pill {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(53, 213, 138, 0.7);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.hero {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.eyebrow,
.section-label,
.card-kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 16px 0 22px;
}

.hero-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 690px;
  margin: 0 auto;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.flow-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 12px;
}

.flow-step strong {
  display: block;
  font-size: 13px;
}

.flow-step small {
  color: var(--muted);
  font-size: 10px;
}

.flow-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 0 14px;
}

.verify-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 25px;
}

.search-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.search-row input {
  flex: 1;
  min-width: 0;
  background: #080b10;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
}

.search-row input:focus {
  border-color: #4d5b6c;
}

.primary-button,
.secondary-button,
.quick-button {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel-2);
  color: var(--text);
  transition: 0.15s ease;
}

.primary-button {
  padding: 0 25px;
  background: #f1f4f7;
  color: #080a0e;
  border-color: #f1f4f7;
  font-weight: 800;
}

.primary-button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.secondary-button {
  padding: 10px 14px;
  color: var(--muted);
}

.secondary-button:hover,
.quick-button:hover {
  border-color: #4a5666;
  color: var(--text);
}

.quick-assets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

.quick-button {
  padding: 7px 11px;
  font-size: 11px;
}

.error-box {
  margin-top: 14px;
  border: 1px solid rgba(255, 100, 124, 0.35);
  background: rgba(255, 100, 124, 0.08);
  color: #ff9aab;
  padding: 12px;
  border-radius: 9px;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.loading {
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.dashboard {
  animation: appear 0.25s ease;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.asset-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.asset-header h2 {
  margin: 8px 0 5px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.mint-address {
  color: var(--muted-2);
  font-family: monospace;
  font-size: 11px;
  word-break: break-all;
}

.verdict-badge,
.evidence-status {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.verdict-panel {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 18px;
}

.verdict-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.verdict-title span:first-child {
  font-size: 11px;
}

.verdict-panel p {
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 15px;
}

.reasons {
  display: grid;
  gap: 8px;
}

.reason {
  color: var(--muted);
  font-size: 12px;
  padding: 9px 11px;
  background: #090d12;
  border-radius: 7px;
}

.reason::before {
  content: "•";
  margin-right: 8px;
  color: var(--muted-2);
}

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

.evidence-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.card-header h3 {
  margin: 5px 0 0;
  font-size: 19px;
}

.card-detail {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  min-height: 38px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.metric {
  background: #090d12;
  border: 1px solid #171e28;
  border-radius: 8px;
  padding: 11px;
  min-width: 0;
}

.metric span,
.identity-row span {
  color: var(--muted-2);
  font-size: 10px;
  display: block;
}

.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checks {
  margin-top: 13px;
  border-top: 1px solid var(--border);
}

.checks > div,
.identity-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(32, 41, 54, 0.65);
}

.checks span {
  color: var(--muted);
  font-size: 11px;
}

.checks strong {
  font-size: 11px;
}

.price-display {
  margin: 15px 0;
  padding: 17px;
  border-radius: 10px;
  background: #090d12;
  border: 1px solid #171e28;
}

.price-display span {
  display: block;
  color: var(--muted-2);
  font-size: 10px;
}

.price-display strong {
  display: block;
  font-size: 27px;
  margin-top: 5px;
  letter-spacing: -0.02em;
}

.identity-row {
  margin-top: 8px;
}

.identity-row strong {
  font-size: 11px;
  text-align: right;
  max-width: 65%;
  overflow-wrap: anywhere;
}

.evidence-summary {
  margin-top: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.summary-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px;
  background: #090d12;
  border-radius: 8px;
}

.summary-item span:first-child {
  font-size: 12px;
  color: var(--muted);
}

.summary-item span:last-child {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.raw-section {
  margin-top: 18px;
}

.raw-evidence {
  margin: 12px 0 0;
  padding: 18px;
  background: #05070a;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #aeb8c6;
  overflow: auto;
  max-height: 500px;
  font-size: 11px;
  line-height: 1.5;
}

.explanation {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.explanation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.explanation-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.explanation-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

footer {
  border-top: 1px solid var(--border);
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.08em;
}

footer span:first-child {
  color: var(--muted);
  font-weight: 800;
}

.status-verified,
.status-observed,
.status-pass {
  color: var(--green);
  border-color: rgba(53, 213, 138, 0.3);
  background: rgba(53, 213, 138, 0.07);
}

.status-warning {
  color: var(--yellow);
  border-color: rgba(242, 201, 76, 0.3);
  background: rgba(242, 201, 76, 0.07);
}

.status-deny,
.status-error {
  color: var(--red);
  border-color: rgba(255, 100, 124, 0.3);
  background: rgba(255, 100, 124, 0.07);
}

.status-unknown,
.status-not_applicable,
.status-unavailable {
  color: var(--muted);
  border-color: var(--border);
  background: rgba(137, 148, 164, 0.05);
}

.verdict-verified {
  color: var(--green);
  border-color: rgba(53, 213, 138, 0.35);
  background: rgba(53, 213, 138, 0.08);
}

.verdict-warning {
  color: var(--yellow);
  border-color: rgba(242, 201, 76, 0.35);
  background: rgba(242, 201, 76, 0.08);
}

.verdict-deny {
  color: var(--red);
  border-color: rgba(255, 100, 124, 0.35);
  background: rgba(255, 100, 124, 0.08);
}

.verdict-unknown {
  color: var(--muted);
  background: rgba(137, 148, 164, 0.05);
}

@media (max-width: 800px) {
  .topbar {
    padding: 0 16px;
  }

  .container {
    width: min(100% - 24px, 700px);
    padding: 45px 0;
  }

  .network-pill {
    display: none;
  }

  .flow {
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
  }

  .flow-line {
    width: 1px;
    height: 25px;
    margin: 4px 0 4px 14px;
  }

  .cards-grid,
  .explanation-grid {
    grid-template-columns: 1fr;
  }

  .asset-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 42px;
  }

  .search-row {
    flex-direction: column;
  }

  .primary-button {
    min-height: 46px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 18px 15px;
  }
}