/* fan/nintendo.css: /worlds/nintendo/ only.

   Red, and a grid. The company has no one world to draw, so the backdrop is
   the two things every machine it ever shipped had in common: that red, and a
   screen made of squares. The grid scrolls rather than pulses, on transform
   only, so the page stays cheap. */

body[data-fan="nintendo"] { --a: #e0403a; }

/* ── the backdrop ── */
.nt-sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(94% 76% at 50% 0%, #2a0f0d 0%, #170a09 46%, #070505 100%);
}

.nt-sky > * { position: absolute; inset: 0; }

.nt-glow { background: radial-gradient(46% 30% at 50% 6%, rgba(224,64,58,.22), transparent 72%); }

/* a screen made of squares, drifting up. 32px because that is the size the
   grid reads at without turning into a texture. */
.nt-grid {
  inset: -40px 0 -40px 0;
  background-image:
    linear-gradient(rgba(224,64,58,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,64,58,.10) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(transparent, #000 22%, #000 68%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 68%, transparent);
  will-change: transform; animation: nt-scroll 6s linear infinite;
}

@keyframes nt-scroll { to { transform: translateY(-32px); } }

.nt-horizon { top: auto; height: 36%; background: linear-gradient(180deg, transparent, rgba(7,5,5,.9)); }

@media (prefers-reduced-motion: reduce) { .nt-grid { animation: none; } }

/* ── hero ── */
body[data-fan="nintendo"] .fan-title {
  font-family: "Avenir Next", "Trebuchet MS", var(--sans);
  font-weight: 600; letter-spacing: 0.1em;
  text-shadow: 0 0 30px rgba(224,64,58,.4);
}

/* ── the pad ── */
.nt-art { padding: 0 var(--gutter); max-width: var(--maxw); margin: 2.6rem 0 0; }

.nt-art svg { display: block; width: min(460px, 100%); margin-inline: auto; }

.nta-body { fill: #d8d2c4; }

.nta-face { fill: #b02a26; }

.nta-dpad { fill: #23201d; }

.nta-btn  { fill: #2a2522; stroke: #f0e6d4; stroke-width: 3; }

.nta-sm   { fill: #6f6459; }

.nt-art figcaption {
  margin-top: 0.9rem; text-align: center;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mute);
}
