@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --background: #000000;
  --foreground: #e0e0e0;
  --terminal-bg: rgba(10, 10, 10, 0.85);
  --terminal-border: rgba(40, 240, 100, 0.5);
  --terminal-glow: rgba(40, 240, 100, 0.2);
  --green: #00ff00;
  --cyan: #00ffff;
  --magenta: #ff00ff;
  --yellow: #ffff00;
  --blue: #0088ff;
  --red: #ff3333;
}

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

body {
  font-family: 'Fira Code', monospace;
  background-color: var(--background);
  color: var(--foreground);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(40, 240, 100, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(40, 240, 100, 0.8);
}

/* 文本选择样式 */
::selection {
  background: rgba(40, 240, 100, 0.3);
  color: #ffffff;
}