:root {
  --bg-0: #07101a;
  --bg-1: #0d1826;
  --bg-2: #122338;
  --text: #edf4ff;
  --muted: rgba(237, 244, 255, 0.68);
  --line: rgba(255, 255, 255, 0.1);
  --blue-a: #64b7ff;
  --blue-b: #7bc7ff;
  --blue-c: #9be7ff;
  --good: #9debc4;
  --bad: #ffacac;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 20%, rgba(82, 132, 255, 0.22), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(62, 155, 255, 0.18), transparent 24%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 54%, var(--bg-2) 100%);
}

.shield-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.shield-card {
  width: min(760px, 100%);
  padding: 34px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 28, 44, 0.9), rgba(13, 21, 34, 0.96));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(123, 199, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #d9ecff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shield-title {
  margin: 20px 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.02;
}

.shield-copy {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.7;
}

.unlock-stage {
  margin-top: 28px;
}

.unlock-frame {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
}

.unlock-track {
  position: relative;
  height: 82px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(133, 194, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.unlock-glow,
.unlock-beam {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: inherit;
  transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.unlock-glow {
  background:
    linear-gradient(90deg, rgba(91, 166, 255, 0.2), rgba(123, 199, 255, 0.28), rgba(155, 231, 255, 0.24));
  filter: blur(10px);
}

.unlock-beam {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(76, 145, 255, 0.72), rgba(96, 185, 255, 0.98), rgba(174, 233, 255, 0.86));
}

.unlock-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.15) 32%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.14) 68%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 1.9s linear infinite;
}

.unlock-thumb {
  position: absolute;
  top: 11px;
  left: 10px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #f6fbff 0%, #b9deff 36%, #6eb9ff 100%);
  box-shadow:
    0 0 0 6px rgba(112, 187, 255, 0.12),
    0 16px 34px rgba(64, 135, 255, 0.35);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shield-status {
  margin-top: 16px;
  font-size: 15px;
  color: #f3f8ff;
  min-height: 22px;
}

.shield-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.shield-button {
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  color: #07101a;
  background: linear-gradient(135deg, var(--blue-b), var(--blue-c));
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.shield-ok {
  color: var(--good);
}

.shield-error {
  color: var(--bad);
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 640px) {
  .shield-card {
    padding: 24px;
    border-radius: 24px;
  }

  .unlock-track {
    height: 70px;
  }

  .unlock-thumb {
    width: 46px;
    height: 46px;
    top: 11px;
  }

  .shield-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
