/* Paleta i podstawy */
:root{
  --pink: #ff00cc;
  --cyan: #00b7ff;
}
.loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.circle {
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 10px #fff,
    0 0 24px var(--pink),
    0 0 50px var(--cyan);
}

/* Explosion z delikatnym gradientem */
.explosion {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #fff 0%, #fff 70%, rgba(255,255,255,0.85) 80%, rgba(255,255,255,0) 100%);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  z-index: 10;
}
@keyframes explode {
  0%   { transform: translate(-50%, -50%) scale(0);   opacity: .95; }
  100% { transform: translate(-50%, -50%) scale(110); opacity: 0; }
}

.logo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: min(560px, 80vw);
  text-align: center;
  font-size: clamp(28px, 6vw, 48px);
  font-family: 'Lilita One', sans-serif;
  display: none;
  z-index: 11;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,.7));
}
@keyframes textAppearAndShrink {
  0%   { transform: translate(-50%, -50%) scale(0.85); opacity: 0; }
  40%  { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.05); opacity: 0; }
}
.animate-text { animation: textAppearAndShrink 1.25s ease forwards; }

/* Ograniczenie ruchu – loader omijany */
@media (prefers-reduced-motion: reduce) {
  .circle, .explosion, .animate-text { animation: none !important; }
}
