body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #a18cd1, #fbc2eb, #fad0c4, #ff9a9e);
  background-size: cover;
  color: #0d1117;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* .background-planet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, #ff9a9e, #fad0c4, #a18cd1);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  z-index: 0;
} */

/* .background-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  z-index: 1;
  animation: rotate 20s linear infinite;
} */

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.background-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: 40%;
  opacity: 0.03;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Анімовані точки */
.background-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #000000; /* Синій колір точок */
  border-radius: 50%;
  animation: fall 5s linear infinite;
  opacity: 0;
  animation-delay: calc(var(--random-delay) * 1s);
}

.dot:hover {
  transform: scale(1.5);
  background: rgba(88, 166, 255, 0.5); /* Світліший синій при наведенні */
}

@keyframes fall {
  0% {
    transform: translateY(-100px);
    opacity: 0; /* Точки залишаються невидимими на початку */
  }
  10% {
    opacity: 0.1; /* Точки стають видимими після початку анімації */
  }
  100% {
    transform: translateY(100vh);
    opacity: 0; /* Точки зникають після падіння */
  }
}

@keyframes move {
  from {
    transform: translateY(0) translateX(0);
    opacity: 0.5;
  }
  to {
    transform: translateY(100vh) translateX(50px);
    opacity: 0;
  }
}

.container {
  text-align: center;
  background: rgba(255, 255, 255, 0.7); /* Напівпрозорий білий фон */
  padding: 50px;
  border-radius: 25px; /* Округлі кути */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1); /* Легкі тіні */
  width: 90%;
  max-width: 600px;
  z-index: 1;
  position: relative;
  margin: 0 auto;
  backdrop-filter: blur(10px); /* Ефект розмиття заднього фону */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Легка рамка */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
  transform: translateY(-5px); /* Легке підняття при наведенні */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(255, 255, 255, 0.2); /* Посилена тінь */
}

header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #333333; /* Темно-сірий текст */
  text-shadow: none; /* Прибираємо тінь */
}

header p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #555555; /* Світло-сірий текст */
}

.input-container {
  background: none; /* Прибираємо фон */
  box-shadow: none; /* Прибираємо тінь */
  padding: 0; /* Прибираємо внутрішній відступ */
  margin-bottom: 20px; /* Можна залишити для відступу між елементами */
}

input {
  padding: 14px;
  width: 85%;
  max-width: 450px;
  border: none;
  border-radius: 15px;
  font-size: 1rem;
  outline: none;
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.8), rgba(255, 228, 235, 0.8)); /* Пастельний градієнт */
  color: #333333; /* Темний текст */
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.5); /* Легкі внутрішні тіні */
  transition: box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

input:hover {
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.9), rgba(255, 228, 235, 0.9)); /* Трохи яскравіший градієнт при наведенні */
  box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.1), inset -3px -3px 8px rgba(255, 255, 255, 0.6); /* Посилені тіні */
}

input:focus {
  background: linear-gradient(135deg, rgba(255, 240, 245, 1), rgba(255, 228, 235, 1)); /* Яскравий фон при фокусі */
  color: #0d1117; /* Темний текст при введенні */
  box-shadow: 0 0 10px rgba(255, 182, 193, 0.5); /* Легке світіння при фокусі */
}

input::placeholder {
  color: #aaa; /* Світло-сірий текст для підказки */
  font-style: italic;
}

.btn {
  padding: 14px 25px;
  background: linear-gradient(135deg, #1e90ff, #00bfff); /* Синій градієнт */
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4); /* Легке світіння */
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.6); /* Посилене світіння */
  background: linear-gradient(135deg, #00bfff, #1e90ff); /* Зворотний градієнт */
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.5); /* Зменшене світіння */
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 10px 2px rgba(30, 144, 255, 0.8); /* Ефект фокусу */
}

.btn.processing {
  background: linear-gradient(135deg, #ffa07a, #ff6347); /* Помаранчевий градієнт */
  cursor: not-allowed;
}

#progress-bar {
  margin: 20px 0;
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, #43cea2, #185a9d);
  animation: progress-animation 2s linear forwards;
}

@keyframes progress-animation {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

#response-message {
  margin-top: 10px;
  font-size: 1rem;
}

#transaction-hash {
  word-wrap: break-word;
  word-break: break-all;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #58a6ff;
  cursor: pointer;
}

#transaction-hash:hover {
  text-decoration: underline;
}

footer {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #8b949e;
}

.hidden {
  display: none;
}

footer a {
  color: inherit; /* Зберігаємо колір тексту */
  text-decoration: none; /* Прибираємо підкреслення за замовчуванням */
  transition: color 0.3s ease, text-decoration 0.3s ease; /* Плавний перехід */
}

footer a:hover {
  color: #000000; /* Змінюємо колір при наведенні */
  text-decoration: none; /* Прибираємо підкреслення */
}

