/* Hiệu ứng riêng cho nút "Học thử ngay" ở đầu trang chủ (24-11). Chữ và ảnh cô giáo đứng yên.
   Chỉ dùng transform/box-shadow/background-position; tắt hết khi máy bật "giảm chuyển động". */
@keyframes hh-ring { 0% { box-shadow: 0 0 0 0 rgba(0, 198, 158, .55); } 75%, 100% { box-shadow: 0 0 0 22px rgba(0, 198, 158, 0); } }
@keyframes hh-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes hh-sheen { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
@keyframes hh-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@keyframes hh-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.16); } 24% { transform: scale(1); } 36% { transform: scale(1.1); } 48% { transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  /* Nút "Học thử ngay": có năng lượng, không đứng yên. Nhịp thở + vệt sáng quét + vòng sáng lan + mũi tên nhún. */
  .board-enter.board-trial {
    background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
    background-size: 260% 100%; background-repeat: no-repeat; background-position: 130% 0;
    animation: hh-breathe 2.2s ease-in-out infinite, hh-sheen 3.4s 1.2s ease-in-out infinite;
  }
  .board-enter.board-trial::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: hh-ring 2.2s ease-out infinite; }
  .board-enter.board-trial > span:last-child { display: inline-block; animation: hh-nudge 1.1s ease-in-out infinite; }
  .board-trial .trial-play { animation: hh-beat 2.2s ease-in-out infinite; transition: background .2s ease; }
  /* Rê chuột / chạm: bật lên nhanh, vòng sáng nhường chỗ cho cú nảy */
  .board-enter.board-trial:hover { animation: hh-sheen 1.1s ease-in-out infinite; transform: translateY(-3px) scale(1.045); box-shadow: 0 7px 0 #008F73, 0 14px 26px rgba(0, 198, 158, .35); }
  .board-enter.board-trial:hover::before { animation: none; }
  .board-enter.board-trial:active { transform: translateY(1px) scale(.98); box-shadow: 0 2px 0 #008F73; }
  .board-enter.board-trial:hover > span:last-child { animation-duration: .55s; }
}
