*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --lp-bg: #0f0f0f;
  --lp-text: #ffffff;
  --lp-card: #1c1c1c;
  --lp-btn: #7c3aed;
  --lp-btn-text: #ffffff;
  --lp-desc: #aaaaaa;
  --lp-btn-soft: rgba(124, 58, 237, 0.2);
  --lp-btn-soft-strong: rgba(124, 58, 237, 0.35);
  --lp-btn-border: rgba(124, 58, 237, 0.3);
  --lp-btn-border-strong: rgba(124, 58, 237, 0.55);
  --lp-btn-glow: rgba(124, 58, 237, 0.28);
}

body {
  font-family: var(--lp-font, 'Poppins', system-ui, -apple-system, sans-serif);
  color: var(--lp-text, #ffffff);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--lp-bg, #0f0f0f);
}

.lp-topbar {
  background: var(--lp-card, #1c1c1c);
  border-bottom: 1px solid var(--lp-btn-border);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.lp-topbar-brand {
  font-size: 12px;
  letter-spacing: 0.35px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lp-desc, #aaaaaa);
  transition: color 0.18s ease;
}

.lp-topbar-brand:hover {
  color: var(--lp-text, #ffffff);
}

.lp-share-btn {
  appearance: none;
  border: 1px solid var(--lp-btn-border-strong);
  background: var(--lp-btn-soft);
  color: var(--lp-text, #ffffff);
  border-radius: 999px;
  height: 32px;
  padding: 0 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.lp-share-btn:hover {
  transform: translateY(-1px);
  background: var(--lp-btn-soft-strong);
  box-shadow: 0 8px 20px var(--lp-btn-glow);
}

.lp-main-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 24px 16px 20px;
}

.lp-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.lp-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.lp-profile-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lp-btn-border-strong);
}

.lp-profile-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--lp-text);
  line-height: 1.2;
}

.lp-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.lp-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--lp-text, #ffffff);
  border: 1px solid var(--lp-btn-border);
  background: var(--lp-card, #1c1c1c);
  text-decoration: none;
  transition: transform 0.16s ease;
}

.lp-social:hover { transform: translateY(-2px); }
.lp-social .lp-link-icon { color: inherit; }

.lp-profile-tagline {
  font-size: 14px;
  color: var(--lp-desc);
  max-width: 340px;
  line-height: 1.5;
}

.lp-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-link-card {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: var(--lp-card, #1c1c1c);
  border: 1px solid var(--lp-btn-border);
  border-radius: var(--lp-radius, 0.875rem);
  padding: 16px 20px;
  color: var(--lp-text, #ffffff);
  gap: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

/* Image of a link: replaces the icon, square and cropped by the delivery URL */
.lp-link-thumb {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: calc(var(--lp-radius, 0.875rem) * 0.6);
  object-fit: cover;
  background: rgba(127, 127, 127, 0.15);
}

.lp-link-card.has-thumb { padding: 10px 16px 10px 10px; }

.lp-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--lp-btn-glow);
  background: var(--lp-btn-soft);
}

.lp-link-inner {
  flex: 1;
  min-width: 0;
}

.lp-link-label {
  font-size: 15px;
  font-weight: 700;
  display: block;
  word-break: break-word;
}

.lp-link-desc {
  font-size: 12px;
  color: var(--lp-desc, #aaaaaa);
  margin-top: 3px;
  display: block;
  line-height: 1.4;
}

.lp-link-arrow {
  font-size: 16px;
  color: var(--lp-btn, #7c3aed);
  flex-shrink: 0;
  transition: transform 0.16s ease;
}

.lp-link-card:hover .lp-link-arrow {
  transform: translateX(4px);
}

.lp-footer-bar {
  background: var(--lp-card, #1c1c1c);
  border-top: 1px solid var(--lp-btn-border);
  padding: 10px 24px;
  text-align: center;
}

.lp-footer-text {
  font-size: 12px;
  color: var(--lp-desc);
  letter-spacing: 0.3px;
}

.lp-footer-brand {
  font-weight: 700;
  text-decoration: none;
  color: transparent;
  background: linear-gradient(to right, #ec4899, #facc15, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pro style options: button look (data-buttons on <html>) and featured links */
[data-buttons='solid'] .lp-link-card,
.lp-link-card.is-featured {
  background: var(--lp-btn);
  border-color: var(--lp-btn);
  color: var(--lp-btn-text);
}

[data-buttons='solid'] .lp-link-card:hover,
.lp-link-card.is-featured:hover {
  background: var(--lp-btn);
  filter: brightness(1.1);
}

[data-buttons='solid'] .lp-link-desc,
[data-buttons='solid'] .lp-link-arrow,
.is-featured .lp-link-desc,
.is-featured .lp-link-arrow {
  color: inherit;
  opacity: 0.85;
}

[data-buttons='outline'] .lp-link-card {
  background: transparent;
  border: 0.125rem solid var(--lp-btn);
}

[data-buttons='outline'] .lp-link-card:hover {
  background: var(--lp-btn-soft);
}

/* Outline buttons have no fill, so a featured link keeps the page text color (the solid text color would vanish) */
[data-buttons='outline'] .lp-link-card.is-featured {
  background: var(--lp-btn-soft);
  color: var(--lp-text, #ffffff);
}

[data-buttons='outline'] .lp-link-card.is-featured:hover {
  background: var(--lp-btn-soft-strong);
  filter: none;
}

[data-buttons='outline'] .is-featured .lp-link-desc,
[data-buttons='outline'] .is-featured .lp-link-arrow {
  color: inherit;
}

.lp-link-card.is-featured {
  padding: 1.5rem 1.375rem;
  box-shadow: 0 0.75rem 1.75rem var(--lp-btn-glow);
}

.is-featured .lp-link-label {
  font-size: 1.125rem;
}

/* Layout blocks and link icons */
.lp-section-title {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--lp-desc, #aaaaaa);
}

.lp-divider {
  width: 100%;
  height: 0;
  margin: 0.5rem 0;
  border: 0;
  border-top: 1px solid var(--lp-btn-border);
}

.lp-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--lp-btn, #7c3aed);
}

.lp-link-glyph {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
}

[data-buttons='solid'] .lp-link-icon,
.is-featured .lp-link-icon { color: inherit; }

/* Background textures (Pro). Drawn on a fixed layer behind the page, in a soft tone of the button color. */
[data-pattern]:not([data-pattern='none']) body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

[data-pattern='dots'] body::before {
  background-image: radial-gradient(var(--lp-ink) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

[data-pattern='grid'] body::before {
  background-image:
    linear-gradient(var(--lp-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--lp-ink) 1px, transparent 1px);
  background-size: 28px 28px;
}

[data-pattern='lines'] body::before {
  background-image: repeating-linear-gradient(45deg, var(--lp-ink) 0 1px, transparent 1px 14px);
}

[data-pattern='glow'] body::before {
  background-image: radial-gradient(ellipse at 50% 0%, var(--lp-btn-soft-strong), transparent 65%);
}
