@font-face {
  font-family: Pixel;
  src: url('/assets/pixel.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
:root { color-scheme: light; font-family: Pixel, monospace; color: #292738; background: #edece4; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 28px 20px; }
main { width: min(100%, 640px); }
.scene { position: relative; isolation: isolate; height: clamp(250px, 53vw, 390px); overflow: hidden; display: grid; place-items: center; background: #dce8d3; border: 4px solid #4b594e; border-bottom: 0; }
.scene::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 3px, #354a3610 3px 4px); z-index: 4; }
.aura { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, #fffde9 0 26%, #f7f9dfb0 41%, #f7f9df00 69%); opacity: .75; animation: evolution 2.4s cubic-bezier(.45,0,.55,1) 2; }
.silhouette { position: relative; z-index: 2; width: 144px; height: 192px; image-rendering: pixelated; filter: drop-shadow(0 0 10px #ffffe2aa); animation: materialize 4.8s cubic-bezier(.45,0,.55,1) both; }
.shadow { position: absolute; width: 100px; height: 12px; background: #a8bba2; transform: translateY(98px); clip-path: polygon(12% 0,88% 0,88% 25%,100% 25%,100% 75%,88% 75%,88% 100%,12% 100%,12% 75%,0 75%,0 25%,12% 25%); }
.sparkles { position: absolute; height: 100%; width: 100%; color: #ffffee; animation: gather 4.8s cubic-bezier(.22,1,.36,1) both; }
.dialogue { position: relative; background: #fffcf0; padding: 28px 30px 33px; border: 4px solid #4b594e; box-shadow: inset 0 0 0 4px #fffcf0, inset 0 0 0 6px #96a58e; font-size: clamp(13px, 2.7vw, 20px); line-height: 2; }
p { margin: 0 0 8px; }
h1 { margin: 0; font-size: inherit; font-weight: 400; }
a { color: #71508a; text-decoration-thickness: 2px; text-underline-offset: 6px; padding-block: 10px; }
a:hover { color: #44305c; background: #e9e1ed; }
a:focus-visible { outline: 3px solid #71508a; outline-offset: 5px; }
.cursor { position: absolute; right: 18px; bottom: 15px; width: 12px; height: 8px; background: #4b594e; clip-path: polygon(0 0,100% 0,100% 35%,75% 35%,75% 65%,60% 65%,60% 100%,40% 100%,40% 65%,25% 65%,25% 35%,0 35%); }
@keyframes evolution { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes materialize { 0%,100% { filter: drop-shadow(0 0 10px #ffffe2aa); } 25%,75% { filter: drop-shadow(0 0 19px #ffffe2); } }
@keyframes gather { from { opacity: .25; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 380px) { body { padding: 20px 12px; } .dialogue { padding: 23px 19px 30px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
