/* fever.dreams — public page. Clone of the Linktree "air" theme, fully theme-driven. */
:root {
  --bg: #eceef1;
  --text: #000000;
  --btn-bg: #ffffff;
  --btn-text: #000000;
  --btn-radius: 12px;
  --btn-shadow: none;
  --accent: #000000;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body { min-height: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Background layer */
#bgfx {
  position: fixed; inset: 0; z-index: -1;
  background: var(--bg);
  background-size: cover;
  background-position: center;
}
#bgfx.has-image::after {
  content: ''; position: absolute; inset: 0;
  background: var(--bg-overlay);
}
#bgfx.noise::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

main {
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Avatar */
.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Name + bio */
.name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}
.bio {
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  max-width: 480px;
  color: inherit;
  opacity: 0.92;
}
.bio a { color: var(--accent); font-weight: 600; }

/* Social row */
.socials {
  display: flex; gap: 14px; align-items: center;
  margin: 4px 0 6px;
}
.socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--social, var(--text));
  opacity: 0.9;
  transition: transform .15s ease, opacity .15s ease;
}
.socials a:hover { transform: scale(1.08); opacity: 1; }
.socials svg { width: 26px; height: 26px; fill: currentColor; }

/* Music player */
.music { width: 100%; max-width: 480px; }
.music iframe { width: 100%; border-radius: 12px; border: none; }
.music audio { width: 100%; }

/* Links */
.links { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.link {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: var(--btn-radius);
  box-shadow: var(--btn-shadow);
  padding: 14px 18px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .15s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.link:hover { transform: translateY(-2px); }
.link.shadow { box-shadow: 0 4px 14px rgba(0,0,0,0.10); }

.link-thumb {
  width: 52px; height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(0,0,0,0.05);
}
.link-body { flex: 1; min-width: 0; }
.link-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.link-desc {
  font-size: 13px; opacity: 0.75; margin-top: 2px; line-height: 1.45;
}
.link-desc a { color: inherit; text-decoration: underline; }
.link-arrow {
  flex-shrink: 0; width: 20px; height: 20px;
  opacity: 0.35;
}
.link-arrow svg { width: 100%; height: 100%; fill: currentColor; }

/* Footer */
.footer { margin-top: 18px; font-size: 13px; opacity: 0.55; text-align: center; }
.footer a { color: inherit; }

@media (max-width: 480px) {
  main { padding: 40px 16px 64px; }
  .avatar { width: 84px; height: 84px; }
}
