body {
  margin: 0;
  font-family: system-ui;
  text-align: center;
  overflow-x: hidden;
  background: linear-gradient(180deg, #dff3ff 0%, #ffffff 60%, #f6f0e6 100%);
}

/* фон-слой */
#universe {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* ⭐ звезды */
.star {
  position: absolute;
  width: 6px;
  height: 6px;
  background: gold;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
    50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
  );
  opacity: 0.7;
  animation: float 6s infinite ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* HEADER */
header {
  font-size: 26px;
  padding: 20px;
  font-weight: bold;
  color: orange;
}

h1 {
  color: orange;
}

/* HERO */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 30px auto;
  max-width: 460px;
}

.desc {
  width: 100%;
  max-width: 420px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  font-size: 14px;
}

/* имя */
.name {
  font-weight: 800;
  background: linear-gradient(90deg,#c0c0c0,#a855f7,#00d4ff,#c0c0c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  0% { background-position: 0% }
  100% { background-position: 300% }
}

/* животные */
.characters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card {
  width: 120px;
  transition: 0.4s;
  position: relative;
}

.card img {
  width: 100%;
}

/* выбранное животное */
.card.active {
  transform: scale(1.15);
}

/* другие бледнеют */
.card.dim {
  opacity: 0.4;
}

/* облачко */
.card.active::after {
  content: "☁️";
  position: absolute;
  top: -10px;
  left: 40%;
  animation: cloud 2s infinite;
}

@keyframes cloud {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.4; }
}

/* задачи */
.tasks {
  margin-top: 20px;
  margin-bottom: 60px;
}

input {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: black;
  color: white;
  cursor: pointer;
}

/* список задач */
li {
  list-style: none;
  padding: 10px;
  cursor: pointer;
}

.done {
  opacity: 0.5;
}

/* варнинг */
.corner {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 240px;
  padding: 10px;
  font-size: 12px;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}