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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: #e0e0e0;
  font-family: 'Courier New', monospace;
}

.container {
  text-align: center;
  padding: 2rem;
}

h1 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  margin-bottom: 3rem;
  color: #666;
}

.inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.field input {
  width: 5rem;
  font-size: 2.5rem;
  text-align: center;
  background: #141414;
  border: 1px solid #333;
  border-radius: 8px;
  color: #e0e0e0;
  font-family: 'Courier New', monospace;
  padding: 0.5rem;
}

.field input:focus {
  outline: none;
  border-color: #888;
}

.field label {
  font-size: 0.7rem;
  color: #555;
  margin-top: 0.3rem;
  letter-spacing: 0.1em;
}

.sep {
  font-size: 2.5rem;
  color: #444;
  padding-bottom: 1.2rem;
}

#time {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

#time.urgent {
  color: #ff4444;
  animation: pulse 1s infinite;
}

#time.done {
  color: #ff4444;
  animation: pulse 0.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.buttons {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

button {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  letter-spacing: 0.15em;
  padding: 0.7rem 2rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: #141414;
  color: #e0e0e0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

button:hover {
  background: #222;
  border-color: #666;
}

.hidden { display: none !important; }
