body {
  background: #212121 url('../assets/background/halloween_bg.gif') no-repeat center/cover fixed;
  color: #cddc39;
  text-align: center;
  font-family: Stardos Stencil, Courier, monospace;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  justify-content: center;
  align-items: center;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  background: url('../assets/Smoke1.png') repeat;
  opacity: 0.3;
  animation: smokeMove 60s linear infinite;
  z-index: 0;

  /* Stardos Stencil */
}

.stardos-stencil-regular {
  font-family: "Stardos Stencil", system-ui;
  font-weight: 400;
  font-style: normal;
}

.stardos-stencil-bold {
  font-family: "Stardos Stencil", system-ui;
  font-weight: 700;
  font-style: normal;
}

/* Nosifer and Creepster Font */
.nosifer-regular {
  font-family: "Nosifer", sans-serif;
}

.creepster-regular {
  font-family: "Creepster", system-ui;
}

@keyframes smokeMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

/* Header */
h1 {
  animation: fadeInSlideDown 3s ease-out;
  font-size: 52px;
  color: #FF8C00;
  text-shadow: 3px 3px 5px #000;
  font-family: "Nosifer", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 1;
}

@keyframes fadeInSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-box {
  width: 100%;
  max-width: 700px;
  overflow: auto;
  background: #1b1b1b url('../assets/gifs/black_scratch.gif') no-repeat center/cover;
  border: 2px solid #aaff33;
  border-radius: 10px;
  padding: 1.5rem;
  padding-top: .5rem;
  color: #cddc39;
  font-family: Stardos Stencil;
  font-size: 1rem;
  animation: slideOpen 5s ease forwards;
  max-height: 0;
  z-index: 1;
  margin-bottom: 2px;
  margin-top: 2px
}

@keyframes slideOpen {
  0% {
    max-height: 0;
  }

  100% {
    max-height: 500px;
  }
}

.reveal-box h3 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  color: #FF8C00;
  border-bottom: 1px solid #333;
  padding-bottom: 0.3rem;
}

.links {
  opacity: 0;
  animation: fadeIn 1s ease 3s forwards;
  padding: 10px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.links a,
.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #aaff33;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border: 1px solid #aaff33;
  border-radius: 8px;
  background-color: #1a1a1a;
  transition: all 0.2s ease;
}

.links a:hover,
.link-btn:hover {
  background-color: #FFFFFF;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 10px #aaff33;
}

.links a i {
  display: inline-block;
  transition: transform 0.2s;
}

.links a:hover i {
  animation: shake 0.5s;
}

.button {
  display: inline-block;
  padding: 8px 20px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #FF7518;
  background-color: #FF7518;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #999;
}

.button:hover {
  background-color: #cb5200
}

.button:active {
  background-color: #cb5200;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.reveal-box.compact .link-btn span {
  display: none;
}

.reveal-box.compact .link-btn {
  flex-direction: column;
  font-size: 1.2rem;
  padding: 0.5rem;
}

.reveal-box.compact .link-btn:hover span {
  display: inline;
  font-size: 0.8rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.fas.fa-user-secret {
  opacity: 0.4
}

.home-btn img {
  width: 50%;
  height: 50%;
  cursor: pointer;
}

.visitor-counter {
  margin-top: 15px;
  text-align: center;
  font-family: 'Black Ops One', cursive;
  font-size: 1.2rem;
  color: #ff7518;
  /* pumpkin orange */
  text-shadow: 0 0 8px #000, 0 0 12px #ff4500;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 0 15px rgba(255, 117, 24, 0.6);
}

.visitor-counter::before {
  content: "Visitors ";
  font-weight: bold;
  color: #ffd700;
  /* gold accent */
  text-shadow: 0 0 6px #000, 0 0 10px #ff7518;
}