* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #3a2230;
  background: #ffe4ef radial-gradient(#ffc2d9 2px, transparent 2px) 0 0 / 28px 28px;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(255, 77, 141, 0.25);
}

.clock {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 600;
}

.time {
  font-size: 1.8rem;
  color: #ff4d8d;
  font-variant-numeric: tabular-nums;
}

.kitty {
  width: 200px;
  max-width: 100%;
  animation: bob 3s ease-in-out infinite;
}

h1 {
  margin: 16px 0 8px;
  font-size: 2.4rem;
  color: #ff4d8d;
}

button {
  margin-top: 16px;
  padding: 12px 24px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #ff4d8d;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

button:hover { background: #e63977; transform: scale(1.05); }
button:focus-visible { outline: 3px solid #3a2230; outline-offset: 3px; }

.out {
  min-height: 1.5em;
  font-size: 1.3rem;
  font-weight: 600;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .kitty { animation: none; }
}
