body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 400px;
  max-width: 90%;
  padding: 2rem;
  text-align: center;
  background-color: #1e293b;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

h1 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #f8fafc;
}

.game-area {
  width: 100%;
  height: 200px;
  margin: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  background-color: #334155;
  border: 2px solid #475569;
  border-radius: 0.75rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-area:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.game-area.waiting {
  background-color: #dc2626;
}

.game-area.ready {
  background-color: #16a34a;
}

.game-area.clicked-early {
  background-color: #7c2d12;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-box {
  padding: 1rem;
  text-align: center;
  background-color: #334155;
  border-radius: 0.5rem;
}

.stat-label {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
}

.controls {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: white;
  background-color: #3b82f6;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #2563eb;
}

button:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

button:disabled {
  background-color: #64748b;
  cursor: not-allowed;
}
