* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 700px;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: #fff;
}

h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 32px;
}

.subtitle {
  text-align: center;
  color: #d1d5db;
  margin-bottom: 30px;
}

label {
  display: block;
  margin: 15px 0 8px;
  font-weight: 600;
}

select,
textarea {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

select option {
  color: #000;
}

textarea {
  resize: none;
  height: 160px;
}

textarea::placeholder {
  color: #d1d5db;
}

.buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

button {
  flex: 1;
  border: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

#generateBtn {
  background: #3b82f6;
  color: white;
}

#generateBtn:hover {
  background: #2563eb;
}

#copyBtn {
  background: #10b981;
  color: white;
}

#copyBtn:hover {
  background: #059669;
}

.output {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.output h3 {
  margin-bottom: 15px;
}

#result {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #e5e7eb;
}

@media (max-width: 600px) {
  .buttons {
    flex-direction: column;
  }

  .card {
    padding: 25px;
  }

  h1 {
    font-size: 26px;
  }
}
