/* foarte.cool — tema Sales: „Quota Day”. Stil neo-brutalist, energie de target depășit, reveal ca un grafic de vânzări. */
body.fc-skin-sales {
  --s-bg: #FFFCF5;
  --s-surface: #FFFFFF;
  --s-surface-2: #FFFCF5;
  --s-border: #15130F;
  --s-text: #15130F;
  --s-body: #3A352D;
  --s-muted: #5E574C;
  --s-accent: #F5B700;
  --s-accent-ink: #15130F;
  --s-a2: #1F7A4D;
  --s-p1: #F5B700; --s-p2: #1F9D63; --s-p3: #2F6BFF; --s-p4: #FF6B4A; --s-p5: #8E5CF7; --s-p6: #00A6A6;
  --s-av-ink: #15130F;
  --s-radius: 16px;
  --s-radius-lg: 20px;
  --s-btn-radius: 12px;
  --s-field-radius: 10px;
  --s-card-border: 2px solid #15130F;
  --s-card-shadow: 6px 6px 0 #15130F;
  --s-btn-shadow: 4px 4px 0 #15130F;
  --s-font-display: Archivo, Inter, sans-serif;
  --s-font-body: Inter, system-ui, sans-serif;
  --s-font-mono: Archivo, Inter, sans-serif;
  --s-h-weight: 900;
  --s-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 112'%3E%3Ccircle cx='56' cy='56' r='53' fill='%23F5B700' stroke='%2315130F' stroke-width='3'/%3E%3Cg transform='translate(26 24) scale(2.5)' fill='none' stroke='%2315130F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0V4zM17 5h3v2a3 3 0 0 1-3 3M7 5H4v2a3 3 0 0 0 3 3'/%3E%3C/g%3E%3C/svg%3E");
  background-color: #FFFCF5 !important;
  background-image: linear-gradient(#EFE8DA 1px, transparent 1px) !important;
  background-size: 100% 48px !important;
}
body.fc-skin-sales header { border-bottom-width: 2px !important; }
body.fc-skin-sales .brand .logo { border: 2px solid #15130F; box-shadow: 3px 3px 0 #15130F !important; }
body.fc-skin-sales .nav .cta { box-shadow: 3px 3px 0 #15130F !important; }
body.fc-skin-sales #hero-title { letter-spacing: -0.035em !important; }
body.fc-skin-sales .social-proof {
  background: var(--s-accent) !important;
  color: #15130F !important;
  font-weight: 800 !important;
  box-shadow: 3px 3px 0 #15130F !important;
}
body.fc-skin-sales .social-proof::before {
  content: "";
  width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315130F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.fc-skin-sales .praise .item::before { display: none !important; }
body.fc-skin-sales .praise .item { padding-top: 64px !important; }
body.fc-skin-sales .praise .item::after {
  content: "";
  position: absolute; left: 18px; top: 18px;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--s-item-color, var(--s-p1)); border: 2px solid #15130F;
}
body.fc-skin-sales .praise .item b { font-weight: 800 !important; font-size: 18px !important; }
body.fc-skin-sales .testimonial-card:nth-child(6n+1) { box-shadow: 6px 6px 0 var(--s-p1) !important; }
body.fc-skin-sales .testimonial-card:nth-child(6n+2) { box-shadow: 6px 6px 0 var(--s-p2) !important; }
body.fc-skin-sales .testimonial-card:nth-child(6n+3) { box-shadow: 6px 6px 0 var(--s-p3) !important; }
body.fc-skin-sales .testimonial-card:nth-child(6n+4) { box-shadow: 6px 6px 0 var(--s-p4) !important; }
body.fc-skin-sales .testimonial-card:nth-child(6n+5) { box-shadow: 6px 6px 0 var(--s-p5) !important; }
body.fc-skin-sales .testimonial-card:nth-child(6n+6) { box-shadow: 6px 6px 0 var(--s-p6) !important; }
body.fc-skin-sales .testimonial-name { font-weight: 800 !important; }

/* ---------- Reveal: graficul de vânzări ----------
   Grid: prietenii (avatarele din app.php) sunt barele din stânga, toate sub target;
   coloana din dreapta (.fcs-peak, din loader-deco.php) e sărbătoritul, singura bară care trece de target, cu steaua deasupra. */
body.fc-skin-sales .fake-loading-box {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title  title"
    "name   name"
    "chart  peak"
    "text   text"
    "count  count"
    "reveal reveal";
  align-items: end;
  column-gap: 0;
  row-gap: 6px;
  text-align: left;
  padding: 28px 28px 26px !important;
  border-radius: 22px !important;
  box-shadow: 10px 10px 0 #15130F !important;
}
body.fc-skin-sales .fcs-live {
  display: block; position: absolute; top: 30px; right: 30px;
  width: 12px; height: 12px; border-radius: 50%; background: #1F9D63;
  animation: fcs-pulse 1.2s ease-in-out infinite;
}
body.fc-skin-sales .fake-loading-title { grid-area: title; font-weight: 800 !important; letter-spacing: .16em !important; color: var(--s-muted) !important; font-size: 13px !important; }
body.fc-skin-sales .fake-loading-name-big { grid-area: name; font-size: clamp(42px, 9vw, 72px) !important; font-weight: 900 !important; letter-spacing: -0.04em; }
body.fc-skin-sales .fake-loading-avatars { grid-area: chart; }
body.fc-skin-sales .fake-loading-text { grid-area: text; }
body.fc-skin-sales .fake-loading-count { grid-area: count; }
body.fc-skin-sales .fake-loading-reveal { grid-area: reveal; }

/* linia de target (punctată) și baza graficului sunt comune ambelor coloane */
body.fc-skin-sales .fake-loading-avatars,
body.fc-skin-sales .fcs-peak {
  height: 230px;
  box-sizing: border-box;
  margin: 14px 0 12px !important;
  border-bottom: 3px solid #15130F;
  background: linear-gradient(90deg, #1F9D63 55%, transparent 55%) 0 46px / 16px 2px repeat-x;
}

/* prietenii: bare care umplu lățimea, oricâți ar fi, toate sub target */
body.fc-skin-sales .fake-loading-avatars {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
  width: 100%;
  padding: 0 4px 0 0 !important;
}
body.fc-skin-sales #fake-loading .fake-loading-avatar,
body.fc-skin-sales #fake-loading .fake-loading-overflow {
  --h: 40px;
  position: relative;
  flex: 1 1 0;
  max-width: 64px;
  min-width: 28px;
  width: auto !important;
  height: 40px !important;
  margin: 0 !important;
  border: 2px solid #15130F !important;
  border-color: #15130F !important;
  border-top: 2px solid #15130F !important;
  border-bottom: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: margin-bottom .7s cubic-bezier(.2,.8,.2,1.25) !important;
  --av-bg: #E3DACA;
}
body.fc-skin-sales #fake-loading .fake-loading-avatar:not(.has-photo),
body.fc-skin-sales #fake-loading .fake-loading-overflow {
  box-shadow: inset 0 2px 0 #15130F !important;
}
body.fc-skin-sales #fake-loading .fake-loading-avatar[class*="av-"]:not(.has-photo) {
  border-color: #15130F !important;
}
body.fc-skin-sales #fake-loading .fake-loading-avatar::after,
body.fc-skin-sales #fake-loading .fake-loading-overflow::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; top: 100%;
  height: 0;
  background: var(--av-bg);
  border: 2px solid #15130F;
  border-top: 0;
  border-bottom: 0;
  transition: height .7s cubic-bezier(.2,.8,.2,1.25);
}
body.fc-skin-sales #fake-loading .fake-loading-avatar.has-photo::after { background: #E3DACA; }
body.fc-skin-sales #fake-loading .fake-loading-avatar-photo { border-radius: 8px 8px 0 0; }
/* înălțimi variate, ciclice, toate sub linia de target (cap 40px + bară max 100px = 140px < 181px până la target) */
body.fc-skin-sales #fake-loading .fake-loading-avatars > :nth-child(6n+1) { --h: 46px; }
body.fc-skin-sales #fake-loading .fake-loading-avatars > :nth-child(6n+2) { --h: 72px; }
body.fc-skin-sales #fake-loading .fake-loading-avatars > :nth-child(6n+3) { --h: 58px; }
body.fc-skin-sales #fake-loading .fake-loading-avatars > :nth-child(6n+4) { --h: 92px; }
body.fc-skin-sales #fake-loading .fake-loading-avatars > :nth-child(6n+5) { --h: 80px; }
body.fc-skin-sales #fake-loading .fake-loading-avatars > :nth-child(6n+6) { --h: 100px; }
body.fc-skin-sales #fake-loading .fake-loading-overflow { --av-bg: #CFC5B2; }
body.fc-skin-sales #fake-loading .fake-loading-avatar.is-visible,
body.fc-skin-sales #fake-loading .fake-loading-overflow.is-visible { margin-bottom: var(--h) !important; }
body.fc-skin-sales #fake-loading .fake-loading-avatar.is-visible::after,
body.fc-skin-sales #fake-loading .fake-loading-overflow.is-visible::after { height: var(--h); }

/* sărbătoritul: bara aurie din dreapta, crește când apare numărul de prieteni și trece de target la final */
body.fc-skin-sales .fcs-peak {
  grid-area: peak;
  display: flex;
  align-items: flex-end;
  padding: 0 0 0 14px;
}
body.fc-skin-sales .fcs-peak-bar {
  position: relative;
  width: clamp(44px, 12vw, 68px);
  height: 40px;
  margin-bottom: 0;
  transition: margin-bottom .9s cubic-bezier(.2,.8,.2,1.25);
}
body.fc-skin-sales .fcs-peak-head {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 40px; box-sizing: border-box;
  background: #F5B700; color: #15130F;
  border: 2px solid #15130F; border-bottom: 0; border-radius: 10px 10px 0 0;
  font: 900 16px/1 Archivo, Inter, sans-serif;
}
body.fc-skin-sales .fcs-peak-bar::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 100%;
  height: 0; box-sizing: border-box;
  background: #F5B700;
  border: 2px solid #15130F; border-top: 0; border-bottom: 0;
  transition: height .9s cubic-bezier(.2,.8,.2,1.25);
}
body.fc-skin-sales .fcs-peak .fcs-star {
  position: absolute; left: 50%; bottom: calc(100% + 6px);
  width: 36px; height: 36px; margin-left: -18px;
}
/* pas 1: odată cu „N prieteni…”, bara urcă la nivelul celorlalți */
body.fc-skin-sales #fake-loading:has(.fake-loading-count.is-visible) .fcs-peak-bar { margin-bottom: 96px; }
body.fc-skin-sales #fake-loading:has(.fake-loading-count.is-visible) .fcs-peak-bar::after { height: 96px; }
/* pas 2: la „Se deschide pagina…”, trece de target și apare steaua */
body.fc-skin-sales #fake-loading:has(.fake-loading-reveal.is-visible) .fcs-peak-bar { margin-bottom: 150px; }
body.fc-skin-sales #fake-loading:has(.fake-loading-reveal.is-visible) .fcs-peak-bar::after { height: 150px; }
body.fc-skin-sales #fake-loading:has(.fake-loading-reveal.is-visible) .fcs-star { display: block; animation: fcs-pop .6s .5s cubic-bezier(.2,.8,.2,1) both; }

body.fc-skin-sales .fake-loading-text,
body.fc-skin-sales .fake-loading-count { font-size: clamp(16px, 2.6vw, 20px) !important; font-weight: 600 !important; margin-top: 2px; }
body.fc-skin-sales .fake-loading-reveal { font-size: 17px !important; font-weight: 700; }
