/*
 * Radiovipfm — secțiunea /music
 * =============================
 *
 * CSS de sine stătător. Nu depinde de Tailwind, pentru că build-ul e deja
 * compilat și clasele noi n-ar exista în el. Totul e prefixat cu .rvm- ca să
 * nu se bată cu app.css sau cu radio-player.css.
 *
 * Accentul e galbenul din logo (#FECE21). Fundalul păstrează tonul site-ului
 * (#181a26), ca secțiunea să se lege de topbar și footer.
 *
 * Ce dă caracter paginii: logo-ul din centru, cu inele care pulsează după
 * sunetul care chiar cântă, și egalizatorul real din bara de jos.
 */

:root {
  --y:      #FECE21;
  --y-hi:   #FFDD5C;
  --y-deep: #D9A800;
  --ink:    #17120A;

  --bg:      #181a26;
  --surface: #1e2130;
  --raised:  #242839;
  --line:    #2c3044;

  --text: #F4F5F7;
  --mid:  #9AA0AC;
  --dim:  #6b7282;

  --r:    12px;
  --r-lg: 18px;

  --ease:  cubic-bezier(.4, 0, .2, 1);
  --sprng: cubic-bezier(.34, 1.4, .64, 1);

}

/*
 * Variabilele stau pe :root, nu pe .rvm.
 *
 * De ce: erau definite pe .rvm si nu ajungeau la elemente — taburile ieseau
 * cyan, text si chenar deopotriva, pentru ca border-color cade pe
 * currentColor cand --line lipseste. Pe :root nu mai depind de nimic.
 *
 * Numele sunt generice, dar am verificat: nu se ciocnesc cu app.css.
 */
.rvm {
  color: var(--text);
  padding-bottom: 110px;

  /* la fel de lat ca paginile tale de evidence, nu intins pe tot ecranul */
  max-width: 1440px;
  margin-inline: auto;
}

.rvm *, .rvm *::before, .rvm *::after { box-sizing: border-box; }

.rvm h1, .rvm h2, .rvm h3 { margin: 0; font-weight: 600; }
.rvm p { margin: 0; }
.rvm a { color: inherit; text-decoration: none; }
.rvm button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.rvm img { max-width: 100%; display: block; }

.rvm :focus-visible,
.rvm-bar :focus-visible {
  outline: 2px solid var(--y);
  outline-offset: 3px;
  border-radius: 8px;
}

.rvm-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.rvm-dot {
  display: inline-block; width: 3px; height: 3px;
  margin: 0 7px; vertical-align: middle;
  border-radius: 50%; background: var(--dim);
}

/* ================================================================ HERO == */
.rvm-hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  padding: 46px 16px 40px;
  text-align: center;
}

.rvm-hero-stage {
  position: absolute;
  top: 30px; left: 50%;
  width: 300px; height: 300px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

/* inelele pornesc din spatele logo-ului si se sting spre exterior */
.rvm-ring {
  position: absolute; inset: 0;
  margin: auto;
  width: 120px; height: 120px;
  border: 1.5px solid var(--y);
  border-radius: 50%;
  opacity: 0;
  animation: rvm-pulse 3.6s var(--ease) infinite;
}
.rvm-ring-1 { animation-delay: 0s; }
.rvm-ring-2 { animation-delay: 1.2s; }
.rvm-ring-3 { animation-delay: 2.4s; }

@keyframes rvm-pulse {
  0%   { transform: scale(.7); opacity: 0; }
  22%  { opacity: calc(.34 + var(--rvm-level, 0) * .5); }
  100% { transform: scale(2.3); opacity: 0; }
}

/* cand canta, inelele se misca mai repede */
body.rvm-playing .rvm-ring { animation-duration: 2.2s; }

.rvm-hero-glow {
  position: absolute; inset: 0;
  margin: auto;
  width: 260px; height: 180px;
  background: radial-gradient(closest-side,
              rgba(254, 206, 33, calc(.15 + var(--rvm-level, 0) * .28)),
              transparent 72%);
  transition: background .16s linear;
}

.rvm-hero-logo {
  position: relative; z-index: 1;
  width: min(78vw, 340px);
  animation: rvm-float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 26px rgba(254, 206, 33, .22));
}

@keyframes rvm-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.rvm-hero-title {
  position: relative; z-index: 1;
  margin-top: 6px;
  font-size: clamp(26px, 6.4vw, 40px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.rvm-hero-sub {
  position: relative; z-index: 1;
  max-width: 460px;
  font-size: 14.5px;
  color: var(--mid);
}

.rvm-hero-stats {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 6px;
}

.rvm-stat {
  min-width: 96px;
  padding: 11px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.rvm-stat:hover { transform: translateY(-3px); border-color: rgba(254, 206, 33, .38); }

.rvm-stat b {
  display: block;
  font-size: 19px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: var(--y);
}
.rvm-stat span {
  font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim);
}

/* --------------------------------------------------------------- cautare */
.rvm-hero-search, .rvm-search { position: relative; width: 100%; }
.rvm-hero-search { max-width: 420px; margin-top: 10px; z-index: 1; }
.rvm-search { max-width: 100%; margin: 0 0 20px; }

.rvm-hero-search input, .rvm-search input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font: inherit; font-size: 14.5px;
  appearance: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.rvm-hero-search input::placeholder,
.rvm-search input::placeholder { color: var(--dim); }

.rvm-hero-search input:focus, .rvm-search input:focus {
  border-color: var(--y);
  box-shadow: 0 0 0 4px rgba(254, 206, 33, .12);
  outline: none;
}

.rvm-search-icon {
  position: absolute; left: 16px; top: 50%;
  width: 13px; height: 13px;
  margin-top: -8px;
  border: 2px solid var(--dim);
  border-radius: 50%;
  pointer-events: none;
  transition: border-color .18s var(--ease);
}
.rvm-search-icon::after {
  content: ''; position: absolute;
  right: -5px; bottom: -4px;
  width: 6px; height: 2px;
  background: var(--dim); border-radius: 2px;
  transform: rotate(45deg);
  transition: background .18s var(--ease);
}
.rvm-hero-search:focus-within .rvm-search-icon,
.rvm-search:focus-within .rvm-search-icon { border-color: var(--y); }
.rvm-hero-search:focus-within .rvm-search-icon::after,
.rvm-search:focus-within .rvm-search-icon::after { background: var(--y); }

/* ============================================================ SECTIUNI == */
.rvm-section { padding: 8px 0 34px; }

.rvm-section-head { margin-bottom: 16px; }

.rvm-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 5px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--y);
}
.rvm-eyebrow::before {
  content: ''; width: 16px; height: 2px;
  background: var(--y); border-radius: 2px;
}

.rvm-section-head h2 {
  font-size: clamp(20px, 4.6vw, 27px);
  letter-spacing: -.02em;
}

/* ========================================================== CATEGORII === */
.rvm-cats { display: grid; grid-template-columns: 1fr; gap: 10px; }

.rvm-cat {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s var(--ease),
              background .22s var(--ease), box-shadow .22s var(--ease);
}

/* luciu diagonal la trecerea cu mouse-ul */
.rvm-cat::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.055) 50%, transparent 62%);
  transform: translateX(-100%);
  transition: transform .65s var(--ease);
}
.rvm-cat:hover::after { transform: translateX(100%); }

.rvm-cat:hover {
  background: var(--raised);
  border-color: rgba(254, 206, 33, .4);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .34);
}

.rvm-cat-eq {
  flex: none;
  display: flex; align-items: flex-end; gap: 3px;
  width: 48px; height: 48px;
  padding-bottom: 15px;
  justify-content: center;
  background: linear-gradient(150deg, rgba(254,206,33,.16), rgba(254,206,33,.04));
  border: 1px solid rgba(254, 206, 33, .24);
  border-radius: 13px;
}
.rvm-cat-eq i {
  width: 3px; height: 9px;
  background: var(--y); border-radius: 2px;
  transition: height .25s var(--sprng);
}
.rvm-cat:hover .rvm-cat-eq i { animation: rvm-eq .82s ease-in-out infinite; }
.rvm-cat:hover .rvm-cat-eq i:nth-child(1) { animation-delay: -.5s; }
.rvm-cat:hover .rvm-cat-eq i:nth-child(2) { animation-delay: -.3s; height: 15px; }
.rvm-cat:hover .rvm-cat-eq i:nth-child(3) { animation-delay: -.1s; height: 11px; }
.rvm-cat:hover .rvm-cat-eq i:nth-child(4) { animation-delay: -.65s; }

@keyframes rvm-eq {
  0%, 100% { transform: scaleY(.4); }
  50%      { transform: scaleY(1.45); }
}

.rvm-cat-body { flex: 1; min-width: 0; }

.rvm-cat-name {
  display: block;
  font-size: 16px; font-weight: 600;
  letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rvm-cat:hover .rvm-cat-name { color: var(--y-hi); }

.rvm-cat-meta {
  display: block; margin-top: 3px;
  font-size: 12.5px; color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.rvm-cat-go {
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  transform: rotate(-45deg);
  transition: transform .22s var(--sprng), border-color .22s var(--ease);
}
.rvm-cat:hover .rvm-cat-go {
  border-color: var(--y);
  transform: rotate(-45deg) translate(3px, 3px);
}

/* =============================================================== TABURI = */
.rvm-tabs {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 0 18px;
  padding-top: 18px;
}

.rvm-tab-home { flex: none; }

/*
 * Logo-ul are deja un cerc in el (castile). Intr-o pastila rotunda parea
 * "cerc in cerc" si arata inghesuit. Il punem intr-un dreptunghi cu colturi
 * blande, mai lat, cu logo-ul mai mare si aer in jur.
 */
/*
 * Logo-ul are deja un cerc in el (castile). Orice cutie in jur — rotunda sau
 * cu colturi — arata ca "cerc in cerc". Asa ca am scos cutia cu totul:
 * logo-ul sta liber, mai mare, cu o linie subtire de despartire in dreapta.
 */
.rvm-tab-logo {
  display: block;
  padding: 0 18px 0 2px;
  border-right: 1px solid var(--line);
  opacity: .92;
  transition: opacity .2s var(--ease);
}
.rvm-tab-logo img {
  width: 128px; height: auto;
  display: block;
}
.rvm-tab-home:hover .rvm-tab-logo { opacity: 1; }

.rvm-tabs-scroll {
  display: flex; gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}
.rvm-tabs-scroll::-webkit-scrollbar { height: 5px; }
.rvm-tabs-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

.rvm-tab {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--mid);
  white-space: nowrap;
  transition: all .18s var(--ease);
}
.rvm-tab:hover { border-color: rgba(254, 206, 33, .42); color: var(--text); }

.rvm-tab.is-on {
  background: var(--y);
  border-color: var(--y);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(254, 206, 33, .28);
}

.rvm-tab-num {
  padding: 1px 7px;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}
.rvm-tab.is-on .rvm-tab-num { background: rgba(0, 0, 0, .16); }

/* ============================================================= ANTETUL == */
.rvm-head { margin-bottom: 18px; }

.rvm-head-text { min-width: 0; }

.rvm-head-title {
  font-size: clamp(23px, 5.4vw, 34px);
  font-weight: 700; letter-spacing: -.03em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.rvm-head-meta {
  margin-top: 7px;
  font-size: 13px; color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.rvm-clear { color: var(--y); font-weight: 500; }
.rvm-clear:hover { color: var(--y-hi); text-decoration: underline; }

.rvm-head-tools { margin-top: 14px; }

.rvm-pp select {
  padding: 8px 30px 8px 14px;
  background: var(--surface) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239AA0AC' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 9px center / 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mid);
  font: inherit; font-size: 12.5px;
  appearance: none; cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.rvm-pp select:hover { border-color: rgba(254, 206, 33, .4); color: var(--text); }
.rvm-pp select:focus { border-color: var(--y); outline: none; }

/* ============================================================== GRILA === */
.rvm-grid { display: grid; grid-template-columns: 1fr; gap: 9px; }

.rvm-card {
  position: relative;
  display: flex; align-items: center; gap: 13px;
  padding: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease), box-shadow .2s var(--ease);
}
.rvm-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.05) 50%, transparent 62%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.rvm-card:hover::after { transform: translateX(100%); }

.rvm-card:hover {
  background: var(--raised);
  border-color: rgba(254, 206, 33, .28);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .32);
}

.rvm-card.is-current {
  border-color: rgba(254, 206, 33, .52);
  background: linear-gradient(100deg, rgba(254, 206, 33, .11), var(--raised) 58%);
}

/* buton play */
.rvm-play {
  position: relative;
  flex: none;
  display: grid; place-content: center;
  width: 46px; height: 46px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all .22s var(--sprng);
}
.rvm-card:hover .rvm-play { border-color: var(--y); color: var(--y); transform: scale(1.06); }
.rvm-play:active { transform: scale(.94); }

.rvm-card.is-current .rvm-play {
  background: var(--y); border-color: var(--y); color: var(--ink);
  box-shadow: 0 0 0 4px rgba(254, 206, 33, .16);
}

.rvm-ico-play, .rvm-ico-pause { display: block; }

.rvm-ico-play {
  width: 0; height: 0;
  margin-left: 3px;
  border-left: 12px solid currentColor;
  border-top: 7.5px solid transparent;
  border-bottom: 7.5px solid transparent;
}
.rvm-ico-pause {
  display: none;
  width: 12px; height: 14px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}
.rvm-card.is-playing .rvm-ico-play  { display: none; }
.rvm-card.is-playing .rvm-ico-pause { display: block; }

.rvm-card-eq {
  display: none;
  position: absolute; inset: 0;
  align-items: flex-end; justify-content: center;
  gap: 2.5px; padding-bottom: 15px;
}
.rvm-card-eq i {
  width: 3px; background: var(--ink); border-radius: 2px;
  animation: rvm-eq .85s ease-in-out infinite;
}
.rvm-card-eq i:nth-child(1) { height: 8px;  animation-delay: -.4s; }
.rvm-card-eq i:nth-child(2) { height: 15px; animation-delay: -.2s; }
.rvm-card-eq i:nth-child(3) { height: 11px; }

.rvm-card-body { flex: 1; min-width: 0; }

.rvm-card-title {
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rvm-card.is-current .rvm-card-title { color: var(--y-hi); font-weight: 600; }

.rvm-card-meta {
  margin-top: 3px;
  font-size: 11.5px; color: var(--dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rvm-card-gen:hover { color: var(--y); }

.rvm-dl {
  flex: none;
  display: grid; place-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  color: var(--dim);
  opacity: 0;
  transition: all .18s var(--ease);
}
.rvm-card:hover .rvm-dl { opacity: 1; }
.rvm-dl:hover { background: rgba(255, 255, 255, .07); color: var(--y); }
.rvm-dl:focus-visible { opacity: 1; }

.rvm-ico-dl {
  position: relative;
  width: 13px; height: 13px;
  border-bottom: 2px solid currentColor;
}
.rvm-ico-dl::before {
  content: ''; position: absolute;
  left: 5px; top: -1px;
  width: 2px; height: 8px; background: currentColor;
}
.rvm-ico-dl::after {
  content: ''; position: absolute;
  left: 2.5px; top: 3px;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ============================================================== GOL ===== */
.rvm-empty {
  padding: 64px 22px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}
.rvm-empty-mark {
  font-size: 44px; color: var(--line); margin-bottom: 10px;
  animation: rvm-float 3.4s ease-in-out infinite;
}
.rvm-empty h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 6px; }
.rvm-empty p { color: var(--dim); font-size: 14px; margin-bottom: 16px; }
.rvm-empty code {
  padding: 2px 7px;
  background: var(--bg); border-radius: 6px;
  font-size: 12.5px; color: var(--mid);
}

.rvm-btn {
  display: inline-block;
  padding: 11px 22px;
  background: var(--y); color: var(--ink);
  border-radius: var(--r);
  font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 16px rgba(254, 206, 33, .24);
  transition: all .2s var(--ease);
}
.rvm-btn:hover {
  background: var(--y-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(254, 206, 33, .32);
}

/* ============================================================ PAGINARE == */
.rvm-pager {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 5px; margin-top: 26px;
}

.rvm-pg {
  min-width: 38px; height: 38px;
  display: grid; place-content: center;
  padding: 0 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px; font-variant-numeric: tabular-nums;
  color: var(--mid);
  transition: all .18s var(--ease);
}
.rvm-pg:hover { border-color: rgba(254, 206, 33, .42); color: var(--text); transform: translateY(-2px); }
.rvm-pg.is-on {
  background: var(--y); border-color: var(--y);
  color: var(--ink); font-weight: 700;
  box-shadow: 0 4px 14px rgba(254, 206, 33, .26);
}
.rvm-pg-gap { display: grid; place-content: center; width: 26px; color: var(--dim); }

/* ====================================================== BARA DE REDARE == */
.rvm-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  background: rgba(24, 26, 38, .84);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid #2c3044;
  padding-bottom: env(safe-area-inset-bottom);
  color: #F4F5F7;
  animation: rvm-up .38s cubic-bezier(.34, 1.4, .64, 1);
}

@keyframes rvm-up { from { transform: translateY(100%); } }

/* linia de lumina de sus se aprinde cu muzica */
.rvm-bar::before {
  content: '';
  position: absolute; inset: -1px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FECE21, transparent);
  opacity: calc(.2 + var(--rvm-level, 0) * .8);
  transition: opacity .12s linear;
}

.rvm-bar-progress { position: relative; height: 4px; }
.rvm-bar-progress input[type="range"] {
  position: absolute; inset: 0;
  width: 100%; height: 4px; margin: 0;
  border-radius: 0;
}

.rvm-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "now    extras"
    "ctl    ctl";
  align-items: center;
  gap: 6px 12px;
  padding: 9px 14px 11px;
  max-width: 1700px;
  margin: 0 auto;
}

/* ------------------------------------------------------- spectrul real - */
.rvm-now {
  grid-area: now;
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}

.rvm-viz {
  position: relative;
  flex: none;
  width: 46px; height: 46px;
  background: #14161f;
  border: 1px solid #2c3044;
  border-radius: 11px;
  overflow: hidden;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
body.rvm-playing .rvm-viz {
  border-color: rgba(254, 206, 33, .42);
  box-shadow: 0 0 calc(8px + var(--rvm-level, 0) * 20px)
              rgba(254, 206, 33, calc(.16 + var(--rvm-level, 0) * .34));
}

.rvm-viz canvas { display: block; width: 100%; height: 100%; }

/* daca browserul nu da spectrul, cad pe barele din CSS */
.rvm-viz-fb {
  display: none;
  position: absolute; inset: 0;
  align-items: flex-end; justify-content: center;
  gap: 3px; padding-bottom: 14px;
}
body.rvm-noviz .rvm-viz canvas { display: none; }
body.rvm-noviz .rvm-viz-fb { display: flex; }

.rvm-viz-fb i { width: 3px; height: 8px; background: #6b7282; border-radius: 2px; }
body.rvm-noviz.rvm-playing .rvm-viz-fb i {
  background: #FECE21;
  animation: rvm-eq .85s ease-in-out infinite;
}
body.rvm-noviz.rvm-playing .rvm-viz-fb i:nth-child(1) { animation-delay: -.5s; }
body.rvm-noviz.rvm-playing .rvm-viz-fb i:nth-child(2) { animation-delay: -.3s; }
body.rvm-noviz.rvm-playing .rvm-viz-fb i:nth-child(3) { animation-delay: -.1s; }
body.rvm-noviz.rvm-playing .rvm-viz-fb i:nth-child(4) { animation-delay: -.65s; }

.rvm-now-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.rvm-now-wrap { overflow: hidden; }

.rvm-now-text strong {
  display: block;
  font-size: 14px; font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rvm-now-text strong.is-long {
  text-overflow: clip;
  animation: rvm-marquee 15s linear infinite;
}
@keyframes rvm-marquee {
  0%, 12%   { transform: translateX(0); }
  88%, 100% { transform: translateX(calc(-100% + 190px)); }
}

.rvm-now-text small {
  font-size: 11px; color: #6b7282;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ------------------------------------------------------------- butoane - */
.rvm-controls {
  grid-area: ctl;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}

.rvm-ctl {
  position: relative;
  display: grid; place-content: center;
  border: 0; background: none; cursor: pointer;
  border-radius: 50%;
  color: #9AA0AC;
  transition: color .16s var(--ease), background .16s var(--ease),
              transform .18s var(--sprng);
}
.rvm-ctl:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.rvm-ctl:active { transform: scale(.9); }
.rvm-ctl.is-on { color: #FECE21; }

.rvm-ctl-sm { width: 38px; height: 38px; }

.rvm-ctl-main {
  width: 48px; height: 48px;
  margin: 0 6px;
  background: #FECE21; color: #17120A;
  box-shadow: 0 4px 18px rgba(254, 206, 33, .3);
}
.rvm-ctl-main:hover {
  background: #FFDD5C; color: #17120A;
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(254, 206, 33, .42);
}
.rvm-ctl-main:active { transform: scale(.95); }
.rvm-ctl-main .rvm-ico-pause { display: none; }
body.rvm-playing .rvm-ctl-main .rvm-ico-play  { display: none; }
body.rvm-playing .rvm-ctl-main .rvm-ico-pause { display: block; }

.rvm-ico-prev, .rvm-ico-next {
  position: relative;
  width: 0; height: 0;
  border-top: 6.5px solid transparent;
  border-bottom: 6.5px solid transparent;
}
.rvm-ico-prev { border-right: 10px solid currentColor; }
.rvm-ico-next { border-left:  10px solid currentColor; }
.rvm-ico-prev::after, .rvm-ico-next::after {
  content: ''; position: absolute; top: -6.5px;
  width: 2.5px; height: 13px; background: currentColor; border-radius: 1px;
}
.rvm-ico-prev::after { left: -13px; }
.rvm-ico-next::after { right: -13px; }

.rvm-ico-shuffle { position: relative; width: 16px; height: 12px; }
.rvm-ico-shuffle::before, .rvm-ico-shuffle::after {
  content: ''; position: absolute; left: 0;
  width: 16px; height: 2px;
  background: currentColor; border-radius: 2px;
}
.rvm-ico-shuffle::before { top: 1px; transform: rotate(21deg); }
.rvm-ico-shuffle::after  { top: 9px; transform: rotate(-21deg); }

.rvm-ico-repeat {
  position: relative;
  width: 16px; height: 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
  border-left-color: transparent;
}
.rvm-ico-repeat::after {
  content: ''; position: absolute;
  left: -3px; top: 1px;
  width: 4px; height: 4px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.rvm-ctl.is-one::after {
  content: '1';
  position: absolute; right: 5px; bottom: 4px;
  font-size: 9px; font-weight: 700; color: #FECE21;
}

/* -------------------------------------------------------------- extras - */
.rvm-extras {
  grid-area: extras;
  display: flex; align-items: center; gap: 12px;
  justify-self: end;
}

.rvm-time {
  font-size: 11.5px; color: #6b7282;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rvm-time b { color: #F4F5F7; font-weight: 600; }

.rvm-vol { display: flex; align-items: center; gap: 6px; }

.rvm-ico-vol, .rvm-ico-mute {
  position: relative;
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 8px solid currentColor;
}
.rvm-ico-vol::after {
  content: ''; position: absolute;
  left: 2px; top: -4.5px;
  width: 6px; height: 9px;
  border-right: 2px solid currentColor;
  border-radius: 0 7px 7px 0;
}
.rvm-ico-mute { display: none; }
.rvm-ico-mute::after {
  content: ''; position: absolute;
  left: 1px; top: -1px;
  width: 11px; height: 2px;
  background: currentColor; border-radius: 2px;
  transform: rotate(-45deg);
}
body.rvm-muted .rvm-ico-vol  { display: none; }
body.rvm-muted .rvm-ico-mute { display: block; }
body.rvm-muted [data-rvm-mute] { color: #FECE21; }

/* slidere */
.rvm-bar input[type="range"] {
  --fill: 0%;
  height: 5px;
  background: linear-gradient(to right,
    #FECE21 0%, #FECE21 var(--fill),
    #2c3044 var(--fill), #2c3044 100%);
  border-radius: 999px;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  transition: height .15s var(--ease);
}
.rvm-bar input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px; height: 13px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .16s var(--ease), transform .16s var(--sprng);
}
.rvm-bar input[type="range"]:hover::-webkit-slider-thumb,
.rvm-bar input[type="range"]:focus-visible::-webkit-slider-thumb { opacity: 1; }
.rvm-bar input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }

.rvm-bar input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px;
  background: #fff; border: 0; border-radius: 50%;
  opacity: 0;
}
.rvm-bar input[type="range"]:hover::-moz-range-thumb { opacity: 1; }

.rvm-bar-progress:hover input[type="range"] { height: 6px; }

[data-rvm-volume] { width: 84px; display: none; }

/* ================================================== TABLETA (720px+) === */
@media (min-width: 720px) {

  .rvm-cats { grid-template-columns: repeat(2, 1fr); }
  .rvm-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .rvm-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px;
  }
  .rvm-head-tools { margin-top: 0; }

  .rvm-bar-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "now ctl extras";
    padding: 11px 20px 13px;
  }

  [data-rvm-volume] { display: block; }
}

/* ================================================== DESKTOP (1024px+) == */
@media (min-width: 1024px) {

  .rvm-hero { padding: 60px 16px 52px; }
  .rvm-hero-stage { top: 36px; width: 380px; height: 380px; }
  .rvm-ring { width: 150px; height: 150px; }

  .rvm-cats { grid-template-columns: repeat(3, 1fr); }
  .rvm-grid { grid-template-columns: repeat(3, 1fr); gap: 11px; }

  .rvm-bar-inner {
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    padding: 12px 26px 14px;
  }
  [data-rvm-volume] { width: 96px; }
}

/*
 * 5 coloane de la 1400px in sus: cu 25 de melodii pe pagina ies exact
 * 5 randuri pline, fara rand orfan la final.
 */
@media (min-width: 1400px) {
  .rvm-cats { grid-template-columns: repeat(4, 1fr); }
  .rvm-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1800px) {
  .rvm-cats { grid-template-columns: repeat(5, 1fr); }
}

/* ==================================================== PREFERINTE USER == */
@media (prefers-reduced-motion: reduce) {
  .rvm *, .rvm *::before, .rvm *::after,
  .rvm-bar *, .rvm-bar *::before, .rvm-bar *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .rvm-card::after, .rvm-cat::after { display: none; }
}

@media print {
  .rvm-bar, .rvm-pager, .rvm-tabs { display: none; }
  .rvm { padding-bottom: 0; }
}

/* ------------------------------------------- biblioteca nu răspunde --- */
/*
 * Melodiile stau pe VPS, site-ul pe cPanel. Dacă VPS-ul nu răspunde, pagina
 * nu crapă — arată mesajul ăsta și rămâne folosibilă.
 */
.rvm-offline {
  display: flex; align-items: flex-start; gap: 13px;
  margin: 0 0 22px;
  padding: 16px 18px;
  background: rgba(234, 179, 8, .1);
  border: 1px solid rgba(234, 179, 8, .34);
  border-left-width: 3px;
  border-radius: 12px;
}
.rvm-offline > i { font-size: 18px; color: #eab308; margin-top: 2px; }
.rvm-offline div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rvm-offline b { font-size: 14.5px; color: #fde047; }
.rvm-offline span { font-size: 13px; color: var(--mid, #9AA0AC); }

/* ==================================================================== */
/*  PAGINA DE DESCĂRCĂRI                                                */
/* ==================================================================== */

/* ------------------------------------------------------------ cifre -- */
.rvm-dl-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.rvm-dl-stat {
  padding: 14px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: center;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.rvm-dl-stat:hover { transform: translateY(-3px); border-color: rgba(254, 206, 33, .38); }

.rvm-dl-stat b {
  display: block;
  font-size: 22px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: var(--y);
}
.rvm-dl-stat span {
  font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim);
}

/* ---------------------------------------------------------- grafice -- */
.rvm-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.rvm-chart-box {
  padding: 8px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* ---------------------------------------------------------- panouri -- */
.rvm-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.rvm-panel {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 22px;
}

.rvm-panel-title {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 16px;
  font-size: 15px; font-weight: 700;
  letter-spacing: -.01em;
}
.rvm-panel-title i { color: var(--y); font-size: 14px; }

/* -------------------------------------------------------- top țări --- */
.rvm-country-list { display: flex; flex-direction: column; gap: 9px; }

.rvm-country {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 11px;
}

.rvm-country-flag img {
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.rvm-country-bar {
  height: 7px;
  background: rgba(255, 255, 255, .05);
  border-radius: 99px;
  overflow: hidden;
}
.rvm-country-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--y-deep), var(--y));
  border-radius: 99px;
  transition: width .5s var(--ease);
}

.rvm-country-num {
  font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 46px; text-align: right;
}
.rvm-country-pct {
  font-size: 11px; color: var(--dim);
  font-variant-numeric: tabular-nums;
  min-width: 40px; text-align: right;
}

/* ----------------------------------------------------- top melodii --- */
.rvm-top-songs {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 3px;
}

.rvm-top-songs li {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  transition: background .16s var(--ease);
}
.rvm-top-songs li:hover { background: rgba(255, 255, 255, .035); }

.rvm-rank {
  flex: none;
  display: grid; place-content: center;
  width: 24px; height: 24px;
  background: rgba(255, 255, 255, .05);
  border-radius: 7px;
  font-size: 11px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}
.rvm-top-songs li:nth-child(1) .rvm-rank { background: var(--y); color: var(--ink); }
.rvm-top-songs li:nth-child(2) .rvm-rank { background: rgba(254, 206, 33, .34); color: var(--y-hi); }
.rvm-top-songs li:nth-child(3) .rvm-rank { background: rgba(254, 206, 33, .18); color: var(--y-hi); }

.rvm-top-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rvm-top-title {
  font-size: 13.5px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rvm-top-gen { font-size: 11px; color: var(--dim); }
.rvm-top-gen:hover { color: var(--y); }

.rvm-top-num {
  flex: none;
  font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--y);
}

/* ------------------------------------------------------------ tabel -- */
.rvm-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -18px;
  padding: 0 18px;
}

.rvm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rvm-table th {
  padding: 9px 10px;
  text-align: left;
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.rvm-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
}
.rvm-table tbody tr { transition: background .16s var(--ease); }
.rvm-table tbody tr:hover { background: rgba(255, 255, 255, .035); }
.rvm-table tbody tr:last-child td { border-bottom: 0; }

.rvm-td-title {
  max-width: 260px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-weight: 500;
}
.rvm-td-gen { color: var(--mid); }
.rvm-td-gen:hover { color: var(--y); }
.rvm-td-dim { color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rvm-ta-right { text-align: right; }

/* -------------------------------------------------------- paginare --- */
.rvm-paginate { margin-top: 16px; }
.rvm-paginate svg { width: 16px; height: 16px; }

/* =============================================== TABLETĂ (720px+) ==== */
@media (min-width: 720px) {
  .rvm-dl-stats { grid-template-columns: repeat(5, 1fr); }
  .rvm-charts   { grid-template-columns: repeat(2, 1fr); }
  .rvm-two      { grid-template-columns: repeat(2, 1fr); }
  .rvm-two .rvm-panel { margin-bottom: 0; }
  .rvm-td-title { max-width: 340px; }
}

/* -------------------------------------------- buton catre statistici -- */
.rvm-hero-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--mid);
  transition: all .18s var(--ease);
}
.rvm-hero-link i { font-size: 12px; color: var(--y); }
.rvm-hero-link:hover {
  border-color: rgba(254, 206, 33, .45);
  color: var(--text);
  transform: translateY(-2px);
}

/* ==================================================================== */
/*  CONTACTE / REȚELE SOCIALE                                           */
/* ==================================================================== */

.rvm-social {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px;
  padding: 18px;
  margin-bottom: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.rvm-social-label {
  display: inline-flex; align-items: center; gap: 9px;
  margin-right: auto;
  font-size: 13.5px; font-weight: 700;
}
.rvm-social-label i { color: var(--y); }
.rvm-social-label small {
  display: block;
  font-size: 11.5px; font-weight: 400;
  color: var(--dim);
}

.rvm-social-links { display: flex; flex-wrap: wrap; gap: 8px; }

.rvm-social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--mid);
  transition: all .18s var(--sprng);
}
.rvm-social-btn i { font-size: 14px; }
.rvm-social-btn:hover { transform: translateY(-3px); color: #fff; }

.rvm-social-btn.is-fb:hover { background: #1877f2; border-color: #1877f2; }
.rvm-social-btn.is-tt:hover { background: #000; border-color: #25f4ee; color: #25f4ee; }
.rvm-social-btn.is-yt:hover { background: #ff0000; border-color: #ff0000; }

@media (max-width: 600px) {
  .rvm-social { flex-direction: column; align-items: stretch; }
  .rvm-social-label { margin-right: 0; }
  .rvm-social-links { justify-content: stretch; }
  .rvm-social-btn { flex: 1; justify-content: center; }
}

/* ==================================================================== */
/*  PAGINA UNEI MELODII                                                 */
/* ==================================================================== */

.rvm-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 20px 0 16px;
  font-size: 12.5px; color: var(--dim);
}
.rvm-crumbs a { color: var(--mid); }
.rvm-crumbs a:hover { color: var(--y); }
.rvm-crumbs-now {
  color: var(--text);
  max-width: 320px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.rvm-song {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 22px;
}

.rvm-song-head {
  display: flex; flex-direction: column; gap: 18px;
  padding: 22px;
}

/* coperta: logo-ul, cu egalizator peste */
.rvm-song-art {
  position: relative;
  align-self: center;
  display: grid; place-content: center;
  width: 100%; max-width: 260px;
  aspect-ratio: 1;
  background:
    radial-gradient(closest-side, rgba(254,206,33,.14), transparent 72%),
    linear-gradient(150deg, var(--raised), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.rvm-song-art img { width: 62%; height: auto; opacity: .95; }

.rvm-song-eq {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; align-items: flex-end; justify-content: center; gap: 4px;
  height: 26px;
}
.rvm-song-eq i {
  width: 4px; height: 9px;
  background: var(--y); border-radius: 2px;
  opacity: .5;
}
body.rvm-playing .rvm-song-eq i {
  opacity: 1;
  animation: rvm-eq .85s ease-in-out infinite;
}
body.rvm-playing .rvm-song-eq i:nth-child(1) { animation-delay: -.5s; }
body.rvm-playing .rvm-song-eq i:nth-child(2) { animation-delay: -.3s; height: 18px; }
body.rvm-playing .rvm-song-eq i:nth-child(3) { animation-delay: -.1s; height: 13px; }
body.rvm-playing .rvm-song-eq i:nth-child(4) { animation-delay: -.65s; }

.rvm-song-info { min-width: 0; }

.rvm-song-title {
  font-size: clamp(21px, 4.6vw, 32px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin: 4px 0 8px;
  overflow-wrap: anywhere;
}

.rvm-song-meta { font-size: 13px; color: var(--dim); }

.rvm-song-actions {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-top: 18px;
}

.rvm-song-play, .rvm-song-dl {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border: 0; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: all .2s var(--sprng);
}

.rvm-song-play {
  background: var(--y); color: var(--ink);
  box-shadow: 0 4px 18px rgba(254, 206, 33, .28);
}
.rvm-song-play:hover { background: var(--y-hi); transform: translateY(-2px); }
.rvm-song-play .rvm-ico-pause { display: none; }
body.rvm-playing .rvm-song-play .rvm-ico-play  { display: none; }
body.rvm-playing .rvm-song-play .rvm-ico-pause { display: block; }

.rvm-song-dl {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--mid);
}
.rvm-song-dl:hover {
  border-color: rgba(254, 206, 33, .5);
  color: var(--text);
  transform: translateY(-2px);
}

/* anterioara / urmatoarea */
.rvm-song-nav {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  padding: 0 22px 22px;
}

.rvm-song-nav-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all .18s var(--ease);
}
.rvm-song-nav-item:hover { border-color: rgba(254, 206, 33, .4); }
.rvm-song-nav-item.is-next { text-align: right; }

.rvm-song-nav-dir {
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--y);
}
.rvm-song-nav-title {
  font-size: 13.5px; color: var(--mid);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rvm-song-nav-item:hover .rvm-song-nav-title { color: var(--text); }

.rvm-song-about {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.65;
  color: var(--mid);
}
.rvm-song-about strong { color: var(--text); }
.rvm-song-about a { color: var(--y); }
.rvm-song-about a:hover { text-decoration: underline; }

/* melodii înrudite */
.rvm-rel-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px;
  width: 100%;
}
.rvm-rel-link .rvm-play { pointer-events: none; }
.rvm-rel-link .rvm-card-title,
.rvm-rel-link .rvm-card-meta { display: block; }

/* titlurile din listă duc acum la pagina melodiei */
.rvm-card-title a { color: inherit; }
.rvm-card-title a:hover { color: var(--y-hi); }

/* ==================================================================== */
/*  VERIFICARE / OPRIT                                                  */
/* ==================================================================== */

.rvm-gate {
  max-width: 520px;
  margin: 40px auto;
  padding: 36px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
}

.rvm-gate-mark {
  display: grid; place-content: center;
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  background: rgba(254, 206, 33, .12);
  border: 1px solid rgba(254, 206, 33, .3);
  border-radius: 20px;
}
.rvm-gate-mark i { font-size: 26px; color: var(--y); }
.rvm-gate-mark.is-stop {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .3);
}
.rvm-gate-mark.is-stop i { color: #ef4444; }

.rvm-gate h1 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.rvm-gate-text {
  font-size: 14.5px; line-height: 1.6;
  color: var(--mid);
  margin-bottom: 22px;
}

.rvm-gate-err {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px;
  margin-bottom: 18px;
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .32);
  border-radius: 10px;
  font-size: 13.5px; color: #fca5a5;
  text-align: left;
}

.rvm-gate-form {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.rvm-gate-form .h-captcha { display: inline-block; }

.rvm-gate-note {
  font-size: 13px; color: var(--dim);
  padding: 12px 16px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 10px;
}

.rvm-gate-back {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px; color: var(--dim);
}
.rvm-gate-back:hover { color: var(--y); }

/* ============================================= TABLETĂ (720px+) ====== */
@media (min-width: 720px) {
  .rvm-song-head { flex-direction: row; align-items: center; gap: 26px; padding: 28px; }
  .rvm-song-art  { flex: none; width: 220px; align-self: flex-start; }
  .rvm-song-nav  { grid-template-columns: 1fr 1fr; padding: 0 28px 28px; }
  .rvm-song-about { padding: 20px 28px; }
}
