:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  background: #f8fafc;
  color: #111827;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: radial-gradient(circle at top, #ffffff 0%, #eef2ff 35%, #f8fafc 100%);
}

.container {
  width: min(100%, 900px);
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.container:hover {
  transform: translateY(-2px);
  box-shadow: 0 36px 80px rgba(15, 23, 42, 0.14);
  border-color: rgba(148, 163, 184, 0.4);
}

header h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
}

header p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

form {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
  color: #1f2937;
}

input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #f8fafc;
  color: #111827;
  font-size: 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

button {
  cursor: pointer;
  border: none;
  border-radius: 18px;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.18);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(59, 130, 246, 0.22);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.preview {
  margin-top: 32px;
}

..preview-box {
  display: grid;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.preview-box:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.4);
}

.preview-box img {
  width: 100%;
  max-width: 585px;
  border-radius: 20px;
  background: #f1f5f9;
  image-rendering: auto;
  transition: transform 220ms ease;
}

.preview-box img:hover {
  transform: scale(1.005);
}

footer {
  margin-top: 30px;
  color: #64748b;
}
