
/* CSS Demo: Hiệu ứng “sao sáng từ giữa ra” */
.starshine {
  position: relative;
  font-weight: 700;
  color: #1F2251;
  overflow: hidden;
}

.starshine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  height: 100%;
  width: 55%;
  /* dải ánh sáng có tâm sáng ở giữa */
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.25) 40%,
    rgba(255,255,255,.85) 50%,
    rgba(255,255,255,.25) 60%,
    rgba(255,255,255,0) 100%
  );
  border-radius: 30%;
  transform: skewX(-45deg);
  pointer-events: none;
  mix-blend-mode: screen; /* giúp lớp sáng trông tự nhiên trên màu chữ */
  animation: shine-sweep 5s linear infinite;
}

@keyframes shine-sweep {
  to { left: 150%; }
  form{right: 200%;}
}
@keyframes starPulse {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  50% {
    width: 300%;
    height: 300%;
    opacity: 0;
  }
  100% {
    width: 0;
    height: 0;
    opacity: 0;
  }
}


.bg-gradient-news {
  /* background: linear-gradient(135deg, #05a742, #cae758 35%, #05a742 50%); */
  background: linear-gradient(135deg, #05a742, #cae758, #05a742);
  background-size: 200% 200%;
  animation: moveGradient 10s ease infinite;
}

@keyframes moveGradient {
  0% { background-position: 0% 50%; }
  /* 50% { background-position: 100% 50%; } */
  100% { background-position: 0% 50%; }
}