:root {
  color-scheme: dark;
  --green: #65ed3f;
  --yellow: #ffdf39;
  --text: #f6f7f6;
  --muted: #bfc7bf;
  background: #080908;
  color: var(--text);
  font-family: system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 29%, #070e09 8%, transparent 65%),
    linear-gradient(135deg, transparent 24%, #59fa5226 34%, transparent 41%),
    linear-gradient(135deg, transparent 59%, #2bffd334 70%, #e9ed2428 73%, transparent 80%),
    repeating-linear-gradient(145deg, #d6ffdf12 0 1px, transparent 1px 9px),
    radial-gradient(ellipse at 22% 13%, #245b36 0%, #11271d 55%, #050b09 100%);
}
body::before {
  position: fixed;
  z-index: -1;
  inset: -8%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 23% 18%, #79ff763f, transparent 33%),
    radial-gradient(ellipse at 77% 79%, #42e6a936, transparent 38%),
    linear-gradient(125deg, transparent 38%, #8eff5536 45%, #ffe64925 48%, transparent 55%);
  content: "";
}
.motion-toggle {
  display: none;
  width: fit-content;
  margin: 12px auto 0;
  padding: 5px 9px;
  border-radius: 6px;
  background: #101c17;
  color: var(--muted);
  font-size: .75rem;
  align-items: center;
  gap: 6px;
}
.motion-toggle input { accent-color: var(--green); }
.motion-toggle input:focus-visible { outline: 2px solid var(--yellow); }
.sprite { position: absolute; }
main { width: min(100%, 31rem); margin-inline: auto; padding: 16px 15px 24px; }
header { padding-bottom: 14px; text-align: center; }
header::after {
  display: block;
  height: 3px;
  margin-top: 13px;
  border-radius: 2px;
  background: linear-gradient(120deg, var(--green) 87%, var(--yellow) 87%);
  content: "";
}
.brand {
  display: block;
  width: min(100%, 312px);
  height: auto;
  aspect-ratio: 1200 / 890;
  object-fit: cover;
  object-position: center 63%;
  margin: 0 auto 6px;
  filter: drop-shadow(0 8px 22px #6bef4129);
}
h1, h2, p { margin: 0; }
h1, h2, .label { font-weight: 850; font-style: italic; text-transform: uppercase; }
h1 { font-size: clamp(1.38rem, 6vw, 2rem); line-height: 1.04; letter-spacing: -.035em; }
header p { margin-top: 5px; color: var(--muted); font-weight: 650; font-size: .81rem; }
header p span { color: var(--yellow); padding-inline: 3px; }
nav, .stack { display: grid; gap: 8px; }
.action {
  display: flex;
  align-items: center;
  min-height: 49px;
  padding: 6px 10px;
  gap: 10px;
  border: 1px solid #485e4c;
  border-radius: 10px;
  background: linear-gradient(115deg, #1b2d21, #101c17);
  color: var(--text);
  text-decoration: none;
}
.action:hover { border-color: var(--green); background: #252e25; }
.action:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.primary { min-height: 54px; border-color: #8ff764; background: linear-gradient(110deg, #a2f75c, #52e547 75%); color: #0b1e08; }
.primary:hover { background: #9ef778; }
.icon, .arrow { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon { color: var(--green); }
.primary .icon { color: inherit; }
.arrow { width: 15px; flex-basis: 15px; margin-left: auto; }
.label { min-width: 0; border-left: 1px solid #ffffff2a; padding-left: 10px; font-size: .87rem; line-height: 1.12; }
.primary .label { border-color: #0b1e0866; }
small { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; font-weight: 550; font-style: normal; font-variant-numeric: tabular-nums; }
h2 { display: flex; align-items: center; gap: 9px; margin: 6px 0 8px; font-size: .86rem; text-align: center; }
h2::before, h2::after { content: ""; flex: 1; height: 1px; background: var(--green); opacity: .75; }
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.socials .label { font-size: .77rem; }
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: drift 10s ease-in-out infinite alternate; }
  .motion-toggle { display: flex; }
  body:has(.motion-toggle input:checked)::before { animation-play-state: paused; }
  @keyframes drift {
    from { transform: translate3d(-6%, -4%, 0) scale(1); opacity: .55; }
    to { transform: translate3d(6%, 4%, 0) scale(1.08); opacity: 1; }
  }
  .brand, header h1, header p, header::after, .action, nav h2 {
    animation: enter .85s cubic-bezier(.22, .61, .36, 1) backwards;
  }
  header h1, header p, header::after { animation-delay: .10s; }
  .stack .action { animation-delay: .18s; }
  .stack .action:nth-child(2) { animation-delay: .26s; }
  .stack .action:nth-child(3) { animation-delay: .34s; }
  .stack .action:nth-child(4) { animation-delay: .42s; }
  nav h2, .socials .action { animation-delay: .50s; }
  nav > .action { animation-delay: .60s; }
  .action { transition: border-color .25s ease, background-color .25s ease; }
  @keyframes enter { from { opacity: 0; transform: translateY(10px); } }
}
