/* ============================================================
   ✅ Floating Updates Button + Premium UI
   ============================================================ */

.updatesFloatBtn{
  position: fixed;
  top: 55%;
  right: 14px;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(7,26,51,0.14);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  cursor: pointer;
  z-index: 9999;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: 0.25s ease;
  color: #071a33;
  overflow: visible;
}

/* ✅ Soft premium hover */
.updatesFloatBtn:hover{
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 28px 70px rgba(0,0,0,0.18);
}

/* ✅ Subtle pulse glow */
.updatesFloatBtn::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(10,162,212,0.18), transparent 70%);
  opacity: 0;
  pointer-events:none;
  animation: updatesPulse 2.8s ease-in-out infinite;
}

@keyframes updatesPulse{
  0%, 100%{ transform: scale(0.94); opacity: 0.12; }
  50%{ transform: scale(1.04); opacity: 0.24; }
}

/* ✅ badge */
.updatesBadge{
  position:absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #d65184;
  color: white;
  font-size: 12px;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 12px 25px rgba(0,0,0,0.20);
  padding: 0 7px;
}

/* ✅ icon */
.updatesSvgIcon{
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  z-index: 2;
}

.updatesSvgIcon svg{
  color: #0aa2d4;
}

/* ✅ Hover label */
.updatesLabel{
  position:absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7,26,51,0.94);
  color: white;
  font-weight: 900;
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  gap: 8px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events:none;
  transition: 0.25s ease;
  white-space: nowrap;
}

.updatesLabelArrow{
  color: var(--cyan);
  font-weight: 900;
}

/* show label only on hover (desktop) */
@media(min-width: 641px){
  .updatesFloatBtn:hover .updatesLabel{
    opacity: 1;
    transform: translateY(-50%) translateX(-2px);
  }
}

/* ✅ Mobile placement */
@media(max-width:640px){
  .updatesFloatBtn{
    top:auto;
    bottom: 18px;
    right: 16px;
    transform:none;
    border-radius: 999px;
    width: 62px;
    height: 62px;
  }
  .updatesFloatBtn:hover{
    transform: scale(1.06);
  }
  .updatesLabel{
    display:none;
  }
}


/* ============================================================
   ✅ Slide Panel + Backdrop
   ============================================================ */

.updatesPanel{
  position: fixed;
  top: 0;
  right: -420px;
  width: 390px;
  max-width: 92%;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  box-shadow: -30px 0 90px rgba(0,0,0,0.18);
  z-index: 10000;
  transition: 0.35s ease;
  display:flex;
  flex-direction:column;
}

.updatesPanel.open{
  right: 0;
}

.updatesPanelHeader{
  padding: 22px 18px;
  border-bottom: 1px solid rgba(7,26,51,0.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.updatesPanelHeader h3{
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #071a33;
}

.updatesClose{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(7,26,51,0.12);
  background: rgba(255,255,255,0.85);
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.updatesClose:hover{
  transform: scale(1.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.updatesPanelBody{
  padding: 22px 18px;
  overflow-y:auto;
}

/* block */
.updatesBlock{
  margin-bottom: 26px;
}

.updatesBlock h4{
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #0aa2d4;
  margin-bottom: 12px;
}

.updatesBlock ul{
  list-style:none;
  padding-left: 0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.updatesBlock li{
  font-family:"Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(7,26,51,0.78);
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(10,162,212,0.06);
  border: 1px solid rgba(10,162,212,0.12);
  transition: 0.22s ease;
}

/* ✅ newest highlight glow */
.updatesBlock li.is-new{
  border-color: rgba(214,81,132,0.30);
  background: rgba(214,81,132,0.06);
  box-shadow: 0 12px 30px rgba(214,81,132,0.08);
}

/* hover */
.updatesBlock li:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.10);
}

/* backdrop */
.updatesBackdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: 0.3s ease;
}

.updatesBackdrop.show{
  opacity: 1;
  pointer-events: all;
}
