:root {
  color-scheme: light;
  --milk: #fffaf1;
  --cream: #fff4df;
  --sky: #cfeefa;
  --sky-strong: #8ccfed;
  --lemon: #ffe9a8;
  --peach: #ffd6bd;
  --mint: #d8f4de;
  --rose: #f7d9d8;
  --graphite: #34404a;
  --muted: #6f8594;
  --line: rgba(129, 160, 174, 0.24);
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(100, 126, 138, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 233, 168, 0.36), transparent 24rem),
    linear-gradient(180deg, #effaff 0%, var(--milk) 44%, #fffdf8 100%);
  color: var(--graphite);
  font-family: "Nunito", "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

input[type="file"] {
  min-height: auto;
  padding: 10px;
  background: #f8fdff;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.hero {
  position: relative;
  min-height: clamp(430px, 68vh, 640px);
  display: grid;
  align-items: center;
  padding: 64px 0 54px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(207, 238, 250, 0.98), rgba(255, 250, 241, 0.9) 50%, rgba(255, 233, 168, 0.72)),
    var(--sky);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -26% -10%;
  height: 48%;
  background: #fffdf8;
  border-radius: 50% 50% 0 0;
  z-index: -1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 820px;
  text-align: center;
  animation: riseIn 520ms ease both;
}

.hero__kicker,
.eyebrow {
  max-width: 100%;
  margin: 0 0 10px;
  color: #5f93a8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero__kicker {
  display: inline-flex;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(140, 207, 237, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 10px 26px rgba(100, 126, 138, 0.1);
  animation: heroTextIn 640ms ease 80ms both;
}

.hero h1 {
  margin: 0;
  color: #263847;
  font-size: clamp(2.35rem, 8vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow:
    0 1px 0 #fff8d9,
    0 2px 0 #ffd987,
    0 3px 0 #ffbd70,
    0 4px 0 #f49a66,
    0 10px 12px rgba(90, 80, 92, 0.2),
    0 20px 36px rgba(80, 115, 130, 0.22);
  animation: heroTitleIn 760ms cubic-bezier(0.2, 0.9, 0.22, 1) 190ms both, titleGlow 4.8s ease-in-out 1.1s infinite;
}

.hero__subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  color: #405c6d;
  font-size: clamp(1.08rem, 2.3vw, 1.45rem);
  font-weight: 900;
  overflow-wrap: anywhere;
  animation: heroTextIn 680ms ease 360ms both;
}

.hero__text {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 0 6px;
  color: #5e7480;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 700;
  overflow-wrap: anywhere;
  animation: heroTextIn 720ms ease 520ms both;
}

.hero__decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero__decor--balloons {
  left: max(18px, calc((100vw - var(--content)) / 2));
  top: 54px;
  width: 132px;
  height: 182px;
  animation: floatSoft 6s ease-in-out infinite;
}

.hero__decor--balloons-right {
  right: max(18px, calc((100vw - var(--content)) / 2));
  left: auto;
  top: 74px;
  animation-delay: -2.4s;
}

.hero__decor--balloons span {
  position: absolute;
  width: 54px;
  height: 68px;
  border-radius: 50% 50% 48% 48%;
  box-shadow: inset -8px -10px 0 rgba(0, 0, 0, 0.05);
  transform-origin: 50% 78%;
  animation: balloonPop 8.4s ease-in-out infinite both;
}

.hero__decor--balloons span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, #8ccfed 0 3px, transparent 4px),
    radial-gradient(circle at 88% 28%, #ffe9a8 0 3px, transparent 4px),
    radial-gradient(circle at 82% 78%, #ffd6bd 0 3px, transparent 4px),
    radial-gradient(circle at 18% 78%, #d8f4de 0 3px, transparent 4px),
    radial-gradient(circle at 12% 28%, #fffaf1 0 3px, transparent 4px);
  transform: translate(-50%, -50%) scale(0.35);
  animation: balloonSpark 8.4s ease-out infinite both;
}

.hero__decor--balloons span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 66px;
  width: 1px;
  height: 82px;
  background: rgba(83, 115, 129, 0.28);
}

.hero__decor--balloons span:nth-child(1) {
  left: 0;
  top: 34px;
  background: #acdff1;
  animation-delay: 0.4s;
}

.hero__decor--balloons span:nth-child(2) {
  left: 42px;
  top: 0;
  background: #ffd8bd;
  animation-delay: 2.4s;
}

.hero__decor--balloons span:nth-child(3) {
  right: 0;
  top: 42px;
  background: #ffe9a8;
  animation-delay: 4.4s;
}

.hero__decor--cloud {
  width: 138px;
  height: 50px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(116, 143, 155, 0.13);
}

.hero__decor--cloud::before,
.hero__decor--cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.hero__decor--cloud::before {
  left: 22px;
  top: -25px;
  width: 58px;
  height: 58px;
}

.hero__decor--cloud::after {
  right: 24px;
  top: -18px;
  width: 48px;
  height: 48px;
}

.cloud-one {
  right: max(20px, calc((100vw - var(--content)) / 2 + 38px));
  top: 92px;
  animation: floatSoft 7s ease-in-out infinite reverse;
}

.cloud-two {
  left: 9%;
  bottom: 80px;
  transform: scale(0.8);
  opacity: 0.78;
  animation: floatSoft 8s ease-in-out infinite;
}

.hero__tractor {
  position: absolute;
  right: -150px;
  bottom: clamp(56px, 9vw, 92px);
  z-index: 1;
  width: 118px;
  height: 64px;
  pointer-events: none;
  filter: drop-shadow(0 10px 10px rgba(80, 115, 130, 0.18));
  animation: tractorDrive 18s linear infinite;
}

.hero__tractor::before,
.hero__tractor::after {
  content: "";
  position: absolute;
}

.hero__tractor::before {
  left: 11px;
  top: 6px;
  width: 96px;
  height: 44px;
  border-radius: 8px 10px 7px 7px;
  background:
    linear-gradient(180deg, #bdeeff 0 48%, #ffffff 49% 100%) 74px 8px / 18px 17px no-repeat,
    linear-gradient(180deg, #1f8fe5, #126dc0) 68px 0 / 30px 38px no-repeat,
    linear-gradient(180deg, #2fa6f3, #1474c9) 24px 20px / 54px 24px no-repeat,
    linear-gradient(180deg, #ffd270, #ffb85f) 8px 29px / 20px 9px no-repeat,
    linear-gradient(180deg, #263847, #405c6d) 22px 7px / 5px 18px no-repeat;
}

.hero__tractor::after {
  left: 8px;
  bottom: 0;
  width: 102px;
  height: 34px;
  background:
    radial-gradient(circle at 25px 19px, #fffdf8 0 5px, #263847 6px 13px, #8ccfed 14px 17px, transparent 18px),
    radial-gradient(circle at 83px 17px, #fffdf8 0 4px, #263847 5px 11px, #8ccfed 12px 15px, transparent 16px);
}

.hero__decor--stars {
  right: 12%;
  bottom: 104px;
  color: #ffbf75;
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: 0.25em;
  animation: twinkle 4.8s ease-in-out infinite;
}

.hero__fireworks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__fireworks span {
  position: absolute;
  top: -24vh;
  left: 50%;
  width: 7px;
  height: 12px;
  --confetti-color: #58c9ff;
  --confetti-drift: 18px;
  --confetti-spin: 420deg;
  --confetti-shadow:
    -46vw -12vh #58c9ff,
    -41vw 24vh #ff9aa2,
    -33vw 10vh #ffb38a,
    -27vw 34vh #8ab4ff,
    -19vw -2vh #ffe07a,
    -12vw 42vh #ffd59f,
    -6vw 16vh #69debb,
    1vw 30vh #58c9ff,
    8vw -8vh #ff9aa2,
    15vw 38vh #ffe07a,
    23vw 12vh #8ab4ff,
    31vw 46vh #69debb,
    38vw 0 #ffd270,
    45vw 32vh #ffb38a,
    49vw 20vh #ff9fca,
    54vw 48vh #ffd270;
  border-radius: 2px;
  opacity: 0.9;
  background: var(--confetti-color);
  box-shadow: var(--confetti-shadow);
  filter: drop-shadow(0 2px 2px rgba(86, 112, 124, 0.22));
  animation: confettiRain 12s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  will-change: transform, opacity;
}

.hero__fireworks span:nth-child(1) {
  left: 48%;
  --confetti-color: #58c9ff;
  --confetti-drift: 22px;
  --confetti-spin: 480deg;
  animation-duration: 11.5s;
}

.hero__fireworks span:nth-child(2) {
  left: 52%;
  --confetti-color: #ff9fca;
  --confetti-drift: -28px;
  --confetti-spin: -520deg;
  --confetti-shadow:
    -52vw 8vh #8ab4ff,
    -47vw 36vh #ffd270,
    -41vw -6vh #ffd59f,
    -34vw 22vh #58c9ff,
    -27vw 18vh #69debb,
    -20vw 46vh #ffb38a,
    -12vw 2vh #ff9aa2,
    -5vw 32vh #8ab4ff,
    2vw 24vh #ffd270,
    10vw -12vh #69debb,
    17vw 4vh #58c9ff,
    24vw 40vh #ff9fca,
    31vw 16vh #ffb38a,
    39vw 28vh #ffd59f,
    45vw -4vh #ffe07a,
    53vw 44vh #ff9aa2;
  animation-delay: -2.6s;
  animation-duration: 12.8s;
}

.hero__fireworks span:nth-child(3) {
  right: 16%;
  left: auto;
  --confetti-color: #69debb;
  --confetti-drift: 34px;
  --confetti-spin: 620deg;
  --confetti-shadow:
    -55vw 16vh #ffb38a,
    -49vw -8vh #ffd59f,
    -43vw 0 #58c9ff,
    -37vw 38vh #ff9aa2,
    -30vw 26vh #ffd270,
    -23vw 10vh #ffe07a,
    -15vw 8vh #ff9aa2,
    -8vw 44vh #8ab4ff,
    -1vw -10vh #8ab4ff,
    7vw 34vh #ffb38a,
    14vw 20vh #ffe07a,
    21vw 2vh #58c9ff,
    28vw 6vh #ffd59f,
    35vw 48vh #ffd270,
    42vw 28vh #69debb,
    51vw 12vh #ff9fca;
  animation-delay: -5.1s;
  animation-duration: 14s;
}

.page-section {
  padding: 34px 0 72px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading--compact {
  align-items: center;
  margin-bottom: 18px;
}

.section-heading h2,
.admin-header h1,
.modal__panel h2 {
  margin: 0;
  color: #2d3b45;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-section > .section-heading .eyebrow {
  margin-bottom: 0;
  color: #2d3b45;
  font-size: clamp(1.75rem, 6vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.admin-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #557588;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.section-heading > .admin-link {
  display: none;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.login-panel {
  width: min(100%, 420px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.login-panel h1 {
  margin: 0 0 18px;
  color: #2d3b45;
  font-size: 2rem;
  line-height: 1.1;
}

.login-panel .button {
  margin-top: 14px;
}

.admin-link:hover {
  transform: translateY(-2px);
  background: #fff;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  justify-items: center;
}

.gift-card {
  width: 100%;
  max-width: 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(140, 207, 237, 0.28);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: cardIn 460ms ease both;
  animation-delay: var(--delay, 0ms);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 58px rgba(91, 124, 137, 0.22);
}

.gift-card--reserved {
  opacity: 0.76;
}

.gift-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 12px 12px 0;
  overflow: hidden;
  border-radius: 20px;
  background: #f6fbfb;
}

.gift-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gift-card:hover .gift-card__image-wrap img {
  transform: scale(1.03);
}

.gift-card--reserved .gift-card__image-wrap img {
  filter: saturate(0.55) brightness(0.93);
}

.reserved-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(247, 217, 216, 0.94);
  color: #836463;
  font-size: 0.78rem;
  font-weight: 900;
}

.gift-card__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.status-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.status-badge--free {
  background: var(--mint);
  color: #35764c;
}

.status-badge--reserved {
  background: var(--rose);
  color: #836463;
}

.gift-card h3,
.admin-item h3 {
  min-width: 0;
  margin: 12px 0 6px;
  color: #2d3d48;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.gift-card p,
.admin-item p {
  min-width: 0;
  margin: 0;
  color: #5c727f;
  overflow-wrap: anywhere;
}

.product-url {
  min-width: 0;
  margin-top: 12px;
  color: #4c91ac;
  font-size: 0.9rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.gift-card__actions,
.admin-item__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-md);
  padding: 11px 16px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.button--primary {
  background: linear-gradient(180deg, #9ddaf2, #7fc6e7);
  color: #fff;
  box-shadow: 0 10px 24px rgba(103, 178, 211, 0.34);
}

.gift-card--reserved .button--primary:disabled {
  background: var(--rose);
  color: #836463;
  opacity: 1;
}

.button--secondary {
  border: 1px solid rgba(127, 198, 231, 0.45);
  background: #ffffff;
  color: #4d8fa9;
}

.button--secondary:hover {
  background: #eefaff;
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: #687d89;
}

.button--danger {
  background: #ffe9e4;
  color: #a9584e;
}

.empty-state {
  margin: 22px 0;
  padding: 22px;
  border: 1px dashed rgba(127, 198, 231, 0.5);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 62, 72, 0.38);
  backdrop-filter: blur(5px);
  animation: fadeIn 180ms ease both;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: 0 26px 80px rgba(45, 61, 72, 0.25);
  animation: modalIn 230ms ease both;
}

.modal__panel h2 {
  max-width: calc(100% - 52px);
  font-size: clamp(1.65rem, 7vw, 2.1rem);
  line-height: 1.12;
}

.modal__gift {
  margin: 8px 0 20px;
  color: var(--muted);
  font-weight: 800;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #6b7d87;
  font-size: 1.5rem;
  line-height: 1;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

label {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: #52636d;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(127, 161, 177, 0.32);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--graphite);
  padding: 11px 13px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #85cce9;
  box-shadow: 0 0 0 4px rgba(140, 207, 237, 0.2);
}

input.input-error {
  border-color: #d88076;
  box-shadow: 0 0 0 4px rgba(216, 128, 118, 0.15);
}

.form-error {
  margin: 12px 0 0;
  color: #a9584e;
  font-weight: 800;
}

#reserveForm .button[type="submit"] {
  margin-top: 22px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 20;
  width: min(calc(100% - 32px), 430px);
  transform: translateX(-50%);
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(52, 64, 74, 0.94);
  color: #fff;
  box-shadow: 0 18px 44px rgba(52, 64, 74, 0.22);
  text-align: center;
  font-weight: 900;
  animation: toastIn 220ms ease both;
}

.toast--center {
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  animation: toastCenterIn 240ms ease both;
}

.scroll-top {
  display: none;
}

.cake-flight {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 30;
  width: 112px;
  height: 112px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(45vw, 36vh, 0) scale(0.55) rotate(12deg);
  will-change: transform, opacity;
}

.cake-flight--show {
  animation: cakeFlyIn 1.65s cubic-bezier(0.2, 0.9, 0.22, 1) both;
}

.cake-flight__flame,
.cake-flight__candle,
.cake-flight__top,
.cake-flight__base {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.cake-flight__flame {
  top: 1px;
  width: 18px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  background: #ffd36e;
  transform: translateX(-50%) rotate(-45deg);
  box-shadow: 0 0 22px rgba(255, 211, 110, 0.7);
}

.cake-flight__candle {
  top: 23px;
  width: 12px;
  height: 28px;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, #fffaf1 0 6px, #8ccfed 6px 10px);
}

.cake-flight__top {
  top: 45px;
  width: 82px;
  height: 28px;
  border-radius: 24px 24px 10px 10px;
  background: #fffaf1;
  box-shadow: 0 7px 0 #ffd6bd;
}

.cake-flight__base {
  top: 66px;
  width: 90px;
  height: 38px;
  border-radius: 10px 10px 18px 18px;
  background:
    radial-gradient(circle at 24px 21px, #8ccfed 0 5px, transparent 6px),
    radial-gradient(circle at 45px 21px, #ffe9a8 0 5px, transparent 6px),
    radial-gradient(circle at 66px 21px, #8ccfed 0 5px, transparent 6px),
    #ffd6bd;
  box-shadow: 0 18px 34px rgba(103, 178, 211, 0.26);
}

.admin-page {
  background: linear-gradient(180deg, #f4fbfd 0%, #fffaf1 100%);
}

.admin-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
}

.admin-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(290px, 390px) 1fr;
  gap: 20px;
  padding: 24px 0 72px;
  align-items: start;
}

.admin-form-panel,
.admin-list-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(100, 126, 138, 0.12);
  padding: 18px;
}

.admin-form-panel {
  position: sticky;
  top: 16px;
}

.admin-form .button {
  width: 100%;
  margin-top: 16px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(127, 161, 177, 0.22);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.92);
}

.admin-item__image {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 16px;
  object-fit: cover;
  background: #f6fbfb;
}

.admin-item__content {
  min-width: 0;
}

.admin-item__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-item h3 {
  margin-top: 0;
}

.reservation-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  color: #5b6f7a;
  overflow-wrap: anywhere;
}

.admin-item__actions {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  justify-content: start;
  padding-top: 14px;
}

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

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

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow:
      0 1px 0 #fff8d9,
      0 2px 0 #ffd987,
      0 3px 0 #ffbd70,
      0 4px 0 #f49a66,
      0 10px 12px rgba(90, 80, 92, 0.2),
      0 20px 36px rgba(80, 115, 130, 0.22);
  }
  50% {
    text-shadow:
      0 1px 0 #fffdf0,
      0 2px 0 #ffe39b,
      0 3px 0 #ffc77a,
      0 5px 0 #f59a62,
      0 12px 14px rgba(90, 80, 92, 0.18),
      0 22px 42px rgba(140, 207, 237, 0.38);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes toastCenterIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px)) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.7;
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes tractorDrive {
  0% {
    transform: translate3d(12vw, 30px, 0) rotate(7deg);
  }
  22% {
    transform: translate3d(-20vw, 8px, 0) rotate(4deg);
  }
  50% {
    transform: translate3d(-52vw, -26px, 0) rotate(0deg);
  }
  78% {
    transform: translate3d(-84vw, 8px, 0) rotate(-4deg);
  }
  100% {
    transform: translate3d(calc(-100vw - 180px), 30px, 0) rotate(-7deg);
  }
}

@keyframes balloonPop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.72);
  }
  10%, 62% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  68% {
    opacity: 0;
    transform: translateY(-10px) scale(1.28);
  }
  69%, 100% {
    opacity: 0;
    transform: translateY(18px) scale(0.68);
  }
}

@keyframes balloonSpark {
  0%, 64%, 76%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35) rotate(0deg);
  }
  68% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15) rotate(22deg);
  }
}

@keyframes confettiRain {
  0% {
    opacity: 0;
    transform: translate3d(calc(var(--confetti-drift) * -0.45), -18vh, 0) rotate(0deg);
  }
  10% {
    opacity: 0.95;
    transform: translate3d(calc(var(--confetti-drift) * -0.32), -2vh, 0) rotate(calc(var(--confetti-spin) * 0.08));
  }
  36% {
    transform: translate3d(calc(var(--confetti-drift) * 0.08), 35vh, 0) rotate(calc(var(--confetti-spin) * 0.38));
  }
  68% {
    opacity: 1;
    transform: translate3d(calc(var(--confetti-drift) * 0.46), 78vh, 0) rotate(calc(var(--confetti-spin) * 0.72));
  }
  92% {
    opacity: 0.95;
    transform: translate3d(calc(var(--confetti-drift) * 0.82), 112vh, 0) rotate(calc(var(--confetti-spin) * 0.94));
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--confetti-drift), 132vh, 0) rotate(var(--confetti-spin));
  }
}

@keyframes cakeFlyIn {
  0% {
    opacity: 0;
    transform: translate3d(45vw, 36vh, 0) scale(0.55) rotate(12deg);
  }
  22% {
    opacity: 1;
  }
  54% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1) rotate(-3deg);
  }
  74% {
    opacity: 1;
    transform: translate3d(-50%, -54%, 0) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -74%, 0) scale(0.88) rotate(0deg);
  }
}

@media (min-width: 640px) {
  .gift-card__actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .gift-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1025px) {
  .gift-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-form-panel {
    position: static;
  }

  .admin-item__actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 420px;
    padding: 58px 0 44px;
  }

  .hero__inner {
    width: 100%;
    max-width: 360px;
  }

  .hero__kicker,
  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.03em;
  }

  .hero__kicker {
    padding: 7px 10px;
    text-wrap: balance;
  }

  .hero__subtitle {
    font-size: 1rem;
    text-wrap: balance;
  }

  .hero__text {
    font-size: 0.96rem;
    text-wrap: pretty;
  }

  .hero__decor--balloons {
    display: none;
  }

  .cloud-one {
    display: none;
  }

  .cloud-two,
  .hero__tractor,
  .hero__decor--stars {
    display: none;
  }

  .hero__fireworks {
    opacity: 0.7;
  }

  .hero__fireworks span {
    width: 8px;
    height: 11px;
  }

  .hero__fireworks span:nth-child(1) {
    left: 8%;
  }

  .hero__fireworks span:nth-child(2) {
    left: 42%;
    right: auto;
  }

  .hero__fireworks span:nth-child(3) {
    right: 8%;
    display: block;
  }

  .cake-flight {
    width: 92px;
    height: 92px;
  }

  .section-heading,
  .admin-header__inner,
  .admin-item__top {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-link,
  .admin-header .button {
    width: 100%;
  }

  .admin-item {
    grid-template-columns: 1fr;
  }

  .admin-item__image {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .admin-item__actions {
    grid-template-columns: 1fr;
  }

  .gift-card:hover,
  .gift-card:hover .gift-card__image-wrap img,
  .button:hover,
  .admin-link:hover {
    transform: none;
  }

  .scroll-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 8;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(52, 64, 74, 0.92);
    color: #fff;
    box-shadow: 0 14px 34px rgba(52, 64, 74, 0.24);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .scroll-top--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 32px), var(--content));
  }

  .gift-card__body,
  .modal__panel,
  .admin-form-panel,
  .admin-list-panel {
    padding: 16px;
  }

  .modal__panel {
    border-radius: 24px;
    padding: 22px 16px 18px;
  }

  .modal__panel h2 {
    font-size: clamp(1.55rem, 9vw, 2rem);
    line-height: 1.08;
  }

  .modal__panel .eyebrow {
    font-size: 0.76rem;
  }

  .modal__gift {
    margin-bottom: 18px;
    font-size: 0.95rem;
  }

  .modal__close {
    top: 14px;
    right: 14px;
  }

  .button {
    width: 100%;
  }
}

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

  .hero__fireworks,
  .hero__tractor,
  .cake-flight {
    display: none !important;
  }
}
