* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(120deg, #e6f0ff, #ffffff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  animation: fadeBody 1s ease-in-out;
}

.container {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 600px;
  width: 90%;
  transform: translateY(50px);
  opacity: 0;
  animation: slideIn 1s forwards;
}

h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a3c5c;
  animation: fadeIn 1.2s ease-in-out;
}

#line-box {
  margin: 20px 0;
  background: #d7e8fd;
  padding: 20px;
  border-radius: 12px;
  font-size: 1.2rem;
  color: #333;
  min-height: 80px;
  opacity: 0;
  animation: fadeInText 0.6s ease-in-out forwards;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #0a69c1;
  border: none;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #084d93;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#copy-msg {
  margin-top: 10px;
  font-size: 0.9rem;
  color: green;
  transition: all 0.3s ease;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeBody {
  from { background-color: #ffffff; }
  to { background-color: #e6f0ff; }
}
