:root {
  --cream: #fdf6e7;
  --cream-deep: #f6ead0;
  --honey: #e0a857;
  --honey-deep: #c98a36;
  --pooh-red: #d96a4a;
  --bark: #6b4a2b;
  --bark-soft: #8a6a47;
  --ink: #4a3520;
  --card: #ffffff;
  --shadow: 0 18px 40px -20px rgba(107, 74, 43, 0.35),
    0 4px 12px -6px rgba(107, 74, 43, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(
      circle at 15% 10%,
      #fff4d6 0%,
      transparent 45%
    ),
    radial-gradient(circle at 90% 85%, #ffe6c2 0%, transparent 40%),
    var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  line-height: 1.5;
}

.page {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero {
  text-align: center;
}

.kicker {
  margin: 0 0 8px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bark-soft);
  font-weight: 600;
}

.title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--bark);
}

.quote-card {
  position: relative;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--cream-deep);
  border-radius: 24px;
  padding: 56px 36px 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.quote-mark {
  position: absolute;
  top: -8px;
  left: 24px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--honey);
  opacity: 0.7;
  user-select: none;
}

.quote-text {
  margin: 0 0 24px;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  color: var(--ink);
  line-height: 1.55;
  transition: opacity 220ms ease;
}

.quote-text.is-fading {
  opacity: 0;
}

.quote-source {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bark-soft);
  letter-spacing: 0.02em;
}

.actions {
  display: flex;
  justify-content: center;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(180deg, var(--honey), var(--honey-deep));
  padding: 14px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px -8px rgba(201, 138, 54, 0.7);
  transition: transform 120ms ease, box-shadow 160ms ease,
    filter 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 24px -10px rgba(201, 138, 54, 0.75);
}

.btn:active {
  transform: translateY(1px);
  filter: brightness(0.97);
}

.btn:focus-visible {
  outline: 3px solid var(--pooh-red);
  outline-offset: 3px;
}

.btn-emoji {
  font-size: 1.15rem;
}

.footer {
  font-size: 0.85rem;
  color: var(--bark-soft);
  opacity: 0.8;
}

.footer p {
  margin: 0;
}

@media (max-width: 480px) {
  .quote-card {
    padding: 48px 24px 32px;
    border-radius: 20px;
  }

  .quote-mark {
    font-size: 5rem;
    left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-text {
    transition: none;
  }

  .btn {
    transition: none;
  }
}
