:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --eye-color: #2d5a3d;
  --eye-color-light: #3d6b4f;
  --eye-glow: rgba(100, 200, 150, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --accent: #4a9d6b;
  --accent-hover: #5cb87d;
  --danger: #d44;
  --border: #222;
  --shadow: rgba(0, 0, 0, 0.5);
}

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

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none !important;
}

#status-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 16px;
  background: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#status-indicator:hover {
  opacity: 1;
}

#listening-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.listening-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
}

.listening-wave span {
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}

.listening-wave span:nth-child(1) { animation-delay: 0s; }
.listening-wave span:nth-child(2) { animation-delay: 0.1s; }
.listening-wave span:nth-child(3) { animation-delay: 0.2s; }
.listening-wave span:nth-child(4) { animation-delay: 0.3s; }
.listening-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

#listening-text {
  font-size: 14px;
  color: var(--accent);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

.primary-btn {
  background: var(--accent);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
}

.primary-btn:hover {
  background: var(--accent-hover);
}

.primary-btn:active {
  transform: scale(0.98);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}