/* Poolrooms Halloween 2026 — V05
   Logo légèrement plus grand + animation visuelle plus présente.
   Effet temporaire seulement dans l'en-tête public. */

.pr-site-header .pr-brand {
  position: relative;
}

.pr-site-header .pr-brand .pr-brand-halloween-picture {
  display: block;
  width: 272px;
  max-width: 100%;
  flex: 0 1 272px;
  transform-origin: center center;
  animation: pr-halloween-logo-float 4.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.20)) drop-shadow(0 0 24px rgba(255, 90, 0, 0.12));
}

.pr-site-header .pr-brand img.pr-brand-halloween-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 90px !important;
  object-fit: contain;
  animation: pr-halloween-logo-glow 2.6s ease-in-out infinite;
  will-change: transform, filter, opacity;
}

@keyframes pr-halloween-logo-glow {
  0%, 100% {
    filter: saturate(1) brightness(1) drop-shadow(0 0 0 rgba(255, 130, 0, 0));
    opacity: 0.98;
  }
  25% {
    filter: saturate(1.05) brightness(1.03) drop-shadow(0 0 8px rgba(255, 133, 27, 0.22));
    opacity: 1;
  }
  50% {
    filter: saturate(1.12) brightness(1.07) drop-shadow(0 0 14px rgba(255, 133, 27, 0.35));
    opacity: 1;
  }
  75% {
    filter: saturate(1.06) brightness(1.04) drop-shadow(0 0 9px rgba(255, 133, 27, 0.22));
    opacity: 1;
  }
}

@keyframes pr-halloween-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 1280px) and (min-width: 981px) {
  .pr-site-header .pr-brand .pr-brand-halloween-picture {
    width: 252px;
    flex-basis: 252px;
  }
}

@media (max-width: 980px) and (min-width: 721px) {
  .pr-site-header .pr-brand .pr-brand-halloween-picture {
    width: 235px;
    flex-basis: 235px;
  }
  .pr-site-header .pr-brand img.pr-brand-halloween-img {
    max-height: 84px !important;
  }
}

@media (max-width: 720px) {
  .pr-site-header .pr-brand .pr-brand-halloween-picture {
    width: min(225px, calc(100vw - 150px));
    flex-basis: auto;
    filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.18)) drop-shadow(0 0 18px rgba(255, 90, 0, 0.10));
  }
  .pr-site-header .pr-brand img.pr-brand-halloween-img {
    max-height: 78px !important;
    animation-duration: 2.2s;
  }
}

@media (max-width: 560px) {
  .pr-site-header .pr-brand .pr-brand-halloween-picture {
    width: min(220px, calc(100vw - 120px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .pr-site-header .pr-brand .pr-brand-halloween-picture,
  .pr-site-header .pr-brand img.pr-brand-halloween-img {
    animation: none !important;
    filter: none !important;
  }
}
