/* ══════════════════════════════════════════════════════════
   HERO v19.3 — "Split Broadcast" balanced
   Stânga: cover full-height (fără logo)
   Dreapta: [logo mic + titlu pe același rând], stats, pulse, CTA
   ══════════════════════════════════════════════════════════ */

.r90sb {
  --acc:    #aa362c;
  --acc-h:  #c4402f;
  --acc-g:  rgba(170,54,44,.18);
  --bg:     #08060f;
  --bg2:    #0d0b1a;
  --bdr:    rgba(255,255,255,.07);
  --txt:    #eff0f5;
  --muted:  rgba(255,255,255,.42);
  --hint:   rgba(255,255,255,.2);
  --radius: 14px;

  background:
    radial-gradient(ellipse 60% 70% at 10% 50%,
      color-mix(in srgb, var(--acc) 10%, transparent) 0%,
      transparent 65%),
    var(--bg);
  color: var(--txt);
  font-family: var(--r90-font, system-ui, sans-serif);
  transition: background .8s ease;
}

.r90sb__wrap {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem;
}

/* ════════════════════════════════════════
   STÂNGA — Cover full, fără logo
   ════════════════════════════════════════ */
.r90sb__left {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.r90sb__cover-link { display: block; text-decoration: none; }

.r90sb__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* mobil: landscape */
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--bg2);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--bdr),
    0 8px 32px rgba(0,0,0,.55),
    0 0 60px color-mix(in srgb, var(--acc) 18%, transparent);
  transition: background-image .5s ease, box-shadow .4s ease;
}
.r90sb__cover:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 12px 40px rgba(0,0,0,.65),
    0 0 80px color-mix(in srgb, var(--acc) 28%, transparent);
}
/* Gradient jos pe cover */
.r90sb__cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(8,6,15,.92) 0%,
    rgba(8,6,15,.45) 40%,
    transparent 68%);
  pointer-events: none;
}

/* Badge LIVE */
.r90sb__live {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: #dc2626; color: #fff;
  font-size: .58rem; font-weight: 700; letter-spacing: .1em;
  padding: 2px 8px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(220,38,38,.45);
}
.r90sb__live-dot {
  width: 5px; height: 5px; border-radius: 50%; background: #fff;
  animation: sb-blink 1.4s ease-in-out infinite;
}
@keyframes sb-blink { 0%,100%{opacity:1} 50%{opacity:.15} }

/* Footer cover */
.r90sb__cover-footer {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: .7rem .85rem .65rem; gap: .5rem;
}
.r90sb__cover-meta { flex: 1; min-width: 0; }
.r90sb__show-name {
  display: block; font-size: .95rem; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.r90sb__show-hours {
  display: block; font-size: .62rem; color: rgba(255,255,255,.55); margin-top: 1px;
}

/* Waveform animat */
.r90sb__wave {
  display: flex; align-items: flex-end; gap: 2px;
  height: 26px; flex-shrink: 0;
}
.r90sb__wave-bar {
  width: 3px; border-radius: 2px;
  background: color-mix(in srgb, var(--acc) 75%, #fff);
  opacity: .7;
  animation: sb-wave var(--wdur,.8s) ease-in-out infinite alternate;
  transform-origin: bottom;
  transition: background .6s ease;
}
.r90sb__wave-bar:nth-child(1) {--wdur:.55s;--wh:4px}  .r90sb__wave-bar:nth-child(2) {--wdur:.8s;--wh:12px}
.r90sb__wave-bar:nth-child(3) {--wdur:.45s;--wh:8px}  .r90sb__wave-bar:nth-child(4) {--wdur:.9s;--wh:18px}
.r90sb__wave-bar:nth-child(5) {--wdur:.65s;--wh:10px} .r90sb__wave-bar:nth-child(6) {--wdur:1.1s;--wh:22px}
.r90sb__wave-bar:nth-child(7) {--wdur:.5s;--wh:7px}   .r90sb__wave-bar:nth-child(8) {--wdur:.75s;--wh:16px}
.r90sb__wave-bar:nth-child(9) {--wdur:.6s;--wh:20px}  .r90sb__wave-bar:nth-child(10){--wdur:.85s;--wh:11px}
.r90sb__wave-bar:nth-child(11){--wdur:.4s;--wh:6px}   .r90sb__wave-bar:nth-child(12){--wdur:1.0s;--wh:14px}
.r90sb__wave-bar:nth-child(13){--wdur:.7s;--wh:9px}   .r90sb__wave-bar:nth-child(14){--wdur:.95s;--wh:17px}
.r90sb__wave-bar:nth-child(15){--wdur:.58s;--wh:5px}  .r90sb__wave-bar:nth-child(16){--wdur:.82s;--wh:13px}
@keyframes sb-wave {
  from { height: 3px; opacity: .25; }
  to   { height: var(--wh,10px); opacity: .85; }
}

.r90sb__show-desc {
  font-size: .68rem; color: var(--hint); margin: 0; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ════════════════════════════════════════
   SEPARATOR
   ════════════════════════════════════════ */
.r90sb__divider {
  display: flex; align-items: center; justify-content: center;
  padding: .85rem 0;
}
.r90sb__divider-line {
  width: 100%; height: 1px;
  background: linear-gradient(to right,
    transparent,
    color-mix(in srgb, var(--acc) 55%, rgba(255,255,255,.2)) 40%,
    color-mix(in srgb, var(--acc) 55%, rgba(255,255,255,.2)) 60%,
    transparent);
  transition: background .6s ease;
}

/* ════════════════════════════════════════
   DREAPTA — Content
   ════════════════════════════════════════ */
.r90sb__right {
  display: flex; flex-direction: column; gap: .9rem;
}

/* ── Logo + Titlu pe același rând ── */
.r90sb__head { display: flex; flex-direction: column; gap: .35rem; }

.r90sb__kicker {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .6rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .12em;
}
.r90sb__kicker-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 8px var(--acc);
  animation: sb-blink 2s ease-in-out infinite;
  transition: background .6s ease, box-shadow .6s ease;
}

/* Titlu + logo pe același rând */
.r90sb__title-row {
  display: flex; align-items: center; gap: .7rem;
}
.r90sb__logo { display: none; } /* eliminat — titlul face treaba */
.r90sb__title {
  font-size: 2.4rem; font-weight: 900; margin: 0;
  line-height: 1; letter-spacing: -.03em; color: #fff;
  white-space: nowrap;
}
.r90sb__title-em {
  font-style: normal; color: var(--acc);
  text-shadow: 0 0 32px color-mix(in srgb, var(--acc) 55%, transparent);
  transition: color .6s ease, text-shadow .6s ease;
}

/* Identity inline */
.r90sb__id {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .15rem .4rem; font-size: .68rem; color: var(--muted);
  margin-top: .1rem;
}
.r90sb__id-avatar {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(139,92,246,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .7em; overflow: hidden;
}
.r90sb__id-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.r90sb__id-name  { font-weight: 600; color: var(--txt); }
.r90sb__id-sep   { color: var(--hint); }
.r90sb__id-level, .r90sb__id-karma { font-size: .6rem; }

/* Stats */
.r90sb__stats {
  display: flex; align-items: center;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--bdr); border-radius: var(--radius);
  overflow: hidden;
}
.r90sb__stat { flex: 1; text-align: center; padding: .6rem .25rem; }
.r90sb__stat-rule { width: 1px; height: 28px; flex-shrink: 0; background: var(--bdr); }
.r90sb__stat-val {
  display: block; font-size: 1.15rem; font-weight: 700;
  font-variant-numeric: tabular-nums; color: #fff;
}
.r90sb__stat-val--live { color: var(--acc); transition: color .6s ease; }
.r90sb__stat-lbl {
  display: block; font-size: .47rem; color: var(--hint);
  text-transform: uppercase; letter-spacing: .06em; margin-top: 2px;
}

/* Community Pulse */
.r90sb__pulse { display: flex; flex-direction: column; gap: .35rem; }
.r90sb__pulse-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: .3rem; border-bottom: 1px solid var(--bdr);
}
.r90sb__pulse-title {
  font-size: .52rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--hint);
}
.r90sb__pulse-indicator {
  width: 5px; height: 5px; border-radius: 50%;
  background: #7c3aed; animation: sb-blink 2s ease-in-out infinite 1s;
}
.r90sb__pulse-feed {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 130px; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none;
}
.r90sb__pulse-feed::-webkit-scrollbar { display: none; }
/* Plugin overrides */
.r90sb__pulse-feed .r90h-vote-item,
.r90sb__pulse-feed .r90h-social-item {
  font-size: .62rem !important; padding: 4px 6px !important;
  background: rgba(255,255,255,.025) !important; border-radius: 6px !important; border: none !important;
}
.r90sb__pulse-feed .r90h-vote-cover {
  width: 26px !important; height: 26px !important;
  overflow: hidden !important; flex-shrink: 0 !important; border-radius: 4px !important;
}
.r90sb__pulse-feed .r90h-vote-cover img,
.r90sb__pulse-feed img {
  max-width: 26px !important; max-height: 26px !important;
  width: 100% !important; height: 100% !important; object-fit: cover !important;
}
.r90sb__skel {
  height: 22px; border-radius: 5px; background: rgba(255,255,255,.03);
  animation: sb-shimmer 1.6s ease-in-out infinite;
}
.r90sb__skel--sm { height: 17px; width: 60%; }
@keyframes sb-shimmer { 0%,100%{opacity:.45} 50%{opacity:.1} }

/* CTA */
.r90sb__cta { margin-top: auto; }
.r90sb__cta > div { display: flex; flex-direction: column; gap: .4rem; }
.r90sb__btn {
  display: flex; align-items: center; justify-content: center;
  padding: .6rem .75rem; border-radius: 10px;
  font-size: .78rem; font-weight: 600; text-decoration: none;
  min-height: 44px; cursor: pointer;
  transition: all .15s ease; -webkit-tap-highlight-color: transparent;
}
.r90sb__btn--primary {
  background: var(--acc); color: #fff;
  box-shadow: 0 3px 14px var(--acc-g);
  transition: background .6s ease, box-shadow .6s ease, filter .15s ease;
}
.r90sb__btn--primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.r90sb__btn--ghost {
  background: rgba(255,255,255,.04); border: 1px solid var(--bdr); color: var(--muted);
}
.r90sb__btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ════════════════════════════════════════
   DESKTOP — split orizontal
   ════════════════════════════════════════ */
@media (min-width: 768px) {
  .r90sb__wrap {
    flex-direction: row; align-items: stretch;
    padding: 2rem 1.75rem; gap: 0;
    min-height: 400px;
  }
  /* Stânga: lățime fixă, cover portrait */
  .r90sb__left { flex: 0 0 310px; gap: .75rem; }
  .r90sb__cover { aspect-ratio: 3 / 4; } /* portrait pe desktop */

  /* Separator: vertical */
  .r90sb__divider {
    flex-direction: column; padding: 0 1.75rem;
    align-items: center; justify-content: stretch;
  }
  .r90sb__divider-line {
    width: 1px; height: 100%;
    background: linear-gradient(to bottom,
      transparent,
      color-mix(in srgb, var(--acc) 55%, rgba(255,255,255,.25)) 25%,
      color-mix(in srgb, var(--acc) 55%, rgba(255,255,255,.25)) 75%,
      transparent);
  }

  /* Dreapta */
  .r90sb__right { flex: 1; gap: 1rem; }
  .r90sb__title { font-size: 3.2rem; }
  .r90sb__stat-val { font-size: 1.3rem; }
  .r90sb__pulse-feed { max-height: 150px; }
  .r90sb__cta > div { flex-direction: row; gap: .5rem; }
  .r90sb__btn { flex: 1; }
}

@media (min-width: 1024px) {
  .r90sb__left { flex: 0 0 350px; }
  .r90sb__title { font-size: 3.6rem; }
  .r90sb__pulse-feed { max-height: 170px; }
}

@media (min-width: 1280px) {
  .r90sb__wrap { padding: 2.5rem 2.5rem; }
  .r90sb__left { flex: 0 0 380px; }
  .r90sb__divider { padding: 0 2rem; }
  .r90sb__title { font-size: 4rem; }
}

/* Accent adaptiv — tranziții */
.r90sb, .r90sb__cover, .r90sb__title-em, .r90sb__btn--primary,
.r90sb__kicker-dot, .r90sb__divider-line, .r90sb__wave-bar {
  transition: all .6s ease;
}
/* Nu suprascriem transition-ul pe hover */
.r90sb__btn--primary:hover { transition: filter .15s ease, transform .15s ease; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .r90sb__live-dot, .r90sb__wave-bar, .r90sb__kicker-dot,
  .r90sb__pulse-indicator, .r90sb__skel { animation: none !important; }
  .r90sb__wave-bar { height: 4px !important; opacity: .35 !important; }
}
