* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.container {
  background: #ffffff;
  padding: 30px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  width: 400px;
  max-width: 90%;
  z-index: 2;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 25px;
  font-size: 26px;
}

input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid #ccc;
  outline: none;
  font-size: 16px;
  margin-bottom: 15px;
}

input:focus {
  border-color: #764ba2;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

button {
  flex: 1;
  margin: 0 5px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background-color: #764ba2;
  color: white;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

button:hover {
  background-color: #5b3992;
}

ul {
  list-style: none;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
}

li {
  background: #f4f4f4;
  margin-bottom: 12px;
  padding: 12px 15px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.completed span {
  text-decoration: line-through;
  color: gray;
  font-style: italic;
}

li button {
  background-color: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #ff3b3b;
  transition: transform 0.15s ease-in-out;
}

li button:hover {
  transform: scale(1.05);
}

/* Floating Mics Background */
.floating-mics {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.floating-mics span {
  position: absolute;
  font-size: 30px;
  opacity: 0.3;
  animation: floatUp 20s linear infinite;
}

.floating-mics span:nth-child(1) {
  left: 10%;
  top: 100%;
  animation-delay: 0s;
}

.floating-mics span:nth-child(2) {
  left: 30%;
  top: 110%;
  animation-delay: 2s;
}

.floating-mics span:nth-child(3) {
  left: 50%;
  top: 105%;
  animation-delay: 4s;
}

.floating-mics span:nth-child(4) {
  left: 70%;
  top: 115%;
  animation-delay: 6s;
}

.floating-mics span:nth-child(5) {
  left: 85%;
  top: 108%;
  animation-delay: 8s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-120vh) rotate(360deg);
  }
}

.mic-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.mic-emoji {
  position: absolute;
  font-size: 24px;
  opacity: 0.2;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  from {
    transform: translateY(100vh) rotate(0deg);
  }
  to {
    transform: translateY(-150vh) rotate(360deg);
  }
}