:root {
  color-scheme: dark;
  --bg: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(17, 24, 39, 0.92);
  --text: #f8fafc;
  --muted: #a7b4c8;
  --line: rgba(226, 232, 240, 0.16);
  --accent: #2dd4bf;
  --accent-2: #fb7185;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 12%, rgba(45, 212, 191, 0.2), transparent 28rem),
    radial-gradient(circle at 84% 6%, rgba(251, 113, 133, 0.2), transparent 26rem),
    linear-gradient(145deg, #111827 0%, #0f172a 42%, #111827 100%);
}

a {
  color: inherit;
}

.shell {
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 18px 56px;
}

.profile {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.avatar {
  display: grid;
  width: 96px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  color: #08111f;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.kicker {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 9vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.intro {
  max-width: 33rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.link-section {
  margin-top: 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  padding: 0 4px;
}

.section-heading h2 {
  font-size: 1rem;
  letter-spacing: 0;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.86rem;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.18);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(45, 212, 191, 0.66);
  background: var(--panel-strong);
  outline: none;
  transform: translateY(-2px);
}

.icon {
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #07111f;
  background: linear-gradient(135deg, var(--accent), #f8fafc);
  font-weight: 900;
}

.link-card:nth-child(even) .icon {
  background: linear-gradient(135deg, var(--accent-2), #fde68a);
}

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

.link-title {
  display: block;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.link-description {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.arrow {
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}

.compact .link-card {
  min-height: 64px;
}

@media (max-width: 520px) {
  .shell {
    padding-top: 30px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  .link-card {
    grid-template-columns: 44px 1fr;
  }

  .icon {
    width: 44px;
  }

  .arrow {
    display: none;
  }
}
