body {
  margin: 0;
  padding: 0;
  background: #121212;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
    background: transparent;
/* background: rgba(30,30,30,0.95); */
  padding: 40px 50px;
  border-radius: 15px;
  /* box-shadow: 0 10px 40px rgba(0,0,0,0.7); */
  width: 500px;
  max-width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
}

.top-block {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 25px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.top-block:hover {
  transform: scale(1.005);
}

.pixel-image {
  width: 50px;
  height: 50px;
  image-rendering: pixelated;
}

.top-text p {
  margin: 0;
  font-size: 2rem;
  font-family: 'Pixelify Sans', sans-serif;
  color: #ffffff;
}

.main-text h1 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: #fff;
}

.main-text p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 25px;
  line-height: 1.4;
}

input, button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 10px;
  outline: none;
  margin-bottom: 15px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

input {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.2);
  color: #fff;
}

input:focus {
  border-color: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

button {
  background: #212121;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #555;
  transform: scale(1);
}

button:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

button:disabled:hover {
      background: #555;
      transform: none;
}

#result {
  margin-top: 12px;
  font-size: 1.15rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#result.show-result {
  opacity: 1;
  transform: translateY(0);
}

footer {
  margin-top: 25px;
  font-size: 0.8rem;
  color: #888;
}

.container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
