:root {
  color-scheme: dark;
  --bg: #020202;
  --panel: rgba(13, 13, 13, 0.88);
  --ink: #ffffff;
  --muted: #b9b9b9;
  --yellow: #ffd51f;
  --pink: #ff4fa2;
  --line: rgba(255, 255, 255, 0.16);
  --soft-line: rgba(255, 255, 255, 0.09);
  --shadow-pink: rgba(255, 79, 162, 0.28);
  --shadow-yellow: rgba(255, 213, 31, 0.24);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 24% 12%, rgba(255, 213, 31, 0.15), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(255, 79, 162, 0.2), transparent 30rem),
    linear-gradient(180deg, #050505 0%, #000000 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 72%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px) 18px;
}

.landing {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
}

.profile {
  width: min(100%, 520px);
  margin: 0 auto;
  text-align: center;
}

.brand-logo {
  width: min(82vw, 390px);
  aspect-ratio: 1;
  display: block;
  margin: 0 auto clamp(18px, 4vw, 28px);
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.13)) drop-shadow(-18px 0 34px var(--shadow-yellow)) drop-shadow(18px 0 34px var(--shadow-pink));
}

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

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 12vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    -2px 2px 0 rgba(255, 213, 31, 0.72),
    2px 2px 0 rgba(255, 79, 162, 0.72),
    0 16px 46px rgba(0, 0, 0, 0.8);
}

.intro {
  width: min(100%, 440px);
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

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

.link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px 46px;
  gap: 8px;
  align-items: stretch;
}

.row-actions {
  display: contents;
}

.social-link {
  min-height: 70px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  outline: none;
}

.social-link.instagram,
.social-link.mail {
  border-color: rgba(255, 79, 162, 0.58);
}

.social-link.tiktok,
.social-link.youtube {
  border-color: rgba(255, 213, 31, 0.58);
}

.link-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #050505;
  background: var(--yellow);
  font-size: 0.8rem;
  font-weight: 950;
}

.instagram .link-icon,
.mail .link-icon {
  color: #ffffff;
  background: var(--pink);
}

.social-link strong,
.social-link small {
  display: block;
}

.social-link strong {
  margin-bottom: 3px;
  font-size: 1rem;
}

.social-link small {
  color: var(--muted);
  line-height: 1.35;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.action-button {
  min-height: 52px;
  display: inline-grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: center;
  justify-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.share-button {
  border-color: rgba(255, 213, 31, 0.54);
}

.copy-button {
  border-color: rgba(255, 79, 162, 0.54);
}

.action-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #050505;
  background: var(--yellow);
  font-weight: 950;
}

.copy-button .action-icon {
  color: #ffffff;
  background: var(--pink);
}

.icon-button {
  width: 46px;
  min-height: 70px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #050505;
  background: var(--yellow);
  font: inherit;
  font-size: 1rem;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  filter: brightness(1.08);
  outline: none;
}

.row-copy {
  color: #ffffff;
  background: var(--pink);
}

.icon-button.is-done {
  color: #050505;
  background: #ffffff;
}

.site-footer {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.legal-footer {
  padding-top: 0;
}

.site-footer a,
.back-link {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  color: var(--ink);
  outline: none;
}

.legal-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.legal-card {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
  overflow-wrap: anywhere;
}

.legal-card h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 7vw, 4rem);
}

.legal-card h2 {
  margin: 28px 0 8px;
  color: var(--yellow);
  font-size: 1.05rem;
}

.legal-card p,
.legal-note {
  color: var(--muted);
  line-height: 1.7;
}

.legal-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
}

.legal-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--soft-line);
}

.legal-list dt {
  margin-bottom: 4px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-list dd {
  margin: 0;
  color: var(--ink);
}

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

  .landing {
    min-height: calc(100vh - 68px);
    align-items: start;
  }

  .brand-logo {
    width: min(86vw, 330px);
  }

  .social-link {
    grid-template-columns: 42px 1fr;
    padding: 11px;
  }

  .link-row {
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    gap: 7px;
  }

  .link-icon {
    width: 42px;
    height: 42px;
  }

  .icon-button {
    width: 42px;
    min-height: 66px;
  }

  .action-button {
    grid-template-columns: 24px 1fr;
    gap: 7px;
    padding: 9px 10px;
    font-size: 0.92rem;
  }

  .action-icon {
    width: 24px;
    height: 24px;
  }
}
