/* UGM_TRUSTPILOT_BAND:CTqInc01 — premium charcoal + gold (below globe / above news)
   Motions: mast fade-rise, score shimmer, card marquee. No purple AI slop. */

#ugm-trustpilot-band.ugm-tp-band {
  --ugm-tp-void: #07080c;
  --ugm-tp-elev: #12151e;
  --ugm-tp-line: rgba(232, 184, 74, 0.22);
  --ugm-tp-gold: #e8b84a;
  --ugm-tp-gold-hot: #ffc14d;
  --ugm-tp-text: #f5f1e8;
  --ugm-tp-muted: rgba(210, 198, 170, 0.72);
  --ugm-tp-star: #00b67a; /* Trustpilot green */
  position: relative;
  margin: 0;
  padding: clamp(2.25rem, 4vw, 3.4rem) 0 clamp(2.5rem, 4.5vw, 3.75rem);
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(232, 184, 74, 0.1), transparent 58%),
    radial-gradient(720px 380px at 88% 100%, rgba(0, 182, 122, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(10, 12, 18, 0.2), rgba(7, 8, 12, 0.85));
  border-block: 1px solid rgba(232, 184, 74, 0.1);
  color: var(--ugm-tp-text);
  animation: ugm-tp-mast-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#ugm-trustpilot-band.ugm-tp-band::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 184, 74, 0.45),
    rgba(0, 182, 122, 0.35),
    transparent
  );
  opacity: 0.9;
  pointer-events: none;
}

.ugm-tp-band__inner {
  display: grid;
  gap: 1.35rem;
}

.ugm-tp-band__mast {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.ugm-tp-band__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 182, 122, 0.35);
  background: rgba(0, 182, 122, 0.08);
  color: #7dffc4;
  font: 700 0.72rem/1 Manrope, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ugm-tp-band__tp-mark {
  color: var(--ugm-tp-star);
  font-size: 0.85rem;
}

.ugm-tp-band__kicker {
  margin: 0 0 0.35rem;
  font: 700 0.72rem/1 Manrope, system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ugm-tp-gold);
}

.ugm-tp-band__title {
  margin: 0 0 0.55rem;
  font: 700 clamp(1.55rem, 2.6vw, 2.15rem)/1.1 'Bebas Neue', Manrope, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ugm-tp-text);
}

.ugm-tp-band__lead {
  margin: 0 auto 1rem;
  max-width: 36rem;
  color: var(--ugm-tp-muted);
  font: 500 0.95rem/1.5 Manrope, system-ui, sans-serif;
}

.ugm-tp-band__score {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ugm-tp-line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
  animation: ugm-tp-score-pulse 3.6s ease-in-out infinite;
}

.ugm-tp-band__rating {
  font: 800 1.35rem/1 Manrope, system-ui, sans-serif;
  color: var(--ugm-tp-gold-hot);
  letter-spacing: 0.02em;
}

.ugm-tp-band__stars,
.ugm-tp-card__stars {
  display: inline-flex;
  gap: 0.08rem;
  color: rgba(255, 255, 255, 0.18);
}

.ugm-tp-star.is-on {
  color: var(--ugm-tp-star);
  text-shadow: 0 0 12px rgba(0, 182, 122, 0.35);
}

.ugm-tp-band__count {
  color: var(--ugm-tp-muted);
  font: 600 0.85rem/1 Manrope, system-ui, sans-serif;
}

.ugm-tp-band__profile,
.ugm-tp-band__cta {
  color: var(--ugm-tp-gold-hot);
  font: 700 0.85rem/1 Manrope, system-ui, sans-serif;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 184, 74, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ugm-tp-band__profile:hover,
.ugm-tp-band__cta:hover {
  color: #ffe08a;
  border-color: rgba(255, 224, 138, 0.7);
}

/* ---- Marquee / cards ---- */
.ugm-tp-band__viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ugm-tp-band__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.35rem 0.25rem 0.6rem;
  animation: ugm-tp-marquee 42s linear infinite;
}

.ugm-tp-band__viewport:hover .ugm-tp-band__track,
.ugm-tp-band__viewport.is-static .ugm-tp-band__track {
  animation-play-state: paused;
}

.ugm-tp-band__viewport.is-static .ugm-tp-band__track {
  animation: none;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.ugm-tp-card-link {
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.ugm-tp-card {
  flex: 0 0 auto;
  width: min(19.5rem, 78vw);
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--ugm-tp-elev);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease,
    box-shadow 0.35s ease;
}

.ugm-tp-card--hero {
  border-color: rgba(0, 182, 122, 0.32);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(0, 182, 122, 0.12);
}

.ugm-tp-card-link:hover .ugm-tp-card,
.ugm-tp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 74, 0.35);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45), 0 0 28px rgba(232, 184, 74, 0.12);
}

.ugm-tp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.ugm-tp-card__badge {
  font: 700 0.65rem/1 Manrope, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7dffc4;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 182, 122, 0.12);
  border: 1px solid rgba(0, 182, 122, 0.28);
}

.ugm-tp-card__text {
  margin: 0 0 0.85rem;
  min-height: 4.2em;
  color: rgba(245, 241, 232, 0.9);
  font: 500 0.92rem/1.45 Manrope, system-ui, sans-serif;
}

.ugm-tp-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
  color: var(--ugm-tp-muted);
  font: 500 0.8rem/1.2 Manrope, system-ui, sans-serif;
}

.ugm-tp-card__foot strong {
  color: var(--ugm-tp-text);
  font-weight: 700;
}

.ugm-tp-band__empty {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(232, 184, 74, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.ugm-tp-band__empty p {
  margin: 0 0 0.75rem;
  color: var(--ugm-tp-muted);
  font: 500 0.95rem/1.45 Manrope, system-ui, sans-serif;
}

@keyframes ugm-tp-mast-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ugm-tp-score-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset, 0 0 0 rgba(232, 184, 74, 0);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset, 0 0 28px rgba(232, 184, 74, 0.18);
  }
}

@keyframes ugm-tp-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  #ugm-trustpilot-band.ugm-tp-band {
    padding: 1.85rem 0 2.15rem;
  }

  .ugm-tp-band__score {
    border-radius: 14px;
    width: 100%;
  }

  .ugm-tp-card {
    width: min(17.5rem, 82vw);
  }

  .ugm-tp-band__track {
    animation-duration: 36s;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ugm-trustpilot-band.ugm-tp-band,
  .ugm-tp-band__score,
  .ugm-tp-band__track,
  .ugm-tp-card {
    animation: none !important;
    transition: none !important;
  }

  .ugm-tp-band__track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

/* Hide off home / checkout */
html[data-ugm-on-checkout="1"] #ugm-trustpilot-band {
  display: none !important;
}

/* Hide Trustpilot chrome when player-reviews mode is on */
.ugm-player-reviews .ugm-tp-band__brand,
.ugm-tp-band__brand { display: none !important; }
.ugm-player-reviews .ugm-tp-band__profile { display: none !important; }
.ugm-tp-band__empty { display: none !important; }
.ugm-tp-star.is-on { color: #e8b84a !important; }
