/* ============================================================
   Creator contact + media kit — shared styles
   Edit the tokens below to rebrand the whole site.
   ============================================================ */

:root {
  /* brand */
  --grad-hot:  linear-gradient(135deg, #ff4fd8 0%, #a855f7 55%, #6366f1 100%);
  --grad-cool: linear-gradient(135deg, #22d3ee 0%, #6366f1 60%, #a855f7 100%);
  --grad-warm: linear-gradient(135deg, #fb923c 0%, #f43f5e 60%, #a855f7 100%);
  --accent: #c084fc;
  --accent-2: #22d3ee;
  --accent-3: #ff4fd8;

  /* surfaces */
  --bg-0: #120a26;
  --bg-1: #1c1040;
  --card: rgba(255, 255, 255, 0.055);
  --card-solid: #221347;
  --inner: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-soft: rgba(255, 255, 255, 0.06);

  /* text */
  --tx: #f4f0ff;
  --tx-dim: #b6acd8;
  --tx-mute: #8a7fb0;

  /* geometry */
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-pill: 999px;
  --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.65);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  padding: clamp(16px, 3vw, 44px) clamp(12px, 3vw, 32px) 72px;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--tx);
  background-color: var(--bg-0);
  -webkit-font-smoothing: antialiased;
}

/* Backdrop lives on its own fixed layer. Using background-attachment:fixed on
   <body> instead breaks repaint on scroll wherever .card's backdrop-filter is active. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg-0);
  background-image:
    radial-gradient(900px 620px at 8% -6%,  rgba(168, 85, 247, 0.55), transparent 62%),
    radial-gradient(760px 560px at 96% 4%,  rgba(255, 79, 216, 0.34), transparent 60%),
    radial-gradient(900px 700px at 78% 88%, rgba(34, 211, 238, 0.26), transparent 62%),
    radial-gradient(700px 620px at 12% 96%, rgba(99, 102, 241, 0.40), transparent 62%);
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}

/* ---------- card shell ---------- */

.card {
  position: relative;
  padding: clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.panel {
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--r-lg);
  background: var(--inner);
}

/* panel that stretches to match a taller neighbour, pinning its CTA to the bottom */
.panel-fill { display: flex; flex-direction: column; }
.panel-fill > .btn-block:last-child { margin-top: auto; padding-top: 14px; padding-bottom: 14px; }
.panel-fill > .stat-strip { margin-bottom: 20px; }

.grid { display: grid; gap: clamp(14px, 1.8vw, 20px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-hero { grid-template-columns: 1.35fr 1fr; }
.g-side { grid-template-columns: 1.6fr 1fr; }

/* ---------- top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.avatar {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad-hot);
  display: grid; place-items: center;
  font-weight: 700; font-size: 17px; letter-spacing: .5px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.10), 0 8px 24px -6px rgba(255, 79, 216, 0.7);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* yellow "fill in real numbers" banner — delete once the data is yours */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: clamp(14px, 1.8vw, 20px);
  border-radius: var(--r-md);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.10);
  font-size: 12.5px; line-height: 1.55; color: #fde68a;
}
.notice b { color: #fcd34d; }

.brand-name { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.brand-sub  { font-size: 12.5px; color: var(--tx-mute); margin-top: 2px; }

.topbar-actions { margin-left: auto; display: flex; gap: 8px; }

.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: var(--tx-dim);
  text-decoration: none;
  transition: .18s ease;
}
.icon-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.13); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------- type ---------- */

.eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--tx-mute);
}

h1 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -.025em; margin: 10px 0 0; }
h2 { font-size: clamp(18px, 2vw, 22px); line-height: 1.2; letter-spacing: -.02em; margin: 0; }
h3 { font-size: 14.5px; font-weight: 650; margin: 0; letter-spacing: -.01em; }

.lede { color: var(--tx-dim); font-size: 14.5px; line-height: 1.65; margin: 14px 0 0; max-width: 46ch; }
.muted { color: var(--tx-mute); font-size: 12.5px; line-height: 1.5; }

.gradient-text {
  background: var(--grad-hot);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- hero panel ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.8vw, 30px);
  background: var(--grad-hot);
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -55% -10%;
  height: 78%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(34, 211, 238, 0.55), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero .lede { color: rgba(255, 255, 255, 0.86); }

.wave { display: block; width: 100%; height: auto; margin-top: 18px; opacity: .95; }

/* ---------- stat strip ---------- */

.stat-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 6px;
  border-radius: var(--r-md);
  border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}
.stat-strip div span { display: block; }
.stat-val { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.stat-key { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-mute); margin-top: 4px; }

/* ---------- social circles ---------- */

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.soc {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.soc:hover { transform: translateY(-3px) scale(1.04); }
.soc svg { width: 22px; height: 22px; }
.soc.yt  { background: linear-gradient(140deg, #ff5a5a, #d90d1e); box-shadow: 0 10px 26px -10px #ff2d3f; }
.soc.tt  { background: linear-gradient(140deg, #25f4ee, #1b1b1b 55%, #fe2c55); box-shadow: 0 10px 26px -10px #fe2c55; }
.soc.ig  { background: linear-gradient(140deg, #feda75, #d62976 55%, #962fbf); box-shadow: 0 10px 26px -10px #d62976; }
.soc.tw  { background: linear-gradient(140deg, #a970ff, #6441a5); box-shadow: 0 10px 26px -10px #9146ff; }
.soc.x   { background: linear-gradient(140deg, #4b4b57, #101014); box-shadow: 0 10px 26px -10px #000; }
.soc.dc  { background: linear-gradient(140deg, #8ea1ff, #5865f2); box-shadow: 0 10px 26px -10px #5865f2; }

.soc-label { font-size: 11px; color: var(--tx-mute); text-align: center; margin-top: 6px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px;
  border: 0; border-radius: var(--r-pill);
  font: inherit; font-size: 14.5px; font-weight: 650;
  color: #fff; text-decoration: none; cursor: pointer;
  background: var(--grad-cool);
  box-shadow: 0 14px 34px -14px rgba(99, 102, 241, 0.95);
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn svg { width: 16px; height: 16px; }
.btn-block { width: 100%; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  box-shadow: none;
  color: var(--tx);
}

/* ---------- contact tiles ---------- */

.tile {
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.05);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  transition: .2s ease;
}
.tile:hover { background: rgba(255, 255, 255, 0.10); transform: translateY(-3px); border-color: var(--stroke); }

.tile-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--stroke);
}
.tile-icon svg { width: 18px; height: 18px; }
.tile-body { flex: 1; }
.tile-body p { margin: 5px 0 0; font-size: 12.5px; color: var(--tx-mute); line-height: 1.5; word-break: break-word; }

.pill {
  align-self: flex-start;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 650;
  color: #12071f;
}
.pill-hot  { background: linear-gradient(120deg, #ff4fd8, #c026d3); color: #fff; }
.pill-warm { background: linear-gradient(120deg, #fbbf24, #fb7185); }
.pill-cool { background: linear-gradient(120deg, #34d399, #22d3ee); }
.pill-soft { background: rgba(255, 255, 255, 0.10); color: var(--tx-dim); border: 1px solid var(--stroke); }

/* ---------- form ---------- */

.field { display: block; margin-bottom: 14px; }
.field span {
  display: block; margin-bottom: 7px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-mute);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit; font-size: 14px;
  color: var(--tx);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  outline: none;
  transition: .18s ease;
}
.field textarea { min-height: 116px; resize: vertical; }
.field select option { background: var(--card-solid); color: var(--tx); }
.field input::placeholder, .field textarea::placeholder { color: #6f6494; }
.field :focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.20);
}

.form-note { margin: 12px 0 0; font-size: 12px; color: var(--tx-mute); }

/* ---------- swatch row (platform chips) ---------- */

.chips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 4px; }
.chip {
  padding: 14px 10px;
  border-radius: var(--r-md);
  text-align: center;
  font-size: 12.5px; font-weight: 650;
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip small { display: block; font-weight: 500; opacity: .8; font-size: 10.5px; margin-top: 3px; }

/* ---------- media kit: metrics ---------- */

.metric {
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.05);
}
.metric .stat-val { font-size: clamp(22px, 2.6vw, 28px); margin-top: 8px; }
.metric .delta { font-size: 12px; font-weight: 650; margin-top: 6px; }
.up   { color: #4ade80; }
.down { color: #fb7185; }

/* platform rows */
.plat-row {
  display: grid;
  grid-template-columns: 44px 1.2fr repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: .18s ease;
}
.plat-row + .plat-row { margin-top: 6px; }
.plat-row:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--stroke-soft); }
.plat-row.head { padding-bottom: 6px; }
.plat-row.head span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-mute); }
.plat-row.head:hover { background: none; border-color: transparent; }
.plat-name { font-weight: 650; font-size: 14px; }
.plat-name small { display: block; font-weight: 400; color: var(--tx-mute); font-size: 11.5px; margin-top: 2px; }
.plat-row b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.plat-row .sub { font-size: 11px; color: var(--tx-mute); display: block; margin-top: 2px; }

.badge-icon {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
}
.badge-icon svg { width: 17px; height: 17px; }

/* ---------- donuts ---------- */

.donut-wrap { display: grid; place-items: center; gap: 14px; }
.donut {
  --size: 158px;
  position: relative;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  display: grid; place-items: center;
}
.donut::after {
  content: "";
  position: absolute; inset: 20px;
  border-radius: 50%;
  background: #1b1038;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.55);
}
.donut-center { position: relative; z-index: 1; text-align: center; }
.donut-center b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.donut-center span { font-size: 11px; color: var(--tx-mute); letter-spacing: .08em; text-transform: uppercase; }

.legend { display: grid; gap: 9px; width: 100%; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.legend .dot { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }
.legend .val { margin-left: auto; font-weight: 650; color: var(--tx-dim); }
ul.legend { list-style: none; margin: 0; padding: 0; }

/* ---------- bars ---------- */

.bars { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.bar-row { display: grid; grid-template-columns: 68px 1fr 46px; align-items: center; gap: 12px; font-size: 13px; }
.bar-track {
  display: block;
  height: 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.bar-fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--grad-hot); }
.bar-fill.cool { background: var(--grad-cool); }
.bar-fill.warm { background: var(--grad-warm); }
.bar-row .val { text-align: right; font-weight: 650; color: var(--tx-dim); }

/* vertical column chart */
.cols { display: flex; align-items: flex-end; gap: 10px; height: 168px; margin-top: 18px; }
.col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.col i {
  display: block; width: 100%;
  border-radius: 12px 12px 6px 6px;
  background: var(--grad-cool);
  min-height: 6px;
}
.col:nth-child(2n) i { background: var(--grad-hot); }
.col:nth-child(3n) i { background: var(--grad-warm); }
.col span { font-size: 11px; color: var(--tx-mute); }
.hero .col span { color: rgba(255, 255, 255, 0.8); }
.hero .col i { background: rgba(255, 255, 255, 0.85); }
.hero .col:nth-child(2n) i,
.hero .col:nth-child(3n) i { background: rgba(255, 255, 255, 0.6); }

/* ---------- misc lists ---------- */

.kv { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.kv li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.kv li .val { margin-left: auto; font-weight: 650; }
.kv .flag { font-size: 17px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  padding: 7px 13px; border-radius: var(--r-pill);
  font-size: 12px; color: var(--tx-dim);
  border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.05);
}

.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head .muted { margin-left: auto; }

.rate {
  display: grid; gap: 6px;
  padding: 18px; border-radius: var(--r-lg);
  border: 1px solid var(--stroke-soft); background: rgba(255, 255, 255, 0.05);
}
.rate b { font-size: clamp(20px, 2.4vw, 25px); letter-spacing: -.02em; }
.rate .feat { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; font-size: 12.5px; color: var(--tx-dim); }
.rate .feat li::before { content: "▸ "; color: var(--accent); }

.foot {
  text-align: center; padding: 26px 0 0;
  font-size: 12px; color: var(--tx-mute);
}
.foot a { color: var(--tx-dim); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .g-hero, .g-side, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plat-row.head { display: none; }
  /* stack: icon + channel on one line, stats two-up underneath */
  .plat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
  .plat-row .badge-icon { flex: 0 0 auto; }
  .plat-row .plat-name { flex: 1 1 60%; }
  .plat-row > span:not(.badge-icon):not(.plat-name) { flex: 1 1 calc(50% - 44px); }
  .chips { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .g-2, .g-3, .g-4, .g-hero, .g-side { grid-template-columns: minmax(0, 1fr); }
  .stat-strip { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .plat-row > span:not(.badge-icon):not(.plat-name) { flex: 1 1 calc(50% - 30px); }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .cols { height: 140px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
