html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 5% 12%, rgba(239, 209, 204, 0.55), transparent 32rem),
    radial-gradient(circle at 95% 45%, rgba(220, 233, 228, 0.72), transparent 34rem),
    var(--event-bg);
}

.page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 3vw, 36px);
}

.reminder-card {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  grid-template-columns: minmax(390px, 0.95fr) minmax(390px, 1.05fr);
  border: 1px solid rgba(183, 148, 114, 0.2);
  border-radius: 28px;
  background: rgba(255, 250, 245, 0.78);
  box-shadow: var(--event-shadow);
}

.reminder-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 88px) clamp(26px, 5vw, 68px);
  text-align: center;
}

.back-link {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 26px;
  padding: 6px 10px;
  border: 1px solid rgba(183, 148, 114, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.78);
  color: var(--event-muted);
  font-size: 0.78rem;
  text-decoration: none;
  backdrop-filter: blur(6px);
}

.monogram {
  width: clamp(100px, 12vw, 138px);
  margin-bottom: 8px;
  filter: drop-shadow(0 10px 18px rgba(93, 71, 65, 0.1));
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--event-gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--event-ink);
  font-family: var(--event-serif);
  font-weight: 400;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 0.9;
}

.intro {
  max-width: 460px;
  margin: 18px auto 22px;
  color: var(--event-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.date-block {
  width: min(420px, 100%);
  margin: 2px auto 24px;
  color: var(--event-ink);
}

.date-block > p {
  margin: 0 0 8px;
  font-family: var(--event-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.date-line {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
}

.date-line span {
  padding: 6px 0;
  border-top: 1px solid rgba(183, 148, 114, 0.48);
  border-bottom: 1px solid rgba(183, 148, 114, 0.48);
  color: var(--event-muted);
  font-family: var(--event-serif);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-line strong {
  color: var(--event-blush-dark);
  font-family: var(--event-serif);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 0.9;
}

.countdown-label {
  margin: 0 0 10px;
  color: var(--event-muted);
  font-family: var(--event-serif);
  font-size: 1.08rem;
}

.countdown {
  display: grid;
  width: min(450px, 100%);
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown div {
  padding: 13px 6px 11px;
  border: 1px solid rgba(183, 148, 114, 0.23);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 8px 20px rgba(93, 71, 65, 0.07);
}

.countdown strong {
  display: block;
  color: var(--event-ink);
  font-family: var(--event-serif);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 4px;
  color: var(--event-muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown-message {
  margin: 12px 0 0;
  color: var(--event-muted);
  font-family: var(--event-serif);
  font-size: 0.94rem;
}

.reminder-photo {
  min-height: 620px;
  overflow: hidden;
}

.reminder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.floral {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.floral-left {
  top: -82px;
  left: -100px;
  width: 310px;
  opacity: 0.74;
}

.floral-right {
  right: -58px;
  bottom: -60px;
  width: 210px;
  opacity: 0.45;
  transform: rotate(18deg);
}

.important-note {
  display: grid;
  align-items: center;
  width: min(920px, calc(100% - 28px));
  margin: clamp(34px, 6vw, 72px) auto;
  padding: clamp(24px, 5vw, 40px);
  grid-template-columns: auto 1fr;
  gap: 22px;
  border: 1px solid rgba(183, 148, 114, 0.22);
  border-radius: 20px;
  background: rgba(255, 250, 245, 0.76);
  box-shadow: 0 14px 38px rgba(93, 71, 65, 0.1);
}

.note-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--event-blush-dark), var(--event-gold));
  color: #fff;
  font-family: var(--event-serif);
  font-size: 2.2rem;
}

.important-note h2 {
  margin: 0 0 9px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.important-note > div > p:last-child {
  margin: 0;
  color: var(--event-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.important-note strong {
  color: var(--event-ink);
}

.gifts-section {
  padding: clamp(32px, 6vw, 72px) 0;
}

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

.gift-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 330px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(183, 148, 114, 0.24);
  border-radius: 24px;
  background: rgba(255, 250, 245, 0.78);
  box-shadow: 0 16px 42px rgba(93, 71, 65, 0.1);
  color: var(--event-ink);
  text-align: center;
  text-decoration: none;
}

.gift-card::before {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(239, 209, 204, 0.24);
  content: "";
  filter: blur(2px);
  pointer-events: none;
  transform: translate(-115%, -90%);
}

.gift-list-card {
  background: linear-gradient(145deg, rgba(220, 233, 228, 0.76), rgba(255, 250, 245, 0.88));
  transition: border-color 180ms ease, transform 180ms ease;
}

.gift-list-card:hover {
  border-color: rgba(183, 148, 114, 0.55);
  transform: translateY(-3px);
}

.gift-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--event-blush-dark), var(--event-gold));
  box-shadow: 0 10px 24px rgba(153, 113, 100, 0.2);
  color: #fff;
}

.gift-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.gift-label {
  margin: 0 0 8px;
  color: var(--event-gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gift-card h3 {
  margin: 0;
  font-family: var(--event-serif);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
}

.gift-description {
  max-width: 390px;
  margin: 13px auto 20px;
  color: var(--event-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.pix-copy-button {
  display: flex;
  align-items: center;
  width: min(330px, 100%);
  flex-direction: column;
  gap: 3px;
  padding: 13px 20px;
  border: 1px solid rgba(183, 148, 114, 0.36);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--event-ink);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.pix-copy-button:hover {
  background: rgba(239, 209, 204, 0.28);
  transform: translateY(-1px);
}

.pix-copy-button.copied {
  border-color: rgba(141, 168, 157, 0.7);
  background: var(--event-sage-soft);
}

.pix-copy-button strong {
  font-family: var(--event-serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pix-copy-button span,
.gift-link-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.copy-feedback {
  min-height: 1.2em;
  margin: 10px 0 -10px;
  color: #537469;
  font-size: 0.72rem;
}

.gift-link-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--event-ink);
  color: #fff;
}

.quick-section {
  padding: clamp(24px, 5vw, 58px) 0 clamp(48px, 7vw, 80px);
}

.section-heading {
  width: min(680px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.section-heading > p:last-child {
  margin: 14px auto 0;
  color: var(--event-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quick-actions a {
  display: flex;
  align-items: center;
  min-height: 138px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 14px;
  border: 1px solid rgba(183, 148, 114, 0.2);
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.72);
  box-shadow: 0 10px 26px rgba(93, 71, 65, 0.07);
  color: var(--event-ink);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.quick-actions a:hover {
  border-color: rgba(183, 148, 114, 0.5);
  transform: translateY(-3px);
}

.action-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  background: var(--event-sage-soft);
  color: var(--event-ink);
}

.action-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.quick-actions strong {
  font-family: var(--event-serif);
  font-size: 1.22rem;
  font-weight: 600;
}

.quick-actions small {
  margin-top: 2px;
  color: var(--event-muted);
  font-size: 0.7rem;
}

.final-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px;
}

.final-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(53, 42, 38, 0.72));
}

.final-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center 38%;
}

.final-photo div {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 28px;
  left: 30px;
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.38);
}

.final-photo p {
  margin: 0;
  font-family: var(--event-serif);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
}

.final-photo strong {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .reminder-card {
    grid-template-columns: 1fr;
  }

  .reminder-content {
    min-height: 720px;
  }

  .reminder-photo {
    min-height: 520px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .gift-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 0;
  }

  .reminder-card,
  .final-photo {
    border-radius: 0;
  }

  .reminder-content {
    min-height: 690px;
    padding: 62px 16px 40px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 3.6rem);
  }

  .date-line {
    gap: 7px;
  }

  .date-line span {
    font-size: 0.72rem;
  }

  .date-line strong {
    font-size: 3.8rem;
  }

  .important-note {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .note-mark {
    width: 46px;
    height: 46px;
  }

  .quick-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .gifts-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .gift-card {
    min-height: 310px;
    border-radius: 20px;
  }

  .quick-actions {
    gap: 8px;
  }

  .quick-actions a {
    min-height: 132px;
    padding: 16px 8px;
  }
}

@media (max-width: 390px) {
  .reminder-content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .countdown {
    gap: 5px;
  }

  .countdown div {
    padding-right: 3px;
    padding-left: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-actions a,
  .gift-list-card,
  .pix-copy-button {
    transition: none;
  }
}
