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

body {
  overflow: hidden;
  font-family: 'Courier New', monospace;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
  background-color: #ffffff;
  color: #333333;
}

body.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

#theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  font-size: 16px;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
  z-index: 1000;
}

#theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#heart-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: none;
}

#heart-container:active {
  cursor: grabbing;
}

#heart-canvas {
  display: block;
  /* GPU acceleration hints */
  transform: translateZ(0);
  will-change: contents;
}
