﻿/* 
  VisuForge Showcase Custom Styles v2.0
*/

/* Tailwind CDN handles the directives */

:root {
  --glass-border: rgba(255, 255, 255, 0.08);
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Custom Scrollbar - Neon Theme */
html {
  overflow-y: scroll;
  /* Force scrollbar to always show */
}

::-webkit-scrollbar {
  width: 8px;
  background: #020205;
}

::-webkit-scrollbar-track {
  background: #020205;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 4px;
  border: 1px solid transparent;
  background-clip: content-box;
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* Glass Navigation Scroll State */
.glass-nav.scrolled {
  background-color: rgba(5, 5, 16, 0.9);
  /* Deep Abyss */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Reveal Animation State */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Grid Background Pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Noise Texture for that "Film/Cinema" feel */
.bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* Timeline specific styles */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, #020205, transparent);
  /* Matches bg-abyss-deep */
  z-index: 5;
  pointer-events: none;
}

.timeline-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, #020205, transparent);
  z-index: 5;
  pointer-events: none;
}

/* --- v2.0 Visual Upgrades --- */

/* Glow Card Base (Maintaining Layout) */
.glow-card {
  position: relative;
  overflow: hidden;
}


/* Versus Mode - Warp Speed */
@keyframes warp-speed {
  0% {
    transform: translateX(-100%) scaleX(0.5);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(100%) scaleX(1.5);
    opacity: 0;
  }
}

.animate-warp-speed {
  animation: warp-speed linear infinite;
}

/* Versus Mode - Implode */
@keyframes implode {
  0% {
    transform: scale(3);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.animate-implode {
  animation: implode 3s ease-in-out infinite;
}

/* Versus Mode - Scanlines */
.bg-scanlines {
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 51%);
  background-size: 100% 4px;
}

/* Versus Mode - Glitch Loading */
@keyframes loading-glitch {
  0% {
    width: 10%;
    opacity: 1;
  }

  20% {
    width: 10%;
    opacity: 1;
  }

  25% {
    width: 40%;
    opacity: 0.8;
  }

  40% {
    width: 40%;
    opacity: 1;
  }

  45% {
    width: 20%;
    opacity: 0.5;
  }

  60% {
    width: 80%;
    opacity: 1;
  }

  80% {
    width: 95%;
    opacity: 1;
  }

  85% {
    width: 30%;
    opacity: 0.8;
  }

  100% {
    width: 99%;
    opacity: 1;
  }
}

.animate-loading-glitch {
  animation: loading-glitch 4s infinite steps(5);
}

/* Versus Mode - Shimmer Fast */
@keyframes shimmer-fast {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.shimmer-fast {
  animation: shimmer-fast 0.5s linear infinite;
}

/* Versus Mode - DNA Wave */
@keyframes dna-wave {

  0%,
  100% {
    height: 20%;
    opacity: 0.5;
  }

  50% {
    height: 100%;
    opacity: 1;
    background-color: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
  }
}

.animate-dna-wave {
  animation: dna-wave 1.5s ease-in-out infinite;
}

/* Versus Mode - Spin Slow */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 10s linear infinite;
}

@keyframes blob-bounce {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.blob-anim {
  animation: blob-bounce 10s infinite ease-in-out;
}

/* Flow Dots Animation */
@keyframes flow-path-horizontal {
  0% {
    transform: translate(150px, 120px);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translate(350px, 220px);
    opacity: 0;
  }

  /* Matches SVG Path roughly */
}

/* Custom flow animation for dots */
.flow-dot-1 {
  animation: flow-custom-1 3s infinite linear;
}

@keyframes flow-custom-1 {
  0% {
    top: 30%;
    left: 30%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    top: 60%;
    left: 70%;
    opacity: 0;
  }
}

/* Text Shadow Glow */
.text-glow {
  text-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
}

/* Hero Image Float Fix -  */
.hero-float-container {
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-float-container img {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/*  Tailwind animate-float */
@keyframes float-smooth {

  0%,
  100% {
    transform: translateY(0) translateZ(0);
  }

  50% {
    transform: translateY(-12px) translateZ(0);
  }
}

.animate-float-smooth {
  animation: float-smooth 8s ease-in-out infinite;
}

/* ================================ */
/*  -             */
/* ================================ */

/*  */
@keyframes breathing-glow {

  0%,
  100% {
    opacity: 0.3;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 80%, rgba(0, 255, 163, 0.02) 0%, transparent 50%);
  }

  50% {
    opacity: 0.5;
    background: radial-gradient(ellipse at 35% 25%, rgba(0, 240, 255, 0.05) 0%, transparent 55%),
      radial-gradient(ellipse at 65% 75%, rgba(0, 255, 163, 0.04) 0%, transparent 55%);
  }
}

.breathing-glow {
  animation: breathing-glow 10s ease-in-out infinite;
}

/*  Hero  -  sin  */
@keyframes hero-float-ultra-smooth {

  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-4px);
  }

  50% {
    transform: translateY(-6px);
  }

  75% {
    transform: translateY(-4px);
  }
}

.animate-hero-float {
  animation: hero-float-ultra-smooth 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Hero  -  */
.hero-image-container {
  overflow: hidden;
  border-radius: 0.75rem;
  transform: translateZ(0);
  backface-visibility: hidden;
  isolation: isolate;
  background: transparent;
  /*  1px */
  box-shadow: inset 0 0 0 1px #020205;
  /*  Mask  1px */
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0px,
      black 1px,
      black calc(100% - 1px),
      transparent 100%);
  mask-image: linear-gradient(to bottom,
      transparent 0px,
      black 1px,
      black calc(100% - 1px),
      transparent 100%);
}

.hero-image-container::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: inherit;
  z-index: -1;
  border-radius: inherit;
}

.hero-image-container img {
  display: block;
  transform: translateZ(0) scale(1.02);
  backface-visibility: hidden;
  clip-path: inset(1px);
}

/*  */
@keyframes twinkle {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/*  */
@keyframes flow-line {
  0% {
    stroke-dashoffset: 100;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.animate-flow-line {
  animation: flow-line 2s linear infinite;
}

/* ================================ */
/*  -           */
/* ================================ */

/* 45 */
.peacock-card {
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.9;
  filter: grayscale(100%);
}

/* 45 */
.peacock-card-1 {
  transform: rotate(350deg) translateX(0) translateY(0px) scale(0.95);
  z-index: 1;
}

.peacock-card-2 {
  transform: rotate(355deg) translateX(0) translateY(0px) scale(0.97);
  z-index: 2;
}

.peacock-card-3 {
  transform: rotate(360deg) translateX(0) translateY(0px) scale(1);
  z-index: 3;
}

/* Hover:  */
/* Hover: Peacock Effect (Desktop Only) */
@media (min-width: 768px) {
  .peacock-container:hover .peacock-card {
    filter: grayscale(0%);
    opacity: 1;
  }

  .peacock-container:hover .peacock-card-1 {
    transform: rotate(355deg) translateX(-55%) translateY(8px) scale(1);
    z-index: 1;
  }

  .peacock-container:hover .peacock-card-2 {
    transform: rotate(360deg) translateX(0%) translateY(-5px) scale(1.02);
    z-index: 2;
  }

  .peacock-container:hover .peacock-card-3 {
    transform: rotate(365deg) translateX(55%) translateY(8px) scale(1);
    z-index: 3;
  }
}

/* hover */
.peacock-container:hover~div .old-era-text {
  color: #ef4444;
}

/* ================================ */
/*  -             */
/* ================================ */

@keyframes bar-grow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.animate-bar-grow {
  animation: bar-grow 1s ease-out forwards;
  transform-origin: bottom;
  opacity: 0;
}

/* ================================ */
/*  -             */
/* ================================ */

@keyframes flow-vertical {

  0%,
  100% {
    top: calc(2rem + 4rem);
    opacity: 1;
  }

  50% {
    top: calc(2rem + 4rem + 3rem);
    opacity: 0.5;
  }
}

@keyframes flow-vertical-down {
  0% {
    top: 50%;
    opacity: 1;
  }

  100% {
    top: calc(100% - 4rem);
    opacity: 0.3;
  }
}

@keyframes flow-horizontal {
  0% {
    left: 25%;
    opacity: 1;
  }

  100% {
    left: 75%;
    opacity: 0.3;
  }
}

@keyframes flow-horizontal-reverse {
  0% {
    right: 25%;
    opacity: 1;
  }

  100% {
    right: 75%;
    opacity: 0.3;
  }
}

/*  */
@keyframes flow-blue {
  0% {
    top: calc(2rem + 4rem);
    left: 50%;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  30% {
    top: 50%;
    left: 50%;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  35% {
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }

  100% {
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }
}

@keyframes flow-purple {
  0% {
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  35% {
    top: 50%;
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  60% {
    top: 50%;
    left: 25%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  65% {
    top: 50%;
    left: 25%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  100% {
    top: 50%;
    left: 25%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
}

@keyframes flow-green {
  0% {
    top: 50%;
    right: 50%;
    opacity: 0;
    transform: translate(50%, -50%) scale(0.5);
  }

  35% {
    top: 50%;
    right: 50%;
    opacity: 1;
    transform: translate(50%, -50%) scale(1);
  }

  60% {
    top: 50%;
    right: 25%;
    opacity: 1;
    transform: translate(50%, -50%) scale(1);
  }

  65% {
    top: 50%;
    right: 25%;
    opacity: 0;
    transform: translate(50%, -50%) scale(0.5);
  }

  100% {
    top: 50%;
    right: 25%;
    opacity: 0;
    transform: translate(50%, -50%) scale(0.5);
  }
}

@keyframes flow-orange {
  0% {
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  65% {
    top: 50%;
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    top: calc(100% - 4rem);
    left: 50%;
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* ================================ */
/*  (Workflow Sequence) */
/* ================================ */

.workflow-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  position: relative;
}

.workflow-info-icon,
#info-title,
#info-desc {
  transition: opacity 0.5s ease;
}

.workflow-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  cursor: pointer;
}

.workflow-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.3);
}

.workflow-step.active {
  background: rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  transform: translateY(-5px);
}

.workflow-step.active .step-icon {
  color: #00f0ff;
  transform: scale(1.1);
}

.workflow-step .step-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.5s ease;
}

.workflow-connector {
  flex: 0 0 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/*  */
.data-packet {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #00f0ff, transparent);
}

.active-connector .data-packet {
  animation: data-flow 1.5s linear infinite;
}

@keyframes data-flow {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/*  */
.workflow-info {
  margin-top: 3rem;
  min-height: 80px;
  background: rgba(0, 240, 255, 0.02);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px dashed rgba(0, 240, 255, 0.1);
}

.workflow-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f0ff;
}

/* ================================ */
/*  (Modal)             */
/* ================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  background: #050510;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Large Modal variant for video */
.modal-content-lg {
  max-width: 960px;
  padding: 1rem;
  /* Less padding for video */
  background: black;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #00f0ff;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  color: #00f0ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.3)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  cursor: pointer;
}

.form-select option {
  background-color: #050510;
  color: white;
  padding: 12px;
}


.submit-btn {
  width: 100%;
  background: white;
  color: black;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: bold;
  margin-top: 1rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: #00f0ff;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

/* ================================ */
/* Custom Select (Replaces Native)  */
/* ================================ */

.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select-trigger:hover {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.custom-select-trigger.active {
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.custom-options {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #050510;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 0.75rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 50;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.custom-options.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-option {
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.custom-option.selected {
  background: rgba(0, 240, 255, 0.1);
  color: #00f0ff;
}

.custom-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.5;
}

.custom-select-trigger.active .custom-arrow {
  transform: rotate(180deg);
  color: #00f0ff;
  opacity: 1;
}

/* ================================ */
/*  Font & Architecture Charts v2.2 */
/* ================================ */

/* Font Utilities */
.font-display-bold {
  font-family: "Clash Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.font-mono-tech {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.05em;
}

.text-gradient-paradigm {
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(165, 180, 252, 0.2);
}

.text-gradient-dimension {
  background: linear-gradient(135deg, #fff 0%, #00f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Architecture Mini Charts Components */
.mini-chart {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  opacity: 0.6;
  pointer-events: none;
}

.chart-bar {
  width: 4px;
  background: currentColor;
  border-radius: 2px;
  animation: chart-bar-anim 2s infinite ease-in-out;
}

@keyframes chart-bar-anim {

  0%,
  100% {
    height: 20%;
    opacity: 0.5;
  }

  50% {
    height: 100%;
    opacity: 1;
  }
}

.chart-wave-container {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 20px;
  opacity: 0.6;
}

.chart-wave {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: chart-wave-anim 3s infinite linear;
}

@keyframes chart-wave-anim {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: -100;
  }
}

.chart-pulse {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: chart-pulse-anim 2s infinite;
}

@keyframes chart-pulse-anim {
  0% {
    transform: translateY(-50%) scale(0.5);
    opacity: 0.8;
  }

  100% {
    transform: translateY(-50%) scale(2);
    opacity: 0;
  }
}