/* Centreren van container */
.centered-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
:root {
  --sunrise-cream: #fff7e9;
  --sunrise-peach: #ffd3a3;
  --sunrise-coral: #f98f6f;
  --sunrise-rose: #e96d7b;
  --sunrise-sand: #f2c28c;
  --ink: #3f2d28;
  --ink-soft: #6f544d;
  --card: rgba(255, 247, 233, 0.78);
  --shadow: 0 16px 35px rgba(95, 43, 30, 0.2);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Nunito", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 238, 202, 0.75), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(255, 179, 126, 0.55), transparent 42%),
    linear-gradient(165deg, #ffedc8 0%, #ffc88e 36%, #f8a67e 68%, #de7b7f 100%);
  background-attachment: fixed;
}

.wrap {
  width: min(1080px, 92vw);
  margin: 34px auto;
  display: grid;
  gap: 18px;
}

.banner {
  border-radius: calc(var(--radius) + 8px);
  padding: 24px;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, rgba(255, 248, 235, 0.92), rgba(255, 228, 192, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: riseIn 420ms ease both;
}

h1 {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3.7vw, 2.6rem);
  letter-spacing: 0.02em;
}

.subtitle {
  margin: 0;
  color: var(--ink-soft);
}

.card {
  border-radius: var(--radius);
  padding: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  animation: riseIn 520ms ease both;
}

.card:nth-of-type(2) {
  animation-delay: 70ms;
}

.card:nth-of-type(3) {
  animation-delay: 120ms;
}

h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0.02em;
}

.person-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.person-picker label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(249, 143, 111, 0.44);
  cursor: pointer;
  font-weight: 700;
}

input[type="radio"] {
  accent-color: var(--sunrise-rose);
}

label {
  font-weight: 700;
}

textarea,
input[type="text"],
select {
  width: 100%;
  margin-top: 8px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid rgba(170, 86, 59, 0.32);
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
}

textarea {
  min-height: 84px;
  resize: vertical;
}

button {
  border: none;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--sunrise-coral), var(--sunrise-rose));
  color: white;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(128, 44, 35, 0.22);
}

.list {
  display: grid;
  gap: 12px;
}

.item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 140, 102, 0.36);
  border-radius: 12px;
  padding: 12px;
  animation: riseIn 600ms ease both;
}

.generator-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  align-items: end;
}

.generator-action {
  display: flex;
}

.generator-action button {
  width: 100%;
}

.muted {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 4px 0 8px;
}

.empty {
  margin: 0;
  color: var(--ink-soft);
  font-style: italic;
}

.answer {
  margin-top: 8px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 238, 218, 0.85);
  border: 1px dashed rgba(195, 119, 84, 0.5);
}

.columns {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .columns {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 760px) {
  .generator-grid {
    grid-template-columns: 1fr 1fr auto;
  }

  .generator-action button {
    width: auto;
    min-width: 170px;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
