:root {
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #111827;
  --cat: #0b0b0b;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.page {
  max-width: 680px;
  width: 100%;
  text-align: center;
}

.title {
  margin: 0 0 18px;
  font-size: 28px;
}

.card {
  background: var(--card);
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.message {
  margin: 18px 0 0;
  color: #374151;
}

.foot {
  font-size: 13px;
  color: #6b7280;
  margin-top: 14px;
}

.cat {
  position: relative;
  margin: 10px auto 0;
  width: 200px;
  height: 160px;
}

/* Ears */
.ear {
  position: absolute;
  width: 42px;
  height: 52px;
  background: var(--cat);
  top: -26px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  z-index: 3;
}

.ear::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 26px;
  background: #ffb4a0;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.ear.left {
  left: 12px;
  transform: rotate(-25deg);
}

.ear.right {
  right: 12px;
  transform: rotate(25deg);
}

/* Head */
.head {
  position: relative;
  width: 140px;
  height: 110px;
  background: var(--cat);
  border-radius: 70% 70% 58% 58%;
  margin: 0 auto;
  top: 6px;
  z-index: 2;
}

/* Eyes */
.eye {
  position: absolute;
  top: 36px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
}

.eye.left {
  left: 30px;
}

.eye.right {
  right: 30px;
}

.eye::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #111;
  border-radius: 50%;
  position: relative;
  left: 6px;
  top: 6px;
}

/* Nose */
.nose {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  width: 12px;
  height: 10px;
  background: #ff6b6b;
  border-radius: 50%;
}

/* Mouth */
.nose::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 3px);
  width: 2px;
  height: 10px;
  background: #ff9b9b;
}

.nose::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 13px);
  width: 26px;
  height: 2px;
  background: #ff9b9b;
  border-radius: 1px;
}

/* Whiskers */
.whiskers {
  position: absolute;
  bottom: 30px;
}

.whiskers::before,
.whiskers::after {
  content: '';
  position: absolute;
  height: 1.5px;
  background: #ccc;
  border-radius: 1px;
}

.whiskers.left {
  left: 0;
}

.whiskers.left::before {
  top: 4px;
  left: -50px;
  width: 52px;
  transform: rotate(-16deg);
  transform-origin: right center;
}

.whiskers.left::after {
  top: 14px;
  left: -48px;
  width: 50px;
  transform: rotate(2deg);
  transform-origin: right center;
}

.whiskers.right {
  right: 0;
}

.whiskers.right::before {
  top: 4px;
  right: -50px;
  width: 52px;
  transform: rotate(16deg);
  transform-origin: left center;
}

.whiskers.right::after {
  top: 14px;
  right: -48px;
  width: 50px;
  transform: rotate(-2deg);
  transform-origin: left center;
}

/* Body */
.body {
  position: relative;
  width: 160px;
  height: 90px;
  background: var(--cat);
  border-radius: 90px 90px 60px 60px;
  margin: -12px auto 0;
  z-index: 2;
}

/* Tail */
.tail {
  position: absolute;
  right: 20px;
  bottom: 10px;
  width: 18px;
  height: 110px;
  background: var(--cat);
  border-radius: 12px;
  transform-origin: bottom center;
  animation: wag 1s ease-in-out infinite;
  z-index: 0;
}

@keyframes wag {
  0% {
    transform: rotate(12deg);
  }
  50% {
    transform: rotate(24deg);
  }
  100% {
    transform: rotate(12deg);
  }
}

/* Responsive */
@media (max-width: 420px) {
  .cat {
    transform: scale(0.85);
  }
  .page {
    padding: 0 8px;
  }
}
