@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
  --primary: #6200ee;
  --accent: #03dac6;
  --bg: #121212;
  --surface: #1f1f1f;
  --text: #ffffff;
  --subtext: #aaaaaa;
  --danger: #cf6679;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 100vh;
}

.wrapper {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.logo-animate {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  animation: flicker 2s infinite alternate;
}

@keyframes flicker {
  from { text-shadow: 0 0 5px var(--accent); }
  to { text-shadow: 0 0 15px var(--accent); }
}

.gradient {
  background: linear-gradient(to right, #ff00cc, #3333ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1rem;
  color: var(--subtext);
  margin-bottom: 1.5rem;
}

textarea {
  width: 100%;
  height: 150px;
  padding: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  background-color: #2c2c2c;
  color: white;
  resize: vertical;
  outline: none;
  margin-bottom: 1rem;
}

textarea::placeholder {
  color: #888;
}

button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
  width: 100%;
}

button:hover {
  background-color: #3700b3;
  transform: scale(1.03);
}

#result {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: var(--accent);
  word-break: break-word;
}

@media (max-width: 480px) {
  .wrapper {
    padding: 1rem;
  }

  .logo-animate {
    font-size: 1.5rem;
  }

  textarea {
    height: 120px;
  }

  button {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }
}
