/* =========================================================
   Leonardo Wishlist — Design System
   Palette: cream, orange primary, dino green, mint, lilac,
   sky blue, peach. Dark text = slate #1a1814 (not pure black).
   ========================================================= */

:root {
  --cream: #f6f3ed;
  --cream-2: #ede8db;
  --orange: #f97b22;
  --orange-deep: #d8621a;
  --green: #44cd56;
  --yellow: #ffe6b5;
  --peach: #ffb5b5;
  --lilac: #e6c4f8;
  --sky: #75affa;
  --sand: #d9d5cd;
  --ink: #1a1814;        /* near-black per "no pure black" */
  --ink-soft: #4a453d;
  --line: rgba(26, 24, 20, 0.12);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 1px 0 rgba(26, 24, 20, 0.08),
                 0 20px 40px -24px rgba(26, 24, 20, 0.22);
  --shadow-lift: 0 1px 0 rgba(26, 24, 20, 0.1),
                 0 30px 60px -28px rgba(26, 24, 20, 0.35);

  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Satoshi", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; }

/* =========================================================
   BACKGROUND LAYERS
   ========================================================= */
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.bg-blob {
  position: absolute;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}
.bg-blob--1 {
  top: -120px;
  right: -160px;
  width: 540px;
  height: 540px;
  animation: drift 24s ease-in-out infinite;
}
.bg-blob--2 {
  top: 40vh;
  left: -200px;
  width: 480px;
  height: 480px;
  animation: drift 30s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50%      { transform: translate(30px, 40px) rotate(12deg); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 5vw, 60px);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav__mark {
  font-size: 22px;
  display: inline-block;
  animation: wiggle 5s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes wiggle {
  0%, 92%, 100% { transform: rotate(0); }
  94%           { transform: rotate(-8deg); }
  96%           { transform: rotate(8deg); }
  98%           { transform: rotate(-4deg); }
}

.nav__link {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.nav__link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
  padding: 20px 0 80px;
  position: relative;
}

.hero__text { min-width: 0; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.7);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
  backdrop-filter: blur(6px);
  animation: fadeUp 0.7s 0.1s both ease-out;
}
.hero__eyebrow--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 20px;
}
.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(68, 205, 86, 0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.pulse--green {
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(68, 205, 86, 0.6);
  animation: pulseGreen 2s infinite;
}
.pulse--orange {
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(249, 123, 34, 0.6);
  animation: pulseOrange 2s 1s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(68, 205, 86, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(68, 205, 86, 0); }
  100% { box-shadow: 0 0 0 0 rgba(68, 205, 86, 0); }
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(68, 205, 86, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(68, 205, 86, 0); }
  100% { box-shadow: 0 0 0 0 rgba(68, 205, 86, 0); }
}
@keyframes pulseOrange {
  0% { box-shadow: 0 0 0 0 rgba(249, 123, 34, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(249, 123, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 123, 34, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 28px 0 28px;
}
.hero__line {
  display: block;
  animation: fadeUp 0.8s both ease-out;
}
.hero__line:nth-child(1) { animation-delay: 0.15s; }
.hero__line:nth-child(2) { animation-delay: 0.3s; }
.hero__line--accent {
  color: var(--orange);
}
.five {
  display: inline-block;
  font-size: 1.2em;
  background: var(--yellow);
  padding: 0 0.12em;
  border-radius: 20px;
  border: 3px solid var(--ink);
  transform: rotate(-4deg);
  margin: 0 0.05em;
  animation: bounce-five 3s ease-in-out infinite;
}
@keyframes bounce-five {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-8px); }
}

.hero__lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 36px;
  animation: fadeUp 0.9s 0.45s both ease-out;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.6s both ease-out;
}

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

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--ink);
  background: var(--orange-deep);
}
.btn--primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--ink);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: 2px 2px 0 0 var(--ink) !important; }

/* =========================================================
   HERO SCENE (animated dino + superhero stuff)
   ========================================================= */
.hero__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  min-height: 420px;
  justify-self: end;
  animation: fadeUp 1.1s 0.5s both ease-out;
}

.trex {
  position: absolute;
  width: 90%;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(6px 8px 0 rgba(26, 24, 20, 0.25));
  animation: trex-bob 3.5s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes trex-bob {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); }
  50%      { transform: translateX(-50%) translateY(-6px) rotate(1deg); }
}

.web {
  position: absolute;
  width: 32%;
  top: -10px;
  right: -10px;
  opacity: 0.45;
}

.shield {
  position: absolute;
  width: 20%;
  top: 8%;
  left: 6%;
  filter: drop-shadow(4px 6px 0 rgba(26, 24, 20, 0.3));
  animation: shield-spin 12s linear infinite;
}
@keyframes shield-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.star {
  position: absolute;
  filter: drop-shadow(2px 3px 0 var(--ink));
}
.star--1 { width: 40px; top: 12%; right: 28%; animation: float 4s ease-in-out infinite; }
.star--2 { width: 32px; top: 48%; right: 4%;  animation: float 5s ease-in-out infinite 0.5s; }
.star--3 { width: 36px; bottom: 14%; right: 8%; animation: float 4.5s ease-in-out infinite 1s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-14px) rotate(15deg); }
}

/* Footprints divider */
.footprints {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-bottom: -30px;
}
.footprints__row {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 40px;
  background-image:
    radial-gradient(ellipse 10px 14px at 10px 20px, rgba(26,24,20,0.5) 40%, transparent 42%),
    radial-gradient(ellipse 4px 6px at 24px 14px, rgba(26,24,20,0.5) 40%, transparent 42%),
    radial-gradient(ellipse 3px 5px at 3px 12px, rgba(26,24,20,0.5) 40%, transparent 42%),
    radial-gradient(ellipse 4px 6px at 18px 32px, rgba(26,24,20,0.5) 40%, transparent 42%);
  background-size: 120px 40px;
  background-repeat: repeat-x;
  animation: walk 40s linear infinite;
}
@keyframes walk {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   MAIN / INTRO
   ========================================================= */
.main {
  position: relative;
  z-index: 1;
  padding: 80px clamp(20px, 5vw, 60px) 100px;
  max-width: 1280px;
  margin: 0 auto;
}

.intro {
  text-align: center;
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.intro__tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--lilac);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  transform: rotate(-2deg);
}
.intro__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 18px;
}
.intro__text {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}
.intro__text em { background: var(--yellow); font-style: normal; padding: 0 4px; border-radius: 4px; }
.intro__text a { color: var(--orange); font-weight: 700; text-decoration: none; }
.intro__text a:hover { text-decoration: underline; }

.legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.legend__item { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); }
.dot--free { background: var(--green); }
.dot--taken { background: var(--sand); }
.legend__counter {
  margin-left: auto;
  padding: 4px 12px;
  background: var(--cream-2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

/* =========================================================
   GRID + CARDS
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.25s ease;
  box-shadow: 4px 6px 0 0 var(--ink);
}
.card:hover {
  transform: translate(-2px, -4px);
  box-shadow: 6px 10px 0 0 var(--ink);
}

.card--skeleton {
  background: linear-gradient(90deg, #fff 0%, var(--cream-2) 50%, #fff 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  min-height: 420px;
  border-style: dashed;
  box-shadow: none;
}
.card--skeleton:hover { transform: none; box-shadow: none; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream-2);
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__media img { transform: scale(1.04); }

.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card__badge--taken { background: var(--sand); }

.card__category {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 18px;
}

.card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.card__desc {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1.5px dashed var(--line);
}
.card__price {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 0 20px 20px;
}
.card__actions .btn { padding: 12px 16px; font-size: 14px; justify-content: center; }

.card--reserved { opacity: 0.8; }
.card--reserved .card__media img { filter: grayscale(0.6); }
.card--reserved .card__name { text-decoration: line-through; text-decoration-color: rgba(26,24,20,0.3); }

/* =========================================================
   UNRESERVE SECTION
   ========================================================= */
.unreserve {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}
.unreserve__card {
  max-width: 540px;
  width: 100%;
  background: var(--peach);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 6px 8px 0 0 var(--ink);
  text-align: center;
}
.unreserve__card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.unreserve__card p { margin: 0 0 20px; color: var(--ink-soft); }
.unreserve__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.unreserve__form input {
  padding: 14px 18px;
  font-size: 17px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-align: center;
}
.unreserve__form input:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
.unreserve__msg { margin-top: 14px; font-size: 14px; font-weight: 600; min-height: 20px; }
.unreserve__msg.is-success { color: #0a7a28; }
.unreserve__msg.is-error { color: #b3261e; }
.unreserve__hint { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.unreserve__hint a { color: var(--ink); font-weight: 600; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 48px clamp(20px, 5vw, 60px);
  margin-top: 80px;
  position: relative;
  z-index: 1;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__left { display: flex; align-items: center; gap: 16px; }
.footer__mark { font-size: 36px; }
.footer__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.01em;
}
.footer__sub { margin: 4px 0 0; font-size: 14px; opacity: 0.7; }
.footer__sub a { color: var(--orange); text-decoration: none; font-weight: 600; opacity: 1; }
.footer__sub a:hover { text-decoration: underline; }
.footer__copy { font-size: 13px; opacity: 0.5; margin: 0; }

/* =========================================================
   MODAL
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.modal__dialog {
  position: relative;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 8px 12px 0 0 var(--ink);
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 30px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  line-height: 1;
}
.modal__close:hover { background: var(--cream-2); }

.modal__gift {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.modal__gift-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-2);
  border: 2px solid var(--ink);
}
.modal__gift-img img { width: 100%; height: 100%; object-fit: cover; }
.modal__gift-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.modal__gift-price { margin: 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.modal__text { margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }

.field {
  display: block;
  margin-bottom: 16px;
}
.field span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.field input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff;
}
.field input:focus { outline: 3px solid var(--orange); outline-offset: 2px; }

.modal__error {
  color: #b3261e;
  font-size: 14px;
  margin: 0 0 12px;
  min-height: 20px;
  font-weight: 600;
}

.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.modal__actions .btn { flex: 1; justify-content: center; }

/* Success step */
.success { text-align: center; }
.success__burst {
  font-size: 60px;
  display: inline-block;
  animation: burst 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
@keyframes burst {
  0%   { transform: scale(0) rotate(-30deg); }
  60%  { transform: scale(1.3) rotate(10deg); }
  100% { transform: scale(1) rotate(0); }
}
.success h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  margin: 12px 0 6px;
  letter-spacing: -0.02em;
}
.success p { margin: 0 0 16px; color: var(--ink-soft); }
.success p a { color: var(--orange); font-weight: 700; text-decoration: none; }
.success p a:hover { text-decoration: underline; }
.token {
  font-family: "Courier New", monospace;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0.1em;
  padding: 18px;
  background: var(--yellow);
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  margin: 0 0 12px;
  user-select: all;
}
.success__next { margin-top: 20px; font-size: 14px !important; }
#success-buy { margin: 10px 0; width: 100%; justify-content: center; }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(26, 24, 20, 0.35);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  z-index: 60;
  pointer-events: none;
  max-width: calc(100% - 40px);
}
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   CONFETTI
   ========================================================= */
.confetti {
  position: fixed;
  top: -20px;
  width: 10px;
  height: 14px;
  z-index: 70;
  pointer-events: none;
  animation: confetti-fall 2.5s cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
}
@keyframes confetti-fall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 20px; padding-bottom: 40px; }
  .hero__scene { max-width: 340px; min-height: 340px; justify-self: center; margin-top: 20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .unreserve__form { grid-template-columns: 1fr; }
  .legend__counter { margin-left: 0; width: 100%; text-align: center; }
  .legend { flex-direction: column; align-items: center; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .main { padding: 60px 20px 80px; }
  .card__actions { grid-template-columns: 1fr; }
  .modal__dialog { padding: 24px 20px; }
  .modal__gift { grid-template-columns: 64px 1fr; }
  .modal__gift-img { width: 64px; height: 64px; }
  .token { font-size: 26px; }
  .modal__actions { flex-direction: column-reverse; }
  .modal__actions .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
