:root {
  --sky: #bde8f6;
  --sky-deep: #79c8df;
  --pink: #f7bfd2;
  --pink-soft: #ffe8ef;
  --ink: #3d4250;
  --muted: #6c7280;
  --paper: #fffafc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: linear-gradient(160deg, var(--paper), #eefaff 54%, var(--pink-soft));
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  padding: 18px;
  overflow: hidden;
}

.top-nav,
.hero,
.message,
.photo-card {
  position: relative;
  z-index: 1;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 0 18px;
}

.brand {
  max-width: 68%;
  font-family: "Birthstone", "Segoe Script", "Snell Roundhand", cursive;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.25;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(121, 200, 223, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 47vh;
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 18px;
  text-align: center;
}

.date {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #40586a;
  font-family: "Fleur De Leah", "Segoe Script", "Snell Roundhand", cursive;
  font-size: 4.65rem;
  font-weight: 400;
  line-height: 1;
}

.names {
  margin: 16px 0 0;
  color: #c26b8d;
  font-family: "Birthstone", "Segoe Script", "Snell Roundhand", cursive;
  font-size: 2.55rem;
  font-style: normal;
  line-height: 1.15;
}

.message,
.photo-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(82, 98, 114, 0.12);
  text-align: center;
  backdrop-filter: blur(14px);
}

.message p,
.photo-card p {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.65;
}

.primary-action,
.secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.primary-action {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--sky-deep), var(--pink));
  color: #24313b;
  box-shadow: 0 12px 25px rgba(121, 200, 223, 0.32);
}

.secondary-action {
  border: 1px solid rgba(121, 200, 223, 0.54);
  background: rgba(255, 255, 255, 0.7);
  color: #364656;
}

.page-photos {
  display: flex;
  flex-direction: column;
}

.photo-card {
  margin-top: auto;
  margin-bottom: auto;
}

.photo-card h1 {
  margin-bottom: 18px;
  font-size: 5rem;
}

.photo-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .page {
    padding: 26px;
  }

  .message,
  .photo-card {
    padding: 32px;
  }

  h1 {
    font-size: 6.35rem;
  }

  .names {
    font-size: 3rem;
  }

  .photo-card h1 {
    font-size: 5.9rem;
  }
}
