body {
  font-family: "Press Start 2P", monospace;
  background: #ff00b3;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
}

header {
  padding: 20px;
  background: #000;
  color: #fff;
}

.logo {
  height: 150px;
  width: auto;
  margin-right: 15px;
  animation: spin 30s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


h1 {
  font-size: 22px;
  margin-bottom: 5px;
}

#counter {
  margin: 20px auto;
  width: 80%;
  max-width: 600px;
}

.progress-container {
  width: 100%;
  background: #222;
  border: 3px solid #00f6ff;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
  height: 25px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ff84, #00f6ff);
  transition: width 1s ease-in-out;
}

.tasks {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.task {
  background: #111;
  margin: 10px;
  padding: 20px;
  flex: 1 1 250px;
  max-width: 300px;
  border: 4px solid #00f6ff;
  border-radius: 8px;
  opacity: 1;
  transition: 0.3s;
}

.task.inactive {
  opacity: 0.5;
}

.btn {
  display: block;
  margin: 10px auto;
  padding: 10px;
  background: #00f6ff;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.btn.locked {
  background: #555;
  cursor: not-allowed;
  pointer-events: none;
}

.status {
  margin-top: 10px;
  font-size: 14px;
}

.status.done {
  color: #00ff84;
}

#status {
  margin-top: 30px;
}

#claimBtn {
  margin-top: 20px;
  padding: 12px 20px;
  background: #666;
  border: none;
  font-weight: bold;
  cursor: not-allowed;
}

#claimBtn.active {
  background: #00ff84;
  cursor: pointer;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .tasks {
    flex-direction: column;
    align-items: center;
  }
}
