/* ============================================================
   PREMIUM.CSS — Dream Hunters Records
   Preloader · WhatsApp Float · Scrollbar
   ============================================================ */

/* ── Movimento reduzido (acessibilidade) ──
   Quem pede menos movimento no sistema recebe o site estático:
   sem grain, marquee, pulse, parallax ou reveals animados. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Scrollbar minimalista ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent, #ff3b1f); }

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

#preloader.pl-exit {
  transform: translateY(-100%);
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.pl-logo {
  font-family: 'Anton', 'Archivo', sans-serif;
  font-size: clamp(120px, 22vw, 320px);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #f5f1e8;
  overflow: hidden;
  user-select: none;
}

.pl-logo-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.pl-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: #8a857c;
  margin-top: 24px;
  overflow: hidden;
  user-select: none;
}

.pl-sub-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.pl-bar {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 48px;
  height: 1px;
  background: #1a1a1a;
  overflow: hidden;
}

.pl-bar-fill {
  height: 100%;
  background: #ff3b1f;
  width: 0;
}

.pl-count {
  position: absolute;
  bottom: 66px;
  right: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #3a3833;
  text-transform: uppercase;
}

/* ── WhatsApp Floating Button ── */
.wa-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 500;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Anel giratório com texto */
.wa-ring {
  position: absolute;
  inset: 0;
  animation: wa-spin 14s linear infinite;
}

.wa-ring svg {
  width: 100%;
  height: 100%;
}

.wa-ring text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  fill: #3a3833;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.wa-float:hover .wa-ring {
  animation-play-state: paused;
}

/* Círculo central */
.wa-core {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s, border-color 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float:hover .wa-core {
  background: #25D366;
  border-color: #25D366;
  transform: scale(1.1);
}

.wa-core svg {
  width: 22px;
  height: 22px;
  fill: #3a3833;
  transition: fill 0.4s;
}

.wa-float:hover .wa-core svg {
  fill: #050505;
}

@keyframes wa-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Mobile: posição ajustada */
@media (max-width: 900px) {
  .wa-float {
    bottom: 24px;
    right: 24px;
    width: 72px;
    height: 72px;
  }
  .wa-core {
    width: 44px;
    height: 44px;
  }
  .wa-core svg {
    width: 18px;
    height: 18px;
  }
}
