/* bani.link — Vue SPA styles (landing, auth, dashboard).
   Loaded after colors_and_type.css + shared.css. Accent themes via the
   `--accent` custom property, overridden by [data-accent] where present. */

[data-accent="pink"]  { --accent: var(--holo-pink); }
[data-accent="lilac"] { --accent: var(--holo-lilac); }
[data-accent="cyan"]  { --accent: var(--holo-cyan); }

.dot-sep { margin: 0 18px; color: var(--bone-faint); }
.holo-bar-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.footer-link { color: var(--bone-dim); transition: color 0.2s; }
.footer-link:hover { color: var(--bone); }
.crumb {
  display: inline-block;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--bone-faint); text-transform: uppercase; transition: color 0.2s;
}
.crumb:hover { color: var(--bone); }

/* shared section label */
.section-label { display: flex; align-items: baseline; gap: 16px; }
.sl-n { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--bone-faint); }
.sl-title { font-family: var(--ff-mono); font-size: 14px; letter-spacing: 0.4em; color: var(--bone); text-transform: uppercase; }
.sl-rule { flex: 1; height: 1px; background: var(--border); }
.sl-count { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--bone-faint); }

/* ====================== LANDING ====================== */
.landing-main { position: relative; max-width: 1200px; margin: 0 auto; padding: 72px 32px 120px; z-index: 5; }

.landing-hero { position: relative; padding-bottom: 80px; }
.hero-float-sticker {
  position: absolute; right: -20px; top: -20px; width: 200px; height: 200px;
  filter: drop-shadow(0 0 32px rgba(182,156,255,0.4)); pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.4em;
  color: var(--holo-lilac); text-transform: uppercase; margin-bottom: 24px;
  text-shadow: 0 0 12px rgba(182,156,255,0.33);
}
.hero-h1 {
  margin: 0; font-family: var(--ff-script); font-size: clamp(72px, 14vw, 180px);
  line-height: 0.85; letter-spacing: -0.01em; color: var(--bone); max-width: 920px;
}
.hero-em { font-style: normal; position: relative; }
.hero-em-text { position: relative; z-index: 2; }
.hero-em-bar {
  position: absolute; left: -2%; right: -2%; bottom: 8px; height: 14px;
  background: var(--holo-grad); opacity: 0.4; z-index: 1; filter: blur(2px);
}
.hero-sub {
  margin: 28px 0 0; max-width: 540px;
  font-family: var(--ff-mono); font-size: 14px; letter-spacing: 0.08em;
  color: var(--bone-dim); line-height: 1.7; text-transform: uppercase;
}
.claim-form {
  margin-top: 40px; display: flex; gap: 0; max-width: 520px;
  border: 1px solid var(--bone); border-radius: 999px; background: var(--void);
  padding: 4px; box-shadow: 0 0 32px rgba(182,156,255,0.25);
}
.claim-prefix {
  padding: 0 0 0 20px; display: flex; align-items: center;
  font-family: var(--ff-mono); font-size: 14px; letter-spacing: 0.08em;
  color: var(--bone-faint); text-transform: uppercase;
}
.claim-input {
  flex: 1; min-width: 0; padding: 14px 8px; background: transparent; border: 0; outline: none;
  font-family: var(--ff-mono); font-size: 14px; letter-spacing: 0.08em; color: var(--bone);
  text-transform: lowercase;
}
.claim-btn {
  padding: 0 22px; border-radius: 999px; background: var(--holo-grad); color: var(--void);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.18em; font-weight: 600;
  text-transform: uppercase; transition: all 0.24s;
}
.claim-btn:hover { box-shadow: 0 0 24px rgba(229,168,255,0.7); }
.hero-fine {
  margin-top: 18px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.3em;
  color: var(--bone-faint); text-transform: uppercase;
}

.landing-divider { margin: 0 0 72px; }
.landing-section { margin-bottom: 96px; }
.creator-grid {
  margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.feature-grid {
  margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.feature { position: relative; padding: 24px; background: var(--void); border: 1px solid var(--border); border-radius: 14px; }
.feature-n { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--bone-faint); text-transform: uppercase; }
.feature-title { margin: 8px 0 12px; font-family: var(--ff-script); font-size: 32px; font-weight: 500; color: var(--bone); line-height: 1; }
.feature-body { margin: 0; font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--bone-dim); line-height: 1.6; text-transform: uppercase; }

.landing-cta {
  position: relative; padding: 64px 32px; border: 1px solid var(--bone); border-radius: 24px;
  background: var(--void); overflow: hidden; text-align: center;
}
.cta-corner-tr { position: absolute; top: -1px; right: -1px; width: 96px; height: 48px; background: var(--holo-grad); clip-path: polygon(100% 0, 100% 100%, 0 0); }
.cta-corner-bl { position: absolute; bottom: -1px; left: -1px; width: 96px; height: 48px; background: var(--holo-grad); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.cta-eyebrow { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.4em; color: var(--bone-faint); text-transform: uppercase; margin-bottom: 16px; }
.cta-h2 { margin: 0; font-family: var(--ff-script); font-size: clamp(48px, 8vw, 96px); line-height: 0.9; color: var(--bone); }
.cta-btn {
  margin-top: 32px; padding: 14px 32px; border-radius: 999px; border: 1px solid var(--bone);
  background: var(--void); color: var(--bone); font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: 0.3em; text-transform: uppercase; transition: all 0.24s;
}
.cta-btn:hover { background: var(--holo-grad); color: var(--void); box-shadow: 0 0 32px rgba(229,168,255,0.5); }

.landing-footer {
  margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--bone-faint); text-transform: uppercase;
}

/* ====================== CREATOR CARD ====================== */
.creator-card {
  position: relative; text-align: left; padding: 22px; background: var(--void);
  border: 1px solid rgba(244,242,238,0.18); border-radius: 14px;
  display: flex; flex-direction: column; gap: 16px; overflow: hidden; min-height: 200px;
  transition: all 0.24s cubic-bezier(0.22,1,0.36,1);
}
.creator-card:hover { border-color: var(--bone); box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 31%, transparent); }
.cc-corner { position: absolute; top: -1px; right: -1px; width: 48px; height: 20px; background: var(--holo-grad); clip-path: polygon(100% 0, 100% 100%, 0 0); transition: all 0.32s var(--ease-out); }
.creator-card:hover .cc-corner { width: 80px; height: 32px; }
.cc-top { display: flex; align-items: center; gap: 14px; }
.cc-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--void); border: 1px solid var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-script); font-size: 22px; color: var(--bone);
  flex-shrink: 0; overflow: hidden; transition: color 0.24s;
}
.creator-card:hover .cc-avatar { color: var(--accent); }
.cc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cc-display { font-family: var(--ff-script); font-size: 26px; color: var(--bone); line-height: 1; }
.cc-handle { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--bone-faint); text-transform: uppercase; margin-top: 2px; }
.cc-bio { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bone-dim); line-height: 1.6; text-transform: uppercase; }
.cc-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed rgba(244,242,238,0.18); display: flex; align-items: center; justify-content: space-between; }
.cc-icons { display: flex; gap: 6px; color: var(--bone-dim); align-items: center; }
.cc-icon { width: 16px; height: 16px; display: inline-flex; }
.cc-icon svg { width: 16px; height: 16px; }
.cc-more { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--bone-faint); }
.cc-arrow { font-family: var(--ff-mono); font-size: 12px; color: var(--bone-dim); transition: all 0.24s; }
.creator-card:hover .cc-arrow { color: var(--accent); transform: translateX(4px); }

/* ====================== AUTH ====================== */
.auth-main { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 64px 24px; z-index: 5; }
.auth-card {
  position: relative; width: 100%; max-width: 440px; padding: 40px; background: var(--void);
  border: 1px solid var(--bone); border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 48px rgba(182,156,255,0.18);
}
.auth-corner { position: absolute; top: -1px; right: -1px; width: 80px; height: 40px; background: var(--holo-grad); clip-path: polygon(100% 0, 100% 100%, 0 0); }
.auth-h1 { margin: 18px 0 0; font-family: var(--ff-script); font-size: clamp(40px, 9vw, 60px); line-height: 0.95; color: var(--bone); }
.auth-sub { margin: 8px 0 28px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--bone-dim); text-transform: uppercase; }
.auth-form { display: flex; flex-direction: column; gap: 6px; }
.field-label { margin-top: 14px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--bone-faint); text-transform: uppercase; }
.field-opt { color: rgba(140,140,146,0.7); }
.field {
  width: 100%; padding: 12px 14px; background: var(--void); border: 1px solid var(--border);
  border-radius: 10px; outline: none; color: var(--bone);
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: 0.06em; transition: border-color 0.2s, box-shadow 0.2s;
}
.field:focus { border-color: var(--accent); box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 30%, transparent); }
.handle-field { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.handle-field:focus-within { border-color: var(--accent); }
.handle-prefix { padding: 0 0 0 14px; font-family: var(--ff-mono); font-size: 13px; color: var(--bone-faint); white-space: nowrap; }
.field-bare { border: 0; border-radius: 0; }
.field-bare:focus { box-shadow: none; }
.auth-error { margin-top: 12px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--holo-pink); text-transform: uppercase; }
.auth-btn {
  margin-top: 22px; padding: 14px; border-radius: 999px; background: var(--holo-grad); color: var(--void);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase;
  transition: box-shadow 0.24s;
}
.auth-btn:hover:not(:disabled) { box-shadow: 0 0 24px rgba(229,168,255,0.7); }
.auth-btn:disabled { opacity: 0.6; }
.auth-switch { margin-top: 20px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bone-faint); text-transform: uppercase; }
.auth-hint { margin-top: 10px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; color: rgba(140,140,146,0.6); text-transform: uppercase; }
.auth-notice { margin: 18px 0; padding: 12px 14px; border: 1px solid var(--border); border-left: 2px solid var(--holo-lilac); border-radius: 8px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--bone-dim); text-transform: uppercase; }
.hero-notice { margin-top: 18px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--holo-lilac); text-transform: uppercase; text-shadow: 0 0 12px rgba(182,156,255,0.4); }

/* ====================== DASHBOARD ====================== */
.dash-main { position: relative; max-width: 920px; margin: 0 auto; padding: 64px 32px 120px; z-index: 5; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.dash-eyebrow { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.4em; color: var(--bone-faint); text-transform: uppercase; }
.dash-h1 { margin: 8px 0 0; font-family: var(--ff-script); font-size: clamp(40px, 8vw, 64px); line-height: 0.95; color: var(--bone); }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ghost-btn {
  padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--void);
  color: var(--bone-dim); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; transition: all 0.2s;
}
.ghost-btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 30%, transparent); }
.dash-divider { margin: 28px 0 40px; }
.dash-panel { margin-bottom: 48px; }

.dash-profile-grid { margin-top: 24px; display: grid; grid-template-columns: 180px 1fr; gap: 32px; }
.avatar-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.avatar-preview {
  width: 140px; height: 140px; border-radius: 50%; border: 1px solid var(--bone); background: var(--void);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  filter: drop-shadow(0 0 24px rgba(182,156,255,0.4));
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initial { font-family: var(--ff-script); font-size: 56px; color: var(--accent); text-shadow: 0 0 16px rgba(182,156,255,0.6); }
.fields-col { display: flex; flex-direction: column; gap: 4px; }
.accent-row { display: flex; gap: 8px; margin-top: 4px; }
.accent-chip {
  flex: 1; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--void);
  color: var(--bone-dim); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; transition: all 0.2s;
}
.accent-chip:hover { border-color: var(--accent); }
.accent-chip.active { border-color: var(--accent); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 0 16px color-mix(in srgb, var(--accent) 30%, transparent); }
.save-btn {
  margin-top: 18px; align-self: flex-start; padding: 12px 24px; border-radius: 999px;
  background: var(--holo-grad); color: var(--void); font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase; transition: box-shadow 0.24s;
}
.save-btn:hover:not(:disabled) { box-shadow: 0 0 24px rgba(229,168,255,0.6); }
.save-btn:disabled { opacity: 0.6; }

.link-rows { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.link-row {
  display: grid;
  grid-template-columns: 28px 24px 96px 1fr 1fr 1fr 36px auto auto;
  align-items: center; gap: 8px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--void);
}
.link-row-add { margin-top: 14px; grid-template-columns: 24px 96px 1fr 1fr 1fr 36px auto; border-style: dashed; }
.reorder { display: flex; flex-direction: column; gap: 2px; }
.rr-btn { font-size: 9px; line-height: 1; color: var(--bone-faint); padding: 1px; }
.rr-btn:hover:not(:disabled) { color: var(--accent); }
.rr-btn:disabled { opacity: 0.25; }
.row-icon { width: 24px; height: 24px; color: var(--bone-dim); display: inline-flex; align-items: center; justify-content: center; }
.row-icon svg { width: 20px; height: 20px; }
.field-sm { padding: 8px 10px; font-size: 12px; }
select.field { appearance: none; cursor: pointer; }
.primary-toggle { display: flex; align-items: center; justify-content: center; gap: 2px; font-size: 13px; color: var(--accent); cursor: pointer; }
.row-save { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); color: var(--bone-dim); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.2s; }
.row-save:hover { border-color: var(--accent); color: var(--accent); }
.row-del { padding: 8px 10px; border-radius: 8px; color: var(--bone-faint); font-size: 12px; transition: color 0.2s; }
.row-del:hover { color: var(--holo-pink); }
.row-add-btn { padding: 8px 16px; border-radius: 999px; background: var(--holo-grad); color: var(--void); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; font-weight: 600; text-transform: uppercase; }

/* ---- admin ---- */
.admin-link { border-color: var(--accent); color: var(--accent); }
.admin-create-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; margin-top: 20px; }
.pw-row { display: flex; gap: 8px; align-items: stretch; }
.pw-row .field { flex: 1; }
.admin-create .save-btn { margin-top: 18px; }
.admin-empty { margin-top: 20px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--bone-faint); text-transform: uppercase; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.admin-table th {
  text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border);
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--bone-faint); text-transform: uppercase; font-weight: 400;
}
.admin-table td {
  padding: 12px; border-bottom: 1px solid var(--border);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--bone); vertical-align: middle;
}
.admin-dim { color: var(--bone-dim); }
.admin-you { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.admin-handle { color: var(--bone); border-bottom: 1px solid transparent; transition: all 0.2s; }
.admin-handle:hover { color: var(--accent); border-color: var(--accent); }
.admin-badge {
  margin-left: 8px; padding: 1px 6px; border-radius: 999px; background: var(--holo-grad); color: var(--void);
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; vertical-align: middle;
}

@media (max-width: 640px) {
  .admin-create-grid { grid-template-columns: 1fr; }
  .admin-table th:nth-child(3), .admin-table td:nth-child(3) { display: none; }
}

.dash-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--bone);
  background: var(--void); border: 1px solid var(--bone); padding: 10px 18px; border-radius: 999px;
  z-index: 200; box-shadow: 0 0 24px rgba(182,156,255,0.4); text-transform: uppercase;
  animation: fade-up 0.3s var(--ease-out);
}

@media (max-width: 760px) {
  .dash-profile-grid { grid-template-columns: 1fr; }
  .link-row, .link-row-add { grid-template-columns: 1fr; }
  .reorder { flex-direction: row; }
  .landing-main { padding: 72px 20px 96px; }
  .hero-float-sticker { width: 120px; height: 120px; right: -8px; top: -8px; }
}
