/* ===== HollaLink global page transition (NO resizing / NO rotation lock) ===== */
.hl-transition{
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(10px);

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.hl-transition.is-on{
  opacity: 1;
  pointer-events: all;
}

.hl-transition__inner{
  text-align: center;
  padding: 18px 22px;
  border-radius: 18px;

  background: rgba(17, 24, 39, 0.55);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);

  /* subtle “beat” */
  animation: hlBeat 520ms ease-in-out infinite;
}

.hl-transition__logo{
  font-family: "Karla", sans-serif;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: .4px;
  color: #fff;

  text-shadow:
    0 0 10px rgba(125, 207, 182, .25),
    0 0 28px rgba(125, 207, 182, .15);

  animation: hlFlicker 1.2s ease-in-out infinite;
}

.hl-transition__bar{
  margin: 12px auto 0;
  height: 3px;
  width: 180px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
  position: relative;
}

.hl-transition__bar::after{
  content:"";
  position: absolute;
  inset: 0;
  transform: translateX(-70%);
  background: linear-gradient(90deg, transparent, rgba(125,207,182,.85), transparent);
  animation: hlSweep .9s ease-in-out infinite;
}

@keyframes hlSweep{
  0%   { transform: translateX(-80%); }
  100% { transform: translateX(80%); }
}

@keyframes hlFlicker{
  0%, 100% { opacity: 1; filter: saturate(1); }
  35% { opacity: .88; filter: saturate(1.05); }
  55% { opacity: .95; }
  70% { opacity: .82; }
}

@keyframes hlBeat{
  0%, 100% { transform: scale(1); }
  45%      { transform: scale(1.018); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hl-transition__logo,
  .hl-transition__bar::after,
  .hl-transition__inner{
    animation: none !important;
  }
  .hl-transition{
    transition: none !important;
  }
}