:root {
  --pink: #f58ca8;
  --deep-pink: #d94e73;
  --berry: #c92145;
  --cream: #fff8ef;
  --cream-2: #fff1df;
  --leaf: #6da86b;
  --text: #5d2f35;
  --muted: #8b5961;
  --white: rgba(255, 255, 255, 0.82);
  --glass-strong: rgba(255, 255, 255, 0.46);
  --glass-soft: rgba(255, 248, 250, 0.28);
  --shadow: 0 24px 70px rgba(160, 53, 82, 0.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(245, 140, 168, 0.32), transparent 22rem),
    linear-gradient(145deg, #fff8ef 0%, #ffe4e9 55%, #fff4df 100%);
  overflow-x: hidden;
  font-size: 17px;
}

.berry-field::before,
.berry-field::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.berry-field::before {
  background-image:
    radial-gradient(circle at 18% 14%, rgba(201, 33, 69, 0.12) 0 0.42rem, transparent 0.45rem),
    radial-gradient(circle at 76% 18%, rgba(109, 168, 107, 0.16) 0 0.34rem, transparent 0.37rem),
    radial-gradient(circle at 88% 72%, rgba(201, 33, 69, 0.12) 0 0.48rem, transparent 0.5rem),
    radial-gradient(circle at 12% 78%, rgba(245, 140, 168, 0.18) 0 0.52rem, transparent 0.55rem);
  background-size: 13rem 13rem;
  opacity: 0.75;
}

.berry-field::after {
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.45) 48% 52%, transparent 52% 100%);
  background-size: 26px 26px;
  opacity: 0.18;
}

.falling-strawberries {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.falling-strawberry {
  position: absolute;
  top: -10vh;
  font-size: 1.45rem;
  opacity: 0.78;
  filter: drop-shadow(0 8px 10px rgba(160, 53, 82, 0.14));
  will-change: transform;
  animation-name: strawberry-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--fall-duration, 14s);
  animation-delay: var(--fall-delay, 0s);
  transform: translate3d(0, -12vh, 0);
}

@keyframes strawberry-fall {
  0% { transform: translate3d(0, -14vh, 0) rotate(0deg); }
  50% { transform: translate3d(var(--drift, 20px), 54vh, 0) rotate(170deg); }
  100% { transform: translate3d(calc(var(--drift, 20px) * -0.7), 116vh, 0) rotate(350deg); }
}

@media (prefers-reduced-motion: reduce) {
  .falling-strawberry { animation: none; top: auto; bottom: 8vh; }
}

.page {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 28px));
  max-width: calc(100vw - 28px);
  margin: 0 auto;
  padding: 28px 0 44px;
  overflow-x: clip;
}

.card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 238, 244, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 34px;
  box-shadow:
    0 24px 70px rgba(160, 53, 82, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -18px 48px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.7), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 42%);
  opacity: 0.72;
}

.card > * {
  position: relative;
  z-index: 1;
}

.hero.card,
.countdown.card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 232, 241, 0.22));
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow:
    0 24px 70px rgba(160, 53, 82, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -18px 48px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
}

.location-card.card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(255, 238, 244, 0.4));
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.hero.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 232, 241, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 28px 80px rgba(160, 53, 82, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 0 38px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px) saturate(1.08);
  -webkit-backdrop-filter: blur(5px) saturate(1.08);
}

.hero.card::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 34%),
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.28), transparent 42%);
  opacity: 0.52;
}

.hero .eyebrow,
.hero h1,
.hero .intro,
.hero .date-pill,
.hero .hero-actions {
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.78));
}

.hero .intro {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  text-align: center;
  padding: clamp(34px, 7vw, 72px) clamp(20px, 6vw, 72px);
  overflow: hidden;
}

.hero-open {
  overflow: visible;
  padding-top: clamp(24px, 6vw, 56px);
  padding-bottom: clamp(22px, 5vw, 48px);
}

.hero-open::before,
.hero-open::after {
  display: none;
}

.hero-open .mini-label,
.hero-open .intro,
.hero-open .date-pill {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  box-shadow: 0 16px 44px rgba(160, 53, 82, 0.12);
}

.hero-open h1 {
  text-shadow:
    0 3px 0 rgba(255, 255, 255, 0.82),
    0 12px 34px rgba(160, 53, 82, 0.2);
}

.hero-open .eyebrow {
  display: inline-block;
  margin-top: 4px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 140, 168, 0.34), transparent 68%);
  z-index: -1;
}

.hero::before { top: -52px; left: -40px; }
.hero::after { right: -58px; bottom: -64px; }

.mini-label {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 239, 231, 0.9);
  color: var(--berry);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.berry-girl-mark {
  margin: 12px auto 18px;
  width: min(66vw, 285px);
  display: grid;
  place-items: center;
  border-radius: 34px;
  background: radial-gradient(circle at 50% 58%, rgba(255,255,255,0.56), rgba(255,227,235,0.16) 52%, transparent 72%);
  filter: drop-shadow(0 18px 28px rgba(160, 53, 82, 0.18));
  overflow: visible;
}

.berry-girl-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.eyebrow,
.section-kicker {
  color: var(--deep-pink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

h1 {
  margin: 8px 0 10px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(4.1rem, 15vw, 8rem);
  line-height: 0.88;
  font-weight: 400;
  color: var(--berry);
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.75);
}

h2 {
  margin: 6px 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  color: var(--text);
}

.intro {
  margin: 0 auto 26px;
  max-width: 590px;
  font-size: clamp(1.15rem, 4vw, 1.38rem);
  line-height: 1.65;
  color: var(--muted);
}

.date-pill {
  display: inline-grid;
  gap: 4px;
  min-width: min(100%, 390px);
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px dashed rgba(217, 78, 115, 0.35);
  box-shadow: 0 14px 40px rgba(217, 78, 115, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.date-pill span {
  color: var(--muted);
  font-weight: 700;
  font-size: 1.02rem;
}

.date-pill strong {
  color: var(--berry);
  font-size: 1.3rem;
}

.hero-actions,
.map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--berry), var(--pink));
  box-shadow: 0 14px 30px rgba(201, 33, 69, 0.24);
}

.button.secondary {
  color: var(--berry);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(217, 78, 115, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.button.wide {
  width: min(100%, 360px);
}

.countdown,
.location-card,
.rsvp-card {
  margin-top: 18px;
  padding: clamp(28px, 6vw, 46px);
  text-align: center;
}

.soft-card {
  background:
    linear-gradient(145deg, rgba(255, 252, 246, 0.36), rgba(255, 230, 238, 0.2));
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.count-grid div {
  padding: 14px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(217, 78, 115, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.count-grid strong {
  display: block;
  color: var(--berry);
  font-size: clamp(1.85rem, 8vw, 2.9rem);
  line-height: 1;
}

.count-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.detail-card {
  padding: 34px 30px;
}

.detail-card .icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #fff0f4;
  font-size: 1.6rem;
}

.detail-card p,
.location-card p,
.rsvp-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.15rem;
}

.address {
  font-size: 1.22rem !important;
  font-weight: 700;
  color: var(--text) !important;
}

.phone {
  margin-top: 14px;
  color: var(--berry) !important;
  font-weight: 800;
  font-size: 1.18rem;
}

.gallery-card {
  margin-top: 18px;
  padding: clamp(28px, 6vw, 46px) clamp(18px, 5vw, 38px);
  text-align: center;
  overflow: hidden;
}

.photo-stack {
  position: relative;
  width: min(100%, 420px);
  height: clamp(390px, 108vw, 540px);
  margin: 22px auto 16px;
  touch-action: pan-y;
  user-select: none;
}

.photo-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 8px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 52px rgba(160, 53, 82, 0.2);
  opacity: 0;
  transform: translateX(0) scale(0.9) rotate(0deg);
  transition: transform 280ms ease, opacity 280ms ease;
  pointer-events: none;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.photo-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(0deg);
  z-index: 4;
  pointer-events: auto;
}

.photo-card.is-next {
  opacity: 0.8;
  transform: translateX(18px) translateY(14px) scale(0.94) rotate(3deg);
  z-index: 3;
}

.photo-card.is-prev {
  opacity: 0.62;
  transform: translateX(-16px) translateY(26px) scale(0.9) rotate(-3deg);
  z-index: 2;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(201, 33, 69, 0.28);
}

.gallery-dots button.is-active {
  width: 28px;
  background: var(--berry);
}

.gallery-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
}

.bottom-character {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  margin: 16px auto -2px;
  overflow: hidden;
  pointer-events: none;
}

.bottom-character img {
  display: block;
  width: min(62vw, 285px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(160, 53, 82, 0.14));
}

footer {
  text-align: center;
  padding: 26px 0 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 720px) {
  .page { width: min(100% - 20px, 980px); padding-top: 14px; }
  .hero { border-radius: 28px; }
  .details-grid { grid-template-columns: 1fr; }
  .count-grid { grid-template-columns: repeat(2, 1fr); }
  .button { width: 100%; }
  body { font-size: 18px; }
  h1 { font-size: clamp(4.6rem, 18vw, 7rem); }
  h2 { font-size: clamp(1.85rem, 7vw, 2.45rem); }
  .hero-open { padding-left: 10px; padding-right: 10px; }
  .intro { font-size: 1.18rem; }
  .detail-card { padding: 32px 24px; }
  .location-card,
  .rsvp-card,
  .countdown { padding: 30px 22px; }
  .gallery-card { padding: 30px 14px; }
  .photo-stack { width: min(100%, 340px); height: clamp(360px, 106vw, 470px); }
  .photo-card { border-width: 7px; border-radius: 26px; }
  .bottom-character { margin-top: 12px; }
  .bottom-character img { width: min(64vw, 270px); }
}

