:root {
  --navy: #0F1620;
  --panel: #16202C;
  --border: #24303E;
  --teal: #5FB8BA;
  --amber: #E8A33D;
  --red: #E2483E;
  --green: #3FA672;
  --text: #EDEFF2;
  --muted: #8A94A6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--navy);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, "Space Grotesk", sans-serif;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 18px 20px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

header .dot {
  width: 9px; height: 9px; border-radius: 999px; background: var(--teal);
}

header .title {
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.screen {
  display: none;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.screen.active { display: block; }

.icon-circle {
  width: 88px; height: 88px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 40px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.icon-circle.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

h1 {
  font-size: 21px; font-weight: 700; margin: 0 0 10px;
}

p.desc {
  color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 26px;
}

.btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  font-family: inherit;
}
.btn-primary { background: var(--teal); color: #08161A; }
.btn-secondary { background: var(--panel); color: var(--text); border: 1px solid var(--border); }
.btn:active { transform: scale(0.98); }

.video-wrap {
  position: relative;
  width: 260px; height: 260px;
  margin: 0 auto 22px;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid var(--teal);
  background: #000;
}
.video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scaleX(-1);
}

.status-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
}
.status-card.ok { border-color: var(--green); }
.status-card.fail { border-color: var(--red); }

.status-card .big-icon { font-size: 46px; margin-bottom: 10px; }

.meta-line {
  font-size: 13px; color: var(--muted); margin-top: 4px;
}

footer {
  padding: 14px; text-align: center; font-size: 11px; color: var(--muted);
}
