/* FilmyBazaar — animated brand name */

.fb-brand-logo {
  text-decoration: none;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a.fb-brand-logo,
.logo:has(a) {
  cursor: pointer;
}

.fb-brand-logo:hover {
  transform: scale(1.03);
}

/* Film icon glow */
.fb-brand-logo > i,
.logo > i.fa-film {
  color: #ff3d3d;
  filter: drop-shadow(0 0 8px rgba(255, 61, 61, 0.55));
  animation: fbBrandIconPulse 2.2s ease-in-out infinite;
}

@keyframes fbBrandIconPulse {
  0%, 100% {
    transform: scale(1) rotate(-3deg);
    filter: drop-shadow(0 0 6px rgba(255, 61, 61, 0.45));
  }
  50% {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 0 14px rgba(255, 107, 107, 0.75));
  }
}

/* Brand wordmark */
.fb-brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
  position: relative;
}

.fb-brand-filmy {
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
  animation: fbBrandFilmyGlow 3s ease-in-out infinite;
}

.fb-brand-bazaar {
  font-weight: 800;
  background: linear-gradient(
    120deg,
    #ff3d3d 0%,
    #ff8e8e 25%,
    #ffd700 50%,
    #ff6b6b 75%,
    #ff3d3d 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fbBrandShimmer 3.5s linear infinite;
}

@keyframes fbBrandShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

@keyframes fbBrandFilmyGlow {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 1; text-shadow: 0 0 20px rgba(255, 255, 255, 0.35); }
}

/* Underline sweep */
.fb-brand-name::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ff6b6b, #ffd700, transparent);
  background-size: 200% 100%;
  animation: fbBrandUnderline 2.8s ease-in-out infinite;
  opacity: 0.75;
}

.logo .fb-brand-name::after {
  bottom: -3px;
}

@keyframes fbBrandUnderline {
  0%, 100% { background-position: 100% 0; opacity: 0.4; }
  50% { background-position: 0% 0; opacity: 1; }
}

/* Header logo size */
.logo .fb-brand-name {
  font-size: inherit;
}

.logo .fb-brand-filmy,
.logo .fb-brand-bazaar {
  font-size: 1em;
}

/* Splash hero title */
.fb-brand-hero.fb-splash-title,
.fb-splash-title.fb-brand-hero {
  display: flex;
  justify-content: center;
  background: none !important;
  -webkit-text-fill-color: unset;
  animation: fbTitleIn 0.8s ease 0.3s both;
}

.fb-brand-hero .fb-brand-name {
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  letter-spacing: -0.03em;
}

.fb-brand-hero .fb-brand-filmy {
  font-size: 1em;
}

.fb-brand-hero .fb-brand-bazaar {
  font-size: 1em;
}

.fb-brand-hero .fb-brand-name::after {
  bottom: -6px;
  height: 3px;
}

/* Loading screen title */
.loading-title.fb-brand-name,
.loading-title .fb-brand-name {
  font-size: 2.5rem;
}

/* Footer — calmer animation */
.footer-brand .fb-brand-bazaar {
  animation-duration: 4.5s;
}

.footer-brand .fb-brand-logo > i {
  animation-duration: 3s;
}

/* Hamburger header */
.hamburger-panel-header .fb-brand-logo:hover {
  transform: none;
}

/* SEO satellite pages */
.seo-logo.fb-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.seo-logo .fb-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .fb-brand-filmy,
  .fb-brand-bazaar,
  .fb-brand-name::after,
  .fb-brand-logo > i,
  .logo > i.fa-film {
    animation: none !important;
  }
  .fb-brand-bazaar {
    -webkit-text-fill-color: #ff6b6b;
    background: none;
  }
}
