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

html, body {
  height: 100%;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0b0d12;
  color: #c9cdd8;
  overflow: hidden;
}

/* ── Starfield canvas ── */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Centred card ── */
main.card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  height: 100vh;
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.icon {
  font-size: 3rem;
  filter: grayscale(0.3);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 0.9; }
  50%       { transform: scale(1.1); opacity: 1;   }
}

h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: #e2e6f0;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

p {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  line-height: 1.7;
  color: #8b91a6;
  max-width: 580px;
}

p.thanks {
  color: #a0a8be;
  border-top: 1px solid #1e2130;
  padding-top: 1.1rem;
  margin-top: 0.2rem;
}

.highlight {
  color: #6eb5ff;
  font-weight: 700;
}

a {
  color: #5b9cf6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

a:hover {
  color: #91c0ff;
  border-bottom-color: #91c0ff;
}
