@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#container {
  position: relative;
  width: 640px;   /* ou 100% se quiser responsivo */
  height: 360px;
  display: inline-block;
}

/* faz o vídeo ocupar todo o container */
#container video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantém proporção */
  position: relative;
  z-index: 1;
}

/* canvas sobreposto ao vídeo */
#container canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite clicar através do canvas */
  z-index: 2;
}


* {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.gradient-bg {
  background: linear-gradient(135deg, #1a0b2e 0%, #16213e 50%, #0f3460 100%);
}

.glass-card {
  background: rgba(30, 30, 46, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 69, 219, 0.3);
  box-shadow: 0 8px 32px rgba(139, 69, 219, 0.2);
}

.neon-glow {
  box-shadow: 0 0 20px rgba(139, 69, 219, 0.5), 0 0 40px rgba(139, 69, 219, 0.3);
}

.stamina-glow-green {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6), 0 0 60px rgba(16, 185, 129, 0.4);
}

.stamina-glow-yellow {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6), 0 0 60px rgba(245, 158, 11, 0.4);
}

.stamina-glow-orange {
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.6), 0 0 60px rgba(249, 115, 22, 0.4);
}

.stamina-glow-red {
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.6), 0 0 60px rgba(239, 68, 68, 0.4);
}

.chart-bar {
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-grid {
  background-image: linear-gradient(
      rgba(139, 69, 219, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(139, 69, 219, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.status-indicator {
  position: relative;
  overflow: hidden;
}

.status-indicator::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.progress-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 32px 0 48px 0;
}

.progress-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

.videoInfo {
  display: flex;
  gap: 40px;
  width: 100%;
}

.flexColumn {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
