:root {
  --bg: #000;
  --fg: #fff;
  --muted: #cfcfcf;
  --btn-bg: rgba(255,255,255,0.06);
  --btn-bg-hover: rgba(255,255,255,0.14);
  --btn-ring: rgba(255,255,255,0.25);
  --radius: 16px;
  --gap: 18px;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  overflow: hidden; /* keep scrollbars off as snow fills screen */
}

/* Snow canvas sits behind content */
#snow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
}

/* Center content */
.wrap {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.stack { display: grid; gap: var(--gap); }

h1 {
  margin: 0 0 6px 0;
  letter-spacing: 0.4px;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
}

p {
  margin: 0 0 8px 0;
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 18px);
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  --padx: 18px;
  --pady: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pady) var(--padx);
  border-radius: var(--radius);
  color: var(--fg);
  background: var(--btn-bg);
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 8px 40px rgba(0,0,0,0.35);
  will-change: transform;
}
.btn:hover {
  background: var(--btn-bg-hover);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
  box-shadow: 0 0 0 6px var(--btn-ring);
}
.btn:active { transform: translateY(0); }

.icon { width: 18px; height: 18px; display: inline-block; }

/* Optional tiny corner credit; remove if undesired */
.credit {
  position: fixed;
  inset: auto 12px 12px auto;
  opacity: .55;
  font-size: 12px;
  z-index: 2;
}
.credit a { color: currentColor; }

.icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}