@font-face {
  font-family: "Press Start 2P";
  src: url("fonts/press-start-2p-latin-400-normal.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #14161B;
  --fg: #FFFFFF;
  --muted: #AAB2BD;
  --accent: #E23B2E;
  --black: #121212;
  --dark: #3A3F47;
  --skin: #E8B48A;
  --steel: #B8C0C8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "Press Start 2P", ui-monospace, monospace;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 1rem;
  text-align: center;
}

.ninja {
  width: min(55vw, 240px);
  height: auto;
  animation: bob 1.6s steps(2) infinite;
}
.ninja .k { fill: var(--black); }
.ninja .d { fill: var(--dark); }
.ninja .s { fill: var(--skin); }
.ninja .w { fill: #FFFFFF; }
.ninja .g { fill: var(--steel); }
.ninja .r { fill: var(--accent); }

.shadow {
  width: min(40vw, 180px);
  height: 10px;
  background: #000000;
  opacity: .45;
  margin-top: -1.2rem;
}

.logo {
  margin: .5rem 0 0;
  font-size: clamp(1.6rem, 7vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 2px;
  text-shadow: 5px 5px 0 #000000;
}
.logo span { color: var(--accent); }

.tagline {
  margin: 0;
  font-size: clamp(.6rem, 2.4vw, .9rem);
  letter-spacing: 4px;
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  min-width: 11rem;
  padding: 1rem 1.25rem;
  font-size: .8rem;
  color: #FFFFFF;
  text-decoration: none;
  border: 3px solid #000000;
  box-shadow: 5px 5px 0 #000000;
  transition: transform .08s, box-shadow .08s;
}
.btn:hover, .btn:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #000000;
  outline: none;
}
.btn-yt { background: var(--accent); }
.btn-ig { background: var(--dark); }

.footer {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 1.5rem 1rem;
  font-size: .6rem;
}
.footer a { color: var(--muted); }
.footer a:hover { color: #FFFFFF; }

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1rem;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}
.page h1 { font-family: "Press Start 2P", monospace; font-size: 1.2rem; font-weight: 400; }
.page a { color: var(--steel); }

@keyframes bob {
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .ninja { animation: none; }
}
