:root {
  --bg-a: #f6f9ff;
  --bg-b: #f8fff6;
  --ink: #0d1a26;
  --muted: #5e6d7a;
  --line: #d8e2ec;
  --card: rgba(255, 255, 255, 0.82);
  --accent: #0f7bff;
  --accent-2: #0c3f73;
  --danger: #cf1f1f;
  --success: #138a36;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, #d7ebff 0, transparent 45%),
    radial-gradient(circle at 85% 80%, #dcf8d7 0, transparent 40%),
    linear-gradient(145deg, var(--bg-a), var(--bg-b));
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.card {
  width: min(680px, 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(8px);
  padding: 28px;
  box-shadow:
    0 16px 32px rgba(13, 26, 38, 0.1),
    0 2px 6px rgba(13, 26, 38, 0.04);
  animation: enter 350ms ease-out;
}

.eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.15;
}

p {
  margin: 0 0 20px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button {
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 700;
  font-family: Manrope, sans-serif;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, filter 120ms ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

button:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2e9bff);
  color: #fff;
}

.btn-secondary {
  background: #e8eef5;
  color: var(--ink);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.field {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

label {
  font-weight: 700;
}

input {
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 1rem;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 123, 255, 0.14);
}

.status {
  margin-top: 18px;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
}

.status.search {
  color: var(--accent-2);
  background: rgba(15, 123, 255, 0.09);
}

.status.fail {
  color: #7c1010;
  background: rgba(207, 31, 31, 0.12);
}

.status.success {
  color: #0c5a24;
  background: rgba(19, 138, 54, 0.14);
}

.video-wrap {
  margin: 12px 0 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #111;
}

video {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.microcopy {
  font-size: 0.93rem;
  margin-top: 10px;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  button {
    width: 100%;
  }
}
