body {
  background: url("https://media.giphy.com/media/xT0xeJpnrWC4XWblEk/giphy.gif");
  background-repeat: repeat;
  color: lime;
  font-family: "Comic Sans MS", cursive, sans-serif;
  text-align: center;
  margin: 0;
  overflow-x: hidden;
  cursor: url('https://cur.cursors-4u.net/nature/nat-4/nat356.cur'), auto;
  animation: bgflash 5s infinite alternate;
}

@keyframes bgflash {
  0% { background-color: #ff00ff; }
  25% { background-color: #0000ff; }
  50% { background-color: #00ff00; }
  75% { background-color: #ffff00; }
  100% { background-color: #ff0000; }
}

h1, h2 {
  font-size: 60px;
  text-shadow: 3px 3px 10px yellow;
  animation: rainbow 2s linear infinite, spin 8s linear infinite;
  display: inline-block;
  margin-top: 50px;
}

@keyframes rainbow {
  0% { color: red; }
  16% { color: orange; }
  33% { color: yellow; }
  50% { color: green; }
  66% { color: blue; }
  83% { color: indigo; }
  100% { color: violet; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.blink {
  animation: blink 0.5s infinite;
  font-size: 50px;
  text-shadow: 2px 2px 6px white;
}

marquee {
  color: yellow;
  font-size: 30px;
  text-shadow: 2px 2px 6px magenta;
}

img {
  width: 250px;
  height: 250px;
  border: 5px groove fuchsia;
  margin: 20px;
  transform: rotate(-10deg);
}

.footer {
  background-color: black;
  color: lime;
  padding: 20px;
  font-size: 20px;
  border-top: 5px dashed hotpink;
}

.construction-top, .construction-bottom {
  width: 100%;
  height: 40px;
  background: url('https://www.animatedimages.org/data/media/1694/animated-under-construction-image-0007.gif') repeat-x;
  position: fixed;
  left: 0;
  z-index: 1000;
}

.construction-top { top: 0; }
.construction-bottom { bottom: 0; }

.construction {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 120px;
  animation: bounce 2s infinite alternate;
  z-index: 900;
}

.construction-right {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 120px;
  animation: bounce 2s infinite alternate-reverse;
  z-index: 900;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

.star {
  position: fixed;
  pointer-events: none;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 0 10px #00ffff;
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.3); }
}

#counter {
  font-size: 25px;
  color: cyan;
  text-shadow: 1px 1px 5px magenta;
}

.sparkle {
  position: fixed;
  font-size: 16px;
  color: white;
  animation: sparkle 2s linear infinite;
  text-shadow: 0 0 10px white, 0 0 20px yellow;
  pointer-events: none;
}

@keyframes sparkle {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  50% { opacity: 1; transform: translateY(-10px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-20px) scale(0.8); }
}

.bomb {
  position: fixed;
  width: 64px;
  height: 64px;
  pointer-events: none;
  animation: fall 5s linear forwards;
  z-index: 999;
}

@keyframes fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

.dino {
  position: fixed;
  width: 120px;
  height: auto;
  pointer-events: none;
  animation: dinoFall 7s linear forwards;
  z-index: 500;
}

@keyframes dinoFall {
  0%   { transform: translateY(-100px) rotate(0deg); opacity: 1; }
  80%  { transform: translateY(90vh) rotate(360deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

#godzilla {
  position: fixed;
  bottom: 0;
  left: -400px;
  width: 400px;
  z-index: 999;
  animation: godzillaWalk 30s linear infinite;
}

#laser {
  position: fixed;
  bottom: 250px;
  left: 0;
  height: 100px;
  width: 0;
  opacity: 0;
  z-index: 1000;
  transform-origin: left center;
}

@keyframes godzillaWalk {
  0% { left: -400px; }
  10% { left: 100px; }
  15% { left: 100px; }
  25% { left: -400px; }
  100% { left: -400px; }
}


/* === Cursed 2000s Button === */
.btn-cursed {
  display: inline-block;
  font-family: "Comic Sans MS", "Papyrus", "Verdana", sans-serif;
  font-size: 1.3rem;
  padding: 14px 28px;
  margin: 8px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px outset #00ffff;
  border-radius: 12px;
  background: linear-gradient(180deg, #0044aa 0%, #002255 90%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.3),
    0 0 8px #00ffff,
    0 3px 0 #001122;
  text-shadow:
    0 0 4px #00ffff,
    0 0 10px #00ffff;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  animation: btn-shimmer 4s infinite linear;
}

/* hover = Windows XP chaos */
.btn-cursed:hover {
  transform: scale(1.08) rotate(-1deg);
  background: linear-gradient(180deg, #0066ff 0%, #001144 100%);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.4),
    0 0 16px #00ffff,
    0 0 40px #00ffff;
}

/* click = brutal flash */
.btn-cursed:active {
  transform: scale(0.95);
  background: linear-gradient(180deg, #000, #003366);
  box-shadow: 0 0 20px #ff00ff;
}

/* fake shimmer sweep */
@keyframes btn-shimmer {
  0%   { filter: hue-rotate(0deg); }
  50%  { filter: hue-rotate(40deg) brightness(1.3); }
  100% { filter: hue-rotate(0deg); }
}