@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&family=Manrope:wght@700;800&display=swap");

:root {
  --ink: #10206f;
  --ink-deep: #081453;
  --muted: #496984;
  --aqua: #95e6df;
  --aqua-bright: #59e4ff;
  --cream: #fff8eb;
  --coral: #ef5261;
  --line: rgba(16, 32, 111, 0.16);
  --card: rgba(255, 248, 235, 0.9);
  --shadow: 0 24px 60px rgba(8, 20, 83, 0.18);
}

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

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink-deep);
  background:
    radial-gradient(circle at 48% 18%, rgba(255, 255, 255, 0.66), transparent 22rem),
    linear-gradient(155deg, #b9f2eb 0%, var(--aqua) 45%, #6fcbd1 100%);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(120deg, transparent 46%, rgba(255, 255, 255, 0.18) 48%, transparent 51%),
    linear-gradient(55deg, transparent 46%, rgba(6, 66, 109, 0.07) 49%, transparent 52%);
  background-size: 8rem 8rem, 11rem 11rem;
}

.ocean-glow {
  position: fixed;
  z-index: -1;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(16, 32, 111, 0.12);
  border-radius: 44% 56% 63% 37% / 48% 39% 61% 52%;
  pointer-events: none;
  transform: rotate(22deg);
}

.ocean-glow::before,
.ocean-glow::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: inherit;
  border-radius: inherit;
}

.ocean-glow::after {
  inset: 28%;
}

.ocean-glow--one {
  top: -15rem;
  left: -14rem;
}

.ocean-glow--two {
  right: -17rem;
  bottom: -15rem;
  transform: rotate(-28deg);
}

.page-shell {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  padding: 3rem 1.25rem 2rem;
}

.profile {
  width: min(100%, 39rem);
  text-align: center;
}

.mark {
  display: block;
  width: 7.5rem;
  height: auto;
  margin: 0 auto 1.3rem;
  filter: drop-shadow(0 13px 22px rgba(8, 20, 83, 0.2));
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.55rem, 9vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.97;
}

h1 em {
  color: var(--ink);
  font-style: normal;
}

.intro {
  max-width: 31rem;
  margin: 1.25rem auto 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.heart-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 1.6rem;
  color: var(--coral);
}

.heart-line::before,
.heart-line::after {
  flex: 1;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--coral));
}

.heart-line::after {
  background: linear-gradient(90deg, var(--coral), transparent);
}

.heart-line span {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.link-list {
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 3.15rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 5.25rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  color: var(--ink-deep);
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.15rem;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(8, 20, 83, 0.11);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.link-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--card-accent, var(--aqua-bright));
  opacity: 0;
  transition: opacity 180ms ease;
}

.link-card:hover {
  border-color: rgba(16, 32, 111, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px) rotate(-0.25deg);
}

.link-card:hover::before,
.link-card:focus-visible::before {
  opacity: 1;
}

.link-card:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.link-icon {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  color: var(--ink-deep);
  border-radius: 0.85rem;
  background: var(--card-accent, var(--aqua-bright));
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

.link-copy {
  min-width: 0;
}

.link-title,
.link-description {
  display: block;
}

.link-title {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.link-description {
  margin-top: 0.12rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-action {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.05rem;
  transition: transform 180ms ease, background-color 180ms ease;
}

.link-card:hover .link-action {
  background: rgba(149, 230, 223, 0.45);
  transform: translate(2px, -2px);
}

.note {
  margin: 1.8rem 0 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.note span {
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  vertical-align: -0.05em;
}

@media (max-width: 36rem) {
  .page-shell {
    align-items: start;
    padding-top: 1.8rem;
  }

  .mark {
    width: 6.3rem;
    margin-bottom: 1rem;
  }

  .intro {
    margin-bottom: 1.1rem;
  }

  .heart-line {
    margin-bottom: 1.25rem;
  }

  .link-card {
    grid-template-columns: 2.8rem 1fr auto;
    min-height: 4.8rem;
    border-radius: 1rem;
  }

  .link-icon {
    width: 2.8rem;
    height: 2.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
