.timer-page {
  padding-top: 100px;
  max-width: 480px;
  margin: 0 auto;
}

.timer-display {
  font-size: clamp(2.5rem, 12vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(78, 205, 196, 0.4);
}

.timer-hint {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 40px;
}

.timer-controls {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-inputs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.time-inputs label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.time-inputs input {
  width: 70px;
  padding: 12px;
  font-size: 1.5rem;
  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.time-inputs input:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.3);
}

.timer-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.timer-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.timer-modal.visible {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.timer-modal-content {
  background: linear-gradient(135deg, #2a2a4a, #1a1a2e);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #4ecdc4;
}
