/* PCM · 15/10/2026 · CTA SÀN CÁP KÈO BÓNG ĐÁ PHỦI — glowing design.
 * CSS-only replacement: preserves existing /cap-keo/ link, Admin & React code.
 */
#pcm-capkeo-quicklink {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90px;
  padding: 13px clamp(12px, 2.5vw, 28px);
  overflow: hidden;
  border-bottom: 1px solid rgba(104, 253, 188, .38);
  background:
    radial-gradient(ellipse at 50% 105%, rgba(48, 255, 187, .20), transparent 60%),
    linear-gradient(115deg, #041721 0%, #063d36 47%, #041721 100%);
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
  color: #f8fffa;
}
#pcm-capkeo-quicklink::before,
#pcm-capkeo-quicklink::after {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: .38;
}
#pcm-capkeo-quicklink::before { left: -110px; top: -210px; background: #22ffa9; }
#pcm-capkeo-quicklink::after { right: -80px; bottom: -210px; background: #e8c454; }
#pcm-capkeo-quicklink a {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 24px);
  width: min(100%, 910px);
  min-height: 64px;
  padding: 12px 25px;
  border: 2px solid #fff1ae;
  border-radius: 17px;
  background: linear-gradient(115deg, #ffe395 0%, #ffc94e 29%, #ffef9b 57%, #ffbd36 80%, #ffeaa2 100%);
  background-size: 200% 100%;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .65),
    inset 0 -3px 0 rgba(139, 70, 7, .18),
    0 7px 23px rgba(0, 0, 0, .28),
    0 0 15px rgba(255, 209, 75, .52),
    0 0 33px rgba(36, 255, 179, .25);
  text-decoration: none;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  animation: pcmKeoGlow 4.4s ease-in-out infinite;
}
/* Moving glass-like light over the surface; does not interfere with clicking */
#pcm-capkeo-quicklink a::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: -55%;
  top: -95%;
  width: 36%;
  height: 300%;
  transform: rotate(25deg) translate3d(0,0,0);
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.08) 24%, rgba(255,255,255,.83) 50%, rgba(255,255,255,.08) 76%, transparent 100%);
  filter: blur(5px);
  pointer-events: none;
  animation: pcmKeoSweep 5.2s ease-in-out infinite;
}
#pcm-capkeo-quicklink a > span,
#pcm-capkeo-quicklink a > small {
  position: relative;
  z-index: 1;
}
#pcm-capkeo-quicklink a > span {
  flex: 0 1 auto;
  color: #082521 !important;
  font-weight: 950;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.24;
  letter-spacing: .15px;
  text-shadow: 0 1px 0 rgba(255,255,255,.48);
  text-align: center;
}
#pcm-capkeo-quicklink a > small {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(8,53,38,.16);
  border-radius: 30px;
  background: rgba(10, 69, 53, .10);
  color: #134338 !important;
  font-size: clamp(10px, 1.15vw, 12px);
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
}
#pcm-capkeo-quicklink a:hover,
#pcm-capkeo-quicklink a:active {
  filter: saturate(1.15) brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.33),0 0 24px rgba(255,214,83,.84),0 0 42px rgba(38,255,179,.4);
}
#pcm-capkeo-quicklink a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@keyframes pcmKeoSweep {
  0%, 16% { left: -55%; opacity: 0; }
  24% { opacity: .72; }
  48% { left: 120%; opacity: .58; }
  53%, 100% { left: 120%; opacity: 0; }
}
@keyframes pcmKeoGlow {
  0%, 100% { box-shadow: inset 0 2px 0 #ffffffa6,inset 0 -3px 0 #8b46072e,0 7px 23px #00000047,0 0 14px #ffd14b80,0 0 33px #24ffb340; }
  50% { box-shadow: inset 0 2px 0 #ffffffa6,inset 0 -3px 0 #8b46072e,0 7px 23px #00000047,0 0 23px #ffe27baa,0 0 44px #24ffb366; }
}
@media (max-width: 680px) {
  #pcm-capkeo-quicklink { min-height: 99px; padding: 12px 14px; }
  #pcm-capkeo-quicklink a {
    gap: 4px;
    flex-direction: column;
    min-height: 71px;
    width: 100%;
    padding: 10px 9px;
    border-radius: 16px;
  }
  #pcm-capkeo-quicklink a > span {
    font-size: clamp(13px, 3.55vw, 17px);
    line-height: 1.32;
    max-width: 100%;
  }
  #pcm-capkeo-quicklink a > small {
    font-size: clamp(9px, 2.65vw, 11px);
    line-height: 1.2;
    padding: 3px 9px;
    border: 0;
  }
}
@media (max-width: 345px) {
  #pcm-capkeo-quicklink { padding: 10px 9px; }
  #pcm-capkeo-quicklink a > span { font-size: 12.4px; }
  #pcm-capkeo-quicklink a > small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  #pcm-capkeo-quicklink a, #pcm-capkeo-quicklink a::before { animation: none !important; transition: none !important; }
}
#pcm-capkeo-quicklink[hidden] { display: none !important; }
