:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --panel: rgba(24, 23, 21, 0.88);
  --ink: #f7f5f0;
  --muted: #ada89f;
  --gold: #caa25a;
  --gold-deep: #9c7434;
  --gold-light: #f2ddaa;
  --gold-gradient: linear-gradient(180deg, var(--gold-deep) 0%, var(--gold) 48%, var(--gold-light) 100%);
  --slate: #9aa0aa;
  --line: rgba(255, 255, 255, 0.16);
  --soft-line: rgba(255, 255, 255, 0.09);
  --shadow-slate: rgba(154, 160, 170, 0.22);
  --shadow-gold: rgba(202, 162, 90, 0.32)
}

* {
  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(202, 162, 90, 0.14), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(154, 160, 170, 0.16), transparent 30rem),
    linear-gradient(180deg, #08080a 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-gold)) drop-shadow(18px 0 34px var(--shadow-slate));
}

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

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

h1 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
  background: var(--gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px var(--shadow-gold)) drop-shadow(0 22px 40px rgba(0, 0, 0, 0.75));
}

.ornament {
  width: 9px;
  height: 9px;
  margin: 2px auto 20px;
  background: var(--gold-gradient);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--shadow-gold);
}

.brand-mark {
  width: 38px;
  margin: 0 auto clamp(14px, 3vw, 20px);
  display: flex;
  justify-content: center;
}

.brand-mark svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 10px var(--shadow-gold));
}

.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(154, 160, 170, 0.58);
}

.social-link.tiktok,
.social-link.youtube,
.social-link.twitch {
  border-color: rgba(202, 162, 90, 0.58);
}

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

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

.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(202, 162, 90, 0.54);
}

.copy-button {
  border-color: rgba(154, 160, 170, 0.54);
}

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

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

.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(--gold-gradient);
  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(--slate);
}

.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(--gold);
  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(--slate);
  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;
  }
}
