:root {
  --bg: oklch(96.5% 0.012 60);
  --card-bg: oklch(96.5% 0.012 60);
  --stat-card-bg: oklch(99% 0.008 60);
  --ink: oklch(24% 0.02 40);
  --heading-ink: oklch(30% 0.02 40);
  --muted-45: oklch(45% 0.02 40);
  --muted-50: oklch(50% 0.02 45);
  --muted-55: oklch(55% 0.02 45);
  --muted-55b: oklch(55% 0.015 45);
  --border: oklch(85% 0.015 55);
  --border-strong: oklch(70% 0.02 50);
  --border-social: oklch(55% 0.02 40);
  --icon-chip-bg: oklch(90% 0.015 55);

  --accent: oklch(58% 0.1 40);       /* default: terracotta. alternates: green oklch(58% 0.1 145), blue oklch(58% 0.1 250), magenta oklch(58% 0.1 320) */
  --accent-soft: oklch(90% 0.03 40);
  --accent-sub: oklch(38% 0.03 40);

  --radius-sm: 10px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

::selection { background: oklch(80% 0.06 45); }

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.75; }

.page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 56px 20px 80px;
}

.container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Photo */
.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  margin-bottom: 20px;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Name */
.name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--heading-ink);
  margin: 0;
  text-align: center;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 18px;
  font-size: 15px;
  list-style: none;
  padding: 0;
}

/* Location */
.location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted-45);
}

/* Socials */
.socials {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  align-items: center;
}
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-social);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Links list */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}
.link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border);
}
.link-row.is-promo {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.link-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--icon-chip-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.link-row.is-promo .link-icon {
  background: var(--accent);
  color: var(--bg);
}
.icon-glyph-lg {
  font-size: 24px;
}
.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.link-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.link-subtitle {
  font-size: 12.5px;
  color: var(--muted-50);
}
.link-row.is-promo .link-subtitle {
  color: var(--accent-sub);
}

/* Follower stats */
.stats {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}
.stat-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--stat-card-bg);
  border: 1px solid var(--border);
}
.stat-card svg { flex-shrink: 0; }
.stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-count {
  font-weight: 700;
  font-size: 26px;
  color: var(--heading-ink);
}
.stat-label {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--muted-50);
}
.stat-likes {
  font-size: 11px;
  color: var(--muted-55);
  margin-top: 2px;
}

/* Footer */
.footer {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted-55b);
}

/* Cookie consent banner */
.consent-banner[hidden] {
  display: none;
}
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 14px 20px;
  background: oklch(24% 0.02 40);
  color: oklch(96% 0.012 60);
  font-size: 13px;
}
.consent-text {
  max-width: 320px;
}
.consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.consent-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid oklch(96% 0.012 60);
}
.consent-accept {
  background: oklch(96% 0.012 60);
  color: oklch(24% 0.02 40);
}
.consent-decline {
  background: transparent;
  color: oklch(96% 0.012 60);
}
