:root {
  --bg: #000;
  --pink: #fa3a75;
  --pink-deep: #c81657;
  --pink-soft: #f7a6c4;
  --cream: #fff4f7;
  --muted: rgba(255, 244, 247, 0.62);
  --font-display: "Playfair Display", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Decorations (black crops blended away with screen) ---------- */

.decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* glow lives here so the screen-blended crops blend against it */
  background: radial-gradient(60% 45% at 50% 18%, rgba(250, 58, 117, 0.13), transparent 70%);
}

.decor img {
  position: absolute;
  display: block;
  height: auto;
  mix-blend-mode: screen;
}

.decor__roses-top {
  top: 0;
  left: 0;
  width: clamp(120px, 34vw, 260px);
  -webkit-mask-image: radial-gradient(farthest-side at 0 0, #000 62%, transparent 100%);
  mask-image: radial-gradient(farthest-side at 0 0, #000 62%, transparent 100%);
  animation: bloom 1.6s var(--ease-out) both;
}

.decor__ribbon {
  top: 0;
  right: 0;
  width: clamp(80px, 22vw, 190px);
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(farthest-side at 100% 0, #000 55%, transparent 100%);
  mask-image: radial-gradient(farthest-side at 100% 0, #000 55%, transparent 100%);
  animation: bloom 1.6s 0.15s var(--ease-out) both;
}

.decor__roses-bottom {
  right: 0;
  bottom: 0;
  width: clamp(140px, 40vw, 320px);
  -webkit-mask-image: radial-gradient(farthest-side at 100% 100%, #000 62%, transparent 100%);
  mask-image: radial-gradient(farthest-side at 100% 100%, #000 62%, transparent 100%);
  animation: bloom 1.6s 0.3s var(--ease-out) both;
}

.decor__petal {
  width: clamp(34px, 9vw, 60px);
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}

.decor__petal--a {
  top: 24%;
  left: 7%;
  animation: drift 9s ease-in-out infinite;
}

.decor__petal--b {
  bottom: 7%;
  left: 12%;
  width: clamp(28px, 7vw, 48px);
  animation: drift 11s -4s ease-in-out infinite reverse;
}

/* ---------- Layout ---------- */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(3.5rem, env(safe-area-inset-top)) 1.25rem max(3rem, env(safe-area-inset-bottom));
}

.content {
  width: 100%;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.showcase {
  display: none;
}

/* ---------- Brand ---------- */

.brand {
  text-align: center;
  animation: rise 1s 0.1s var(--ease-out) both;
}

.brand__name {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}

.brand__top {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.9rem, 13vw, 4rem);
  letter-spacing: -0.01em;
  color: #fff;
}

.brand__script {
  position: relative;
  margin-top: -0.18em;
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 16vw, 4.9rem);
  color: var(--pink);
  padding-right: 0.55em;
}

.brand__heart {
  position: absolute;
  right: -0.05em;
  top: 0.12em;
  width: 0.62em;
  height: auto;
  fill: none;
  stroke: var(--pink-soft);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw 1.4s 0.9s var(--ease-out) forwards;
}

.brand__tagline {
  margin: 0.9rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand__tagline::before,
.brand__tagline::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--pink);
}

.brand__divider {
  display: block;
  margin: 1rem auto 0;
  width: 14px;
  fill: var(--pink);
}

/* ---------- Links ---------- */

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.link {
  --delay: 0.35s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.6rem 1.4rem 0.6rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 58, 117, 0.45);
  background: rgba(20, 4, 10, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cream);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    border-color 0.25s,
    background-color 0.25s;
  animation: rise 0.9s var(--delay) var(--ease-out) both;
  -webkit-tap-highlight-color: transparent;
}

.link:nth-child(2) {
  --delay: 0.45s;
}

.link:nth-child(3) {
  --delay: 0.55s;
}

.link::after {
  content: "";
  margin-left: auto;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  transition: transform 0.25s var(--ease-out);
}

.link:hover {
  border-color: var(--pink);
  background-color: rgba(250, 58, 117, 0.12);
  box-shadow: 0 10px 34px -12px rgba(250, 58, 117, 0.7);
  transform: translateY(-2px);
}

.link:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.link:active {
  transform: scale(0.97);
}

.link:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 3px;
}

.link--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  box-shadow: 0 12px 36px -14px rgba(250, 58, 117, 0.85);
}

.link--primary:hover {
  background-color: transparent;
  box-shadow: 0 16px 40px -12px rgba(250, 58, 117, 0.95);
}

.link__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
}

.link--primary .link__icon {
  background: #fff;
  color: var(--pink-deep);
}

.link__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.link__icon .icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.link__icon .icon-dot {
  fill: currentColor;
  stroke: none;
}

.link__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.link__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.link__sub {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--pink-soft);
  font-variant-numeric: tabular-nums;
}

.link--primary .link__sub {
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Footer ---------- */

.footer {
  text-align: center;
  animation: rise 0.9s 0.7s var(--ease-out) both;
}

.footer p {
  margin: 0;
}

.footer__place {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--muted);
}

.footer__place svg {
  width: 1.05rem;
  fill: var(--pink);
}

.footer__motto {
  margin-top: 0.6rem !important;
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--pink);
  transform: rotate(-4deg);
}

.footer__motto::after {
  content: " \2661";
  font-family: var(--font-body);
  font-size: 0.7em;
}

/* ---------- Desktop: card-like split with the candle photo ---------- */

@media (min-width: 880px) {
  .page {
    grid-template-columns: minmax(0, 26rem) minmax(0, 30rem);
    justify-content: center;
    gap: clamp(2rem, 6vw, 6rem);
  }

  .showcase {
    display: block;
    margin: 0;
    animation: rise 1.2s 0.4s var(--ease-out) both;
  }

  .showcase img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(closest-side at 50% 52%, #000 68%, transparent 100%);
    mask-image: radial-gradient(closest-side at 50% 52%, #000 68%, transparent 100%);
  }

  .decor__roses-bottom {
    width: clamp(160px, 18vw, 260px);
    opacity: 0.7;
  }
}

/* ---------- Motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bloom {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-10px, 14px) rotate(14deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .brand__heart {
    stroke-dashoffset: 0;
  }
}
