@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/montserrat-400.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/montserrat-500.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/montserrat-600.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/montserrat-700.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./fonts/montserrat-800.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/poppins-400.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/poppins-600.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/poppins-700.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/playfair-400.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/playfair-700.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/roboto-slab-400.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/roboto-slab-700.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/space-mono-400.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/space-mono-700.ttf") format("truetype");
}

:root {
  --background: #f5f2ea;
  --foreground: #15171a;
  --muted: #64615d;
  --line: #ded8ca;
  --panel: #fffdf8;
  --ink: #111827;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(140deg, rgba(20, 108, 148, 0.12), transparent 30%),
    linear-gradient(320deg, rgba(196, 69, 54, 0.1), transparent 34%),
    var(--background);
  color: var(--foreground);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.splashScreen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 99, 58, 0.13), transparent 34%),
    #fffdf8;
  transition: opacity 0.48s ease, visibility 0.48s ease;
}

.splashScreen.isHidden {
  opacity: 0;
  visibility: hidden;
}

.splashCard {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 320px);
  text-align: center;
}

.splashAnimation {
  width: 170px;
  height: 170px;
}

.splashAnimationFallback {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 99, 58, 0.09);
  color: #00633a;
  font-size: 34px;
  font-weight: 800;
}

.splashLogo {
  width: 112px;
  height: auto;
}

.splashCard p {
  margin: 0;
  color: #00633a;
  font-size: 12px;
  font-weight: 800;
}

.splashProgress {
  overflow: hidden;
  width: min(100%, 260px);
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 99, 58, 0.12);
}

.splashProgress span {
  display: block;
  width: 1%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00633a, #24b36b);
  box-shadow: 0 0 18px rgba(36, 179, 107, 0.38);
  transition: width 0.18s ease;
}

.splashPercent {
  color: #00633a;
  font-size: 12px;
  font-weight: 800;
}

.appShell {
  display: grid;
  grid-template-columns: minmax(320px, 430px) 1fr;
  min-height: 100vh;
}

.authPage {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.authCard {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 460px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.12);
}

.authBrand {
  color: var(--foreground);
  text-decoration: none;
}

.authFooter {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.authFooter a {
  color: #146c94;
  font-weight: 800;
}

.dashboardShell {
  min-height: 100vh;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
}

.siteHeaderInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.siteHeader-dashboard {
  padding: 24px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.84);
  backdrop-filter: blur(18px);
}

.siteHeader-dashboard .siteHeaderInner {
  width: 100%;
}

.dashboardWorkspace {
  padding-top: 28px;
}

.homePage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(20, 108, 148, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(249, 115, 22, 0.18), transparent 28%),
    #f7f3ea;
}

.siteHeader-home {
  padding-top: 22px;
  background: linear-gradient(180deg, rgba(247, 243, 234, 0.96), rgba(247, 243, 234, 0));
}

.siteHeader-home .siteHeaderInner {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.siteHeader h1 {
  font-size: 22px;
}

.homeActions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.homeActions a {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.homeLogin {
  background: #ffffff;
  border: 1px solid var(--line);
}

.homeSignup {
  background: #15171a;
  color: #ffffff;
}

.homeHero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
  width: min(100% - 40px, 1280px);
  min-height: calc(100vh - 138px);
  margin: 0 auto;
  padding: 56px 0;
}

.homeCopy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #12351d;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 0.98;
}

.homeCopy > p {
  max-width: 680px;
  color: #31402f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.claimForm {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  gap: 0;
  width: min(100%, 650px);
  margin-top: 34px;
  overflow: hidden;
  border: 2px solid #12351d;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 53, 29, 0.14);
}

.claimForm span,
.claimForm input,
.claimForm button {
  min-height: 52px;
  border: 0;
}

.claimForm span {
  display: inline-flex;
  align-items: center;
  padding-left: 22px;
  color: #64705f;
  font-weight: 800;
}

.claimForm input {
  border-radius: 0;
  padding: 0 8px;
  font-weight: 800;
}

.claimForm input:focus {
  box-shadow: none;
}

.claimForm button {
  padding: 0 22px;
  background: #12351d;
  color: #ffffff;
  font-weight: 800;
}

.homeShowcase {
  display: grid;
  place-items: center;
}

.homePhone {
  overflow: hidden;
  width: min(100%, 390px);
  border: 1px solid #1f2937;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.22);
  transform: rotate(2deg);
}

.homePhoneTop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  color: #e5e7eb;
  font-size: 12px;
}

.homePhoneTop span {
  height: 4px;
  border-radius: 999px;
  background: #374151;
}

.homePhoneTop p {
  margin: 0;
}

.homePhone .publicPage {
  min-height: 610px;
}

.homeFeatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(100% - 40px, 1280px);
  margin: 0 auto 34px;
}

.homeFeatures article {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.homeFeatures strong {
  font-size: 15px;
}

.homeFeatures p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.productPanel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
  padding: 34px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(18px);
}

.brandRow,
.workspaceHeader,
.rowActions,
.quickStats {
  display: flex;
  align-items: center;
}

.brandRow {
  gap: 14px;
}

.mark,
.avatar {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #146c94;
  font-weight: 800;
}

.mark {
  width: 68px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
  font-size: 0;
}

.brandLogoImage {
  display: block;
}

.eyebrow {
  margin: 0 0 4px;
  color: #146c94;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.1;
}

h3 {
  margin-bottom: 14px;
  font-size: 15px;
}

.authSwitch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ebe4d7;
}

.authSwitch button,
.ghostButton,
.primaryButton,
.linkForm button,
.rowActions button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.authSwitch button {
  background: transparent;
  color: var(--muted);
}

.authSwitch .selected {
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(36, 31, 22, 0.08);
}

.authForm,
.editorStack,
.sectionBlock,
.linkList,
.linkEditor,
.publicLinks,
#registerFields {
  display: flex;
  flex-direction: column;
}

.authForm,
.editorStack,
.linkList,
#registerFields {
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #3a3937;
  font-size: 12px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

input {
  height: 40px;
  padding: 0 12px;
}

select {
  height: 40px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 11px 12px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #146c94;
  box-shadow: 0 0 0 3px rgba(20, 108, 148, 0.14);
}

.primaryButton,
.linkForm button {
  background: #15171a;
  color: #ffffff;
}

.ghostButton,
.rowActions button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.notice {
  margin: 0;
  color: #146c94;
  font-size: 12px;
  font-weight: 700;
}

.quickStats {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.quickStats span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quickStats a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #146c94;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.workspace {
  min-width: 0;
  padding: 34px;
}

.workspaceHeader {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.editorGrid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 390px);
  gap: 24px;
  align-items: start;
}

.sectionBlock {
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
}

.swatches {
  display: flex;
  gap: 10px;
  align-items: center;
}

.swatches button {
  width: 32px;
  height: 32px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.swatches .activeSwatch {
  box-shadow: 0 0 0 3px #15171a;
}

.themeGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fontGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.themeOption,
.fontOption {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.themeOption strong,
.fontOption strong {
  font-size: 12px;
}

.themeOption small,
.fontOption span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.selectedTheme,
.selectedFont {
  border-color: #15171a;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.fontOption {
  min-height: 74px;
  align-content: center;
}

.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

.font-poppins {
  font-family: "Poppins", sans-serif;
}

.font-playfair {
  font-family: "Playfair Display", Georgia, serif;
}

.font-roboto-slab {
  font-family: "Roboto Slab", Georgia, serif;
}

.font-space-mono {
  font-family: "Space Mono", monospace;
}

.themePreview {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 10px;
  border-radius: 8px;
}

.themePreview i,
.themePreview b {
  display: block;
  border-radius: 999px;
}

.themePreview i {
  width: 28px;
  height: 28px;
}

.themePreview b {
  height: 9px;
}

.themePreview.theme-minimal {
  background: linear-gradient(180deg, #d7edf4, #fffdf8);
}

.themePreview.theme-minimal i {
  background: #146c94;
}

.themePreview.theme-minimal b {
  border: 1px solid #146c94;
  background: #ffffff;
}

.themePreview.theme-glass {
  background: linear-gradient(135deg, #bbf7d0, #bfdbfe 54%, #f8fafc);
}

.themePreview.theme-glass i,
.themePreview.theme-glass b {
  background: rgba(255, 255, 255, 0.72);
}

.themePreview.theme-neon {
  background: #09090b;
}

.themePreview.theme-neon i {
  background: #a78bfa;
}

.themePreview.theme-neon b {
  background: #22d3ee;
}

.themePreview.theme-editorial {
  background: #f5f0e6;
}

.themePreview.theme-editorial i {
  background: #111827;
  border-radius: 4px;
}

.themePreview.theme-editorial b {
  background: #d1bfa5;
  border-radius: 2px;
}

.themePreview.theme-sunset {
  background: linear-gradient(135deg, #ffedd5, #fecdd3, #fde68a);
}

.themePreview.theme-sunset i {
  background: #f97316;
}

.themePreview.theme-sunset b {
  background: #7c2d12;
}

.themePreview.theme-aurora {
  background: linear-gradient(120deg, #67e8f9, #c4b5fd, #f0abfc, #86efac);
  background-size: 220% 220%;
  animation: auroraShift 6s ease-in-out infinite;
}

.themePreview.theme-aurora i,
.themePreview.theme-aurora b {
  background: rgba(255, 255, 255, 0.76);
}

.themePreview.theme-pulse {
  background: #111827;
}

.themePreview.theme-pulse i {
  background: #fb7185;
  animation: pulseGlow 1.8s ease-in-out infinite;
}

.themePreview.theme-pulse b {
  background: #fda4af;
}

.themePreview.theme-orbit {
  background:
    radial-gradient(circle at 24% 24%, #ffffff 0 8px, transparent 9px),
    radial-gradient(circle at 70% 62%, #fde68a 0 8px, transparent 9px),
    #0f172a;
}

.themePreview.theme-orbit i {
  border: 2px solid #38bdf8;
  background: transparent;
}

.themePreview.theme-orbit b {
  background: #38bdf8;
}

.themePreview.theme-chrome {
  background: linear-gradient(135deg, #f8fafc, #94a3b8 50%, #ffffff);
}

.themePreview.theme-chrome i,
.themePreview.theme-chrome b {
  background: #0f172a;
}

.themePreview.theme-confetti {
  background:
    radial-gradient(circle at 20% 22%, #f43f5e 0 5px, transparent 6px),
    radial-gradient(circle at 78% 26%, #22c55e 0 5px, transparent 6px),
    radial-gradient(circle at 42% 70%, #3b82f6 0 5px, transparent 6px),
    #fff7ed;
}

.themePreview.theme-confetti i {
  background: #f97316;
}

.themePreview.theme-confetti b {
  background: #111827;
}

.linkForm {
  display: grid;
  grid-template-columns: 1fr 1.15fr 132px 112px;
  gap: 10px;
}

.linkEditor {
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.rowActions {
  justify-content: space-between;
  gap: 12px;
}

.toggle {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
}

.toggle input {
  width: 18px;
  height: 18px;
}

.phonePreview {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border: 1px solid #1f2937;
  border-radius: 26px;
  background: #111827;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
}

.phoneTop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  color: #e5e7eb;
  font-size: 12px;
}

.phoneTop span {
  height: 4px;
  border-radius: 99px;
  background: #374151;
}

.phoneTop p {
  margin: 0;
}

.publicPage {
  min-height: 620px;
  padding: 34px 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent), #ffffff 72%), #fffdf8 52%),
    #fffdf8;
  text-align: center;
}

.publicProfilePage {
  min-height: 100vh;
  padding: 0;
}

.publicFullPage {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  border-radius: 0;
  box-shadow: none;
}

.publicInner {
  width: min(100%, 440px);
  padding: 72px 22px 42px;
}

.publicPage.theme-glass {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent), #dcfce7 50%), #dbeafe 52%, #fffdf8);
}

.publicPage.theme-glass .avatar,
.publicPage.theme-glass .publicLinks a {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.62);
  color: #0f172a;
  backdrop-filter: blur(14px);
}

.publicPage.theme-neon {
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent), #ffffff 10%), transparent 34%),
    #09090b;
  color: #f8fafc;
}

.publicPage.theme-neon .avatar {
  background: #a78bfa;
  box-shadow: 0 0 38px rgba(167, 139, 250, 0.66);
}

.publicPage.theme-neon p {
  color: #cbd5e1;
}

.publicPage.theme-neon .publicLinks a {
  border: 1px solid #22d3ee;
  background: rgba(8, 47, 73, 0.78);
  color: #f8fafc;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.2);
}

.publicPage.theme-editorial {
  background: #f5f0e6;
  color: #111827;
  text-align: left;
}

.publicPage.theme-editorial .avatar {
  margin-left: 0;
  border-radius: 8px;
  background: #111827;
}

.publicPage.theme-editorial p {
  margin-left: 0;
  color: #5f574c;
}

.publicPage.theme-editorial .publicInner {
  width: min(100%, 560px);
}

.publicPage.theme-editorial .publicLinks a {
  border-width: 0 0 2px;
  border-color: #111827;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.publicPage.theme-sunset {
  background:
    linear-gradient(160deg, #ffedd5 0%, #fecdd3 46%, #fde68a 100%);
  color: #451a03;
}

.publicPage.theme-sunset .avatar {
  background: #f97316;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.26);
}

.publicPage.theme-sunset p {
  color: #7c2d12;
}

.publicPage.theme-sunset .publicLinks a {
  border: 0;
  background: #fff7ed;
  color: #451a03;
  box-shadow: 0 10px 20px rgba(124, 45, 18, 0.14);
}

.publicPage.theme-aurora {
  background: linear-gradient(120deg, #ccfbf1, #dbeafe, #f5d0fe, #dcfce7);
  background-size: 260% 260%;
  animation: auroraShift 9s ease-in-out infinite;
  color: #0f172a;
}

.publicPage.theme-aurora .avatar,
.publicPage.theme-aurora .publicLinks a {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.publicPage.theme-pulse {
  background:
    radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--accent), #ffffff 18%), transparent 34%),
    #111827;
  color: #f9fafb;
}

.publicPage.theme-pulse .avatar {
  background: #fb7185;
  animation: pulseGlow 2.2s ease-in-out infinite;
}

.publicPage.theme-pulse p {
  color: #d1d5db;
}

.publicPage.theme-pulse .publicLinks a {
  border: 0;
  background: #f9fafb;
  color: #111827;
  animation: buttonFloat 4s ease-in-out infinite;
}

.publicPage.theme-orbit {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  color: #f8fafc;
}

.publicPage.theme-orbit::before {
  content: "";
  position: absolute;
  inset: 58px auto auto 50%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: orbitSpin 12s linear infinite;
}

.publicPage.theme-orbit .publicInner {
  position: relative;
  z-index: 1;
}

.publicPage.theme-orbit p {
  color: #cbd5e1;
}

.publicPage.theme-orbit .publicLinks a {
  border: 1px solid rgba(56, 189, 248, 0.42);
  background: rgba(15, 23, 42, 0.8);
  color: #f8fafc;
}

.publicPage.theme-chrome {
  background: linear-gradient(135deg, #f8fafc, #cbd5e1 42%, #ffffff 66%, #64748b);
  color: #0f172a;
}

.publicPage.theme-chrome .avatar,
.publicPage.theme-chrome .publicLinks a {
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
}

.publicPage.theme-confetti {
  background:
    radial-gradient(circle at 12% 18%, #f43f5e 0 8px, transparent 9px),
    radial-gradient(circle at 88% 20%, #22c55e 0 8px, transparent 9px),
    radial-gradient(circle at 18% 82%, #3b82f6 0 8px, transparent 9px),
    radial-gradient(circle at 76% 76%, #f59e0b 0 8px, transparent 9px),
    #fff7ed;
  color: #111827;
}

.publicPage.theme-confetti .avatar {
  background: #f97316;
  animation: buttonFloat 3.5s ease-in-out infinite;
}

.publicPage.theme-confetti .publicLinks a {
  border: 2px solid #111827;
  background: #ffffff;
  color: #111827;
  box-shadow: 5px 5px 0 #111827;
}

.avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 28px;
  text-transform: uppercase;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatarUploader {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.avatarUploadPreview {
  width: 58px;
  height: 58px;
  margin: 0;
  flex: 0 0 auto;
  font-size: 22px;
}

.avatarUploadActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fileButton {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: #15171a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.fileButton input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.publicPage h2 {
  margin-bottom: 9px;
}

.publicPage p {
  max-width: 260px;
  margin: 0 auto 20px;
  color: var(--muted);
  line-height: 1.5;
}

.publicLinks {
  gap: 10px;
}

.publicLinks a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--accent), #000000 8%);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

.linkIcon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent), #ffffff 78%);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.lynkspaceBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 40px;
  margin: 10px auto 0;
  padding: 8px 13px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(12px);
}

.lynkspaceBadge img {
  display: block;
  width: 32px;
  height: 22px;
  object-fit: contain;
  padding: 3px;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.lynkspaceBadge strong {
  font-size: 12px;
  font-weight: 800;
}

@keyframes auroraShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(251, 113, 133, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 34px rgba(251, 113, 133, 0.48);
    transform: scale(1.05);
  }
}

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

@keyframes orbitSpin {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@media (max-width: 980px) {
  .appShell,
  .editorGrid,
  .homeHero,
  .homeFeatures {
    grid-template-columns: 1fr;
  }

  .productPanel {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .phonePreview {
    position: static;
    max-width: 430px;
    margin: 0 auto;
  }

  .homeHero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .productPanel,
  .workspace,
  .authCard,
  .siteHeader-dashboard {
    padding: 20px;
  }

  .siteHeader-dashboard .siteHeaderInner {
    align-items: flex-start;
    flex-direction: column;
  }

  .siteHeader-home .siteHeaderInner {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 24px;
  }

  .homeActions,
  .homeActions a {
    width: 100%;
  }

  .homeActions a {
    text-align: center;
  }

  .claimForm {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .claimForm span {
    min-height: 42px;
    padding: 14px 18px 0;
  }

  .claimForm input {
    padding: 0 18px;
  }

  h1 {
    font-size: 25px;
  }

  h2 {
    font-size: 21px;
  }

  .workspaceHeader {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .themeGrid,
  .fontGrid {
    grid-template-columns: 1fr;
  }

  .phoneTop {
    grid-template-columns: 32px 1fr 32px;
  }
}
