:root {
  --ink: #241d2a;
  --cream: #fff7ef;
  --rose: #e45f78;
  --soft-pink: #ffd7e3;
  --deep-pink: #c94f70;
  --mint: #9de1cf;
  --teal: #286f78;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #eadbd8;
  color: var(--deep-pink);
  font-family: Georgia, "Times New Roman", serif;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 14px;
}

.invite {
  position: relative;
  width: min(100%, 430px);
  min-height: calc(100svh - 28px);
  max-height: 860px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 18px 50px rgba(36, 29, 42, 0.18);
  isolation: isolate;
}

.invite__bg,
.invite__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.invite__bg {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.invite__overlay {
  background:
    linear-gradient(180deg, rgba(255, 226, 234, 0.12), rgba(255, 226, 234, 0.04) 46%, rgba(255, 226, 234, 0.18)),
    radial-gradient(circle at 50% 23%, rgba(255, 226, 234, 0.22), transparent 35%);
  z-index: -1;
}

.invite__content {
  min-height: calc(100svh - 28px);
  max-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: clamp(24px, 7vw, 34px);
  text-align: center;
}

.tag {
  margin: 0;
  color: var(--deep-pink);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

h1 {
  margin: 0;
  font-size: clamp(5.1rem, 25vw, 7.4rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0;
  color: #f2a2b8;
  font-style: italic;
  text-shadow: 0 2px 0 rgba(255, 247, 239, 0.7);
}

.subtitle {
  margin: 0;
  color: var(--deep-pink);
  font-size: clamp(1.05rem, 4.5vw, 1.25rem);
  font-weight: 700;
  font-style: italic;
}

.info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: clamp(44px, 9svh, 86px);
}

.info div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(36, 29, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 218, 229, 0.28);
  padding: 12px 14px;
  backdrop-filter: blur(5px);
}

.info span {
  color: rgba(201, 79, 112, 0.78);
  font-size: 0.84rem;
  font-style: italic;
  font-weight: 700;
  text-transform: lowercase;
}

.info strong {
  color: var(--deep-pink);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
}

.note {
  margin: 0;
  color: rgba(201, 79, 112, 0.82);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.55;
}

.location {
  display: inline-flex;
  margin-top: auto;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(201, 79, 112, 0.2);
  background: rgba(255, 218, 229, 0.38);
  color: var(--deep-pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 28px rgba(201, 79, 112, 0.12);
}

@media (min-width: 700px) {
  .page {
    padding: 28px;
  }

  .invite {
    min-height: 760px;
  }

  .invite__content {
    min-height: 760px;
  }
}

@media (max-height: 680px) {
  .invite__content {
    gap: 10px;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 5.5rem);
  }

  .info {
    margin-top: clamp(28px, 7svh, 54px);
  }

  .note {
    font-size: 0.92rem;
  }
}
