body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ff0080, #7928ca, #00eaff);
  background-size: 600% 600%;
  animation: bgShift 10s infinite alternate ease-in-out;
  color: #fff;
}

@keyframes bgShift {
  0% {background-position: 0% 50%;}
  100% {background-position: 100% 50%;}
}

.container {
  text-align: center;
  background: rgba(0, 0, 0, 0.65);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.7);
  width: 350px;
  animation: float 3s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0px);}
  50% { transform: translateY(-10px);}
}

h1 {
  font-size: 2rem;
  background: linear-gradient(90deg, #ffea00, #ff0080, #00ffe7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

input {
  width: 100%;
  padding: 0.6rem;
  font-size: 1.1rem;
  border-radius: 10px;
  border: none;
  outline: none;
  text-align: center;
  margin-bottom: 1rem;
}

button {
  background: linear-gradient(90deg, #ff512f, #dd2476);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}

button:hover {
  background: linear-gradient(90deg, #24c6dc, #514a9d);
  transform: scale(1.05);
}

.results {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  font-weight: bold;
}

.heads {
  color: #00eaff;
  text-shadow: 0px 0px 10px #00eaff;
}

.tails {
  color: #ff0080;
  text-shadow: 0px 0px 10px #ff0080;
}
