/* static/css/funnel/review_wall.css */

.step-review-wall { text-align: center; }

.step-review-wall .step-title{
  font-size: 1rem;
}

.step-review-wall .btn-primary-music {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ── Marquee container ── */
.rw-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 18px auto;
  padding: 14px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.rw-row { overflow: hidden; }

/* Rows 1 & 3 drift right (→), rows 2 & 4 drift left (←) */
.rw-track {
  display: flex;
  gap: 10px;
  width: max-content;
  will-change: transform;
}

.rw-row:nth-child(odd) .rw-track {
  animation: rw-drift-right var(--rw-dur, 80s) linear infinite;
}

.rw-row:nth-child(even) .rw-track {
  animation: rw-drift-left var(--rw-dur, 80s) linear infinite;
}

@keyframes rw-drift-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@keyframes rw-drift-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Pill ── */
.rw-pill { flex: 0 0 auto; }

.rw-pill-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 7px;
  background: #40365e;
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-full, 999px);
  white-space: nowrap;
}

/* ── Avatar ── */
.rw-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--pf-font-display, inherit);
}

.rw-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.rw-flag {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #3f365e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  line-height: 1;
      padding-left: 3px;
    padding-top: 2px;
}

.rw-pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.rw-quote {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pf-text);
  line-height: 1.1;
}

.rw-name {
  font-size: 0.72rem;
  color: var(--pf-text-dim);
  line-height: 1;
}

/* ── Stat + subtitle ── */
.rw-stat {
  font-family: var(--pf-font-display, inherit);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pf-text);
  margin: 4px auto 8px;
  line-height: 1.2;
}

.rw-stat-num { color: var(--pf-accent); }

.rw-sub {
  max-width: 420px;
  margin: 0 auto 4px;
}

@media (min-width: 640px) {
  .rw-avatar { width: 44px; height: 44px; }
  .rw-quote { font-size: 0.98rem; }
  .rw-stat { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rw-track { animation: none; }
}
