#vellami-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 15%, #102538 0%, #0d1f2d 45%, #0f172a 100%);
  color: #f1f5f9;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#vellami-loader.vellami-loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#vellami-loader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.vellami-loader-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
}

.vellami-loader-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(20, 184, 166, 0.35));
  animation: vellami-logo-float 3.2s ease-in-out infinite;
}

.vellami-loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vellami-loader-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 36px);
  letter-spacing: 0.04em;
  line-height: 1;
}

.vellami-loader-tag {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #14b8a6;
}

.vellami-loader-bar {
  width: min(240px, 70vw);
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.85);
  overflow: hidden;
}

.vellami-loader-bar-fill {
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #38bdf8, #14b8a6);
  background-size: 200% 100%;
  animation: vellami-bar-slide 1.4s ease-in-out infinite;
}

.vellami-loader-status {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #94a3b8;
  min-height: 1.25em;
}

@keyframes vellami-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes vellami-bar-slide {
  0% { transform: translateX(-120%); background-position: 0% 50%; }
  100% { transform: translateX(320%); background-position: 100% 50%; }
}
