:root {
  /* Brand palette sampled from the supplied Sochi Rose artwork only. */
  --black: #000000;
  --navy: #000040;
  --blue: #0000fe;
  --cyan: #39c5bc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.link-page {
  position: relative;
  width: min(100%, 580px);
  min-height: 100vh;
  overflow: hidden;
  padding: 118px 28px 26px;
  background: var(--navy);
  border-inline: 2px solid var(--cyan);
  isolation: isolate;
}

.profile {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  text-align: center;
}

/* Official Sochi Rose yin-yang avatar, drawn entirely with CSS. */
.avatar {
  display: block;
  width: 92px;
  height: 92px;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  background:
    radial-gradient(circle 7px at 50% 25%, var(--blue) 0 98%, transparent 100%),
    radial-gradient(circle 7px at 50% 75%, var(--white) 0 98%, transparent 100%),
    radial-gradient(circle 21.5px at 50% 25%, var(--white) 0 99%, transparent 100%),
    radial-gradient(circle 21.5px at 50% 75%, var(--blue) 0 99%, transparent 100%),
    linear-gradient(to right, var(--white) 0 50%, var(--blue) 50% 100%);
}

.profile h1 {
  margin: 18px 0 4px;
  color: var(--white);
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.profile p {
  margin: 0;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
}

.links {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.link-button {
  position: relative;
  min-width: 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 2px solid var(--white);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--black);
  color: var(--navy);
  text-decoration: none;
  font-size: clamp(12px, 2.75vw, 16px);
  font-weight: 800;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.link-button > span:first-child {
  text-align: center;
}


.link-button:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--navy);
}


.link-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 0 var(--black);
}

.link-button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.link-button.featured {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}


.link-button.featured:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--navy);
}


/* Plain-text contact address between the links and the feed panels. */
.contact-email {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 24px 0 28px;
  color: var(--white);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-email span {
  cursor: text;
}

.decor,
.confetti,
.star {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Decorative geometry now uses only black, navy, electric blue, cyan and white. */
.decor-rainbow {
  top: 22px;
  left: -43px;
  width: 160px;
  height: 160px;
  border: 18px solid var(--cyan);
  border-radius: 50%;
  background: var(--blue);
  transform: rotate(-19deg);
}

.decor-rainbow::after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: var(--navy);
  border: 8px solid var(--white);
}

.decor-heart {
  top: 26px;
  right: 45px;
  width: 62px;
  height: 62px;
  border: 4px solid var(--cyan);
  border-radius: 50%;
  background: var(--blue);
  transform: rotate(0deg);
}

.decor-heart::before,
.decor-heart::after {
  content: "";
  position: absolute;
  background: var(--white);
}

.decor-heart::before {
  width: 26px;
  height: 8px;
  top: 23px;
  left: 14px;
}

.decor-heart::after {
  width: 8px;
  height: 26px;
  top: 14px;
  left: 23px;
}

.heart-eye {
  display: none;
}

.confetti {
  width: 11px;
  height: 29px;
  border-radius: 1px;
}

.c1 { top: 77px; left: 139px; background: var(--cyan); transform: rotate(0deg); }
.c2 { top: 47px; left: 250px; background: var(--white); transform: rotate(0deg); }
.c3 { top: 76px; right: 185px; background: var(--blue); transform: rotate(0deg); }
.c4 { top: 122px; right: 19px; background: var(--cyan); transform: rotate(0deg); }
.c5 { top: 180px; left: 12px; background: var(--white); transform: rotate(0deg); }
.c6 { top: 135px; right: 72px; background: var(--blue); transform: rotate(0deg); }

.star {
  font-size: 36px;
  line-height: 1;
}

.s1 { top: 12px; right: 165px; color: var(--cyan); transform: rotate(0deg); }
.s2 { top: 164px; right: 3px; color: var(--white); transform: rotate(0deg); }

@media (max-width: 640px) {
  .link-page {
    width: 100%;
    padding: 102px 18px 24px;
    border-inline: 0;
  }

  .links {
    gap: 12px;
  }

  .link-button {
    min-height: 62px;
  }

  .decor-heart {
    right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-button {
    transition: none;
  }
}
