/* ============================================================
   TIKTOK RADAR — Design System „Jumara"
   Dark · Bold · Creator-first.
   Fundal #0D0D0D, portocaliu #FF4A2E + lime #C6F24E,
   Anton (display) + Space Grotesk (body).
   Sursă: design-system-jumara.html (pachet design direction, 15 iul 2026).
   ============================================================ */

/* -------- 1. TOKENS -------- */
:root {
  --bg: #0D0D0D;
  --surface: #161616;
  --surface-2: #1A1A1A;
  --line: #222222;
  --line-2: #262626;
  --track: #242424;
  --ink: #FFFFFF;
  --muted: #8C8C8C;
  --muted-2: #6A6A6A;
  --soft: #CFCFCF;
  --orange: #FF4A2E;
  --orange-2: #FF7A63;
  --orange-tint: rgba(255, 74, 46, .12);
  --lime: #C6F24E;
  --lime-2: #8FB52F;
  --lime-tint: rgba(198, 242, 78, .15);
  --blue: #2B4CF0;
  --blue-2: #5B76FF;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;

  --r-pill: 999px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-chip: 8px;

  /* Spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* ── Alias-uri legacy (admin.html / privacy.html / JS vechi) ──
     Paginile secundare referă variabilele vechi; le mapăm pe dark. */
  --border-color: var(--line-2);
  --card-bg: var(--surface);
  --green: var(--lime);
  --radius-lg: var(--r-lg);
  --radius-md: var(--r-md);
  --red: var(--orange);
  --red-hi: var(--orange-2);
  --red-tint: var(--orange-tint);
  --red-tint-2: rgba(255, 74, 46, .07);
  --row-alt: var(--surface-2);
  --text-primary: var(--ink);
  --text-secondary: var(--soft);
  --text-muted: var(--muted);
  --tiktok-pink: var(--orange);
  --tiktok-cyan: var(--lime);
  --duration-fast: .15s;
}

/* -------- 2. RESET / BAZĂ -------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: var(--orange); text-decoration: none; }
a:hover { opacity: .85; }
h1, h2, h3, h4 { margin: 0; }
img { max-width: 100%; }

/* -------- 3. TIPOGRAFIE -------- */
.display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .006em; line-height: .94; }
.h-hero { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 6vw, 72px); line-height: .92; letter-spacing: .005em; }
.h-sec { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(23px, 4vw, 34px); }
.h-card { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; }
.num { font-family: var(--font-display); }
.lead { font-size: 18px; color: var(--muted); line-height: 1.5; }
.body { font-size: 14px; color: var(--soft); line-height: 1.55; }
.label { font-size: 12px; color: var(--muted); }
.label-up { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.c-orange { color: var(--orange); }
.c-lime { color: var(--lime); }
.c-muted { color: var(--muted); }
.c-soft { color: var(--soft); }

/* -------- 4. UTILITARE -------- */
.hidden { display: none !important; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 860px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: var(--s2); } .mt-4 { margin-top: var(--s4); }
.mb-2 { margin-bottom: var(--s2); } .mb-3 { margin-bottom: var(--s3); }
.mb-4 { margin-bottom: var(--s4); } .mb-6 { margin-bottom: var(--s6); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-muted { color: var(--muted); }
.text-xs { font-size: 12px; }

/* -------- 5. TOPBAR (logo + brand) -------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 32px clamp(20px, 5vw, 56px) 0;
  flex-wrap: wrap;
}

.topbar__brand { display: flex; align-items: center; gap: 12px; }
.topbar__logo { width: 42px; height: 42px; border-radius: 11px; object-fit: contain; }
.topbar__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.topbar__tag { font-size: 10px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* -------- 6. BUTOANE -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border: 0;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform .08s, opacity .12s;
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--lime { background: var(--lime); color: var(--bg); }
.btn--dark { background: var(--surface); color: #fff; border: 1px solid var(--line-2); }
.btn--ghost { background: transparent; color: var(--soft); border: 1.5px solid var(--line-2); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--sm { font-size: 13px; padding: 10px 18px; }
.btn:disabled, .btn.is-disabled { background: #2a2a2a; color: #666; cursor: default; }

/* -------- 7. INPUT / FIELD -------- */
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 2px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 0 16px;
}

.field:focus-within { border-color: var(--orange); }
.field--blue { border-color: var(--blue); }

.field__at {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}

.field--blue .field__at { background: var(--blue); }

.field input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 16px 0;
}

.field input::placeholder { color: var(--muted-2); }
.field.input--error { border-color: var(--orange); }

.error-message {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
}

/* Același element, mod „lucru în curs" (verificare manuală competitor) */
.error-message.is-info { color: var(--lime); }

/* -------- 8. SEGMENTED TOGGLE -------- */
.seg {
  display: inline-flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 5px;
  flex-wrap: wrap;
}

.seg--sm { background: var(--bg); border-radius: 10px; padding: 3px; }

.seg__btn {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
  transition: all .15s;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-family: var(--font-body);
}

.seg--sm .seg__btn { font-size: 11px; padding: 6px 12px; border-radius: 7px; }
.seg__btn.is-active { background: var(--lime); color: var(--bg); }

/* -------- 9. CARD / SECTION -------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}

.card-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--soft);
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.sec-head__sub { font-size: 14px; color: var(--muted); }

.sec-headrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.sec-rule { height: 4px; width: 80px; border-radius: 2px; margin-bottom: 26px; }
.rule-orange { background: var(--orange); }
.rule-lime { background: var(--lime); }

/* -------- 10. STAT BAND + KPI -------- */
.statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line-2);
  border-radius: 20px;
  overflow: hidden;
}

.statband > div { background: var(--bg); padding: 28px 24px; }
.stat__num { font-family: var(--font-display); font-size: 52px; line-height: 1; }
.stat__cap { font-size: 12px; color: var(--muted); margin-top: 6px; }

.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.kpi__label { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi__value { font-family: var(--font-display); font-size: 34px; }

/* -------- 11. BARE (comparație & stivuit) -------- */
.bar__head { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 13px; }
.bar__head .you { color: var(--orange); font-weight: 600; }
.bar__val { font-family: var(--font-display); font-size: 16px; }
.bar__track { height: 14px; background: var(--track); border-radius: 7px; overflow: hidden; }
.bar__fill { height: 100%; border-radius: 7px; }
.bar__stack { display: flex; height: 14px; background: var(--track); border-radius: 7px; overflow: hidden; }
.fill-orange { background: var(--orange); }
.fill-lime { background: var(--lime); }
.fill-white { background: #e6e6e6; }
.fill-grey { background: #666; }

.legend { display: flex; gap: 16px; margin-top: 16px; font-size: 12px; flex-wrap: wrap; }
.legend span.dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.legend span.line { width: 14px; height: 4px; border-radius: 2px; display: inline-block; margin-right: 6px; vertical-align: 2px; }

.bars-stack { display: flex; flex-direction: column; gap: 14px; font-size: 13px; }

/* -------- 12. LOADING KIT (progress + feed + checklist) -------- */
.progress { height: 14px; background: var(--track); border-radius: 999px; overflow: hidden; }

.progress__fill {
  height: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(45deg, var(--orange), var(--orange) 10px, var(--orange-2) 10px, var(--orange-2) 20px);
  background-size: 40px 40px;
  animation: barMove 1s linear infinite;
  transition: width 1.1s ease;
}

.progress__fill.blue {
  background: repeating-linear-gradient(45deg, var(--blue), var(--blue) 10px, var(--blue-2) 10px, var(--blue-2) 20px);
  background-size: 40px 40px;
}

.spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--line-2);
  border-top-color: var(--orange);
  animation: spin 1s linear infinite;
}

.spinner.blue { border-top-color: var(--blue); }

.load-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 500;
}

.load-box { width: 100%; max-width: 520px; }
.load-box__head { text-align: center; margin-bottom: 26px; }
.load-box__title { font-family: var(--font-display); font-size: 30px; text-transform: uppercase; line-height: 1.02; }
.load-box__sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.load-box__pct { font-family: var(--font-display); font-size: 34px; color: var(--orange); }
.load-box__pct.blue { color: var(--blue-2); }
.load-box__meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.load-box__hint { text-align: center; font-size: 12px; color: #5a5a5a; margin-top: 16px; }

.feed { display: flex; flex-direction: column; gap: 13px; margin-top: 20px; min-height: 180px; }
.feed__item { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--muted); animation: feedIn .35s ease; }
.feed__item .fdot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: #3a3a3a; }
.feed__item.is-new { color: #fff; font-weight: 700; }
.feed__item.is-new .fdot { background: var(--lime); }

.check { display: flex; align-items: center; gap: 11px; font-size: 14px; }
.check__box { width: 24px; height: 24px; border-radius: 7px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.check--done .check__box { background: #fff; color: var(--bg); }
.check--done { color: #fff; font-weight: 600; }
.check--active .check__box { border: 2px solid var(--orange); }
.check--active { color: var(--orange); font-weight: 700; }
.check--active .pdot { width: 9px; height: 9px; border-radius: 2px; background: var(--orange); animation: dotPulse 1s infinite; }
.check--wait .check__box { border: 2px solid var(--line-2); }
.check--wait { color: var(--muted-2); }

/* -------- 13. HERO (landing) -------- */
.hero {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 20px 40px;
}

.hero__form { display: flex; gap: 10px; max-width: 560px; margin: 34px auto 0; flex-wrap: wrap; }
.hero__form .field { flex: 1; min-width: 220px; }
.hero__meta { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero__meta a { color: var(--lime); border-bottom: 1px solid var(--lime); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-tint);
  border: 1px solid rgba(255, 74, 46, .4);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 16px;
  border-radius: 999px;
}

.steps-grid {
  max-width: 720px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  padding: 0 20px;
}

.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; text-align: left; }
.step-card__num { font-family: var(--font-display); font-size: 22px; }
.step-card__title { font-weight: 700; font-size: 14px; margin: 4px 0 3px; color: var(--ink); }
.step-card__desc { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; }

/* -------- 14. SELECȚIE COMPETITORI -------- */
.select-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px 60px; }

.select-head { text-align: center; margin-bottom: 26px; }
.select-title { font-family: var(--font-display); font-size: clamp(30px, 5vw, 44px); text-transform: uppercase; line-height: 1; }

.select-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.select-count { font-size: 14px; color: var(--soft); }
.select-count b { font-family: var(--font-display); font-size: 20px; color: var(--orange); font-weight: 400; }

.competitor-grid { display: flex; flex-direction: column; gap: 10px; }

.competitor-row {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color .15s;
}

.competitor-row:hover { border-color: #3a3a3a; }
.competitor-row.card--selected { border-color: var(--orange); }

.competitor-row__checkbox {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid #444;
  color: transparent;
}

.card--selected .competitor-row__checkbox { background: var(--orange); border-color: var(--orange); color: var(--bg); }

.competitor-row__username { font-weight: 700; width: 190px; flex: 0 0 auto; overflow: hidden; text-overflow: ellipsis; }
.competitor-row__followers { font-size: 13px; color: var(--muted); width: 130px; flex: 0 0 auto; }
.competitor-row__bio { font-size: 13px; color: var(--muted-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.country-badge { font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.country-badge--ro { color: var(--orange); border-color: rgba(255, 74, 46, .4); }

.competitor-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.manual-add { flex: 1; min-width: 280px; }
.manual-add .field { padding-right: 8px; }

/* Toggle „doar RO" */
.ro-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.ro-toggle input { display: none; }
.ro-toggle__track { width: 40px; height: 22px; background: var(--track); border-radius: 999px; position: relative; transition: background .15s; flex: 0 0 auto; }
.ro-toggle__thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: all .15s; }
.ro-toggle input:checked + .ro-toggle__track { background: var(--orange); }
.ro-toggle input:checked + .ro-toggle__track .ro-toggle__thumb { left: 21px; background: #fff; }
.ro-toggle__label { font-size: 13px; font-weight: 600; color: var(--soft); }

/* -------- 15. DONE SCREEN -------- */
.done-screen { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.done-box { text-align: center; max-width: 460px; }
.done-box__emoji { font-size: 52px; animation: floaty 3s ease-in-out infinite; }
.done-box__title { font-family: var(--font-display); font-size: 44px; text-transform: uppercase; line-height: 1; margin-top: 8px; }
.done-box__sub { font-size: 15px; color: var(--muted); margin: 12px 0 26px; }

/* -------- 16. VERDICT + CTA -------- */
.verdict {
  background: var(--orange);
  border-radius: 28px;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.verdict__ghost { position: absolute; top: -40px; right: -30px; font-family: var(--font-display); font-size: 220px; line-height: 1; opacity: .12; }
.verdict__inner { position: relative; }
.verdict__chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(13, 13, 13, .25); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 20px; color: #fff; }
.verdict__title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 62px); line-height: .94; letter-spacing: .005em; text-transform: uppercase; max-width: 820px; color: #fff; }
.verdict__title .dark { color: var(--bg); }
.verdict__title .lime { color: var(--lime); }
.verdict__sub { margin-top: 18px; font-size: 17px; color: #2a0d07; max-width: 600px; line-height: 1.45; font-weight: 500; }

.cta-lime {
  background: var(--lime);
  color: var(--bg);
  border-radius: 28px;
  padding: 44px 48px;
  text-align: center;
}

.cta-lime__title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 48px); line-height: .96; text-transform: uppercase; }
.cta-lime__sub { font-size: 16px; margin: 14px auto 26px; max-width: 520px; line-height: 1.5; font-weight: 500; }

/* -------- 17. HALL OF FAME -------- */
.hof-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; align-items: start; margin-bottom: 56px; }

.hof-crown { text-align: center; margin-bottom: 10px; }
.hof-crown__emoji { font-size: 34px; animation: floaty 3s ease-in-out infinite; }
.hof-crown__chip { display: inline-block; background: var(--lime); color: var(--bg); font-family: var(--font-display); font-size: 13px; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }

.vcard { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9/14; border: 1.5px solid var(--line-2); background: #000; cursor: pointer; }
.vcard.is-winner { border: 3px solid var(--lime); box-shadow: 0 0 0 6px var(--lime-tint); border-radius: 20px; aspect-ratio: 9/15; }

.vcard img, .vcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vcard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #333; }
.vcard__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 30%, transparent 50%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.vcard__brand { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; background: rgba(13,13,13,.6); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; pointer-events: none; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px; pointer-events: none; }
.vcard__cap { font-size: 13px; color: #eee; line-height: 1.35; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__stats { display: flex; gap: 16px; align-items: flex-end; }
.vcard__views { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--orange); }
.is-winner .vcard__views { font-size: 38px; color: var(--lime); }
.vcard__stat { font-family: var(--font-display); font-size: 22px; line-height: 1; }
.vcard__unit { font-size: 10px; color: #bbb; }

/* Statistici bold sub winner-ul cu embed (player-ul acoperă meta din card) */
.hof-winstats {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-top: 14px;
  text-align: center;
}

.hof-winstats__big { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--lime); }
.hof-winstats__mid { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--ink); }

.hof-rest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hof-rest__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; height: 26px; }
.hof-rest__rank { font-family: var(--font-display); font-size: 16px; color: var(--muted); }
.hof-rest__brand { font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* -------- 18. CHIPS -------- */
.chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; display: inline-block; }
.chip-org { background: var(--lime-tint); color: var(--lime); }
.chip-paid { background: var(--orange-tint); color: var(--orange); }
.chip-gran { background: var(--lime-tint); color: var(--lime); font-size: 12px; padding: 4px 10px; border-radius: 999px; }

/* -------- 19. TABELE (dark) -------- */
.table { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 56px; }
.table--scroll { overflow-x: auto; }
.table__head { background: var(--bg); font-size: 11px; font-weight: 700; padding: 14px 18px; color: var(--muted); display: grid; gap: var(--s2); align-items: center; }
.table__row { font-size: 13px; padding: 13px 18px; border-top: 1px solid var(--line); display: grid; gap: var(--s2); align-items: center; }
.table__row.alt { background: var(--surface-2); }
.table__row.total { border-top: 2px solid #333; background: var(--bg); font-weight: 700; }
.cell-r { text-align: right; }
.cell-you { color: var(--orange); font-weight: 700; }

/* -------- 20. VIDEO LIBRARY (tabel video-uri per cont) -------- */
.video-grid { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }

.video-row {
  display: grid;
  grid-template-columns: 48px 2.4fr .9fr .8fr .8fr .8fr .6fr .9fr;
  align-items: center;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  gap: var(--s2);
  color: inherit;
  font-size: 13px;
}

.video-row--clickable { cursor: pointer; transition: background .15s; }
.video-row--clickable:hover { background: var(--surface-2); }
.video-row.alt { background: var(--surface-2); }

.video-row--header {
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  border-top: none;
}

.video-header-col { cursor: pointer; user-select: none; transition: color .15s; }
.video-header-col:hover, .video-header-col.sorted { color: var(--lime); }
.video-header-col .sort-arrow { font-size: 10px; margin-left: 2px; opacity: .5; }
.video-header-col.sorted .sort-arrow { opacity: 1; }

.video-caption { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.video-caption__text { font-size: 13px; font-weight: 600; color: #e6e6e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-caption__tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.video-caption__tag { font-size: 11px; font-weight: 600; color: var(--muted); }

.video-metric { font-size: 13px; color: var(--soft); text-align: right; font-variant-numeric: tabular-nums; }
.video-metric--highlight { font-family: var(--font-display); color: var(--ink); font-size: 14px; }
.video-metric--eng { color: var(--lime); }
.video-date { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.video-empty { text-align: center; padding: var(--s5); color: var(--muted); }

.video-thumb { position: relative; display: block; width: 40px; height: 54px; border-radius: 8px; overflow: hidden; background: #000; border: 1px solid var(--line-2); flex-shrink: 0; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-thumb__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #444; font-size: 12px; }

/* -------- 21. MODAL PLAYER -------- */
.vmodal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .8); z-index: 1000; padding: var(--s4); }
.vmodal.open { display: flex; }
.vmodal__card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 0 0 6px var(--lime-tint); width: min(360px, 100%); overflow: hidden; }
.vmodal__bar { display: flex; align-items: center; justify-content: space-between; padding: var(--s2) var(--s3); background: var(--bg); }
.vmodal__ext { color: var(--lime); font-size: 12px; font-weight: 700; text-decoration: none; }
.vmodal__ext:hover { text-decoration: underline; }
.vmodal__close { background: none; border: none; color: #fff; font-size: 16px; cursor: pointer; line-height: 1; padding: 2px 4px; }
.vmodal__frame { height: min(600px, 78vh); background: #000; }
.vmodal__frame iframe { width: 100%; height: 100%; border: none; display: block; }

/* -------- 22. HEATMAP -------- */
.heatmap { display: grid; grid-template-columns: 44px repeat(7, 1fr); gap: 5px; align-items: center; font-size: 10px; color: var(--muted); }
.heatmap__day { text-align: center; }
.heatmap__cell { height: 26px; border-radius: 5px; background: #1f1f1f; }

/* -------- 23. CHART (SVG evoluție + radar) -------- */
.chart-svg { width: 100%; height: auto; display: block; }

/* Card interpretare AI */
.ai-card {
  background: var(--surface);
  border: 1px solid rgba(198, 242, 78, .35);
  border-radius: var(--r-lg);
  padding: 20px 24px;
}

.ai-card__text { margin: 0; font-size: 14px; color: var(--soft); line-height: 1.6; }

/* Observație AI compactă, în interiorul unui card existent */
.card-note--ai { border: 1px solid rgba(198, 242, 78, .25); }

/* -------- 25. FOOTER -------- */
.footer { text-align: center; padding: var(--s7) 20px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: var(--s8); }

/* -------- 26. ANIMAȚII -------- */
@keyframes barMove { 0% { background-position: 0 0 } 100% { background-position: 40px 0 } }
@keyframes dotPulse { 0%, 100% { transform: scale(.7); opacity: .4 } 50% { transform: scale(1); opacity: 1 } }
@keyframes feedIn { 0% { opacity: 0 } 100% { opacity: 1 } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
@keyframes slideUp { 0% { opacity: 0; transform: translateY(12px) } 100% { opacity: 1; transform: translateY(0) } }
.animate-slide-up { animation: slideUp .4s ease both; }
.animate-fade-in { animation: feedIn .5s ease both; }

/* -------- 27. RESPONSIVE -------- */
@media (max-width: 900px) {
  .hof-grid { grid-template-columns: 1fr; }
  .hof-grid > div:first-child { max-width: 280px; margin: 0 auto; }
  .hof-rest { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .grid-2col, .grid-3col, .grid-1-2col { grid-template-columns: 1fr !important; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .competitor-row__bio { display: none; }
  .competitor-row__username { width: auto; flex: 1; }
  .verdict, .cta-lime { padding: 32px 24px; }
  .table__head, .table__row { font-size: 12px; padding: 11px 12px; }

  .video-row { grid-template-columns: 40px 1.6fr .8fr .7fr; }
  .video-row > :nth-child(5),
  .video-row > :nth-child(6),
  .video-row > :nth-child(7),
  .video-row > :nth-child(8) { display: none; }
  .video-thumb { width: 34px; height: 46px; }
}
