/**
 * Animated PIPE + SHARE wordmark for login.html (same treatment as PipeShare portal corner/splash).
 * Standalone so login does not load the full client-portal stylesheet.
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800;900&display=swap');

:root {
  --cp-orange: #e85d2c;
  --cp-orange-glow: rgba(232, 93, 44, 0.32);
  --cp-font: Inter, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.cp-pipe-share-wordmark {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-family: 'Poppins', var(--cp-font);
  font-style: normal;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.cp-pipe-share-wordmark::after {
  content: '';
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: 0;
  width: 48%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    102deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.08) 44%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(255, 255, 255, 0.08) 56%,
    rgba(255, 255, 255, 0) 66%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: soft-light;
  transform: translateX(-125%) skewX(-15deg);
  animation: cp-pipe-share-wordmark-sheen 5.6s cubic-bezier(0.42, 0.03, 0.58, 0.97) infinite;
  animation-delay: 0.35s;
}

.cp-pipe-share-wordmark__pipe,
.cp-pipe-share-wordmark__share {
  position: relative;
  z-index: 1;
}

.cp-pipe-share-wordmark__pipe {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cp-pipe-share-wordmark__share {
  color: var(--cp-orange);
  text-shadow:
    0 1px 0 rgba(255, 210, 175, 0.4),
    0 0 22px var(--cp-orange-glow),
    0 0 48px rgba(232, 93, 44, 0.2);
}

/* Login hero: between corner and full splash */
.cp-pipe-share-wordmark--login {
  font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 3.45rem);
  letter-spacing: 0.06em;
  filter: drop-shadow(0 5px 22px rgba(232, 93, 44, 0.2));
}

.cp-pipe-share-wordmark--login::after {
  animation-duration: 5.9s;
  animation-delay: 0.42s;
}

@keyframes cp-pipe-share-wordmark-sheen {
  0%,
  8% {
    transform: translateX(-125%) skewX(-15deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  46% {
    transform: translateX(235%) skewX(-15deg);
    opacity: 1;
  }
  52%,
  100% {
    transform: translateX(235%) skewX(-15deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-pipe-share-wordmark::after {
    animation: none !important;
    opacity: 0 !important;
  }
}
