/* 第18款：光带与星芒，4.4秒同步循环；装饰层不影响点击。 */
header .brand {
  position: relative;
  isolation: isolate;
}
header .brand-logo {
  position: relative;
  z-index: 1;
}
.brand-motion-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mask: url('/brand-gold-star-optimized.webp') center/100% 100%;
  -webkit-mask: url('/brand-gold-star-optimized.webp') center/100% 100%;
  mix-blend-mode: screen;
  background: linear-gradient(110deg, transparent 39%, #fff 48%, #fff7c9 52%, transparent 61%);
  background-size: 300% 100%;
  opacity: 0;
  animation: brand18-shine 4.4s ease-in-out infinite;
}
.brand-motion-star {
  position: absolute;
  left: 15%;
  top: 24%;
  z-index: 3;
  pointer-events: none;
  font-size: 42px;
  line-height: 1;
  font-weight: 400;
  color: #fff8c5;
  text-shadow:
    0 0 3px #af6815,
    0 0 12px #e8a827,
    0 0 25px #ffd974;
  opacity: 0;
  animation: brand18-star 4.4s ease-in-out infinite;
}
.brand-motion-star.second {
  left: 75%;
  top: 57%;
  animation-delay: -2.2s;
}
@keyframes brand18-shine {
  0% {
    opacity: 0;
    background-position: 100% 0;
  }
  12%,
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    background-position: 0% 0;
  }
}
@keyframes brand18-star {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(0.3) rotate(-20deg);
  }
  45%,
  55% {
    opacity: 1;
    transform: scale(1.4) rotate(80deg);
  }
}
@media (max-width: 600px) {
  .brand-motion-star {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-motion-shine,
  .brand-motion-star {
    animation: none;
    opacity: 0;
  }
}
