@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  color-scheme: dark;
  --ink: #f5f5f5;
  --muted: rgba(245,245,245,.62);
  --faint: rgba(245,245,245,.42);
}

* { box-sizing: border-box; }
html, body, * { cursor: url('cursor-small.png?v=16') 1 1, auto; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  min-height: 100svh;
  overflow: hidden;
  background: #060606;
  color: var(--ink);
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.background, #effects-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
.background-video, .dither, .dot-grid, .grain, .dim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.background { z-index: 0; overflow: hidden; pointer-events: none; background: #131313; }
.background-video { object-fit: cover; }
.dither { opacity: .75; }
.dot-grid {
  opacity: .45;
  background-image: radial-gradient(#000 1px, transparent 1.4px);
  background-size: 4px 4px;
}
.grain {
  opacity: .28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.9'/></svg>");
  background-size: 140px 140px;
}
.dim { background: #000001; opacity: .65; }
#effects-canvas { z-index: 2147483646; pointer-events: none; }
.message {
  position: relative;
  z-index: 10;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  animation: rise-in 900ms cubic-bezier(.2,.7,.2,1) both;
}
h1 {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-shadow: 0 0 22px rgba(255,255,255,.22), 0 2px 18px rgba(0,0,0,.45);
}
.signature {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .02em;
}
.signature span {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 14px rgba(255,255,255,.55);
}
.discord {
  margin-left: 2.2em;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 14px rgba(255,255,255,.55);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,.7);
  transition: text-shadow .2s ease, text-decoration-color .2s ease;
}
.discord:hover, .discord:focus-visible {
  text-decoration-color: #fff;
  text-shadow: 0 0 18px rgba(255,255,255,.8);
  outline: none;
}
.views {
  position: fixed;
  z-index: 11;
  left: 20px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.views[hidden] { display: none; }
.views svg { flex: none; opacity: .9; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media (max-width: 560px) {
  .dot-grid { background-size: 4px 4px; opacity: .38; }
  .message { padding: 24px 22px; }
  h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
