:root {
  --ink: #231844;
  --muted: #a06b79;
  --accent: #e8567f;
  --accent-strong: #d7446e;
  --accent-soft: #fde8ef;
  --line: #f4bdcd;
  --surface: #fff;
  --page: #fff6f9;
  --shadow: 0 18px 50px rgba(232, 86, 127, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Quicksand, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 86, 127, 0.16), transparent 28%),
    linear-gradient(180deg, #fffafb 0%, var(--page) 100%);
}

.page-shell {
  width: min(1336px, calc(100vw - 48px));
  margin: 14px auto;
}

.social-strip,
.link-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.social-strip {
  min-height: 98px;
  padding: 19px 20px 17px;
}

.social-strip p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-links a,
.paste-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  text-decoration: none;
}

.quick-links a {
  padding: 0 17px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(232, 86, 127, 0.24);
  font-weight: 800;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 17px 0 16px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(232, 86, 127, 0.16);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-header h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.lock {
  font-size: 22px;
}

.link-card {
  padding: 20px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.card-head h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.paste-button {
  flex: 0 0 auto;
  padding: 0 17px;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  background: var(--surface);
  cursor: pointer;
  font-weight: 500;
}

.link-form {
  display: grid;
  gap: 14px;
}

input {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  outline: none;
}

input::placeholder {
  color: #b3818e;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.status {
  min-height: 18px;
  margin: -2px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.status.is-error {
  color: #c2335f;
}

.status.is-success {
  color: #b94066;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.facebook-action,
.instagram-action {
  min-height: 46px;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.facebook-action {
  border: 1px solid #1877f2;
  color: #fff;
  background: #1877f2;
}

.instagram-action {
  border: 1px solid #d62976;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #d62976 55%, #f77737);
}

.facebook-action:hover {
  background: #0f68db;
}

.instagram-action:hover {
  filter: brightness(0.94);
}

.facebook-action:disabled,
.instagram-action:disabled {
  cursor: wait;
  opacity: 0.68;
}

.quick-links a:hover {
  background: var(--accent-strong);
}

.paste-button:hover {
  background: #fff4f7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 560px);
    margin-block: 12px;
  }

  .social-strip,
  .link-card {
    border-radius: 18px;
  }

  .brand-header h1 {
    font-size: 21px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .card-head {
    align-items: flex-start;
  }
}
