/* V13 — reward halo breathing + glass gloss on navigation. */
:root { --kg-reward-glow: 255, 195, 107; }
/* Animate the whole reward surface, without altering its content or countdown. */
.reward.glass:not([hidden]) {
  animation: kgRewardReveal .65s cubic-bezier(.2,.75,.2,1) both, kgRewardBreath 6.8s ease-in-out .65s infinite !important;
  will-change: box-shadow;
}
@keyframes kgRewardReveal {
  from {opacity:0;transform:translateY(18px)}
  to {opacity:1;transform:translateY(0)}
}
@keyframes kgRewardBreath {
  0%,100% {border-color:rgba(249,195,122,.48);box-shadow:0 20px 70px rgba(8,7,35,.40),inset 0 1px 0 rgba(255,231,196,.15),0 0 22px rgba(var(--kg-reward-glow),.12),0 0 44px rgba(var(--kg-reward-glow),.06)}
  50% {border-color:rgba(255,219,149,.92);box-shadow:0 24px 78px rgba(8,7,35,.42),inset 0 1px 0 rgba(255,231,196,.25),0 0 34px rgba(var(--kg-reward-glow),.30),0 0 88px 13px rgba(var(--kg-reward-glow),.14),0 0 140px 28px rgba(216,132,158,.075)}
}
/* Previous V11 important box-shadow would override animation; set the animation as the owner. */
.reward.glass:not([hidden]) {box-shadow:0 20px 70px rgba(8,7,35,.4),inset 0 1px 0 rgba(255,231,196,.15),0 0 22px rgba(245,185,100,.08)}
/* A subtle specular glass reflection, not a solid overlay. */
.nav.glass {
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(125deg,rgba(54,48,97,.73),rgba(24,27,66,.64) 48%,rgba(32,29,72,.79)) !important;
  border:1px solid rgba(233,188,222,.32) !important;
  box-shadow:0 12px 34px rgba(12,10,38,.30),inset 0 1px 0 rgba(255,241,255,.23),0 0 24px rgba(241,182,207,.07) !important;
  backdrop-filter:blur(26px) saturate(1.6);
  -webkit-backdrop-filter:blur(26px) saturate(1.6);
}
.nav.glass::before {
  content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;
  border-radius:inherit;
  background:linear-gradient(176deg,rgba(255,245,255,.22) 0%,rgba(255,242,255,.075) 19%,transparent 43%),radial-gradient(ellipse 58% 115% at 30% -80%,rgba(255,218,248,.21),transparent 90%);
}
.nav.glass::after {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  left:7%;right:7%;top:1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,242,255,.6),transparent);
}
/* Same gloss on the mobile expanded navigation. */
.mobileMenu.glass {
  background:linear-gradient(140deg,rgba(60,43,94,.88),rgba(25,24,64,.89)) !important;
  border-color:rgba(232,183,217,.32) !important;
  box-shadow:0 20px 60px rgba(10,8,36,.4),inset 0 1px rgba(255,245,255,.18) !important;
  backdrop-filter:blur(26px) saturate(1.5);
  -webkit-backdrop-filter:blur(26px) saturate(1.5);
}
@media (prefers-reduced-motion:reduce) {
  .reward.glass:not([hidden]) {animation:none!important;will-change:auto}
}
