:root {
  --glass: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.15);
}

body {
  background: radial-gradient(circle at top left, #1e1b4b, #020617);
  color: white;
  font-family: -apple-system, system-ui, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

input,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: white;
  padding: 12px;
  width: 100%;
  margin: 8px 0;
  box-sizing: border-box;
}

button {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

button:hover {
  background: #6366f1;
}

.copy-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.copy-btn {
  width: 45px;
  height: 45px;
  padding: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.toast {
  position: fixed;
  top: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 12px;
  transform: translateX(250%);
  transition: transform 0.4s ease-out;
  z-index: 9999;
}
.toast.show {
  transform: translateX(0);
}

.hidden {
  display: none;
}

.footer {
  text-align: center;
  color: rgb(223, 223, 223);
  font-size: small;
}

.footer a {
  color: #dcdcdc;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #b48efc, #8f6cf0, #b48efc);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer a:hover::after {
  transform: scaleX(1);
  animation: gradientMove 1.5s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
