:root {
  --rose-50: #fff8fb;
  --rose-100: #fce8f0;
  --rose-200: #f7c8d8;
  --rose-300: #ed9fbb;
  --berry: #b83265;
  --berry-dark: #5d2340;
  --lavender: #8b71a8;
  --shadow: 0 28px 80px rgba(128, 43, 85, .16), 0 4px 12px rgba(128, 43, 85, .06);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--berry-dark);
  background: #f7c8d8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button { font: inherit; }
.scene {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 13% 15%, rgba(255,255,255,.6) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 80%, rgba(184,50,101,.1) 0 160px, transparent 161px),
    linear-gradient(135deg, #fbdce7 0%, #f6c2d3 51%, #f8d9e4 100%);
}
.scene::before, .scene::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(184, 50, 101, .11);
}
.scene::before { width: 460px; height: 460px; left: -260px; bottom: -170px; }
.scene::after { width: 290px; height: 290px; right: -120px; top: -110px; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb-one { width: 24px; height: 24px; top: 17%; left: 18%; background: #fff5f8; opacity: .8; }
.orb-two { width: 12px; height: 12px; bottom: 22%; right: 23%; background: var(--berry); opacity: .25; }
.petal { position: absolute; color: var(--berry); opacity: .45; font-size: 26px; animation: drift 5s ease-in-out infinite; }
.petal-one { top: 26%; right: 16%; }
.petal-two { bottom: 24%; left: 16%; font-size: 18px; animation-delay: -2s; }
.invite-card {
  position: relative; z-index: 1; width: min(100%, 650px); overflow: hidden;
  padding: 30px 42px 24px; border: 1px solid rgba(255,255,255,.85); border-radius: 30px;
  background: rgba(255, 248, 251, .86); box-shadow: var(--shadow); backdrop-filter: blur(14px);
  animation: card-in .8s cubic-bezier(.2,.8,.2,1) both;
}
.brand-row { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.brand-mark { width: 25px; height: 25px; display: grid; place-items: center; color: white; font-size: 13px; background: var(--berry); border-radius: 9px 9px 9px 3px; transform: rotate(-8deg); }
.brand-mark span { transform: rotate(8deg); }
.brand-name { color: var(--berry); font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.special-badge { margin-left: auto; padding: 6px 11px; color: var(--berry); background: var(--rose-100); border-radius: 99px; font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.card-content { padding: 64px 18px 34px; text-align: center; }
.intro:empty { display: none; margin: 0; }
.eyebrow { margin: 0 0 17px; color: var(--berry); font-size: 11px; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
h1 { max-width: 510px; margin: 0 auto; color: var(--berry-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 7vw, 68px); font-weight: 400; letter-spacing: -.045em; line-height: .99; }
h1 em { color: var(--berry); font-style: italic; }
.intro { max-width: 405px; margin: 25px auto 0; color: #855369; font-size: 15px; line-height: 1.65; }
.divider { display: flex; align-items: center; gap: 14px; max-width: 260px; margin: 30px auto 20px; color: var(--rose-300); }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--rose-300); opacity: .65; }
.divider span { font-size: 21px; }
.question { margin: 0 auto 22px; color: var(--berry-dark); font-size: 16px; font-weight: 650; }
.actions { display: grid; gap: 10px; max-width: 375px; margin: 0 auto; }
.button { display: flex; align-items: center; justify-content: space-between; min-height: 53px; padding: 0 17px 0 21px; border: 1px solid transparent; border-radius: 15px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; font-size: 14px; font-weight: 720; line-height: 1.25; text-align: left; }
.button:focus-visible { outline: 3px solid rgba(139, 113, 168, .45); outline-offset: 3px; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.99); }
.button-primary { color: white; background: var(--berry); box-shadow: 0 10px 22px rgba(184, 50, 101, .22); }
.button-primary:hover { background: #a92c5c; box-shadow: 0 13px 25px rgba(184, 50, 101, .28); }
.button-soft { color: var(--lavender); border-color: #e4d8e9; background: #f9f4fb; }
.button-soft:hover { background: #f1e9f6; }
.button-icon { font-size: 19px; font-weight: 400; }
.fine-print { margin: 18px 0 0; color: #a3798d; font-size: 11px; }
.card-footer { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding-top: 19px; border-top: 1px solid rgba(229, 176, 195, .42); color: #ae7b90; font-size: 10px; letter-spacing: .04em; }
.footer-dot { width: 5px; height: 5px; background: var(--rose-300); border-radius: 50%; }
.response { animation: response-in .5s cubic-bezier(.2,.8,.2,1) both; }
.response .response-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 50%; color: white; background: var(--berry); box-shadow: 0 12px 25px rgba(184, 50, 101, .2); font-size: 30px; }
.response.maybe .response-icon { color: var(--lavender); background: #eee4f3; box-shadow: none; }
.response h2 { margin: 0; color: var(--berry-dark); font: 400 clamp(32px, 6vw, 49px)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.response p { max-width: 400px; margin: 18px auto 25px; color: #855369; line-height: 1.65; }
.reset-button { color: var(--berry); border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.reset-button:hover { opacity: .72; }
.share-button { display: block; margin: 0 auto 9px; padding: 10px 14px; border: 1px solid #e7b5c8; border-radius: 99px; color: var(--berry); background: #fff8fb; cursor: pointer; font-size: 12px; font-weight: 750; transition: background .2s ease, transform .2s ease; }
.share-button:hover { background: var(--rose-100); transform: translateY(-1px); }
.share-note { margin: 0 auto 13px !important; color: var(--berry) !important; font-size: 11px !important; }
.planning h2, .success h2 { font-size: clamp(32px, 6vw, 49px); }
.planning > p:not(.eyebrow), .success > p:not(.eyebrow) { margin-bottom: 22px; }
.date-form { display: grid; gap: 8px; max-width: 375px; margin: 0 auto 18px; text-align: left; }
.date-form label { color: var(--berry-dark); font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.date-form input { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid #e4c6d3; border-radius: 13px; outline: none; color: var(--berry-dark); background: rgba(255,255,255,.8); font: inherit; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.date-form input + label { margin-top: 7px; }
.date-form input::placeholder { color: #b995a6; }
.date-form input:focus { border-color: var(--berry); box-shadow: 0 0 0 4px rgba(184,50,101,.1); }
.date-form .button { width: 100%; margin-top: 8px; }
.form-error { margin: 2px 0 0 !important; color: var(--berry) !important; font-size: 12px; line-height: 1.4 !important; }
.success .response-icon { background: var(--berry); }
.success strong { color: var(--berry); font-weight: 750; }
.place-card { display: grid; justify-items: center; gap: 5px; max-width: 370px; margin: 22px auto 20px; padding: 20px 18px; border: 1px solid #f0c8d7; border-radius: 19px; color: var(--berry-dark); background: linear-gradient(135deg, #fff8fb, #fce8f0); box-shadow: 0 10px 25px rgba(184,50,101,.1); }
.place-pin { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 3px; color: white; background: var(--berry); border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); }
.place-pin::first-letter { transform: rotate(45deg); }
.place-card strong { color: var(--berry); font: 400 25px/1.1 Georgia, "Times New Roman", serif; }
.place-card small { color: #a3798d; font-size: 11px; }
.bouquet-button { width: 100%; max-width: 375px; margin: 0 auto 19px; }
.flower-burst { position: relative; z-index: 2; height: 0; color: var(--berry); }
.flower-burst span { position: absolute; left: 50%; top: 0; display: block; font-size: 28px; opacity: 0; animation: flower-fly 1.7s cubic-bezier(.18,.75,.22,1) forwards; }
.flower-burst span:nth-child(1) { --x: -190px; --r: -30deg; animation-delay: .02s; }
.flower-burst span:nth-child(2) { --x: -125px; --r: 22deg; animation-delay: .08s; }
.flower-burst span:nth-child(3) { --x: -65px; --r: -18deg; animation-delay: .14s; }
.flower-burst span:nth-child(4) { --x: 52px; --r: 18deg; animation-delay: .2s; }
.flower-burst span:nth-child(5) { --x: 120px; --r: -20deg; animation-delay: .1s; }
.flower-burst span:nth-child(6) { --x: 176px; --r: 28deg; animation-delay: .04s; }
.flower-burst span:nth-child(7) { --x: 0px; --r: 0deg; animation-delay: .26s; }
.celebration { display: flex; justify-content: center; align-items: center; gap: 17px; margin: 4px 0 22px; color: var(--berry); font-size: 22px; }
.celebration span:nth-child(2) { font-size: 30px; animation: pulse-heart 1.4s ease-in-out infinite; }
.admin-card { width: min(100%, 760px); }
.admin-content { padding: 54px 18px 34px; text-align: center; }
.admin-content h1 { font-size: clamp(36px, 6vw, 58px); }
.admin-intro { margin: 17px auto 24px; color: #855369; font-size: 14px; }
.admin-state { max-width: 590px; margin: 0 auto; text-align: left; }
.admin-action { width: 100%; max-width: 370px; margin: 0 auto; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: var(--berry-dark); font-size: 13px; }
.submission-list { display: grid; gap: 9px; }
.submission-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border: 1px solid #f0c8d7; border-radius: 15px; background: rgba(255,255,255,.72); }
.submission-item div { display: grid; gap: 4px; }
.submission-item strong { color: var(--berry); font-size: 14px; }
.submission-item span { color: var(--berry-dark); font-size: 14px; }
.submission-item time { color: #a3798d; font-size: 11px; white-space: nowrap; }
.empty-admin { padding: 30px; border: 1px dashed #e7b5c8; border-radius: 17px; color: #a3798d; text-align: center; }
.empty-admin span { color: var(--berry); font-size: 28px; }
.empty-admin p { margin: 8px 0 0; font-size: 13px; }
.admin-error { text-align: center; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes response-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(8deg); } }
@keyframes pulse-heart { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes flower-fly { 0% { opacity: 0; transform: translate(-50%, 30px) scale(.4) rotate(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), -125px) scale(1) rotate(var(--r)); } }
@media (max-width: 560px) { .scene { padding: 18px 14px; } .invite-card { padding: 22px 18px 20px; border-radius: 24px; } .card-content { padding: 47px 6px 30px; } .admin-content { padding: 45px 6px 30px; } .special-badge { font-size: 9px; padding: 5px 8px; } .intro { font-size: 14px; } .question { font-size: 15px; } .button { min-height: 56px; padding-left: 18px; } .button-primary span:first-child { max-width: 245px; } .share-button { max-width: 100%; } .submission-item { align-items: flex-start; flex-direction: column; gap: 8px; } .submission-item time { white-space: normal; } .admin-toolbar { align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
