body {
  margin: 0;
  font-family: system-ui;
  text-align: center;
  overflow-x: hidden;
  background: linear-gradient(180deg, #dff3ff 0%, #ffffff 60%, #f6f0e6 100%);
}

/* ===== BACKGROUND ===== */
#universe {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* звезды */
.dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  animation: float 6s infinite ease-in-out;
}

/* золотые */
.dot.gold {
  background: gold;
  box-shadow: 0 0 8px rgba(255,215,0,0.7);
}

/* фиолетовые */
.dot.purple {
  background: #b56cff;
  box-shadow: 0 0 10px rgba(181,108,255,0.7);
}

/* движение */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ===== 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;
}

/* имя */
.name {
  font-weight: 800;
  background: linear-gradient(90deg,#c0c0c0,#a855f7,#00d4ff,#c0c0c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 100%;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  0% { background-position: 0% }
  100% { background-position: 300% }
}

/* ===== CHARACTERS ===== */
.characters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card {
  width: 120px;
  transition: 0.4s;
}

.card img {
  width: 100%;
}

.card.active {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.6));
}

.card.dim {
  opacity: 0.4;
}

/* ===== TASKS ===== */
.tasks {
  margin-top: 20px;
  margin-bottom: 80px;
}

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;
}

.trash{
  opacity:0;
  cursor:pointer;
  transition:0.2s;
  font-size:14px;
}

li:hover .trash{
  opacity:0.6;
}

li:hover .trash:hover{
  opacity:1;
  transform: scale(1.2);
}

/* ===== WARNINGS ===== */
.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);
}

.task-item{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  padding:8px 0;
}

.task-text{
  cursor:pointer;
  font-weight:600;
  color:#6a1b9a;
  font-style:italic;
  font-size:16px;
}

.task-text.done{
  opacity:0.4;
}

.trash{
  opacity:0;
  transition:0.2s;
  cursor:pointer;
}

.task-item:hover .trash{
  opacity:0.6;
}

.task-item:hover .trash:hover{
  opacity:1;
  transform:scale(1.2);
}