:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #000000;
  --bg-color: #b6eaff;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  text-align: center;
  padding: 2rem;
  max-width: 600px;
}

h1 {
  color: var(--text-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin: 2rem 0;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  width: 0%;
  border-radius: 999px;
  animation: progress 2s ease-in-out infinite;
}

.message {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.countdown {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.gear-icon {
  font-size: 4rem;
  color: var(--primary-color);
  animation: spin 4s linear infinite;
  margin-bottom: 1rem;
}

@keyframes progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 0%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #000000;
    --bg-color: #b6eaff;
  }
  
  .progress-bar {
    background-color: #374151;
  }
}