body {
  background: black !important;
  color: white !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  background: #0f172a;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background */
.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, #2563eb, transparent 40%),
    radial-gradient(circle at 80% 80%, #7c3aed, transparent 40%);
  animation: move 12s infinite alternate ease-in-out;
  z-index: -1;
}

@keyframes move {
  from { filter: blur(60px); }
  to { filter: blur(90px); }
}

header {
  text-align: center;
  padding: 48px 20px;
}

header h1 {
  font-size: 40px;
  font-weight: 700;
}

header p {
  color: #cbd5f5;
  margin-top: 8px;
}

.app {
  max-width: 1200px;
  margin: auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.inputs,
.preview {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.inputs h2,
.preview h2 {
  margin-bottom: 20px;
}

input,
select,
textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 14px;
}

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

input::placeholder,
textarea::placeholder {
  color: #cbd5f5;
}

button {
  margin-top: 10px;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.letter {
  font-size: 15px;
  line-height: 1.9;
}

.line {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  transition: 0.3s;
}
/* FIX SELECT DROPDOWN (DARK MODE) */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  cursor: pointer;
}

/* Dropdown options */
select option {
  background-color: #0f172a; /* dark background */
  color: white;
}

/* Selected option highlight */
select option:checked,
select option:hover {
  background-color: #2563eb;
  color: white;
}
.inputs, .preview {
  animation: floatIn 0.6s ease both;
}

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