/* Beta-only social proof v2 — high-energy “shimmer” dynamics, no casino motifs.
   Activated when <html/body>.is-beta-v2 is set by social-proof-v2.js. */

.is-beta-v2 .spv2-mega,
.is-beta-v2 .spv2-reviews,
.is-beta-v2 .spv2-trust-strip,
.is-beta-v2 .spv2-service-usage,
.is-beta-v2 .spv2-service-hero-stats,
.is-beta-v2 .tp-widget-fake {
  --sp-gold: #ffd27a;
  --sp-gold-2: #ffe9b4;
  --sp-rose: #ffb1c8;
  --sp-violet: #b8a0ff;
  --sp-mint: #00b67a;
  --sp-ink: #1a0f14;
  --sp-paper: #fff8ef;
  --sp-glow: rgba(255, 210, 122, .55);
  font-family: Inter, system-ui, sans-serif;
}

/* ——— Trustpilot mini widget placeholder (visual twin) ——— */
.tp-widget-fake {
  display: inline-flex;
  max-width: 100%;
  padding: 14px 16px 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  color: #191919;
  text-align: left;
}
.tp-widget-inner { display: grid; gap: 6px; min-width: min(280px, 100%); }
.tp-widget-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tp-excellent {
  font: 700 18px/1.1 Inter, Arial, sans-serif;
  color: #191919;
  letter-spacing: -.02em;
}
.tp-stars { display: inline-flex; gap: 3px; align-items: center; }
.tp-star-tile {
  display: inline-grid;
  place-items: center;
  border-radius: 2px;
  background: #00b67a;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.tp-star-tile svg { display: block; }
.spv2-trust-strip .tp-star-tile { border-radius: 2px; }
.tp-scoreline {
  margin: 0;
  color: #191919;
  font: 400 13px/1.35 Inter, Arial, sans-serif;
}
.tp-scoreline strong { font-weight: 700; }
.tp-score-label strong { color: #191919; }
.tp-dot { margin: 0 4px; color: #6c6c84; }
.tp-widget-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.tp-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #191919;
  font: 700 14px/1 Inter, Arial, sans-serif;
  letter-spacing: -.02em;
}
.tp-logo svg { display: block; }
.tp-placeholder-tag {
  color: #8a8a9a;
  font: 500 9px/1.2 Inter, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Compact hero strip */
.spv2-trust-strip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 4px auto 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 210, 122, .55);
  border-radius: 999px;
  background:
    linear-gradient(110deg, rgba(255, 248, 236, .96), rgba(255, 236, 214, .9) 45%, rgba(244, 232, 255, .92));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .65) inset,
    0 10px 28px rgba(120, 40, 20, .12),
    0 0 32px rgba(255, 200, 120, .28);
  color: #2a1418;
  animation: spv2-strip-glow 2.8s ease-in-out infinite;
}
.spv2-strip-label { font: 800 12px/1 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #1f1214; }
.spv2-strip-score { font: 700 13px/1 Inter, sans-serif; color: #1f1214; }
.spv2-strip-score strong { color: #00a66b; font-size: 15px; }
.spv2-strip-count { color: #5a3d42; font: 600 12px/1 Inter, sans-serif; }
.spv2-trust-strip .tp-logo { font-size: 13px; }
.spv2-trust-strip .tp-logo b { color: #191919; }

.home-theme-night .spv2-trust-strip {
  border-color: rgba(255, 210, 122, .4);
  background: linear-gradient(110deg, rgba(70, 18, 28, .92), rgba(48, 20, 58, .9));
  box-shadow: 0 0 0 1px rgba(255, 220, 160, .12) inset, 0 12px 36px rgba(0, 0, 0, .35), 0 0 40px rgba(255, 180, 100, .2);
  color: #fff4e8;
}
.home-theme-night .spv2-strip-label,
.home-theme-night .spv2-strip-score { color: #fff4e8; }
.home-theme-night .spv2-strip-count { color: #e8cfc0; }
.home-theme-night .spv2-trust-strip .tp-logo b { color: #fff; }

/* ——— Mega stats ——— */
.spv2-mega,
.spv2-reviews {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 18px auto 28px;
  padding: 28px 22px 22px;
  border: 1px solid rgba(255, 196, 120, .45);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 210, 122, .28), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(184, 160, 255, .28), transparent 26%),
    radial-gradient(circle at 70% 88%, rgba(255, 145, 180, .18), transparent 30%),
    linear-gradient(145deg, #2a0d18 0%, #1a1038 48%, #0f1638 100%);
  box-shadow:
    0 24px 60px rgba(40, 8, 18, .28),
    0 0 0 1px rgba(255, 255, 255, .08) inset,
    0 0 80px rgba(255, 180, 100, .12);
  color: #fff6ee;
}
.spv2-mega::before,
.spv2-reviews::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(from 120deg, transparent, rgba(255, 210, 122, .14), transparent 28%, rgba(184, 160, 255, .12), transparent 55%, rgba(255, 150, 190, .1), transparent 75%);
  animation: spv2-spin 14s linear infinite;
  opacity: .85;
}
.spv2-mega > *,
.spv2-reviews > * { position: relative; z-index: 1; }

.spv2-sparkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.spv2-sparkles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 28%, var(--sp-gold) 40%, transparent 72%);
  box-shadow: 0 0 12px var(--sp-glow);
  transform: scale(var(--s));
  animation: spv2-twinkle var(--d) ease-in-out var(--delay) infinite;
}

.spv2-mega-head,
.spv2-reviews-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 18px;
}
.spv2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 210, 122, .55);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 210, 122, .22), rgba(184, 160, 255, .2));
  color: var(--sp-gold-2);
  font: 800 10px/1 Inter, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 200, 120, .25);
  animation: spv2-badge-pulse 2.2s ease-in-out infinite;
}
.spv2-mega-head h2,
.spv2-reviews-head h2 {
  margin: 0 0 10px;
  color: #fff9f0;
  font: 500 clamp(30px, 4.2vw, 46px)/.95 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.03em;
  text-shadow: 0 0 40px rgba(255, 200, 140, .35);
}
.spv2-mega-head p,
.spv2-reviews-head p {
  margin: 0 auto;
  max-width: 540px;
  color: #e7d6cc;
  font-size: 14px;
  line-height: 1.5;
}

.spv2-trust-row {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
}
.spv2-trust-row .tp-widget-fake {
  transform: scale(1.04);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(0, 182, 122, .18),
    0 0 40px rgba(0, 182, 122, .18);
  animation: spv2-widget-float 3.4s ease-in-out infinite;
}

.spv2-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto 16px;
}
.spv2-stat {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  padding: 16px 14px 14px;
  border: 1px solid rgba(255, 220, 170, .28);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(20, 12, 40, .35));
  box-shadow: inset 0 1px rgba(255, 255, 255, .12);
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.spv2-stat:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 210, 122, .7);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25), 0 0 28px rgba(255, 200, 120, .22);
}
.spv2-stat.is-hot {
  border-color: rgba(255, 150, 180, .55);
  background: linear-gradient(160deg, rgba(255, 120, 160, .18), rgba(40, 12, 50, .4));
}
.spv2-stat-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 210, 122, .35), transparent 70%);
  filter: blur(8px);
  animation: spv2-glow-drift 3.6s ease-in-out infinite;
}
.spv2-stat-value {
  position: relative;
  margin: 0 0 6px;
  color: #fff8e8;
  font: 700 clamp(22px, 2.4vw, 30px)/1 Inter, sans-serif;
  letter-spacing: -.03em;
  text-shadow: 0 0 18px rgba(255, 210, 122, .55);
  font-variant-numeric: tabular-nums;
}
.spv2-stat.is-hot .spv2-stat-value {
  background: linear-gradient(100deg, #ffe7a8, #ffb4cf, #d2c0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(255, 180, 140, .45));
}
.spv2-stat-label {
  position: relative;
  margin: 0;
  color: #d8c5bb;
  font: 600 11px/1.3 Inter, sans-serif;
  letter-spacing: .02em;
}

/* Live ticker */
.spv2-live {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  max-width: 920px;
  margin: 8px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 180, 140, .28);
  border-radius: 12px;
  background: rgba(8, 8, 28, .35);
}
.spv2-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: linear-gradient(100deg, #ff4d7a, #ff8a4a);
  color: #fff;
  font: 800 10px/1 Inter, sans-serif;
  letter-spacing: .12em;
  box-shadow: 0 0 18px rgba(255, 80, 120, .45);
}
.spv2-live-pill.compact { min-height: 24px; padding: 0 9px; font-size: 9px; }
.spv2-live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  animation: spv2-blink 1s steps(2) infinite;
}
.spv2-live-track { display: grid; gap: 6px; min-width: 0; }
.spv2-live-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #f0e2d8;
  font-size: 12px;
  line-height: 1.35;
  animation: spv2-item-in .45s ease both;
}
.spv2-live-item strong { color: #ffe3a8; font-weight: 700; }
.spv2-live-pulse {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d98a;
  box-shadow: 0 0 10px #00d98a;
  animation: spv2-blink 1.2s ease-in-out infinite;
}

.spv2-experiment-note {
  margin: 14px 0 0;
  color: rgba(232, 210, 198, .62);
  font-size: 10px;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

/* Reviews marquee */
.spv2-reviews { margin-top: 8px; }
.spv2-reviews-trust {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.spv2-review-track {
  display: flex;
  gap: 14px;
  width: max-content;
  max-width: none;
  margin: 8px 0 4px;
  padding: 8px 4px 12px;
  animation: spv2-marquee 48s linear infinite;
}
.spv2-reviews:hover .spv2-review-track { animation-play-state: paused; }
.spv2-review-card {
  position: relative;
  flex: 0 0 min(300px, 78vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 210px;
  padding: 16px 16px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 170, .32);
  border-radius: 14px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .1), rgba(24, 14, 48, .55));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .1);
  transition: transform .25s ease, border-color .25s ease;
}
.spv2-review-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 210, 122, .75);
}
.spv2-review-shine {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: skewX(-18deg);
  animation: spv2-shine 3.8s ease-in-out infinite;
}
.spv2-review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.spv2-review-stars {
  color: #00b67a;
  font-size: 15px;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 182, 122, .45);
}
.spv2-review-service {
  color: #ffd7a8;
  font: 700 9px/1 Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.spv2-review-card h3 {
  margin: 0;
  color: #fff8ef;
  font: 500 22px/1.05 "Cormorant Garamond", Georgia, serif;
}
.spv2-review-card > p {
  margin: 0;
  color: #e6d5cb;
  font-size: 12px;
  line-height: 1.5;
  flex: 1;
}
.spv2-review-card footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 220, 180, .16);
}
.spv2-review-card footer b {
  display: block;
  color: #fff4e8;
  font-size: 12px;
}
.spv2-review-card footer span {
  color: #c9b4a8;
  font-size: 11px;
}
.spv2-verified {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 182, 122, .16);
  border: 1px solid rgba(0, 182, 122, .4);
  color: #8dffc8 !important;
  font: 700 9px/1 Inter, sans-serif !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Service card usage badges */
.spv2-service-usage {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 210, 122, .5);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 190, 100, .28), rgba(160, 120, 255, .24));
  box-shadow: 0 0 16px rgba(255, 190, 100, .25);
  color: #ffe8c0;
  font-size: 10px;
  line-height: 1.2;
  animation: spv2-badge-pulse 2.6s ease-in-out infinite;
}
.spv2-service-usage i { color: #ffd27a; font-style: normal; }
.spv2-service-usage b { color: #fff8e8; font-weight: 800; font-variant-numeric: tabular-nums; }
.spv2-service-usage em { font-style: normal; opacity: .88; font-weight: 600; }

.home-service-card .spv2-service-usage {
  margin-top: auto;
  align-self: flex-start;
}
.home-service-card:has(.spv2-service-usage) .home-service-action {
  margin-top: 8px;
}

/* Services hub / detail */
.services-shell .spv2-mega,
.services-shell .spv2-reviews { margin-left: 0; margin-right: 0; }
.services-shell .spv2-service-usage {
  margin: 0 0 8px;
}
.spv2-service-hero-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 196, 120, .4);
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 210, 122, .22), transparent 40%),
    linear-gradient(120deg, rgba(42, 14, 28, .92), rgba(22, 18, 58, .92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22), 0 0 30px rgba(255, 180, 100, .12);
}
.spv2-service-hero-main { min-width: 0; }
.spv2-service-hero-value {
  margin: 8px 0 4px;
  color: #fff8e8;
  font: 800 clamp(28px, 4vw, 40px)/1 Inter, sans-serif;
  letter-spacing: -.04em;
  text-shadow: 0 0 22px rgba(255, 210, 122, .5);
  font-variant-numeric: tabular-nums;
}
.spv2-service-hero-label {
  margin: 0;
  color: #e0cfc4;
  font: 600 12px/1.3 Inter, sans-serif;
}
.spv2-service-hero-side .tp-widget-fake { max-width: 100%; }

/* Tarot page embeds */
.tarot-page .spv2-service-hero-stats,
.tarot-page .spv2-reviews {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.tarot-page .spv2-trust-strip {
  margin: 14px 0 10px;
  justify-content: flex-start;
}

/* Light homepage body: keep high-energy panels dark so gold pops */
.home-body .spv2-mega,
.home-body .spv2-reviews { color: #fff6ee; }

/* Animations */
@keyframes spv2-twinkle {
  0%, 100% { opacity: .15; transform: scale(var(--s)); }
  50% { opacity: 1; transform: scale(calc(var(--s) * 1.55)); }
}
@keyframes spv2-spin {
  to { transform: rotate(360deg); }
}
@keyframes spv2-badge-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 200, 120, .22); }
  50% { box-shadow: 0 0 28px rgba(255, 200, 120, .48), 0 0 48px rgba(184, 160, 255, .18); }
}
@keyframes spv2-strip-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .65) inset, 0 10px 28px rgba(120, 40, 20, .12), 0 0 24px rgba(255, 200, 120, .22); }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .8) inset, 0 12px 32px rgba(120, 40, 20, .16), 0 0 42px rgba(255, 200, 120, .42); }
}
@keyframes spv2-widget-float {
  0%, 100% { transform: translateY(0) scale(1.04); }
  50% { transform: translateY(-4px) scale(1.05); }
}
@keyframes spv2-glow-drift {
  0%, 100% { opacity: .55; transform: translateX(-8%); }
  50% { opacity: 1; transform: translateX(8%); }
}
@keyframes spv2-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes spv2-item-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spv2-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spv2-shine {
  0%, 30% { left: -40%; opacity: 0; }
  40% { opacity: 1; }
  70%, 100% { left: 120%; opacity: 0; }
}

@media (max-width: 980px) {
  .spv2-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .spv2-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spv2-live { grid-template-columns: 1fr; }
  .spv2-service-hero-stats { grid-template-columns: 1fr; }
  .spv2-mega, .spv2-reviews { padding: 22px 14px 16px; border-radius: 14px; }
}
@media (max-width: 480px) {
  .spv2-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .spv2-stat { min-height: 92px; padding: 12px 10px; }
  .spv2-stat-value { font-size: 20px; }
  .spv2-trust-strip { gap: 8px; padding: 9px 12px; }
  .spv2-strip-count { width: 100%; text-align: center; }
  .tp-widget-fake { padding: 12px; }
  .tp-excellent { font-size: 16px; }
  .tp-placeholder-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .spv2-sparkles span,
  .spv2-mega::before,
  .spv2-reviews::before,
  .spv2-badge,
  .spv2-trust-strip,
  .spv2-trust-row .tp-widget-fake,
  .spv2-stat-glow,
  .spv2-live-pill i,
  .spv2-live-pulse,
  .spv2-review-track,
  .spv2-review-shine,
  .spv2-service-usage {
    animation: none !important;
  }
  .spv2-stat:hover,
  .spv2-review-card:hover { transform: none; }
}
