:root {
  --vinci-blue: #0057a3;
  --vinci-light-blue: #e6f2fb;
  --vinci-accent: #009fd9;
  --card-bg: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.08);
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--vinci-light-blue);
  color: var(--text-main);
  margin: 0;
  padding: 40px 20px;
}

h1 {
  text-align: center;
  color: var(--vinci-blue);
  font-size: 2.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

section {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--vinci-blue);
}

/* -----------------------------
   Picked name
----------------------------- */

.result-hero {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  color: var(--vinci-blue);
  margin-bottom: 10px;
  min-height: 80px;
}

/* -----------------------------
   Spoken list
----------------------------- */

.spoken-list {
  max-width: 600px;
  margin: 0 auto 30px auto;
  text-align: center;
  color: var(--text-main);
}

.spoken-item {
  display: inline-block;
  margin: 4px 10px;
  font-size: 1rem;
  color: var(--text-muted);
}

.spoken-item span {
  color: var(--vinci-accent);
  margin-right: 4px;
}

/* -----------------------------
   Inputs & buttons
----------------------------- */

textarea {
  width: 100%;
  height: 120px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  font-size: 14px;
  resize: vertical;
}

button {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: #f9fafb;
  cursor: pointer;
}

.pick {
  width: 100%;
  background: var(--vinci-blue);
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  padding: 14px;
}

.controls {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.button-row {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

/* -----------------------------
   Name rows
----------------------------- */

.name-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* -----------------------------
   Collapsible sections
----------------------------- */

.collapsible .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.collapsible .chevron {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.collapsible.collapsed .chevron {
  transform: rotate(-90deg);
}

.collapsible.collapsed .section-body {
  display: none;
}

/* -----------------------------
   Animation
----------------------------- */

.drumroll {
  animation: subtle-pulse 0.25s infinite;
}

@keyframes subtle-pulse {
  0% { opacity: 0.85; }
  50% { opacity: 1; }
  100% { opacity: 0.85; }
}
