:root {
  --accent: 220 38 38;
  --font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  --font-script: "Great Vibes", cursive;
  --font-elegant: "Cormorant Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-inter);
  background-color: #fbf7f2;
  scroll-behavior: smooth;
}

#app {
  width: 100%;
}

.app-shell {
  width: min(100%, 570px);
  margin: 0 auto;
  overflow-x: hidden;
  background-color: #fbf7f2;
}

.full-bleed-in-shell {
  width: 100%;
}

.hero-save-date {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 18px 34px;
  isolation: isolate;
}

.hero-save-date-shade {
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.18) 34%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.hero-save-date-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  transform: translateY(34px);
}

.hero-invite-greeting {
  margin: 0 auto 24px;
  max-width: 520px;
  color: #fff;
}

.hero-invite-greeting .invite-greeting-title {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-invite-greeting .invite-greeting-shadow {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.48), transparent 70%);
  opacity: 0.72;
}

.hero-invite-greeting .invite-greeting-name {
  color: #f0debf;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-couple-names {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(46px, 10vw, 68px);
  line-height: 0.9;
}

.hero-couple-names > div:first-child {
  text-align: right;
}

.hero-couple-names > div:last-child {
  text-align: left;
}

.hero-couple-heart {
  color: #e1549c;
  font-size: 34px;
  text-shadow: none;
}

.hero-save-title {
  margin-top: 22px;
  font-size: clamp(58px, 13vw, 84px);
  line-height: 0.95;
}

.hero-save-kicker {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-save-date-text {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-countdown {
  margin-top: 26px;
}

#music-trigger {
  display: none !important;
}

.entry-loading-lock {
  overflow: hidden;
}

#entry-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  opacity: 1;
  transition:
    opacity 0.75s ease,
    visibility 0.75s ease;
}

#entry-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.entry-loader-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 16, 12, 0.42), rgba(18, 16, 12, 0.72)),
    url("../assets/optimized/PHU08869.webp") center / cover no-repeat;
}

.entry-loader-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.entry-loader-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-family: var(--font-elegant);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
  backdrop-filter: blur(8px);
}

.entry-loader-kicker {
  font-family: var(--font-elegant);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.entry-loader-title {
  margin-top: 14px;
  font-size: clamp(34px, 9vw, 48px);
  line-height: 0.82;
}

.entry-loader-title span {
  font-family: var(--font-elegant);
  font-size: 26px;
}

.entry-loader-line {
  width: 92px;
  height: 1px;
  margin: 22px auto;
  background: rgba(255, 255, 255, 0.62);
}

.entry-loader-button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(184, 48, 42, 0.92);
  padding: 0 24px;
  color: #fff;
  font-family: var(--font-inter);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.entry-loader-button:active {
  transform: translateY(1px);
}

.music-orb-button {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(188, 174, 148, 0.38);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.music-orb-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #b9a789;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(142, 126, 99, 0.28);
}

.music-orb-button.is-playing .music-orb-icon {
  animation: musicOrbSpin 3.2s linear infinite;
}

.music-orb-icon::before {
  content: "♪";
  position: absolute;
  left: 50%;
  top: 50%;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  transform: translate(-42%, -56%);
}

.music-orb-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-42deg);
  box-shadow: 0 0 0 1px rgba(142, 126, 99, 0.18);
}

.music-orb-button.is-paused .music-orb-icon::after {
  opacity: 1;
}

@keyframes musicOrbSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.invite-greeting {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  padding: 34px 18px 30px;
}

.invite-greeting::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -20px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 231, 238, 0.95) 0 12px, transparent 13px),
    radial-gradient(circle at 62% 54%, rgba(250, 219, 229, 0.9) 0 11px, transparent 12px),
    radial-gradient(circle at 34% 62%, rgba(255, 246, 249, 0.9) 0 10px, transparent 11px),
    radial-gradient(circle at 56% 34%, rgba(104, 128, 106, 0.48) 0 4px, transparent 5px);
  opacity: 0.85;
  pointer-events: none;
}

.invite-greeting-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.invite-greeting-title {
  position: relative;
  z-index: 1;
  color: rgba(0, 0, 0, 0.84);
  font-family: var(--font-elegant);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invite-greeting-shadow {
  width: min(310px, 72vw);
  height: 18px;
  margin: -2px auto 12px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3), transparent 70%);
  filter: blur(7px);
  opacity: 0.55;
}

.invite-greeting-name {
  color: #b6a184;
  font-size: clamp(40px, 10vw, 58px);
  line-height: 1;
}

.love-note-section {
  background: #fff;
  color: rgba(0, 0, 0, 0.86);
  padding: 42px 0 48px;
  text-align: center;
}

.love-note-heart {
  color: rgba(234, 96, 128, 0.55);
  font-size: 82px;
  line-height: 0.8;
  text-shadow: 0 0 12px rgba(234, 96, 128, 0.42);
}

.love-note-lines {
  margin: 36px auto 0;
  padding: 0 18px;
  font-family: var(--font-elegant);
  font-size: clamp(23px, 4.6vw, 30px);
  line-height: 1.55;
  font-weight: 300;
}

.love-note-lines p {
  margin: 0 0 8px;
}

.love-note-lines span {
  color: #dc2626;
}

.love-note-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 72px 0 8px;
  padding: 0 24px;
  color: #111;
  font-family: var(--font-elegant);
  font-size: clamp(24px, 5.2vw, 32px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.love-note-photo {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  background: #111;
}

.love-note-photo img {
  display: block;
  width: 100%;
  height: clamp(320px, 72vw, 480px);
  object-fit: cover;
  object-position: center;
}

.love-note-photo div {
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  color: #fff;
  font-size: clamp(17px, 4vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.love-note-footer {
  padding: 46px 26px 0;
  color: #111;
  font-family: var(--font-elegant);
  font-size: clamp(24px, 5.2vw, 32px);
  font-weight: 600;
  line-height: 1.45;
}

.lover-section {
  background: #fff;
  padding: 40px 0 54px;
  text-align: center;
}

.lover-heart {
  color: #b9a789;
  font-size: 34px;
  line-height: 1;
}

.lover-title {
  margin-top: 44px;
  color: #b9a789;
  font-family: var(--font-elegant);
  font-size: clamp(56px, 12vw, 82px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 0.95;
  text-transform: uppercase;
}

.lover-photo {
  position: relative;
  overflow: hidden;
  margin: 42px auto 0;
  width: calc(100% - 88px);
  background: #eee;
}

.lover-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  object-position: center;
}

.lover-photo-names {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  color: #c8ab3f;
  font-family: var(--font-script);
  font-size: clamp(27px, 6.4vw, 40px);
  line-height: 0.92;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.45);
}

.lover-photo-names span {
  display: block;
  max-width: 100%;
  text-align: center;
}

.lover-poem {
  margin: 58px auto 0;
  padding: 0 28px;
  color: rgba(0, 0, 0, 0.84);
  font-family: var(--font-elegant);
  font-size: clamp(24px, 5.2vw, 32px);
  font-weight: 700;
  line-height: 1.18;
}

.lover-poem p {
  margin: 0;
}

.lover-note {
  margin: 72px auto 0;
  padding: 0 34px;
  color: #050505;
  font-family: var(--font-elegant);
  font-size: clamp(24px, 5.4vw, 34px);
  font-weight: 500;
  line-height: 1.28;
}

.calendar-save-section {
  background: #fff;
  padding: 42px 0 56px;
  text-align: center;
}

.calendar-heart {
  color: #b9a789;
  font-size: 34px;
  line-height: 1;
}

.calendar-title {
  margin-top: 48px;
  color: #b9a789;
  font-family: var(--font-elegant);
  font-size: clamp(52px, 11vw, 76px);
  font-weight: 300;
  letter-spacing: 0.11em;
  line-height: 0.95;
  text-transform: uppercase;
}

.calendar-intro {
  margin: 68px auto 0;
  padding: 0 28px;
  color: #050505;
  font-size: clamp(23px, 5vw, 31px);
  font-weight: 600;
  line-height: 1.35;
}

.calendar-intro p {
  margin: 0;
}

.calendar-frame {
  width: calc(100% - 72px);
  margin: 92px auto 0;
  overflow: hidden;
  border-radius: 2px;
  background: #202020;
  padding: 44px 28px 28px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.calendar-photo {
  position: relative;
  overflow: hidden;
  background: #111;
}

.calendar-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 0.78 / 1;
  object-fit: cover;
  object-position: center;
}

.calendar-days {
  position: absolute;
  left: 16%;
  right: 12%;
  bottom: 8%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 3.1vw, 23px) clamp(14px, 3.4vw, 26px);
  align-items: center;
  color: #e33b2f;
  font-size: clamp(16px, 4vw, 23px);
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(255, 255, 255, 0.26);
}

.calendar-days span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
}

/* Only wedding day has heart background */
.calendar-days .is-wedding-day {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.calendar-days .is-wedding-day::before {
  content: "♥";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  color: rgba(227, 59, 47, 0.96);
  font-size: clamp(42px, 9vw, 62px);
  line-height: 1;
  -webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.92);
  text-stroke: 2.5px rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 4px 10px rgba(120, 0, 0, 0.45));
  animation: heartbeat 1.8s ease-in-out infinite;
  pointer-events: none;
}

/* Add subtle heartbeat animation to wedding day */
@keyframes heartbeat {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.calendar-date-panel {
  padding: 24px 10px 6px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-elegant);
  font-size: clamp(26px, 5.4vw, 34px);
  font-weight: 300;
  line-height: 1.5;
}

.calendar-note {
  margin: 86px auto 0;
  padding: 0 28px;
  color: #111;
  font-family: var(--font-elegant);
  font-size: clamp(24px, 5vw, 31px);
  font-weight: 500;
  line-height: 1.45;
}

.sweet-invitation-section {
  background: #fff;
  padding: 0 0 64px;
  text-align: center;
}

.sweet-photo {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: #111;
}

.sweet-photo img {
  display: block;
  width: 100%;
  height: 760px;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.72);
}

.sweet-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.82) 72%,
    #fff 100%
  );
}

.sweet-photo-tabs {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 28px;
  right: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #fff;
  font-family: var(--font-elegant);
  font-size: clamp(23px, 4.4vw, 32px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.sweet-quote {
  padding: 44px 18px 86px;
  color: #111;
  font-family: var(--font-elegant);
  font-size: clamp(23px, 4.8vw, 31px);
  font-weight: 400;
  line-height: 1.6;
}

.sweet-map-block {
  width: calc(100% - 88px);
  margin: 0 auto;
}

.sweet-map-block iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

.sweet-map-title {
  margin-top: 14px;
  color: #222;
  font-family: var(--font-elegant);
  font-size: clamp(27px, 5vw, 36px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.forever-section {
  background: #fff;
  padding: 0 0 58px;
}

.forever-countdown-card {
  background: #000;
  color: #fff;
}

.forever-welcome-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: #fff;
  color: #111;
  padding: 28px 26px 24px;
  font-size: clamp(24px, 4.8vw, 32px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.forever-film {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  background: #050505;
}

.forever-film-side {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  min-height: 1040px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.forever-film-side-left {
  transform: rotate(180deg);
}

.forever-film-photos {
  padding: 42px 0 0;
}

.forever-film-photo {
  position: relative;
  overflow: hidden;
}

.forever-film-photo + .forever-film-photo {
  margin-top: 0;
}

.forever-film-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.forever-film-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 52%, rgba(0, 0, 0, 0.38));
}

.forever-film-photo div {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 24px;
  color: #fff;
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
}

.forever-countdown {
  padding: 66px 28px 82px;
}

.forever-countdown .countdown-hero {
  gap: 24px;
}

.forever-countdown .countdown-hero-item {
  border: 0;
  background: transparent;
  padding: 0;
  backdrop-filter: none;
}

.forever-countdown .countdown-hero-value {
  color: #fff;
  font-family: var(--font-elegant);
  font-size: clamp(30px, 7vw, 42px);
  font-weight: 500;
  line-height: 0.9;
}

.forever-countdown .countdown-hero-label {
  margin-top: 8px;
  color: #fff;
  font-family: var(--font-elegant);
  font-size: clamp(22px, 5vw, 31px);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
}

.forever-poem {
  padding: 86px 24px 72px;
  color: #050505;
  font-family: var(--font-elegant);
  font-size: clamp(25px, 5.2vw, 33px);
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.forever-poem p,
.forever-soft-poem p {
  margin: 0;
}

.forever-photo-wrap {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: stretch;
  width: calc(100% - 66px);
  margin: 0 auto;
}

.forever-side-text {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  color: #bca042;
  font-family: var(--font-elegant);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.forever-photo-wrap img {
  display: block;
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center;
}

.forever-love-title {
  margin: 34px 34px 0 auto;
  color: #b9a789;
  font-family: var(--font-elegant);
  font-size: clamp(52px, 10vw, 76px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 0.95;
  text-align: right;
  text-transform: uppercase;
}

.forever-soft-poem {
  padding: 58px 44px 62px;
  color: #050505;
  font-family: var(--font-elegant);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 400;
  line-height: 1.65;
}

.forever-wide-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.forever-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 24px 14px;
  color: #111;
  font-family: var(--font-elegant);
  font-size: clamp(25px, 5vw, 34px);
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 600px) {
  body {
    background: #ece1d7;
  }

  .app-shell {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  }
}

.min-h-screen {
  min-height: 100vh;
}

.text-black {
  color: #000;
}

.bg-white {
  background-color: #fff;
}

.bg-red-600 {
  background-color: #dc2626;
}

.bg-red-700 {
  background-color: #b91c1c;
}

.bg-pink-500 {
  background-color: #ec4899;
}

.text-white {
  color: #fff;
}

.text-red-600 {
  color: #dc2626;
}

.text-pink-500 {
  color: #ec4899;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.z-[999] {
  z-index: 999;
}

.z-[80] {
  z-index: 80;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.h-36 {
  height: 9rem;
}

.w-36 {
  width: 9rem;
}

.h-11 {
  height: 2.75rem;
}

.w-11 {
  width: 2.75rem;
}

.h-14 {
  height: 3.5rem;
}

.w-14 {
  width: 3.5rem;
}

.grid {
  display: grid;
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-[56px_1fr] {
  grid-template-columns: 56px 1fr;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-16 {
  gap: 4rem;
}

.gap-24 {
  gap: 6rem;
}

.place-items-center {
  place-items: center;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-28px {
  border-radius: 28px;
}

.rounded-full {
  border-radius: 50%;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-18px {
  border-radius: 18px;
}

.rounded-26px {
  border-radius: 26px;
}

.border {
  border: 1px solid;
}

.border-black {
  border-color: #000;
}

.border-red-500 {
  border-color: #ef4444;
}

.border-white {
  border-color: #fff;
}

.border-pink-200 {
  border-color: #fce7f3;
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.bg-repeat {
  background-repeat: repeat;
}

.bg-black {
  background-color: #000;
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/15 {
  background-color: rgba(255, 255, 255, 0.15);
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

.bg-white\/25 {
  background-color: rgba(255, 255, 255, 0.25);
}

.bg-white\/40 {
  background-color: rgba(255, 255, 255, 0.4);
}

.bg-white\/70 {
  background-color: rgba(255, 255, 255, 0.7);
}

.bg-white\/85 {
  background-color: rgba(255, 255, 255, 0.85);
}

.bg-white\/90 {
  background-color: rgba(255, 255, 255, 0.9);
}

.bg-white\/95 {
  background-color: rgba(255, 255, 255, 0.95);
}

.bg-black\/5 {
  background-color: rgba(0, 0, 0, 0.05);
}

.bg-black\/10 {
  background-color: rgba(0, 0, 0, 0.1);
}

.bg-black\/15 {
  background-color: rgba(0, 0, 0, 0.15);
}

.bg-black\/25 {
  background-color: rgba(0, 0, 0, 0.25);
}

.bg-black\/55 {
  background-color: rgba(0, 0, 0, 0.55);
}

.bg-black\/60 {
  background-color: rgba(0, 0, 0, 0.6);
}

.bg-red-500\/10 {
  background-color: rgba(239, 68, 68, 0.1);
}

.bg-pink-300\/60 {
  background-color: rgba(249, 168, 212, 0.6);
}

.text-opacity-60 {
  color: rgba(255, 255, 255, 0.6);
}

.text-opacity-70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-opacity-80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-opacity-85 {
  color: rgba(255, 255, 255, 0.85);
}

.text-opacity-90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-black\/10 {
  color: rgba(0, 0, 0, 0.1);
}

.text-black\/30 {
  color: rgba(0, 0, 0, 0.3);
}

.text-black\/50 {
  color: rgba(0, 0, 0, 0.5);
}

.text-black\/55 {
  color: rgba(0, 0, 0, 0.55);
}

.text-black\/60 {
  color: rgba(0, 0, 0, 0.6);
}

.text-black\/70 {
  color: rgba(0, 0, 0, 0.7);
}

.text-black\/80 {
  color: rgba(0, 0, 0, 0.8);
}

.text-black\/85 {
  color: rgba(0, 0, 0, 0.85);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-7 {
  padding: 1.75rem;
}

.p-8 {
  padding: 2rem;
}

.p-10 {
  padding: 2.5rem;
}

.p-14 {
  padding: 3.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.px-14 {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-14 {
  padding-top: 3.5rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mt-24 {
  margin-top: 6rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-520px {
  max-width: 520px;
}

.max-w-860px {
  max-width: 860px;
}

.max-w-2xl {
  max-width: 42rem;
}

.h-px {
  height: 1px;
}

.w-64 {
  width: 16rem;
}

.w-56 {
  width: 14rem;
}

.w-92vw {
  width: 92vw;
}

.w-screen {
  width: 100vw;
}

.w-210px {
  width: 210px;
}

.w-78vh {
  width: 78vh;
}

.h-75vh {
  height: 75vh;
}

.h-85vh {
  height: 85vh;
}

.h-72vh {
  height: 72vh;
}

.max-h-75vh {
  max-height: 75vh;
}

.h-280px {
  height: 280px;
}

.h-120px {
  height: 120px;
}

.h-240px {
  height: 240px;
}

.h-210px {
  height: 210px;
}

.h-144px {
  height: 144px;
}

.h-320px {
  height: 320px;
}

.h-36px {
  height: 36px;
}

.h-48px {
  height: 48px;
}

.min-h-92vh {
  min-height: 92vh;
}

.pointer-events-none {
  pointer-events: none;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.transition-transform {
  transition-property: transform;
  transition-duration: 300ms;
}

.group:hover .group-hover\:scale-103 {
  transform: scale(1.03);
}

.hover\:scale-101:hover {
  transform: scale(1.01);
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:opacity-95:hover {
  opacity: 0.95;
}

.hover\:bg-black\/5:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.hover\:bg-black\/10:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.hover\:bg-white\/20:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hover\:bg-white\/0:hover {
  background-color: rgba(255, 255, 255, 0);
}

.hover\:bg-white\/15:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.active\:scale-98:active {
  transform: scale(0.98);
}

.active\:bg-black\/10:active {
  background-color: rgba(0, 0, 0, 0.1);
}

.disabled\:opacity-60:disabled {
  opacity: 0.6;
}

.disabled\:opacity-70:disabled {
  opacity: 0.7;
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur {
  backdrop-filter: blur(8px);
}

.opacity-0 {
  opacity: 0;
}

.opacity-4 {
  opacity: 0.04;
}

.opacity-10 {
  opacity: 0.1;
}

.opacity-18 {
  opacity: 0.18;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-55 {
  opacity: 0.55;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-85 {
  opacity: 0.85;
}

.opacity-90 {
  opacity: 0.9;
}

.opacity-95 {
  opacity: 0.95;
}

.translate-x-1\/2 {
  transform: translateX(50%);
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.-top-12 {
  top: -3rem;
}

.-top-10 {
  top: -2.5rem;
}

.-mt-24 {
  margin-top: -6rem;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-widest {
  letter-spacing: 0.05em;
}

.tracking-025em {
  letter-spacing: 0.025em;
}

.tracking-06em {
  letter-spacing: 0.06em;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.break-all {
  word-break: break-all;
}

.resize-none {
  resize: none;
}

.outline-none {
  outline: none;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-5 > * + * {
  margin-top: 1.25rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.leading-none {
  line-height: 1;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-7 {
  line-height: 1.75rem;
}

.leading-relaxed {
  line-height: 1.625;
}

.decoration-none {
  text-decoration: none;
}

.underline {
  text-decoration: underline;
}

.underline-offset-4 {
  text-underline-offset: 4px;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.top-3 {
  top: 0.75rem;
}

.top-72px {
  top: 72px;
}

.bottom-6 {
  bottom: 1.5rem;
}

.left-6 {
  left: 1.5rem;
}

.right-6 {
  right: 1.5rem;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.left-1\/2 {
  left: 50%;
}

.right-4 {
  right: 1rem;
}

.right-8 {
  right: 2rem;
}

.top-1\/2 {
  top: 50%;
}

.cursor-pointer {
  cursor: pointer;
}

.select-none {
  user-select: none;
}

/* Countdown styles */
.countdown-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.countdown-hero-item {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.countdown-hero-value {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: #fff;
}

.countdown-hero-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.countdown-soft {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4rem;
}

@media (max-width: 768px) {
  .countdown-soft {
    gap: 2rem;
  }
}

.countdown-soft-item {
  text-align: center;
}

.countdown-soft-value {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(0, 0, 0, 0.85);
}

@media (min-width: 768px) {
  .countdown-soft-value {
    font-size: 2.75rem;
  }
}

.countdown-soft-label {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
  .countdown-soft-label {
    font-size: 0.85rem;
  }
}

/* Form styles */
.rsvp-theme input,
.rsvp-theme select,
.rsvp-theme textarea {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 14px;
  outline: none;
  width: 100%;
}

.rsvp-theme input:focus,
.rsvp-theme select:focus,
.rsvp-theme textarea:focus {
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.45);
}

.rsvp-theme button {
  width: 100%;
  border-radius: 14px;
  padding: 14px 18px;
  background: #e3546b;
  color: #fff;
  font-weight: 600;
}

.rsvp-theme button:hover {
  opacity: 0.95;
}

.wish-theme input,
.wish-theme select,
.wish-theme textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.86);
  padding: 14px 16px;
  outline: none;
}

.wish-theme textarea {
  min-height: 140px;
  resize: none;
}

.wish-theme button {
  margin-top: 14px;
  width: 100%;
  border-radius: 16px;
  padding: 14px 18px;
  background: #b02727;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wish-theme button:hover {
  opacity: 0.95;
}

/* Heart animation */
@keyframes floatUp {
  0% {
    transform: translateY(30px);
    filter: blur(0px);
  }
  100% {
    transform: translateY(-120px);
    filter: blur(0.3px);
  }
}

.floating-heart {
  position: absolute;
  animation: floatUp var(--dur) linear infinite;
  color: rgb(220 38 38);
  font-size: var(--size);
  opacity: var(--opacity);
  left: var(--left);
  top: var(--top);
  animation-delay: var(--delay);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.anim-fade-up {
  animation: fadeUp 0.7s ease-out both;
}
.anim-fade-in {
  animation: fadeIn 0.8s ease-out both;
}
.anim-float {
  animation: floatSlow 6s ease-in-out infinite;
}

.anim-delay-1 {
  animation-delay: 0.12s;
}
.anim-delay-2 {
  animation-delay: 0.24s;
}
.anim-delay-3 {
  animation-delay: 0.36s;
}
.anim-delay-4 {
  animation-delay: 0.48s;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: translateX(-120%);
  animation: shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Text sizes */
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 1.25;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 1.25;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 1.25;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.25;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.25;
}
.text-base {
  font-size: 1rem;
  line-height: 1.25;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 1.25;
  }
  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 1.25;
  }
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.25;
  }
  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.25;
  }
  .md\:text-base {
    font-size: 1rem;
    line-height: 1.25;
  }
  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25;
  }
  .md\:text-xs {
    font-size: 0.75rem;
    line-height: 1.25;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .md\:p-10 {
    padding: 2.5rem;
  }
  .md\:px-14 {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .md\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .md\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .md\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .md\:mt-24 {
    margin-top: 6rem;
  }
  .md\:mt-20 {
    margin-top: 5rem;
  }
  .md\:mt-16 {
    margin-top: 4rem;
  }
  .md\:mt-12 {
    margin-top: 3rem;
  }
  .md\:mt-10 {
    margin-top: 2.5rem;
  }
  .md\:mt-8 {
    margin-top: 2rem;
  }
  .md\:mt-6 {
    margin-top: 1.5rem;
  }
  .md\:rounded-xl {
    border-radius: 0.75rem;
  }
  .md\:rounded-none {
    border-radius: 0;
  }
  .md\:block {
    display: block;
  }
  .md\:hidden {
    display: none;
  }
}

@media (max-width: 767px) {
  .sm\:block {
    display: block;
  }
}

/* Utilities */
.appearance-none {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.decoration-none {
  text-decoration: none;
}

.text-red-600 {
  color: #dc2626;
}

.script-font {
  font-family: var(--font-script);
}

/* Image styles */
img {
  max-width: 100%;
  height: auto;
}

.aspect-w-1 {
  aspect-ratio: 1 / 1;
}

.aspect-h-1 {
  aspect-ratio: 1 / 1;
}
.text-64px {
  font-size: 64px;
}
@media (min-width: 768px) {
  .md\:text-90px {
    font-size: 90px;
  }
}

.text-14px {
  font-size: 14px;
}
@media (min-width: 768px) {
  .md\:text-16px {
    font-size: 16px;
  }
}

.text-18px {
  font-size: 18px;
}
@media (min-width: 768px) {
  .md\:text-22px {
    font-size: 22px;
  }
}

.text-22px {
  font-size: 22px;
}
.tracking-018em {
  letter-spacing: 0.18em;
}

/* cho countdown soft giống React hơn */
.countdown-soft-label {
  letter-spacing: 0.25em;
}
/* ===== Fix missing tailwind-like utilities you are using ===== */
.text-white\/90 {
  color: rgba(255, 255, 255, 0.9);
}
.text-white\/85 {
  color: rgba(255, 255, 255, 0.85);
}
.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}
.text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}
.border-white\/35 {
  border-color: rgba(255, 255, 255, 0.35);
}
.border-white\/30 {
  border-color: rgba(255, 255, 255, 0.3);
}
.border-white\/15 {
  border-color: rgba(255, 255, 255, 0.15);
}

.border-b {
  border-bottom: 1px solid;
}
.border-t {
  border-top: 1px solid;
}

.border-4 {
  border-width: 4px;
}
.border-6px {
  border-width: 6px;
}
.border-12px {
  border-width: 12px;
}

.rounded-md {
  border-radius: 0.5rem;
}

.text-13px {
  font-size: 13px;
}
.text-15px {
  font-size: 15px;
}
.text-16px {
  font-size: 16px;
}

.shadow {
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.12), 0 1px 2px rgb(0 0 0 / 0.08);
}

.transition {
  transition: all 300ms;
}
.duration-300 {
  transition-duration: 300ms;
}

.backdrop-blur-1px {
  backdrop-filter: blur(1px);
}

/* Replace invalid classes like bg-beige / border-#6b0f1a */
.bg-beige {
  background-color: #fbf7f2;
}
.bg-wine {
  background-color: #6b0f1a;
}
.border-wine {
  border-color: #6b0f1a;
}

/* ===== Modal system (album + gift) to look “React-like” ===== */
.scroll-lock {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-panel {
  display: flex;
  flex-direction: column;
  width: min(920px, 94vw);
  max-height: 88vh;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.22s ease;
}

.modal-panel--album {
  width: min(980px, 92vw);
  max-height: 86vh;
}
.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}
.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
}

.modal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.72);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.modal-close {
  height: 40px;
  width: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.04);
}

.modal-body {
  flex: 1;
  max-height: calc(88vh - 56px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.96);
}
.modal-media {
  position: relative;
  height: min(72vh, 640px);
  background: rgba(0, 0, 0, 0.06);
}
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 46px;
  width: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.modal-nav:hover {
  background: rgba(0, 0, 0, 0.35);
}
.modal-nav.left {
  left: 14px;
}
.modal-nav.right {
  right: 14px;
}

/* ===== Drawer (menu) nicer ===== */
.drawer-panel {
  transform-origin: top center;
  animation: drawerIn 0.18s ease both;
}
@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ===== Event card (đẹp, sạch, giống React) ===== */
.event-wrap {
  position: relative;
}

.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(185, 52, 47, 0.18), rgba(255, 255, 255, 0.08));
  opacity: 0.22;
  pointer-events: none;
}

.event-inner {
  position: relative;
}

.event-cover {
  position: relative;
  height: 170px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.event-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.35)
  );
}

.event-badge {
  position: absolute;
  left: 16px;
  right: 16px; /* để 2 chip chia đều theo card */
  bottom: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.event-chip {
  height: 38px; /* 2 chip cao bằng nhau */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;

  /* tăng tương phản: nền tối rõ chữ */
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);

  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  /* giúp đọc rõ trên nền ảnh */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

/* mobile gọn hơn */

.event-title {
  margin: 16px 18px 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: 0.02em;
}

.event-body {
  padding: 12px 18px 18px 18px;
  display: grid;
  gap: 12px;
}

.event-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.event-ico {
  height: 40px;
  width: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  font-size: 18px;
}

.event-text {
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.7;
  font-size: 16px;
}

/* Map bo góc đẹp */
.event-map {
  margin-top: 14px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Mobile: giảm chiều cao cover */
@media (max-width: 767px) {
  .event-cover {
    height: 150px;
  }
  .event-title {
    font-size: 20px;
  }
  .event-text {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  .event-chip {
    height: 36px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}
/* ===== Gift hero (đẹp như mẫu) ===== */
.gift-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gift-hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--gift-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.gift-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.38) 100%
  );
}

.gift-inner {
  position: relative;
  z-index: 1;
  min-height: min(68vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 0;
}

.gift-inner .gift-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.gift-title {
  font-family: var(--font-script);
  font-size: clamp(76px, 17vw, 118px);
  line-height: 0.95;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.gift-desc {
  margin: 26px auto 0;
  max-width: 390px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.75;
  font-size: clamp(20px, 4.8vw, 27px);
  font-weight: 600;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.gift-cta {
  width: min(100%, 360px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.gift-cta-head {
  padding: 18px 18px 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.gift-cta-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.gift-cta-sub {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  font-size: 14px;
}

.gift-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  border: none;
}

.gift-cta-btn:hover {
  background: rgba(0, 0, 0, 0.24);
}

.gift-cta-icon {
  height: 54px;
  width: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
}

.gift-cta-label {
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 17px;
  line-height: 1.18;
}

.gift-cta-note {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.gift-cta-arrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 22px;
}

@media (max-width: 767px) {
  .gift-inner { min-height: 620px; }
  .gift-inner .gift-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .gift-desc { margin-left: auto; margin-right: auto; }
  .gift-cta-label { text-align: left; }
}

/* Removed duplicate modal definitions - consolidated above */

/* ===== Gift modal (new) ===== */
.gift-hero {
  padding: 18px 18px 6px;
  text-align: center;
}
.gift-hero img {
  height: 56px;
  width: 56px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.gift-hero .title {
  margin-top: 10px;
  font-size: 44px;
  line-height: 1.05;
  color: rgba(0,0,0,0.85);
}
.gift-hero .sub {
  margin-top: 8px;
  color: rgba(0,0,0,0.62);
  line-height: 1.6;
}

.gift-content {
  padding: 14px 18px 18px;
}

.gift-content .gift-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .modal-panel { max-height: 92vh; }
  .modal-body { max-height: calc(92vh - 56px); }
  .gift-content .gift-grid { grid-template-columns: 1fr; }
  .gift-hero .title { font-size: 40px; }
}

.gift-card {
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
}

.gift-card-top {
  display: block;
  padding: 24px 18px 22px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.gift-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}
.gift-bank {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #1654b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gift-qr {
  margin: 0;
  border-radius: 0;
  border: 0;
  background: #fff;
  overflow: hidden;
}
.gift-qr img {
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: contain;
  background: #fff;
}

.gift-meta {
  margin: 0;
  padding: 18px 18px 4px;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  color: rgba(0,0,0,0.72);
}
.gift-meta b { color: rgba(0,0,0,0.85); }

.gift-actions {
  display: flex;
  gap: 10px;
  margin: 12px 14px 16px;
}
.gift-btn {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
  font-weight: 700;
  cursor: pointer;
}
.gift-btn:hover { opacity: 0.95; }
.gift-btn.primary {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.modal-media {
  position: relative;
  height: min(72vh, 640px);  /* khung cố định */
  background: rgba(0,0,0,0.06);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* ảnh fit trong khung, không đổi khung */
}
.album-more-btn{
  display:flex;align-items:center;gap:10px;
  padding:12px 18px;border-radius:999px;
  border:1px solid rgba(220,38,38,.25);
  background:rgba(255,255,255,.92);
  color:#b91c1c;font-weight:700;letter-spacing:.06em;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.album-more-btn:hover{ transform: translateY(-1px); }
.album-more-ico{ font-size:18px; opacity:.7; }

.app-shell .md\:grid-cols-2,
.app-shell .md\:grid-cols-3 {
  grid-template-columns: minmax(0, 1fr);
}

.app-shell .md\:grid-cols-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-shell .max-w-5xl,
.app-shell .max-w-6xl {
  max-width: 570px;
}

.app-shell .event-wrap,
.app-shell .event-card,
.app-shell .event-map,
.app-shell #album-container {
  max-width: 570px;
  margin-left: auto;
  margin-right: auto;
}

.app-shell #couple img,
.app-shell .event-cover img,
.app-shell #album img,
.app-shell #rsvp img {
  max-width: 100%;
}

/* ===== Soft visual polish pass ===== */
body {
  color: rgba(24, 24, 24, 0.88);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.app-shell {
  background-color: #fbf7f2;
}

.hero-save-date {
  padding: 104px 20px 44px;
}

.hero-save-date-content {
  transform: translateY(18px);
  max-width: min(100%, 760px);
}

.hero-couple-names {
  font-size: clamp(38px, 8.6vw, 56px);
  line-height: 0.96;
}

.hero-couple-heart {
  font-size: 28px;
}

.hero-save-title {
  margin-top: 18px;
  font-size: clamp(48px, 10.5vw, 68px);
}

.hero-save-kicker {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-save-date-text {
  font-size: 19px;
  font-weight: 600;
}

.invite-greeting-title,
.love-note-tabs,
.lover-title,
.calendar-title,
.sweet-photo-tabs,
.sweet-map-title,
.forever-welcome-tabs,
.forever-tabs,
.forever-love-title {
  font-family: var(--font-elegant);
  font-weight: 400;
  letter-spacing: 0.055em;
}

.invite-greeting-title {
  font-size: 20px;
}

.invite-greeting-name {
  font-size: clamp(36px, 8.7vw, 50px);
  color: #aa987c;
}

.love-note-section,
.lover-section,
.calendar-save-section,
.sweet-invitation-section,
.forever-section {
  color: rgba(18, 18, 18, 0.84);
}

.love-note-heart {
  font-size: 58px;
  opacity: 0.72;
}

.love-note-lines {
  margin-top: 28px;
  padding: 0 24px;
  font-size: clamp(19px, 4.1vw, 24px);
  line-height: 1.62;
  font-weight: 400;
}

.love-note-tabs,
.forever-tabs {
  font-size: clamp(21px, 4.4vw, 27px);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.love-note-photo div,
.forever-film-photo div,
.forever-top-photo div {
  font-size: clamp(17px, 3.7vw, 22px);
  font-weight: 600;
  line-height: 1.36;
}

.love-note-footer,
.lover-poem,
.lover-note,
.calendar-intro,
.calendar-note,
.sweet-quote,
.forever-poem,
.forever-soft-poem {
  font-family: var(--font-elegant);
  color: rgba(13, 13, 13, 0.84);
  font-weight: 400;
  line-height: 1.5;
}

.love-note-footer {
  padding: 38px 28px 0;
  font-size: clamp(21px, 4.5vw, 27px);
}

.lover-section {
  padding-top: 34px;
}

.lover-title {
  margin-top: 34px;
  font-size: clamp(46px, 9.6vw, 64px);
  letter-spacing: 0.08em;
}

.lover-photo {
  margin-top: 34px;
  width: calc(100% - 72px);
}

.lover-photo-names {
  left: 14px;
  right: 14px;
  bottom: 16px;
  gap: 10px;
  font-size: clamp(24px, 5.8vw, 34px);
}

.lover-poem {
  margin-top: 48px;
  font-size: clamp(21px, 4.7vw, 28px);
  font-weight: 600;
  line-height: 1.24;
}

.lover-note {
  margin-top: 54px;
  font-size: clamp(21px, 4.7vw, 28px);
}

.calendar-save-section {
  padding-top: 36px;
}

.calendar-title {
  margin-top: 36px;
  font-size: clamp(42px, 8.8vw, 58px);
  letter-spacing: 0.075em;
}

.calendar-intro {
  margin-top: 52px;
  font-size: clamp(21px, 4.6vw, 27px);
  font-weight: 500;
}

.calendar-frame {
  width: calc(100% - 56px);
  margin-top: 72px;
  padding: 34px 22px 24px;
}

.calendar-date-panel {
  font-size: clamp(22px, 4.9vw, 29px);
  line-height: 1.45;
}

.calendar-note {
  margin-top: 68px;
  font-size: clamp(21px, 4.5vw, 27px);
}

.sweet-photo {
  min-height: 680px;
}

.sweet-photo img {
  height: 680px;
}

.sweet-photo-tabs {
  font-size: clamp(21px, 4.2vw, 28px);
}

.sweet-quote {
  padding: 36px 22px 70px;
  font-size: clamp(20px, 4.3vw, 26px);
}

.sweet-map-title {
  font-size: clamp(22px, 4.5vw, 29px);
  letter-spacing: 0.025em;
}

.forever-welcome-tabs {
  padding: 24px 22px 20px;
  font-size: clamp(20px, 4.1vw, 27px);
}

.forever-film-side {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.78;
}

.forever-countdown {
  padding: 54px 24px 64px;
}

.forever-countdown .countdown-hero {
  gap: 14px;
}

.forever-countdown .countdown-hero-value {
  font-size: clamp(25px, 5.6vw, 34px);
  font-weight: 500;
}

.forever-countdown .countdown-hero-label {
  font-size: clamp(19px, 4.2vw, 26px);
  font-weight: 500;
}

.forever-poem {
  padding: 66px 26px 58px;
  font-size: clamp(21px, 4.5vw, 27px);
}

.forever-photo-wrap {
  grid-template-columns: 64px minmax(0, 1fr);
  width: calc(100% - 52px);
}

.forever-side-text {
  font-size: clamp(19px, 4.1vw, 25px);
  letter-spacing: 0.07em;
}

.forever-love-title {
  margin-top: 28px;
  font-size: clamp(43px, 8.5vw, 58px);
  letter-spacing: 0.075em;
}

.forever-soft-poem {
  padding: 46px 36px 54px;
  font-size: clamp(20px, 4.4vw, 26px);
}

.gift-title {
  font-size: clamp(64px, 14vw, 92px);
}

.gift-desc {
  max-width: 360px;
  font-size: clamp(18px, 4.1vw, 23px);
  font-weight: 500;
  line-height: 1.68;
}

.gift-cta {
  width: min(100%, 330px);
}

.gift-cta-label {
  font-size: 15px;
  letter-spacing: 0.035em;
}

@media (max-width: 420px) {
  .hero-couple-names {
    gap: 8px;
    font-size: 36px;
  }

  .hero-save-title {
    font-size: 46px;
  }

  .forever-film {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .forever-film-side {
    font-size: 10px;
  }

  .forever-photo-wrap {
    grid-template-columns: 52px minmax(0, 1fr);
    width: calc(100% - 34px);
  }
}

/* Calm hero name treatment */
.hero-invite-greeting {
  margin-bottom: 14px;
}

.hero-invite-greeting .invite-greeting-title {
  font-size: clamp(18px, 4vw, 24px);
  letter-spacing: 0.12em;
}

.hero-invite-greeting .invite-greeting-shadow {
  width: min(240px, 58vw);
  height: 12px;
  margin-bottom: 4px;
  opacity: 0.38;
}

.hero-couple-names {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 0 4px;
  font-size: clamp(42px, 6.2vw, 52px);
  line-height: 0.95;
  white-space: nowrap;
}

.hero-couple-names > span {
  display: inline-block;
}

.hero-couple-heart {
  color: #f0debf;
  font-family: var(--font-elegant);
  font-size: clamp(28px, 5.8vw, 38px);
  font-weight: 400;
}

.hero-save-title {
  margin-top: 12px;
  font-size: clamp(40px, 7vw, 54px);
  opacity: 0.96;
}

@media (max-width: 520px) {
  .hero-couple-names {
    flex-wrap: wrap;
    gap: 0 10px;
    font-size: clamp(38px, 10.8vw, 46px);
    line-height: 0.95;
    white-space: normal;
  }

  .hero-couple-names > span:first-child,
  .hero-couple-names > span:last-child {
    flex-basis: 100%;
  }

  .hero-couple-heart {
    display: none;
  }

  .hero-save-title {
    margin-top: 18px;
  }

  .hero-countdown .countdown-hero {
    gap: 8px;
  }

  .hero-countdown .countdown-hero-item {
    min-width: 0;
    border-radius: 14px;
    padding: 10px 5px;
  }

  .hero-countdown .countdown-hero-value {
    font-size: 19px;
  }

  .hero-countdown .countdown-hero-label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}

/* ===== Gift modal refinement ===== */
.modal-panel--gift {
  width: min(430px, 92vw);
  max-height: 92vh;
  border-radius: 30px;
  background: #fff;
}

.modal-panel--gift .modal-header {
  height: 58px;
  background: rgba(255, 255, 255, 0.96);
}

.modal-panel--gift .modal-body {
  max-height: calc(92vh - 58px);
  overflow: auto;
}

.gift-modal-hero {
  padding: 22px 22px 14px;
  text-align: center;
  background: #fff;
}

.gift-modal-hero img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gift-logo-fallback {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #9f1d1f;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gift-modal-hero .title {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.82);
  font-size: 38px;
  line-height: 1;
}

.gift-modal-hero .sub {
  margin: 8px auto 0;
  max-width: 310px;
  color: rgba(0, 0, 0, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.modal-panel--gift .gift-content {
  padding: 10px 18px 20px;
}

.modal-panel--gift .gift-content .gift-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.modal-panel--gift .gift-card {
  border-radius: 26px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.modal-panel--gift .gift-card-top {
  padding: 24px 18px 18px;
}

.gift-account-name {
  margin-top: 10px;
  color: #253040;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.gift-account-no {
  margin-top: 8px;
  color: #253040;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.modal-panel--gift .gift-bank {
  margin-top: 14px;
  color: #1e58b6;
  font-size: 18px;
}

.modal-panel--gift .gift-qr {
  padding: 16px 18px 4px;
}

.modal-panel--gift .gift-qr img {
  display: block;
  width: 100%;
  min-height: 0;
  max-height: none;
  border-radius: 18px;
  object-fit: contain;
}

.modal-panel--gift .gift-meta {
  padding: 8px 18px 0;
  font-size: 14px;
}

.modal-panel--gift .gift-actions {
  margin: 14px 18px 18px;
}

.modal-panel--gift .gift-btn {
  height: 48px;
  font-size: 14px;
}

.modal-panel--gift .gift-btn.primary {
  background: #b7342d;
  border-color: #b7342d;
}

/* Final hero visibility guard */
.hero-save-date-content {
  min-width: 0;
}

@media (max-width: 520px) {
  .app-shell {
    width: 100vw;
    max-width: 100vw;
  }

  .hero-save-date {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-save-date-content {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-invite-greeting .invite-greeting-title {
    max-width: 100%;
    font-size: clamp(16px, 4.1vw, 18px);
    line-height: 1.25;
    white-space: normal;
  }

  .hero-countdown .countdown-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    gap: 8px;
  }
}
