/* Exchange reviews — premium Superstar theme */

.erv-page {
  --erv-brand: #eab308;
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

/* ── Hero ── */
.erv-hero,
.erv-detail-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
}

.erv-hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 130vw);
  height: 460px;
  background: radial-gradient(ellipse at center, rgba(234, 179, 8, 0.2) 0%, transparent 68%);
  pointer-events: none;
}

.erv-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  animation: erv-orb-float 12s ease-in-out infinite;
}

.erv-hero__orb--a {
  width: 220px;
  height: 220px;
  top: 10%;
  left: 8%;
  background: rgba(234, 179, 8, 0.25);
}

.erv-hero__orb--b {
  width: 180px;
  height: 180px;
  top: 20%;
  right: 10%;
  background: rgba(56, 189, 248, 0.2);
  animation-delay: -4s;
}

@keyframes erv-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.06); }
}

.erv-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.erv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.1);
  color: var(--accent-2, #fbbf24);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.erv-badge__icon {
  animation: erv-spin 8s linear infinite;
}

@keyframes erv-spin {
  to { transform: rotate(360deg); }
}

.erv-hero h1,
.erv-detail-head h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, #fff 25%, var(--accent-2, #fbbf24) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.erv-lead {
  color: var(--text-muted, #94a3b8);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.75;
  max-width: 640px;
}

.erv-detail-intro .erv-lead {
  max-width: none;
}

.erv-note {
  margin-top: 1.25rem;
  font-size: 0.84rem;
  color: var(--text-muted, #64748b);
}

.erv-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.erv-stat {
  min-width: 96px;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-sm, 12px);
  border: 1px solid var(--border, rgba(148, 163, 184, 0.2));
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(10px);
}

.erv-stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent, #eab308);
  line-height: 1.2;
}

.erv-stat span {
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
}

/* ── Grid & cards ── */
.erv-section {
  padding: 0.5rem 0 3rem;
}

.erv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.erv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.45rem 1.4rem 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--erv-brand) 14%, transparent), transparent 55%),
    linear-gradient(160deg, rgba(18, 24, 38, 0.94) 0%, rgba(6, 10, 22, 0.97) 100%);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}

.erv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--erv-brand) 55%, transparent), transparent 55%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.erv-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--erv-brand) 45%, transparent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px color-mix(in srgb, var(--erv-brand) 12%, transparent);
}

.erv-card__shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 42%, rgba(255, 255, 255, 0.04) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.erv-card:hover .erv-card__shine {
  transform: translateX(30%);
}

.erv-card__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.erv-card__brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.erv-card__logo-wrap,
.erv-detail-logo-wrap {
  flex-shrink: 0;
}

.erv-logo-slot {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #0b0f0e;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--erv-brand, #eab308) 35%, transparent),
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 24px color-mix(in srgb, var(--erv-brand, #eab308) 18%, transparent);
}

.erv-logo-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.erv-logo-slot--sm { width: 64px; height: 64px; border-radius: 18px; }
.erv-logo-slot--md { width: 72px; height: 72px; border-radius: 20px; }
.erv-logo-slot--lg {
  width: 88px;
  min-width: 88px;
  max-width: 220px;
  height: 88px;
  border-radius: 22px;
  padding: 0;
  background: #0b0f0e;
}

.erv-logo-slot--wordmark {
  width: auto;
  min-width: 120px;
  max-width: 220px;
  height: 72px;
  padding: 12px 18px;
  background: linear-gradient(160deg, #12161f, #0a0d14);
}

.erv-logo-slot--wordmark .erv-exchange-logo {
  object-fit: contain;
  width: auto;
  max-width: 180px;
  height: 100%;
  max-height: 48px;
}

.erv-exchange-logo--wordmark {
  width: auto;
  max-width: 180px;
  height: 100%;
  max-height: 48px;
  object-fit: contain;
}

.erv-exchange-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
}

.erv-card__titles {
  min-width: 0;
}

.erv-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.erv-chip--soft {
  padding: 0.22rem 0.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.erv-exchange-logo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 800;
  font-size: 0.85rem;
  color: #0f172a;
  background: linear-gradient(135deg, var(--erv-brand), color-mix(in srgb, var(--erv-brand) 60%, #fff));
}

.erv-card__logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: linear-gradient(135deg, var(--erv-brand), color-mix(in srgb, var(--erv-brand) 60%, #fff));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--erv-brand) 35%, transparent);
  flex-shrink: 0;
}

.erv-card__logo--lg {
  width: 64px;
  height: 64px;
  font-size: 1.1rem;
  border-radius: 18px;
}

.erv-card__brand h2 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  line-height: 1.3;
}

.erv-card__brand h2 a {
  color: inherit;
  text-decoration: none;
}

.erv-card__brand h2 a:hover {
  color: var(--accent-2, #fbbf24);
}

.erv-card__summary {
  font-size: 0.9rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.65;
  flex: 1;
}

.erv-card__rating-row {
  min-height: 1.5rem;
}

.erv-card__actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.25rem;
}

/* Score ring */
.erv-ring {
  --erv-score: 7;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  background: conic-gradient(
    var(--erv-brand) calc(var(--erv-score) * 36deg),
    rgba(148, 163, 184, 0.14) 0
  );
  box-shadow: 0 0 20px color-mix(in srgb, var(--erv-brand) 20%, transparent);
}

.erv-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.92);
}

.erv-ring span,
.erv-ring small {
  position: relative;
  z-index: 1;
}

.erv-ring span {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--erv-brand);
  line-height: 1;
}

.erv-ring small {
  display: none;
}

.erv-ring--lg {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.5rem;
}

.erv-ring--lg span {
  font-size: 1.45rem;
}

/* Pills & stars */
.erv-pill {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.erv-pill--restricted {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.erv-pill--mixed {
  background: rgba(234, 179, 8, 0.14);
  color: #fde68a;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.erv-pill--open,
.erv-pill--unknown {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.erv-stars-display {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
}

.erv-stars-display strong {
  margin-inline-start: 0.35rem;
  color: var(--accent-2, #fbbf24);
}

.erv-star {
  color: rgba(148, 163, 184, 0.35);
  font-size: 1rem;
  line-height: 1;
}

.erv-star.is-on {
  color: var(--accent-2, #fbbf24);
  text-shadow: 0 0 10px rgba(234, 179, 8, 0.35);
}

.erv-star.is-half {
  background: linear-gradient(90deg, var(--accent-2, #fbbf24) 50%, rgba(148, 163, 184, 0.35) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.erv-stars-display--lg .erv-star {
  font-size: 1.35rem;
}

.erv-be-first {
  font-size: 0.85rem;
  color: var(--accent-2, #fbbf24);
  font-weight: 600;
}

.erv-muted {
  color: var(--text-muted, #64748b);
  font-size: 0.82rem;
}

/* Community */
.erv-community {
  padding: 1rem 0 2.5rem;
}

.erv-community__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.6rem 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(234, 179, 8, 0.28);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.08), rgba(15, 23, 42, 0.6));
}

.erv-community__copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.erv-community__copy p {
  margin: 0;
  color: var(--text-muted, #94a3b8);
  font-size: 0.92rem;
}

.erv-brokers-note {
  padding-bottom: 3.5rem;
  text-align: center;
  color: var(--text-muted, #64748b);
  font-size: 0.88rem;
}

/* ── Detail page (v4 layout) ── */
.erv-detail {
  padding-bottom: 3rem;
}

.erv-detail-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--erv-brand) 18%, transparent) 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.erv-detail-hero {
  position: relative;
  z-index: 1;
  text-align: start;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 1.5rem;
}

.erv-detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.erv-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-2, #fbbf24);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.erv-back:hover { opacity: 0.85; }

.erv-official-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-muted, #cbd5e1);
  font-size: 0.82rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.erv-official-btn:hover {
  border-color: var(--accent-2, #fbbf24);
  color: var(--accent-2, #fbbf24);
}

.erv-detail-hero-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
  padding: 1.5rem 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 860px) {
  .erv-detail-hero-card {
    grid-template-columns: 1fr;
  }
}

.erv-detail-identity {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.erv-detail-title-block h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #fff 30%, var(--accent-2, #fbbf24) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.erv-detail-tagline {
  margin: 0.75rem 0 0;
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 52ch;
}

.erv-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.erv-chip {
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.erv-detail-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.erv-metric {
  min-width: 130px;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.55);
  text-align: center;
}

.erv-metric__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--erv-brand);
  line-height: 1.1;
}

.erv-metric__value small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
}

.erv-metric__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 0.25rem;
}

.erv-metric__sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.35rem;
}

.erv-metric__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  margin-top: 0.5rem;
  overflow: hidden;
}

.erv-metric__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--erv-brand);
}

.erv-stars-display--sm .erv-star {
  font-size: 0.85rem;
}

.erv-detail-body {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.erv-block {
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.5);
  margin-bottom: 1rem;
}

.erv-block h2,
.erv-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.erv-block p {
  margin: 0;
  color: var(--text-muted, #cbd5e1);
  line-height: 1.7;
  font-size: 0.92rem;
}

.erv-block--iran {
  border-color: color-mix(in srgb, var(--erv-brand) 25%, transparent);
}

.erv-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .erv-pros-cons { grid-template-columns: 1fr; }
}

.erv-block--pros {
  border-color: rgba(34, 197, 94, 0.2);
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.06), rgba(15, 23, 42, 0.55));
}

.erv-block--cons {
  border-color: rgba(239, 68, 68, 0.2);
  background: linear-gradient(160deg, rgba(239, 68, 68, 0.06), rgba(15, 23, 42, 0.55));
}

.erv-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.erv-checklist li {
  position: relative;
  padding-inline-start: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.erv-checklist li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: #4ade80;
  font-weight: 700;
}

.erv-checklist--warn li::before {
  content: "!";
  color: #f87171;
}

.erv-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .erv-info-grid { grid-template-columns: 1fr; }
}

.erv-risk {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fecaca;
  font-size: 0.86rem;
}

.erv-review-cta {
  padding: 1.5rem 1.75rem;
  border-radius: 20px;
  margin: 1.5rem 0;
  border: 1px solid color-mix(in srgb, var(--erv-brand) 35%, transparent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--erv-brand) 8%, rgba(15, 23, 42, 0.9)), rgba(2, 6, 23, 0.95));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.erv-review-cta__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.erv-review-cta__header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.erv-review-cta__header p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted, #94a3b8);
}

.erv-form--wide .erv-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .erv-form--wide .erv-form__row { grid-template-columns: 1fr; }
}

.erv-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  font-weight: 500;
}

.erv-form__field span:first-child {
  color: var(--text-muted, #94a3b8);
}

.erv-form input,
.erv-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.7);
  color: inherit;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.erv-form input:focus,
.erv-form textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--erv-brand) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--erv-brand) 15%, transparent);
}

.erv-breakdown-grid {
  max-width: 400px;
}

.erv-reviews-section {
  margin-top: 0.5rem;
}

.erv-reviews-grid {
  display: grid;
  gap: 0.85rem;
}

.erv-review-card {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.45);
}

.erv-review-card header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.erv-review-card header time {
  margin-inline-start: auto;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
}

.erv-review-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.erv-review-card p {
  margin: 0;
  color: var(--text-muted, #cbd5e1);
  line-height: 1.65;
  font-size: 0.9rem;
}

.erv-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
  background: linear-gradient(135deg, var(--erv-brand), color-mix(in srgb, var(--erv-brand) 55%, #fff));
  flex-shrink: 0;
}

.erv-community--inline {
  padding: 1.5rem 0 0;
}

/* Rating breakdown */
.erv-bar-row {
  display: grid;
  grid-template-columns: 3rem 1fr 2rem;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
}

.erv-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  overflow: hidden;
}

.erv-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--erv-brand), var(--accent-2, #fbbf24));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reviews list */
.erv-reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.erv-reviews-head h2 {
  margin: 0;
}

.erv-empty {
  text-align: center;
  padding: 1.5rem 0;
}

.erv-empty p {
  color: var(--text-muted, #94a3b8);
  margin-bottom: 0.75rem;
}

/* Form (shared) */
.erv-form label,
.erv-field {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  font-weight: 500;
}

.erv-field__label {
  display: block;
  margin-bottom: 0.45rem;
}

.erv-form input,
.erv-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.7);
  color: inherit;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.erv-form input:focus,
.erv-form textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--erv-brand) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--erv-brand) 15%, transparent);
}

.erv-star-input {
  display: flex;
  gap: 0.2rem;
  direction: ltr;
}

.erv-star-btn {
  background: none;
  border: none;
  padding: 0.15rem;
  font-size: 1.65rem;
  line-height: 1;
  color: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition: transform 0.15s, color 0.15s, text-shadow 0.15s;
}

.erv-star-btn:hover,
.erv-star-btn.is-active {
  color: var(--accent-2, #fbbf24);
  text-shadow: 0 0 12px rgba(234, 179, 8, 0.4);
  transform: scale(1.12);
}

.erv-star-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
}

.erv-star-hint.is-set {
  color: var(--accent-2, #fbbf24);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.erv-social-box p {
  font-size: 0.9rem;
  color: var(--text-muted, #94a3b8);
}

.erv-detail-aside {
  position: sticky;
  top: 5.5rem;
}

@media (max-width: 960px) {
  .erv-detail-aside {
    position: static;
  }
}

/* Reveal animation */
.erv-reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: erv-reveal-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes erv-reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .erv-reveal,
  .erv-hero__orb,
  .erv-badge__icon {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .erv-card:hover {
    transform: none;
  }
}

/* SEO / GEO — breadcrumb & FAQ */
.erv-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  position: relative;
  z-index: 2;
}

.erv-breadcrumb a {
  color: var(--accent-2, #fbbf24);
  text-decoration: none;
}

.erv-breadcrumb a:hover { text-decoration: underline; }

.erv-detail-hero .erv-breadcrumb {
  padding-top: 0;
  margin-bottom: 0.85rem;
}

.erv-faq {
  padding: 0.5rem 0 2.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.erv-faq h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.erv-faq__lead {
  margin: 0 0 1.1rem;
  color: var(--text-muted, #94a3b8);
  font-size: 0.92rem;
  line-height: 1.65;
}

.erv-faq__list {
  display: grid;
  gap: 0.65rem;
}

.erv-faq__item {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.85rem 1.05rem;
}

.erv-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}

.erv-faq__item summary::-webkit-details-marker { display: none; }

.erv-faq__item summary::after {
  content: "+";
  float: inline-end;
  color: var(--accent-2, #fbbf24);
  font-weight: 700;
}

.erv-faq__item[open] summary::after { content: "−"; }

.erv-faq__item p {
  margin: 0.75rem 0 0.15rem;
  color: var(--text-muted, #cbd5e1);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Expanded SEO guide blocks */
.erv-seo-guide {
  padding: 0.25rem 0 2.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.erv-seo-guide h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}

.erv-seo-guide__intro p {
  margin: 0 0 0.9rem;
  color: var(--text-muted, #cbd5e1);
  font-size: 0.95rem;
  line-height: 1.85;
}

.erv-seo-guide__sections {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.erv-seo-card {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.45);
}

.erv-seo-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.erv-seo-card p {
  margin: 0;
  color: var(--text-muted, #94a3b8);
  font-size: 0.9rem;
  line-height: 1.75;
}


/* —— Risk strip, venue warning, legal disclaimer (v9) —— */
.erv-risk-strip {
  margin: -0.5rem auto 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(239, 68, 68, 0.06)),
    rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
}
.erv-risk-strip strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fde68a;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.erv-risk-strip p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.65;
}

.erv-venue-warn {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--erv-brand, #f59e0b) 40%, rgba(239, 68, 68, 0.45));
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--erv-brand, #f59e0b) 18%, transparent), transparent 55%),
    rgba(127, 29, 29, 0.28);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}
.erv-venue-warn__badge {
  flex: 0 0 auto;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff7ed;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}
.erv-venue-warn p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #fecaca;
}

.erv-risk--soft {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.22);
  color: #fde68a;
}

.erv-legal {
  margin: 2.5rem auto 3rem;
  padding: 1.5rem 1.35rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
}
.erv-legal h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #e2e8f0;
}
.erv-legal p {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #94a3b8;
}
.erv-legal ul {
  margin: 0;
  padding-inline-start: 1.15rem;
  display: grid;
  gap: 0.45rem;
}
.erv-legal li {
  font-size: 0.84rem;
  line-height: 1.65;
  color: #94a3b8;
}

.erv-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.erv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px color-mix(in srgb, var(--erv-brand) 35%, transparent);
}

.erv-pill--restricted {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}
