@keyframes blink { 50% { opacity: 0; } }
@keyframes rainbow {
  0%   { color: #ff0000; }
  16%  { color: #ff8800; }
  33%  { color: #ffff00; }
  50%  { color: #00ff00; }
  66%  { color: #00ffff; }
  83%  { color: #0088ff; }
  100% { color: #ff00ff; }
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
@keyframes wobble { 0%,100% { transform: skewX(0deg); } 25% { transform: skewX(15deg); } 75% { transform: skewX(-15deg); } }
@keyframes drift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(40px); } }
@keyframes glitch {
  0%,100% { transform: translate(0); filter: hue-rotate(0); }
  20% { transform: translate(-3px,2px); filter: hue-rotate(90deg); }
  40% { transform: translate(2px,-1px); filter: hue-rotate(180deg); }
  60% { transform: translate(-1px,3px); filter: hue-rotate(270deg); }
  80% { transform: translate(3px,1px); filter: hue-rotate(45deg); }
}
body {
  background: #000 fixed url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64'><rect width='64' height='64' fill='%23000'/><circle cx='8' cy='8' r='2' fill='%2300ff00'/><circle cx='40' cy='24' r='2' fill='%23ff00ff'/><circle cx='20' cy='48' r='2' fill='%2300ffff'/><circle cx='56' cy='56' r='2' fill='%23ffff00'/></svg>");
  color: #00ff00;
  font-family: "Comic Sans MS", "Chalkboard SE", cursive;
  font-size: 18px;
  margin: 0;
  padding: 20px 20px 80px 20px;
  text-align: center;
}
h1 {
  font-size: 72px;
  animation: rainbow 2s linear infinite;
  text-shadow: 4px 4px 0 #ff00ff, -4px -4px 0 #00ffff;
  margin: 10px 0;
}
.blink { animation: blink 0.8s steps(2) infinite; }
.spin  { display: inline-block; animation: spin 4s linear infinite; }
.bounce { display: inline-block; animation: bounce 1s ease-in-out infinite; }
.wobble { display: inline-block; animation: wobble 2s ease-in-out infinite; }
.glitch { display: inline-block; animation: glitch 0.6s steps(5) infinite; }
.drift { display: inline-block; animation: drift 4s ease-in-out infinite; }
marquee { font-size: 28px; color: #ffff00; }
.box {
  border: 4px ridge #ff00ff;
  background: rgba(0, 0, 80, 0.7);
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
  box-shadow: 8px 8px 0 #00ffff;
}
.fire { color: #ff4400; font-weight: bold; animation: blink 0.3s steps(2) infinite; }
hr.fancy {
  height: 8px;
  background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, magenta);
  border: 0;
  margin: 20px 0;
}
a { color: #00ffff; }
a:visited { color: #ff00ff; }
.counter {
  display: inline-block;
  background: #000;
  color: #00ff00;
  border: 3px inset #888;
  font-family: "Courier New", monospace;
  font-size: 24px;
  padding: 5px 12px;
  letter-spacing: 4px;
}
.cone { font-size: 80px; display: inline-block; animation: wobble 3s ease-in-out infinite; }
ul.cool li { list-style: none; margin: 8px 0; }
ul.cool li::before { content: "✨ "; }
table.guestbook {
  margin: 0 auto;
  background: #220022;
  border: 3px outset #ff00ff;
  color: #ffff00;
  max-width: 720px;
}
table.guestbook td { padding: 6px 12px; border: 1px dashed #00ffff; vertical-align: top; }
.under-construction {
  background: repeating-linear-gradient(45deg, #ffff00 0 20px, #000 20px 40px);
  color: #ff0000;
  font-weight: bold;
  font-size: 24px;
  padding: 10px;
  border: 4px dashed #000;
}
nav.weirdnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 20px auto;
  max-width: 900px;
}
nav.weirdnav a {
  display: inline-block;
  padding: 10px 18px;
  background: #220022;
  border: 3px ridge #ff00ff;
  color: #ffff00;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}
nav.weirdnav a:hover { background: #ff00ff; color: #000; }
#musicbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #000;
  border-top: 3px ridge #ff00ff;
  padding: 8px;
  text-align: center;
  color: #ffff00;
  font-family: "Comic Sans MS", cursive;
  font-size: 18px;
  z-index: 9999;
}
#musicbar a { color: #ff00ff; text-decoration: none; margin-left: 12px; }
.warning {
  color: #ff0000;
  font-weight: bold;
  font-size: 22px;
  text-shadow: 2px 2px 0 #ffff00;
}
.subtitle {
  font-size: 14px;
  color: #888;
  font-style: italic;
}
