/* ===== RESET & ROOT ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-primary: #805251;
  --c-primary-faint: rgba(216, 159, 157, 0.3);
  --c-primary-bg: rgba(243, 184, 182, 0.2);
  --c-primary-light: #fcebeb;
  --c-bg: #fdf9f6;
  --c-bg2: #ebe7e4;
  --c-border: #e5e2df;
  --c-text: #1c1b1a;
  --c-text2: #514443;
  --f-serif: "Noto Serif JP", "Georgia", serif;
  --f-sans: "Noto Sans JP", sans-serif;
  --f-en: "Plus Jakarta Sans", sans-serif;
}

body {
  background: #0a1a2a;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ===== PC BACKGROUND SCENE ===== */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.header {
  position: fixed;
}

.bg-photo {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center center;
  filter: blur(8px) brightness(0.7) saturate(1.2);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 20, 40, 0.35) 0%,
    rgba(5, 20, 40, 0.2) 50%,
    rgba(5, 20, 40, 0.45) 100%
  );
}

/* Clothesline strings (SVG parabolic curves) */
.bg-strings-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1.5px 3px rgba(0, 0, 0, 0.25));
}
.bg-string-path {
  fill: none;
  stroke: rgba(90, 58, 28, 0.62);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* Polaroid frame */
.bg-frame {
  position: absolute;
  background: #fff;
  padding: 8px 8px 28px;
  width: 120px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.1);
  transform-origin: top center;
}
.bg-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  filter: sepia(0.08) brightness(0.97);
}

/* Clothespin clip */
.bg-clip {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 20px;
  background: linear-gradient(to bottom, #b08840 0%, #7a5a1a 100%);
  border-radius: 2px 2px 0 0;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.bg-clip::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 1px;
  right: 1px;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 1px;
}
.bg-clip::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 4px;
  right: 4px;
  height: 12px;
  background: linear-gradient(to bottom, #7a5a1a, #4e380a);
  border-radius: 0 0 3px 3px;
}

/* Row 1 — string: M 0,32 Q 48,42 100,21 (left-low→right-high with sag) */
.bg-frame--1 {
  top: 32%;
  left: 2%;
  transform: rotate(-7deg);
}
.bg-frame--2 {
  top: 35%;
  left: 19%;
  transform: rotate(4deg);
}
.bg-frame--3 {
  top: 28%;
  right: 19%;
  transform: rotate(-5deg);
}
.bg-frame--4 {
  top: 22%;
  right: 2%;
  transform: rotate(8deg);
}

/* Row 2 — string: M 0,64 Q 50,78 100,72 (left-high→right-low with sag) */
.bg-frame--5 {
  top: 65%;
  left: 4%;
  transform: rotate(5deg);
}
.bg-frame--6 {
  top: 69%;
  left: 21%;
  transform: rotate(-9deg);
}
.bg-frame--7 {
  top: 74%;
  right: 21%;
  transform: rotate(6deg);
}
.bg-frame--8 {
  top: 72%;
  right: 4%;
  transform: rotate(-4deg);
}

/* Edge vignette */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 80% at center,
    transparent 30%,
    rgba(5, 15, 30, 0.45) 100%
  );
}

/* ===== APP SHELL ===== */
.app {
  width: 100%;
  max-width: 390px;
  min-height: 100dvh;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 10px 30px rgba(0, 20, 50, 0.35);
  position: relative;
  overflow-x: hidden;
  z-index: 1;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 390px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(253, 249, 246, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-menu {
  width: 18px;
  height: 12px;
  display: block;
}
.icon-bell {
  width: 20px;
  height: 18px;
  display: block;
}

.btn-notify {
  position: relative;
}

.notify-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 11px;
  height: 11px;
  display: block;
}

.header-title {
  display: flex;
  flex-direction: column;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: bold;
  color: var(--c-primary);
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 28px;
  padding-right: 24px;
}

/* ===== MAIN ===== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

/* Floating decorative background elements */
.float {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.float-heart {
  left: 17px;
  top: 76px;
  transform: rotate(45deg);
}
.float-heart img {
  width: 50px;
  height: 46px;
  display: block;
}

.float-sparkle {
  right: 11px;
  top: 379px;
  transform: rotate(-12deg);
}
.float-sparkle .material-symbols-outlined {
  font-size: 48px;
  color: rgba(216, 159, 157, 0.2);
}

.float-flower {
  left: 34px;
  top: 800px;
  transform: rotate(12deg);
}
.float-flower img {
  width: 50px;
  height: 50px;
  display: block;
}

/* ===== UTILITIES ===== */
.sec {
  width: 100%;
}
.px-16 {
  padding-left: 16px;
  padding-right: 16px;
}
.px-24 {
  padding-left: 24px;
  padding-right: 24px;
}
.rot12 {
  transform: rotate(12deg);
}
.rot-neg12 {
  transform: rotate(-12deg);
}

.sec-title {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--c-primary);
  letter-spacing: 2px;
  line-height: 28px;
}
.text-center {
  text-align: center;
}

/* ===== HERO ===== */
.hero-section {
  padding: 0 16px;
}

.hero-card {
  background: white;
  border-radius: 48px;
  height: 530px;
  min-height: 400px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(128, 82, 81, 0.08);
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(128, 82, 81, 0.8) 0%,
    rgba(128, 82, 81, 0.2) 50%,
    rgba(128, 82, 81, 0) 100%
  );
  mix-blend-mode: multiply;
}

.hero-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-names {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 294px;
}
.hero-name {
  font-family: var(--f-serif);
  font-size: 30px;
  color: white;
  letter-spacing: 3px;
  line-height: 36px;
  text-align: center;
}
.hero-cross {
  position: absolute;
  right: 12px;
  top: 4px;
  font-family: var(--f-serif);
  font-size: 20px;
  color: white;
  letter-spacing: 3px;
}
.hero-diamond {
  position: absolute;
  right: -20px;
  top: -18px;
  transform: rotate(12deg);
}
.hero-diamond img {
  width: 18px;
  height: 18px;
  display: block;
}

.hero-subtitle {
  font-family: var(--f-serif);
  font-size: 18px;
  color: white;
  letter-spacing: 1.8px;
  text-align: center;
  padding-bottom: 8px;
}

.hero-date {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 9999px;
  padding: 8px 24px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 14px;
  color: white;
  letter-spacing: 1.4px;
}

/* ===== SHARED CARD ===== */
.card {
  width: 100%;
  background: white;
}

/* ===== GREETINGS ===== */
.card-greetings {
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(128, 82, 81, 0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.deco-tr {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 40px;
  display: block;
  object-fit: contain;
}
.deco-bl {
  position: absolute;
  bottom: 13px;
  left: 13px;
  width: 25px;
  height: 23px;
  display: block;
  object-fit: contain;
}

.greeting-body {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-text2);
  line-height: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ===== GALLERY ===== */
.sec-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-hd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ornament {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 192px 160px;
  gap: 12px;
}

.g-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-overlay {
  position: absolute;
  inset: 0;
  background: rgba(128, 82, 81, 0.1);
  mix-blend-mode: overlay;
}

.g-wide {
  grid-column: 1 / -1;
  border-radius: 16px;
}
.g-left {
  border-radius: 16px;
}
.g-right {
  border-radius: 16px;
}

/* ===== SCHEDULE ===== */
.sec-schedule {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
  position: relative;
  isolation: isolate;
}

/* Scroll-driven winding path + paw prints */
.sch-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.sch-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.paw-print {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.3);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.paw-print.visible {
  opacity: 1;
  transform: scale(1);
}

.schedule-hd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.florist-deco {
  position: absolute;
  right: -12px;
  top: -19px;
  transform: rotate(12deg);
  font-size: 36px;
  color: rgba(216, 159, 157, 0.4);
  pointer-events: none;
}

/* Timeline vertical line container */
.timeline {
  border-left: 2px solid rgba(216, 159, 157, 0.3);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 2px;
  padding-bottom: 16px;
  width: 326px;
  position: relative;
  z-index: 1;
}

.tl-event {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.tl-event--sm {
  align-items: center;
}

/* Time label */
.tl-time {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-primary);
  line-height: 28px;
  text-align: right;
  width: 88px;
  padding-left: 24px;
  padding-top: 12px;
  flex-shrink: 0;
}
.tl-time--sm {
  font-size: 16px;
  color: var(--c-text2);
  padding-top: 0;
}

/* Timeline dots */
.tl-dot {
  position: absolute;
  left: -23px;
  top: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tl-dot img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
}

.tl-dot--border {
  background: var(--c-bg);
  border: 2px solid rgba(216, 159, 157, 0.5);
  box-shadow: 0 0 15px rgba(216, 159, 157, 0.3);
  padding: 2px;
}
.tl-dot--filled {
  background: var(--c-primary);
  box-shadow: 0 0 15px rgba(128, 82, 81, 0.4);
}
.tl-dot--filled img {
  filter: brightness(0) invert(1);
}

.tl-dot--gray {
  left: -19px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--c-border);
  border: 2px solid white;
}
.tl-dot--gray img {
  width: 12px;
  height: 12px;
}

/* Timeline cards */
.tl-card {
  flex: 1;
  background: white;
  border: 1px solid var(--c-border);
  border-radius: 0 16px 16px 16px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.tl-card--hi {
  background: var(--c-primary-light);
  border: none;
  padding: 20px;
}
.tl-card--featured {
  border: 2px solid rgba(128, 82, 81, 0.2);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  padding: 22px;
}

.tl-title {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--c-text);
  line-height: 28px;
}
.tl-title--hi {
  font-weight: 700;
  color: var(--c-primary);
}
.tl-title--featured {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 28px;
}

.tl-sub {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-text2);
  line-height: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tl-sub-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
}

.tl-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 14px;
  color: rgba(128, 82, 81, 0.9);
  line-height: 20px;
}
.tl-badge img {
  width: 13px;
  height: 13px;
  display: block;
}

.tl-label {
  flex: 1;
  font-family: var(--f-serif);
  font-size: 16px;
  color: var(--c-text2);
  line-height: 24px;
  padding: 8px;
}

/* Decorative icons inside timeline cards */
.tl-bg-deco {
  position: absolute;
  pointer-events: none;
}
.tl-bg-deco .material-symbols-outlined {
  font-size: 60px;
  color: rgba(216, 159, 157, 0.1);
  display: block;
}
.tl-bg-br {
  right: -4px;
  bottom: -0px;
  transform: rotate(12deg);
}
.tl-bg-tr {
  right: -13px;
  top: -13px;
  transform: rotate(-12deg);
}
.tl-bg-tr .material-symbols-outlined {
  font-size: 48px;
  color: rgba(128, 82, 81, 0.1);
}
.tl-bg-primary .material-symbols-outlined {
  color: rgba(128, 82, 81, 0.1);
}

/* ===== VENUE ===== */
.card-venue {
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(128, 82, 81, 0.06);
}

.venue-img-wrap {
  height: 192px;
  position: relative;
  overflow: hidden;
}
.venue-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.venue-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.venue-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}
.venue-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pin-icon {
  width: 16px;
  height: 20px;
  display: block;
}
.venue-name {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 20px;
  color: white;
  line-height: 28px;
  white-space: nowrap;
}

.venue-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.address-box {
  background: rgba(229, 226, 223, 0.3);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.addr-zip {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-text);
  line-height: 20px;
}
.addr-text {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-text2);
  line-height: 22.75px;
}

.venue-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-primary);
  color: white;
  border-radius: 9999px;
  padding: 13px;
  width: 139px;
  text-decoration: none;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}
.btn-primary img {
  width: 10.5px;
  height: 10.5px;
  display: block;
}

.btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-bg2);
  color: var(--c-primary);
  border: 1px solid rgba(128, 82, 81, 0.2);
  border-radius: 9999px;
  padding: 13px;
  width: 141px;
  text-decoration: none;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}
.btn-ghost img {
  width: 16px;
  height: 16px;
  display: block;
}
.btn-ghost--full {
  width: 100%;
  flex: 1;
}

/* ===== CAFE ===== */
.card-cafe {
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(128, 82, 81, 0.06);
}

.cafe-img-wrap {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.cafe-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cafe-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cafe-hd {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cafe-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(216, 159, 157, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cafe-icon img {
  width: 13.5px;
  height: 13.5px;
  display: block;
}
.cafe-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-primary);
  line-height: 28px;
}
.cafe-desc {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-text2);
  line-height: 22.75px;
}
.cafe-btn-wrap {
  display: flex;
  padding-top: 8px;
}

/* ===== DRESS CODE ===== */
.sec-dresscode {
  padding-bottom: 32px;
}

.dresscode-card {
  background: rgba(242, 219, 208, 0.4);
  border: 1px solid rgba(242, 219, 208, 0.6);
  border-radius: 16px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  position: relative;
  overflow: hidden;
}

.deco-dresscode {
  position: absolute;
  left: -3px;
  top: -0px;
  width: 50px;
  height: 40px;
  display: block;
  object-fit: contain;
}
.dresscode-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.dresscode-icon {
  width: 240px;
  height: 240px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}
.dresscode-caption {
  font-family: var(--f-sans);
  font-size: 11px;
  color: var(--c-text2);
  letter-spacing: 0.8px;
  opacity: 0.7;
}
.dresscode-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-primary);
  letter-spacing: 0.9px;
  text-align: center;
}
.dresscode-desc {
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-text2);
  line-height: 22.75px;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--c-bg);
  border-top: 1px solid rgba(213, 194, 193, 0.3);
  padding: 49px 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-link {
  font-family: var(--f-en);
  font-size: 12px;
  color: var(--c-primary);
  opacity: 0.6;
  letter-spacing: 0.6px;
  text-decoration: none;
  line-height: 16px;
}
.footer-copy {
  font-family: var(--f-en);
  font-size: 12px;
  color: var(--c-primary);
  opacity: 0.5;
  letter-spacing: 0.6px;
  line-height: 16px;
  padding-top: 8px;
}

/* ===== HEART TAP EFFECT ===== */
.effect-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.heart-ripple {
  position: absolute;
  animation: heartExpand 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heartExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.55;
  }
  70% {
    opacity: 0.18;
  }
  100% {
    transform: translate(-50%, -50%) scale(22);
    opacity: 0;
  }
}

.heart-particle {
  position: absolute;
  animation: floatHeart var(--dur) var(--delay) ease-out both;
}

@keyframes floatHeart {
  0% {
    transform: translate(0, 0) rotate(var(--r0));
    opacity: 0.95;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) rotate(var(--r1));
    opacity: 0;
  }
}

.sparkle-particle {
  position: absolute;
  animation: twinkle var(--dur) var(--delay) ease-in-out both;
}

@keyframes twinkle {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  25% {
    transform: scale(1.3) rotate(45deg);
    opacity: 1;
  }
  70% {
    transform: scale(1) rotate(90deg);
    opacity: 0.7;
  }
  100% {
    transform: scale(0) rotate(135deg);
    opacity: 0;
  }
}

/* ===== HEART LOVE BUTTONS (multi-placement) ===== */
.btn-love {
  position: absolute;
  display: flex;
  right: 30px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0);
  border: 1.5px solid rgba(0, 0, 0, 0);
  cursor: pointer;
  flex-shrink: 0;
}
.btn-love img {
  width: 22px;
  height: 20px;
  display: block;
}
.btn-love--glass {
  border-radius: 50%;
}
.btn-love--glass img {
  filter: brightness(0) invert(1);
}
.sec-love-row {
  position: absolute;
  /* display: flex; */
  /* justify-content: center; */
  right: 30px;
}

/* Shower: hearts rain from above */
.p-shower {
  position: absolute;
  animation: showerFall var(--dur) var(--delay) ease-in both;
}
@keyframes showerFall {
  0% {
    transform: translateX(0) rotate(var(--r0));
    opacity: 0.9;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translate(var(--dx), 110vh) rotate(var(--r1));
    opacity: 0;
  }
}

/* Rings: concentric heart outlines expand */
.p-ring {
  position: absolute;
  animation: ringExpand var(--dur) var(--delay) ease-out both;
}
@keyframes ringExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.85;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(var(--s));
    opacity: 0;
  }
}

/* Confetti: snappy burst all directions */
.p-confetti {
  position: absolute;
  animation: confettiBurst var(--dur) var(--delay)
    cubic-bezier(0.2, 0.5, 0.3, 1) both;
}
@keyframes confettiBurst {
  0% {
    transform: translate(0, 0) rotate(var(--r0)) scale(1);
    opacity: 1;
  }
  65% {
    opacity: 0.6;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) rotate(var(--r1)) scale(0.15);
    opacity: 0;
  }
}

/* Float: hearts rise like bubbles */
.p-float {
  position: absolute;
  animation: floatBubble var(--dur) var(--delay) ease-out both;
}
@keyframes floatBubble {
  0% {
    transform: translate(0, 0) rotate(var(--r0));
    opacity: 0.9;
  }
  35% {
    transform: translate(var(--sway), calc(var(--rise) * 0.38))
      rotate(var(--r1));
  }
  70% {
    transform: translate(calc(var(--sway) * -0.5), calc(var(--rise) * 0.72))
      rotate(var(--r0));
    opacity: 0.45;
  }
  100% {
    transform: translate(0, var(--rise)) rotate(var(--r1)) scale(0.2);
    opacity: 0;
  }
}

/* ===== MATERIAL SYMBOLS ===== */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 48;
  user-select: none;
}
