@import url('https://fonts.googleapis.com/css2?family=Rubik+Mono+One&family=Special+Elite&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Special Elite', monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
  
  user-select: none;
  -webkit-user-select: none; /* for Safari */
  -moz-user-select: none;    /* for Firefox */
  -ms-user-select: none;     /* for old IE/Edge */
}

/* animated grain layer with fluctuating opacity */
.noise {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('https://terribletom.neocities.org/402107790_STATIC_NOISE_400.gif');
  background-repeat: repeat;
  mix-blend-mode: lighten;
  z-index: 0;
  animation: moveNoise 10s infinite linear;
}

@keyframes moveNoise {
  0% {
    background-position: 0 0;
    opacity: 0.05;
  }

  50% {
    background-position: 50% 50%;
    opacity: 0.1;
  }
  100% {
    background-position: 100% 100%;
    opacity: 0.05;
  }
}

header {
  margin-top: 60px;
  z-index: 1;
}

.logo {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: white;
  color: black;
  padding: 0.3em 0.6em;
  display: inline-block;
  transform: rotate(-2deg);
  box-shadow: -3px 3px 0 white, -5px 5px 0 black;
  position: relative;
}

/* faint glow pulse instead of harsh glitch */
.logo:hover {
  animation: glow 0.8s ease-in-out infinite alternate;
}
@keyframes glow {
  from { box-shadow: -3px 3px 0 white, 0 0 0px #fff; }
  to { box-shadow: -3px 3px 0 white, 0 0 25px #fff; }
}

.tagline {
  margin-top: 10px;
  font-size: 1rem;
  color: #aaa;
  letter-spacing: 1px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 60px 0;
  z-index: 1;
}

/* main button style */
.links a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  padding: 0.8em 1.2em;
  border: 2px solid white;
  background: black;
  text-transform: lowercase;
  letter-spacing: 5px;
  transition: transform 0.15s ease-in-out, background 0.15s;
  transform: rotate(-1deg);
  box-shadow: -2px 2px 0 white;
  position: relative;
  overflow: hidden;
}

/* motion on hover */
.links a:hover {
  background: white;
  color: black;
  box-shadow: -2px 2px 0 black;
  transform: rotate(2deg) scale(1.08);
  animation: paperShake 0.5s ease-in-out infinite alternate;
}

/* subtle "jitter" shake effect */
@keyframes paperShake {
  0% { transform: rotate(1deg) translate(0px, 0px); }
  100% { transform: rotate(-1deg) translate(1px, -1px); }
}

/* faint white flash when clicked */
.links a:active::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: white;
  opacity: 0.4;
  animation: flash 0.1s forwards;
}
@keyframes flash {
  from { opacity: 0.4; }
  to { opacity: 0; }
}

footer {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #666;
  z-index: 1;
}



