:root {
  --bg: #ffffff;
  --surface: #f4f8fd;
  --surface-2: #eaf1fa;
  --border: #cfd9e6;
  --text: #0b2545;
  --muted: #4a6079;
  --accent: #1d4ed8;
  --accent-soft: #3b82f6;
  --accent-hover: #1e40af;
  --warning-bg: #fff7e6;
  --warning-border: #f4c97b;
  --warning-text: #6b4a10;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  min-height: 100vh;
}

.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 64px;
}

.header {
  text-align: center;
  margin-bottom: 36px;
}

h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 44px;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.tagline-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-soft);
}

.tagline-rule {
  width: 64px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-soft), transparent);
}

.tagline-main {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(11, 37, 69, 0.04);
}

.scoop {
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
  text-align: center;
  color: var(--text);
}

.scoop.fade-in {
  animation: fade 0.4s ease;
}

.scoop.loading {
  color: var(--muted);
  font-style: italic;
}

.scoop .dots::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: dots 1s steps(4, end) infinite;
}

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

@keyframes dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}

.actions {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
}

.generate-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, transform 0.05s ease, opacity 0.15s ease;
}

.generate-btn:hover { background: var(--accent-hover); }
.generate-btn:active { transform: scale(0.98); }
.generate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.disclaimer-note {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
}

.disclaimer-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.disclaimer {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  text-align: center;
}
