/* paléXlinkhub — minimal Linktree-style page */

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

:root {
  --bg: #0a0a0f;
  --accent: #7c3aed;
  --accent-hover: #8b5cf6;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --button-bg: rgba(255, 255, 255, 0.06);
  --button-border: rgba(124, 58, 237, 0.45);
  --max-width: 420px;
  --radius: 12px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Fade in on load */
.fade-in {
  animation: fadeIn 0.7s ease-out both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header / profile */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  width: 100%;
}

.logo {
  display: block;
  width: min(280px, 85vw);
  height: auto;
  object-fit: contain;
}

.business-name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Link buttons */
.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max-width);
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  background: var(--button-bg);
  border: 1px solid var(--button-border);
  border-radius: var(--radius);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
}

.link-btn:hover,
.link-btn:focus-visible {
  background-color: rgba(124, 58, 237, 0.18);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
  outline: none;
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 1rem;
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 480px) {
  body {
    padding: 1.5rem 1rem 2rem;
  }

  .page {
    gap: 1.5rem;
  }

  .business-name {
    font-size: 1.35rem;
  }

  .link-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .business-name {
    font-size: 1.65rem;
  }

  .link-btn {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
  }

  .link-btn {
    transition: background-color 0.15s ease, border-color 0.15s ease;
  }

  .link-btn:hover,
  .link-btn:focus-visible {
    transform: none;
  }
}
