@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg-1: #07111f;
  --bg-2: #0f1f3a;
  --panel: rgba(11, 19, 34, 0.72);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #ecf3ff;
  --muted: #98a7c2;
  --accent: #7c9cff;
  --accent-2: #4de2c5;
  --danger: #ff6b6b;
  --card: rgba(255, 255, 255, 0.04);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 156, 255, 0.22), transparent 35%),
    radial-gradient(circle at bottom right, rgba(77, 226, 197, 0.18), transparent 30%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

body {
  display: grid;
  place-items: center;
  padding: 24px;
}

.shell {
  width: 100%;
  max-width: 960px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 32px;
}

.panel__glow {
  position: absolute;
  inset: auto -120px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 156, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.7);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero__text {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.meta-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-card__label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-card__value {
  font-size: 18px;
  font-weight: 700;
  word-break: break-word;
}

.trace-section {
  padding: 22px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trace-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.trace-section__head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.copy-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--accent), #5d7cff);
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 10px 24px rgba(124, 156, 255, 0.28);
}

.copy-btn:hover {
  transform: translateY(-1px);
}

.copy-btn:active {
  transform: translateY(0);
  opacity: 0.9;
}

.trace-box {
  margin: 0;
  padding: 18px;
  min-height: 220px;
  border-radius: 16px;
  background: #09101d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cfe0ff;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.status-text {
  margin: 12px 0 0;
  color: var(--accent-2);
  font-size: 14px;
}

@media (max-width: 760px) {
  .panel {
    padding: 22px;
    border-radius: 20px;
  }

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

  .trace-section__head {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-btn {
    width: 100%;
  }
}
