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

:root {
  --rose: #b5294e;
  --rose-light: #e8a0b0;
  --blush: #f9ede8;
  --blush-dark: #f0d8d0;
  --gold: #c9956a;
  --text-dark: #3a2a2a;
  --text-mid: #6b4c4c;
}

body {
  background: #f5ece8;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ────────── SCROLL ANIMATIONS ────────── */
[data-animate] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: .65s;
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
[data-animate="fade-up"]    { transform: translateY(36px); }
[data-animate="fade-left"]  { transform: translateX(36px); }
[data-animate="fade-right"] { transform: translateX(-36px); }
[data-animate="zoom-in"]    { transform: scale(.88); }

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

/* ────────── PETALS ────────── */
.petals-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 999;
}

/* ── Card wrapper ── */
.card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--blush);
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  position: relative;
  overflow: hidden;
}

/* ────────── HERO ────────── */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a0a0a;
}
.hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.45) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px;
  text-align: center;
}
.hero-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  color: #fff;
  letter-spacing: .02em;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  color: rgba(255,255,255,.9);
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: .22em;
  color: rgba(255,255,255,.9);
  margin-top: 6px;
}

/* Placeholder hero (no real photo) */
.hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2c1810 0%, #5c2d2d 40%, #8b4513 70%, #d4956a 100%);
}

/* ────────── CALENDAR ────────── */
.calendar-section {
  padding: 36px 24px 24px;
  text-align: center;
}
.cal-month {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--rose);
  margin-bottom: 16px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 2px;
  max-width: 320px;
  margin: 0 auto;
}
.cal-day-header {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--text-mid);
  padding: 4px 0;
}
.cal-day {
  font-size: .78rem;
  font-weight: 400;
  color: var(--text-dark);
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 50%;
  cursor: default;
}
.cal-day.highlight {
  background: var(--rose);
  color: #fff;
  font-weight: 700;
  position: relative;
}
.cal-day.highlight::after {
  content: '❤';
  position: absolute;
  font-size: .55rem;
  bottom: -2px;
  right: -2px;
}
.cal-day.today {
  border: 2px solid var(--rose-light);
  color: var(--rose);
  font-weight: 600;
}

/* ────────── DIVIDER ────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  margin: 8px 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose-light), transparent);
}
.divider-icon {
  font-size: 1.1rem;
  color: var(--rose-light);
}

/* ────────── SECTION TITLE ────────── */
.section-title {
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--text-dark);
  text-transform: uppercase;
  padding: 20px 20px 4px;
}
.section-title.rose { color: var(--rose); }

/* ────────── INVITATION CARD ────────── */
.invite-card {
  margin: 16px 20px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 20px rgba(181,41,78,.1);
  text-align: center;
  border: 1px solid rgba(181,41,78,.08);
}
.invite-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.invite-day {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.invite-date-big {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--rose);
  letter-spacing: .15em;
  line-height: 1;
  margin: 6px 0 10px;
}
.invite-lunar {
  font-size: .72rem;
  color: var(--text-mid);
  margin-bottom: 12px;
  font-style: italic;
}
.invite-venue-big {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--rose);
  text-transform: uppercase;
  margin: 6px 0 4px;
}
.invite-address {
  font-size: .8rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.btn-map {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 24px;
  background: var(--rose);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 40px;
  text-decoration: none;
  transition: background .2s;
}
.btn-map:hover { background: #8e1d3b; }

/* ────────── BRIDE & GROOM ────────── */
.couple-section {
  padding: 24px 20px;
  text-align: center;
}
.invite-phrase {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.invite-calligraphy {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  color: var(--rose);
  display: block;
  margin: 6px 0;
}
.invite-attend {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dark);
  margin: 6px 0 24px;
}
.couple-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 20px;
}
.couple-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8d0c8 0%, #c8a090 100%);
  position: relative;
}
.couple-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.couple-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.couple-label {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.couple-role {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--rose-light);
  text-transform: uppercase;
  text-align: center;
}
.couple-names-script {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}
.couple-name {
  font-family: 'Great Vibes', cursive;
  font-size: 1.9rem;
  color: var(--rose);
  text-align: center;
}
.couple-heart { font-size: 1.4rem; color: var(--rose); }
.love-letters {
  letter-spacing: .5em;
  font-size: .85rem;
  font-weight: 600;
  color: var(--rose-light);
  margin: 12px 0 0;
}

/* ────────── CEREMONY BLOCK ────────── */
.ceremony-block {
  padding: 28px 20px 20px;
  text-align: center;
  border-top: 1px solid var(--blush-dark);
}
.ceremony-tag {
  font-family: 'Great Vibes', cursive;
  font-size: 1.6rem;
  color: var(--rose);
  margin-bottom: 4px;
}
.ceremony-title-big {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .35em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ceremony-weekday {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.ceremony-date-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1.5px solid var(--text-dark);
  border-bottom: 1.5px solid var(--text-dark);
  padding: 6px 0;
  margin: 0 0 10px;
}
.ceremony-date-side {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--text-dark);
  text-transform: uppercase;
}
.ceremony-date-center {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--rose);
  line-height: 1;
  padding: 0 16px;
}
.ceremony-time {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: .25em;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.ceremony-lunar {
  font-size: .68rem;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 20px;
  margin-right: 5px;
  text-align: right;
}
.ceremony-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}
.ceremony-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 2/3;
}
.ceremony-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #3a1a10 0%, #7a3a2a 50%, #c47040 100%);
}
.ceremony-address-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.ceremony-address-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 600;
  color: var(--rose);
  letter-spacing: .05em;
  line-height: 1;
}
.ceremony-venue-name {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--text-dark);
  text-transform: uppercase;
}
.ceremony-venue-addr {
  font-size: .68rem;
  color: var(--text-mid);
  line-height: 1.5;
  text-align: left;
}
.ceremony-map {
  border-radius: 6px;
  overflow: hidden;
  flex: 1;
  min-height: 110px;
}

/* ────────── COUNTDOWN ────────── */
.countdown-section {
  padding: 10px 20px 24px;
  text-align: center;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cd-box {
  background: var(--rose);
  border-radius: 8px;
  padding: 14px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
}
.cd-box span:first-child {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.cd-label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}

/* ────────── POEM SECTION ────────── */
.poem-section {
  position: relative;
}
.poem-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.poem-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #1a0808 0%, #5c2020 40%, #a05030 80%, #d4956a 100%);
}
.poem-text {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  text-align: center;
  padding: 0 32px;
}
.poem-text p {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  line-height: 1.6;
}

/* ────────── PARENTS ────────── */
.parents-section {
  padding: 16px 20px 24px;
}
.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.parents-col {
  background: #fff;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(181,41,78,.08);
}
.parents-col-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--blush-dark);
}
.parent-name {
  font-size: .72rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 500;
}
.parent-name strong {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ────────── FOOTER ────────── */
.footer-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.footer-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .75;
}
.footer-hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a0808 0%, #4a1a1a 50%, #8b3a3a 100%);
}
.footer-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 100px;
  color: #fff;
  text-align: center;
  gap: 4px;
}
.footer-script {
  font-family: 'Great Vibes', cursive;
  font-size: 1.7rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.footer-small {
  font-size: .68rem;
  letter-spacing: .2em;
  opacity: .85;
}

/* ────────── STAMP ────────── */
.stamp {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--rose);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  text-align: center;
  line-height: 1.5;
}
.stamp-icon { font-size: 1.5rem; }

/* ────────── DECORATION ────────── */
.ornament {
  text-align: center;
  color: var(--rose-light);
  font-size: 1.1rem;
  letter-spacing: .5em;
  padding: 6px 0;
}

/* ────────── RSVP FORM ────────── */
.rsvp-section {
  padding: 0 16px 32px;
}
.rsvp-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 30px rgba(181,41,78,.12);
  border: 1px solid rgba(181,41,78,.08);
}
.rsvp-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 22px;
  letter-spacing: .02em;
}
.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rsvp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rsvp-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .03em;
}
.rsvp-input {
  border: 1.5px solid #d8c8c8;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: .85rem;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: border-color .2s;
  background: #fdfafa;
}
.rsvp-input:focus {
  border-color: var(--rose);
}
.rsvp-input::placeholder {
  color: #c0a8a8;
}
.rsvp-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 2px 0;
}
.rsvp-radio input[type="radio"] {
  display: none;
}
.rsvp-radio-circle {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #c0a8a8;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s;
}
.rsvp-radio input[type="radio"]:checked + .rsvp-radio-circle {
  border-color: #1a73e8;
}
.rsvp-radio input[type="radio"]:checked + .rsvp-radio-circle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 10px; height: 10px;
  background: #1a73e8;
  border-radius: 50%;
}
.rsvp-select-wrap {
  position: relative;
}
.rsvp-select {
  width: 100%;
  border: 1.5px solid #1a73e8;
  border-radius: 8px;
  padding: 12px 38px 12px 14px;
  font-size: .85rem;
  font-family: inherit;
  color: var(--text-dark);
  background: #fdfafa;
  outline: none;
  appearance: none;
  cursor: pointer;
}
.rsvp-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #1a73e8;
  font-size: 1rem;
  pointer-events: none;
}
.rsvp-textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

.rsvp-btn {
  width: 100%;
  padding: 16px;
  background: var(--rose);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
  margin-top: 4px;
}
.rsvp-btn:hover {
  background: #8e1d3b;
}
.rsvp-msg {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  margin-top: 4px;
}
.rsvp-msg.success {
  background: #e8f5e9;
  color: #2e7d32;
}
.rsvp-msg.error {
  background: #fce4ec;
  color: var(--rose);
}

@media (max-width: 360px) {
  .invite-date-big { font-size: 2rem; }
  .couple-name { font-size: 1.6rem; }
}

/*heart qr*/
.heart {
  background-color: red;
  display: inline-block;
  height: 30px;
  margin: 0 10px;
  margin-top: 32px;
  margin-bottom: 24px;
  position: relative;
  top: 0;
  transform: rotate(-45deg);
  width: 30px;
  cursor: pointer;
}

.heart:before,
.heart:after {
  content: "";
  background-color: red;
  border-radius: 50%;
  height: 30px;
  position: absolute;
  width: 30px;
}

.heart:before {
  top: -15px;
  left: 0;
}

.heart:after {
  left: 15px;
  top: 0;
}

.gift-text {
  text-align: center;
  font-size: .72rem;
  color: var(--text-dark);
  margin: -8px 0 14px;
}

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

.gift-modal[hidden] {
  display: none;
}

.gift-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 0;
}

.gift-modal-card {
  position: relative;
  width: min(92vw, 360px);
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(181,41,78,.12);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  z-index: 1;
}

.gift-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: var(--text-mid);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.gift-modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 8px;
}

.gift-modal-message {
  font-size: .78rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 14px;
}

.gift-modal-qr-placeholder {
  width: 170px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 2px dashed var(--rose-light);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text-mid);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--blush);
}

/* ────────── WISHES / MESSAGES SECTION ────────── */
.wishes-section {
  padding: 28px 18px 24px;
  background: #fdf6f4;
  border-top: 1px solid var(--blush-dark);
  border-bottom: 1px solid var(--blush-dark);
}

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 20px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
}

/* custom scrollbar */
.wishes-list::-webkit-scrollbar { width: 4px; }
.wishes-list::-webkit-scrollbar-track { background: transparent; }
.wishes-list::-webkit-scrollbar-thumb { background: var(--rose-light); border-radius: 4px; }

.wish-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wish-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.wish-bubble {
  flex: 1;
  background: #fff;
  border: 1px solid var(--blush-dark);
  border-radius: 0 12px 12px 12px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(181,41,78,.06);
  position: relative;
}

.wish-bubble::before {
  content: '';
  position: absolute;
  top: 10px;
  left: -7px;
  border-width: 5px 7px 5px 0;
  border-style: solid;
  border-color: transparent var(--blush-dark) transparent transparent;
}
.wish-bubble::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -6px;
  border-width: 5px 7px 5px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.wish-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.wish-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: .01em;
}

.wish-time {
  font-size: .65rem;
  color: #aaa;
  font-style: italic;
}

.wish-text {
  font-size: .8rem;
  color: var(--text-dark);
  line-height: 1.55;
}

/* ── wish input form ── */
.wish-form {
  background: #fff;
  border: 1.5px solid var(--blush-dark);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(181,41,78,.07);
}

.wish-form-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wish-input {
  border: 1.5px solid var(--blush-dark);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .82rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--blush);
  outline: none;
  transition: border-color .2s;
}
.wish-input:focus {
  border-color: var(--rose-light);
}
.wish-row {
  display: flex;
  gap: 8px;
}
.wish-input--msg {
  flex: 1;
}

.wish-send-btn {
  flex-shrink: 0;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
  letter-spacing: .04em;
}
.wish-send-btn:hover { background: #8e1d3b; }
.wish-send-btn:active { transform: scale(.97); }

/* newly sent messages get a highlight flash */
.wish-item--new {
  animation: wishFadeIn .4s ease;
}
@keyframes wishFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@import url(http://weloveiconfonts.com/api/?family=entypo);

[class*="entypo-"]:before {
  font-family: 'entypo', sans-serif;
  color: red;
}
/* Define the animation */
@keyframes heartbeat {
  0% {
    transform: scale(1) rotate(-45deg);
  }
  25% {
    transform: scale(1.1) rotate(-45deg); /* Slightly bigger */
  }
  50% {
    transform: scale(1) rotate(-45deg);
  }
  100% {
    transform: scale(1) rotate(-45deg);
  }
}

/* Apply the animation to the heart element */
.heart {
  /* ... existing heart styles ... */
  animation: heartbeat 1.2s infinite; /* 1.5s duration, repeats infinitely */
}

