[data-theme="wacky"] {
  --theme: #000000;
  --entry: #1a001a;
  --primary: #00ffff;
  --secondary: #ff00ff;
  --tertiary: #ffff00;
  --content: #ffffff;
  --code-block-bg: #1a001a;
  --code-bg: #2a002a;
  --border: #00ffff;
  color-scheme: dark;
  animation: wobble 4s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: translate3d(0, 0, 0); }
  15%, 85% { transform: translate3d(-10px, 0, 0); }
  30%, 70% { transform: translate3d(10px, 0, 0); }
  45%, 55% { transform: translate3d(-10px, 0, 0); }
}

body[data-theme="wacky"]::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid;
  border-image: linear-gradient(45deg, var(--primary), var(--secondary), var(--tertiary)) 1;
  animation: border-spin 3s linear infinite;
  pointer-events: none;
  z-index: 9999;
}

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

#robot {
  animation: spin 1.5s linear infinite;
}

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

body[data-theme="wacky"] {
  background: linear-gradient(135deg, var(--theme), var(--entry), var(--tertiary));
  background-size: 400% 400%;
  animation: gradientBG 8s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

[data-theme="wacky"] a {
  color: var(--primary);
  text-shadow: 0 0 2px rgba(0, 255, 255, 0.7);
  animation: rainbow 2s linear infinite, flicker 1.5s infinite;
}

@keyframes rainbow {
  0% { color: #00ffff; }
  25% { color: #ff00ff; }
  50% { color: #ffff00; }
  75% { color: #ff0000; }
  100% { color: #00ffff; }
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 24%, 55% { opacity: 0.3; }
}

[data-theme="wacky"] {
  text-shadow: 0 0 5px rgba(255, 0, 255, 0.7);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { text-shadow: 0 0 5px rgba(255, 0, 255, 0.7); opacity: 1; }
  50% { text-shadow: 0 0 15px rgba(0, 255, 255, 0.9); opacity: 0.7; }
}