@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap");

:root {
  --bg-0: rgb(10, 11, 15);
  --bg-1: rgb(16, 18, 24);
  --surface: rgba(20, 23, 31, 0.9);
  --surface-soft: rgba(27, 31, 42, 0.9);
  --border: rgba(255, 110, 136, 0.16);
  --text: rgb(244, 246, 250);
  --muted: rgb(168, 175, 191);
  --accent: rgb(224, 52, 89);
  --accent-2: rgb(255, 117, 145);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: Manrope, Segoe UI, Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.45;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 620px at 10% -15%, rgba(255, 117, 145, 0.16), transparent 62%),
    radial-gradient(1000px 520px at 95% 0%, rgba(77, 96, 168, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

.profile-body {
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
}

a {
  color: var(--accent-2);
}

.wrap {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.narrow {
  max-width: 620px;
  padding-top: 2rem;
}

.topbar {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(14, 16, 22, 0.72);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0.8rem;
  z-index: 40;
}

.topbar nav {
  display: flex;
  gap: 1rem;
}

.topbar nav a {
  text-decoration: none;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.auth-links {
  display: flex;
  gap: 0.6rem;
}

.hero {
  text-align: center;
  padding: 5rem 0 2rem;
}

.home {
  padding-bottom: 3rem;
}

.hero-split {
  min-height: calc(100vh - 6rem);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 1.5rem 0 0.25rem;
}

.hero-copy {
  padding: 0.6rem 0.2rem 1.2rem;
  max-width: 760px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  margin: 0.4rem 0 0.8rem;
}

.hero-copy p {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
}

.hero-visual {
  min-height: 240px;
  width: min(720px, 94vw);
  display: grid;
  align-content: start;
  gap: 0.8rem;
  transform: translateY(var(--hero-parallax, 0px));
  transition: transform 120ms linear;
}

.hero-mock-top {
  display: flex;
  gap: 0.35rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.hero-mock-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.36), rgba(224, 52, 89, 0.45));
  border: 1px solid var(--border);
}

.hero-mock-line {
  height: 10px;
  border-radius: 999px;
  width: 72%;
  background: rgba(255, 255, 255, 0.13);
}

.hero-mock-line.wide {
  width: 88%;
}

.hero-mock-links {
  display: grid;
  gap: 0.6rem;
}

.hero-mock-links span {
  height: 35px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-mock-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  color: var(--text);
  background: rgba(224, 52, 89, 0.16);
}

.ready-start {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(12, 14, 20, 0.46);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.kicker {
  color: rgb(230, 125, 144);
  margin: 0;
}

.hero h1 {
  margin: 0.5rem 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.panel {
  margin-bottom: 1rem;
  padding: 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-soft), var(--surface));
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.25);
}

.grid {
  display: grid;
  gap: 0.8rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.market {
  grid-template-columns: 2fr 1fr;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(14, 17, 24, 0.82);
}

.card h3 {
  margin: 0 0 0.4rem;
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.small {
  color: var(--muted);
  font-size: 0.85rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  transition: transform 130ms ease, box-shadow 130ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(230, 57, 90, 0.3);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
}

.button.full {
  width: 100%;
  margin-top: 0.75rem;
}

.premium {
  border-color: rgba(230, 57, 90, 0.45);
}

label {
  display: block;
  margin-top: 0.65rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: rgba(9, 12, 17, 0.9);
  color: white;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 117, 145, 0.6);
  box-shadow: 0 0 0 3px rgba(224, 52, 89, 0.14);
}

.dash-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.dash-tab-bar {
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.55rem;
  background: rgba(12, 14, 20, 0.48);
}

.tab {
  border: 1px solid var(--border);
  background: rgba(12, 15, 22, 0.8);
  color: var(--text);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.tab.is-active {
  border-color: rgba(255, 117, 145, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 117, 145, 0.1);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.panel-title {
  margin: 0.1rem 0 0.1rem;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
  align-items: start;
}

.preview-panel {
  position: sticky;
  top: 6.3rem;
}

.live-profile {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(9, 12, 17, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  min-height: 760px;
  position: relative;
}

.live-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(224, 52, 89, 0.35), rgba(65, 86, 160, 0.2));
  background-size: cover;
  background-position: center;
  filter: saturate(0.95);
}

.live-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 15, 0.38), rgba(10, 11, 15, 0.76));
}

.live-content {
  padding: 0.9rem;
  min-height: 760px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.live-title-card {
  max-width: 520px;
  margin: 0 auto;
  border-radius: 14px;
  padding: 1rem;
  background: rgba(10, 12, 17, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-links-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.live-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.live-links-grid .preview-link {
  text-align: left;
}

.live-content.linkdesign-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.8rem;
  align-items: center;
}

.live-content.linkdesign-grid .live-title-card {
  margin: 0;
  max-width: 100%;
}

.live-content.linkdesign-grid .live-links {
  margin-top: 0;
}

.live-content.linkdesign-bubbles {
  display: block;
  position: relative;
}

.live-content.linkdesign-bubbles .live-title-card {
  position: relative;
  z-index: 2;
}

.live-content.linkdesign-bubbles .live-links {
  position: absolute;
  inset: 0;
  margin-top: 0;
  pointer-events: none;
}

.live-content.font-manrope { font-family: Manrope, sans-serif; }
.live-content.font-inter { font-family: Inter, sans-serif; }
.live-content.font-space_grotesk { font-family: "Space Grotesk", sans-serif; }
.live-content.font-poppins { font-family: Poppins, sans-serif; }
.live-content.font-sora { font-family: Sora, sans-serif; }
.live-content.font-outfit { font-family: Outfit, sans-serif; }

.live-pfp {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: -42px;
  background: rgba(9, 12, 17, 0.95);
}

.live-pfp-fallback {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(224, 52, 89, 0.65), rgba(66, 88, 160, 0.42));
}

.form-block {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(15, 18, 25, 0.7), rgba(10, 12, 17, 0.7));
  margin-bottom: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.subhead {
  margin: 0 0 0.4rem;
  text-shadow: 0 0 10px rgba(255, 117, 145, 0.18);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.toggle {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(23, 23, 23, 0.45);
}

.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  transition: background 160ms ease, border-color 160ms ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgb(240, 240, 240);
  transition: transform 160ms ease;
}

.toggle input:checked + .switch {
  background: rgba(224, 52, 89, 0.75);
  border-color: rgba(255, 145, 145, 0.35);
}

.toggle input:checked + .switch::after {
  transform: translateX(18px);
}

.toggle-text {
  font-weight: 650;
}

.toggle.compact {
  display: inline-grid;
  grid-template-columns: 44px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.picker {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 0.35rem;
}

.pick-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(23, 23, 23, 0.45);
  cursor: pointer;
  display: grid;
  gap: 0.4rem;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.pick-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 145, 145, 0.25);
}

.pick-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pick-card:has(input:checked) {
  border-color: rgba(255, 110, 136, 0.6);
  box-shadow: 0 0 0 3px rgba(230, 57, 90, 0.14);
}

.pick-visual {
  height: 62px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pick-title {
  font-weight: 800;
}

.mini-lines {
  width: 78%;
  display: grid;
  gap: 8px;
}

.mini-lines::before,
.mini-lines::after {
  content: "";
  height: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-lines::after {
  width: 68%;
}

.mini-grid {
  width: 78%;
  height: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mini-grid::before,
.mini-grid::after {
  content: "";
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-grid::after {
  grid-column: 2;
}

.mini-bubbles {
  display: flex;
  gap: 8px;
}

.mini-bubbles::before,
.mini-bubbles::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.stack {
  display: grid;
}

.error {
  color: rgb(255, 160, 160);
}

.success {
  color: rgb(160, 255, 190);
}

.profile-shell {
  background-size: cover;
  background-position: center;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 1.2rem 0;
}

.section-title {
  margin: 0.25rem 0 0.75rem;
}

.inline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.inline-form {
  display: inline;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.table th,
.table td {
  padding: 0.6rem 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-weight: 700;
  text-align: left;
}

.muted {
  color: var(--muted);
}

.profile-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  width: min(1200px, 96vw);
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.995);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-cue {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 2px;
  height: 26px;
  margin: 0.35rem auto 0;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 117, 145, 0.7), transparent);
  animation: cue-drop 1.5s ease-in-out infinite;
}

@keyframes cue-drop {
  0% {
    transform: translateY(0);
    opacity: 0.85;
  }
  100% {
    transform: translateY(8px);
    opacity: 0.2;
  }
}

.profile-page.layout-top {
  align-items: flex-start;
  padding-top: 2.5rem;
}

.profile-page.layout-top_left {
  align-items: flex-start;
  padding-top: 2rem;
}

.profile-page.layout-bottom {
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

.profile-shell {
  padding: 1.2rem;
  width: 100%;
  min-height: 78vh;
}

.particles-canvas,
.trail-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.profile-inner {
  position: relative;
  display: flex;
  flex-direction: column;
}

.profile-shell.layout-centered .profile-inner,
.profile-shell.layout-floating .profile-inner,
.profile-shell.layout-top .profile-inner,
.profile-shell.layout-bottom .profile-inner {
  align-items: center;
  text-align: center;
}

.profile-shell.layout-top_left .profile-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  text-align: left;
}

.profile-shell.layout-top_left .pfp {
  margin: 0;
}

.profile-shell.layout-top_left .profile-slug,
.profile-shell.layout-top_left .profile-name,
.profile-shell.layout-top_left .profile-bio,
.profile-shell.layout-top_left .meta,
.profile-shell.layout-top_left .links-section,
.profile-shell.layout-top_left .powered {
  grid-column: 2;
}

.profile-shell.layout-minimal .profile-bio,
.profile-shell.layout-minimal .meta,
.profile-shell.layout-minimal .links-section,
.profile-shell.layout-minimal .powered {
  display: none;
}

.profile-shell.layout-bottom .profile-inner {
  margin-top: auto;
}

.profile-shell.layout-floating .profile-inner {
  max-width: 560px;
  margin: 0 auto;
  border: 3px solid rgba(255, 117, 145, 0.42);
  border-radius: 16px;
  background: rgba(10, 12, 17, 0.66);
  padding: 1rem;
}

.profile-slug {
  margin: 0.1rem 0 0.25rem;
}

.pfp-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(224, 52, 89, 0.65), rgba(66, 88, 160, 0.42));
}

.pfp {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: block;
  margin: 0 0 0.8rem;
}

.profile-page.layout-minimal .pfp {
  margin-bottom: 0.5rem;
}

.profile-name {
  margin: 0.25rem 0 0.6rem;
}

.profile-bio {
  color: var(--muted);
  line-height: 1.6;
}

.powered {
  margin-top: 1rem;
}

.glow {
  box-shadow: 0 0 40px rgba(255, 87, 124, 0.18);
}

.glow-text {
  text-shadow: 0 0 18px rgba(255, 87, 124, 0.45);
}

.animated-text {
  animation: text-flicker 2.6s ease-in-out infinite;
}

@keyframes text-flicker {
  0% {
    opacity: 0.9;
    transform: translateZ(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.9;
  }
}

.splash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.splash-content {
  width: min(720px, 96vw);
  text-align: center;
}

.splash-title {
  margin-top: 0.2rem;
}

.splash-message {
  color: var(--muted);
  line-height: 1.6;
}

.floating-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at center, rgba(255, 87, 124, 0.16), transparent 60%);
  pointer-events: none;
}

.live-profile.layout-centered .live-content,
.live-profile.layout-floating .live-content,
.live-profile.layout-top .live-content,
.live-profile.layout-bottom .live-content {
  text-align: center;
}

.live-profile.layout-floating {
  border: 1px solid rgba(255, 117, 145, 0.35);
  background: linear-gradient(180deg, rgba(31, 21, 27, 0.95), rgba(14, 17, 24, 0.92));
}

.live-profile.layout-floating .live-title-card {
  border: 1px solid rgba(255, 117, 145, 0.4);
  background: rgba(12, 14, 20, 0.72);
}

.live-profile.layout-top_left .live-content {
  text-align: left;
}

.live-profile.layout-top_left .live-pfp {
  float: left;
  margin-right: 0.7rem;
}

.live-profile.layout-minimal #liveBio,
.live-profile.layout-minimal .meta {
  display: none;
}

.live-profile.layout-top .live-content {
  justify-content: flex-start;
  padding-top: 1.4rem;
}

.live-profile.layout-bottom .live-content {
  justify-content: flex-end;
  padding-bottom: 1.4rem;
}

.live-profile.layout-top_left .live-content {
  justify-content: flex-start;
  padding-top: 1.2rem;
}

.live-profile.layout-top_left .live-title-card {
  margin: 0;
  max-width: 640px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
}

.live-profile.layout-top_left #liveDisplayName,
.live-profile.layout-top_left #liveSlug,
.live-profile.layout-top_left #liveBio,
.live-profile.layout-top_left .meta,
.live-profile.layout-top_left #liveBadgeRow {
  grid-column: 2;
}

.live-profile.borders-bold { border-width: 4px; }
.live-profile.borders-none { border: none; }

.live-profile.fx-particles .live-bg {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35) 1px, transparent 2px),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.25) 1px, transparent 2px),
    linear-gradient(135deg, rgba(224, 52, 89, 0.35), rgba(65, 86, 160, 0.2));
  background-size: 34px 34px, 42px 42px, cover;
}

.live-profile.fx-trail {
  box-shadow: 0 0 0 1px rgba(255, 117, 145, 0.2), 0 16px 38px rgba(255, 117, 145, 0.12);
}

.font-manrope { font-family: Manrope, sans-serif; }
.font-inter { font-family: Inter, sans-serif; }
.font-space_grotesk { font-family: "Space Grotesk", sans-serif; }
.font-poppins { font-family: Poppins, sans-serif; }
.font-sora { font-family: Sora, sans-serif; }
.font-outfit { font-family: Outfit, sans-serif; }

.theme-ember {
  --theme-a: rgba(224, 52, 89, 0.65);
  --theme-b: rgba(66, 88, 160, 0.35);
}

.theme-ice {
  --theme-a: rgba(120, 200, 255, 0.52);
  --theme-b: rgba(93, 120, 255, 0.3);
}

.theme-mono {
  --theme-a: rgba(190, 190, 190, 0.45);
  --theme-b: rgba(130, 130, 130, 0.3);
}

.theme-ember .live-bg,
.theme-ice .live-bg,
.theme-mono .live-bg {
  background: linear-gradient(135deg, var(--theme-a), var(--theme-b));
}

.theme-ember .profile-shell,
.theme-ice .profile-shell,
.theme-mono .profile-shell {
  background: linear-gradient(180deg, rgba(15, 18, 25, 0.72), rgba(9, 12, 17, 0.72));
}

.theme-ember .pfp-fallback,
.theme-ice .pfp-fallback,
.theme-mono .pfp-fallback,
.theme-ember .live-pfp-fallback,
.theme-ice .live-pfp-fallback,
.theme-mono .live-pfp-fallback {
  background: linear-gradient(135deg, var(--theme-a), var(--theme-b));
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 0.2rem 0 0.5rem;
}

.badge-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.77rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.live-links {
  margin-top: 0.85rem;
}

.live-links-list {
  display: grid;
  gap: 0.45rem;
}

.live-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.live-links-bubbles {
  position: relative;
  min-height: 300px;
  margin-top: 0.35rem;
}

.preview-link {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  text-align: center;
  overflow-wrap: anywhere;
  min-width: 0;
}

.bubble-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform:
    translate(-50%, -50%)
    rotate(calc(360deg / var(--n) * var(--i)))
    translateX(132px)
    rotate(calc(-360deg / var(--n) * var(--i)));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.28rem 0.52rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  pointer-events: auto;
}

.anim-float {
  animation: text-flicker 2.6s ease-in-out infinite;
}

.anim-bounce {
  animation: anim-bounce 1.9s ease-in-out infinite;
}

.anim-wave {
  animation: anim-wave 2.3s ease-in-out infinite;
}

.anim-flicker {
  animation: anim-flicker 1.1s steps(2, end) infinite;
}

@keyframes anim-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes anim-wave {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(0.6deg); }
  75% { transform: rotate(-0.6deg); }
  100% { transform: rotate(0deg); }
}

@keyframes anim-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.links-section {
  margin-top: 1.2rem;
}

.links-title {
  margin: 0 0 0.6rem;
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.links-list li a {
  text-decoration: none;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}

.link-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: rgba(23, 23, 23, 0.6);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
  min-width: 0;
}

.links-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.bubble {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  color: var(--text);
  background: rgba(23, 23, 23, 0.55);
}

@media (max-width: 840px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    position: static;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .topbar nav {
    display: none;
  }

}
