:root {
  --green: #9cff77;
  --green-dim: #3f7f39;
  --bg: #020403;
  --panel: rgba(2, 9, 4, 0.78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at center, rgba(20, 80, 28, 0.22), transparent 38%),
    linear-gradient(rgba(0,0,0,0.68), rgba(0,0,0,0.9)),
    url("assets/menu-inspiration.png") center / cover no-repeat fixed,
    var(--bg);
  color: var(--green);
  font-family: "Courier New", monospace;
  overflow-x: hidden;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.panel {
  width: min(720px, 100%);
  padding: 44px 32px 36px;
  text-align: center;
  background: var(--panel);
  border: 1px solid rgba(156, 255, 119, 0.35);
  box-shadow:
    0 0 45px rgba(85, 255, 80, 0.13),
    inset 0 0 70px rgba(0, 0, 0, 0.7);
  position: relative;
}

.status {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 12px;
  color: var(--green-dim);
  letter-spacing: 2px;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 8vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -3px;
  text-shadow: 0 0 12px rgba(156, 255, 119, 0.4);
  position: relative;
  animation: flicker 4s infinite;
}

h1::before,
h1::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0.25;
  pointer-events: none;
}

h1::before {
  transform: translate(2px, -1px);
  clip-path: inset(0 0 55% 0);
}

h1::after {
  transform: translate(-2px, 1px);
  clip-path: inset(45% 0 0 0);
}

.tagline {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(212, 255, 199, 0.84);
}

.warning {
  margin: 28px auto 26px;
  padding: 12px 14px;
  max-width: 520px;
  color: rgba(156, 255, 119, 0.8);
  border-top: 1px solid rgba(156, 255, 119, 0.18);
  border-bottom: 1px solid rgba(156, 255, 119, 0.18);
  font-size: 13px;
  letter-spacing: 1px;
}

.download {
  display: inline-block;
  padding: 15px 34px;
  color: #031004;
  background: var(--green);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  border: 1px solid var(--green);
  box-shadow: 0 0 22px rgba(156, 255, 119, 0.34);
  transition: 0.16s ease;
}

.download:hover {
  color: var(--green);
  background: transparent;
  box-shadow: 0 0 32px rgba(156, 255, 119, 0.5);
  transform: translateY(-2px);
}

.meta {
  margin-top: 18px;
  color: rgba(156, 255, 119, 0.46);
  font-size: 12px;
  letter-spacing: 2px;
}

.artifact-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  perspective: 600px;
}

.artifact {
  width: 104px;
  height: 104px;
  border: 1px solid rgba(156, 255, 119, 0.55);
  transform-style: preserve-3d;
  animation: rotateArtifact 4s linear infinite;
  box-shadow: 0 0 28px rgba(156, 255, 119, 0.22);
  background: rgba(8, 25, 10, 0.88);
}

.disk {
  width: 70px;
  height: 70px;
  margin: 16px auto 0;
  border: 2px solid var(--green);
  position: relative;
}

.disk::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 9px;
  height: 14px;
  background: rgba(156, 255, 119, 0.72);
}

.disk::after {
  content: "";
  position: absolute;
  left: 21px;
  bottom: 9px;
  width: 28px;
  height: 22px;
  border: 1px solid var(--green);
}

.noise,
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
}

.noise {
  opacity: 0.08;
  background-image:
    repeating-radial-gradient(circle at 17% 23%, #fff 0 1px, transparent 1px 3px);
  animation: noiseMove 0.35s steps(2) infinite;
}

.scanlines {
  opacity: 0.18;
  background: repeating-linear-gradient(
    to bottom,
    rgba(156, 255, 119, 0.15) 0px,
    rgba(156, 255, 119, 0.15) 1px,
    transparent 3px,
    transparent 6px
  );
}

@keyframes rotateArtifact {
  from { transform: rotateY(0deg) rotateZ(-3deg); }
  to { transform: rotateY(360deg) rotateZ(-3deg); }
}

@keyframes flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.55; }
  94% { opacity: 0.9; }
  95% { opacity: 0.42; }
  96% { opacity: 1; }
}

@keyframes noiseMove {
  from { transform: translate(0, 0); }
  to { transform: translate(-12px, 9px); }
}

@media (max-width: 520px) {
  .panel {
    padding: 42px 18px 30px;
  }

  .download {
    width: 100%;
  }
}
