* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #2b0b16 0, #050509 55%, #020104 100%);
  color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app {
  width: 90%;
  max-width: 1000px;
  background: rgba(5, 5, 10, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(179, 18, 47, 0.7);
  box-shadow: 0 0 25px rgba(179, 18, 47, 0.6);
  padding: 20px 24px 24px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f5f5;
}

.logo span {
  color: #b3122f;
}

.tagline {
  font-size: 0.85rem;
  color: #c7c7c7;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label {
  font-size: 0.9rem;
  color: #f0d7dd;
}

textarea {
  width: 100%;
  min-height: 120px;
  background: #09070b;
  border-radius: 10px;
  border: 1px solid #3a101b;
  padding: 10px 12px;
  color: #f5f5f5;
  resize: vertical;
  outline: none;
  font-size: 0.95rem;
}

textarea:focus {
  border-color: #b3122f;
  box-shadow: 0 0 10px rgba(179, 18, 47, 0.7);
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.select-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

select {
  min-width: 220px;
  background: #09070b;
  border-radius: 8px;
  border: 1px solid #3a101b;
  padding: 8px 10px;
  color: #f5f5f5;
  outline: none;
}

select:focus {
  border-color: #b3122f;
  box-shadow: 0 0 10px rgba(179, 18, 47, 0.7);
}

.buttons {
  display: flex;
  gap: 10px;
}

button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid #b3122f;
  background: linear-gradient(135deg, #b3122f, #5b0b1a);
  color: #f5f5f5;
  font-size: 0.9rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.15s ease-out;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(224, 30, 58, 0.9);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 0 6px rgba(179, 18, 47, 0.7);
}

.status {
  min-height: 18px;
  font-size: 0.8rem;
  color: #f0a3b0;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .header {
    flex-direction: column;
    gap: 4px;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .buttons {
    justify-content: flex-start;
  }
}
