.update-banner {
  position: fixed;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(620px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(180deg, rgba(19, 34, 56, 0.96), rgba(10, 21, 38, 0.94));
  border: 1px solid rgba(148, 185, 230, 0.18);
  border-top: none;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  transition: top 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.update-banner.show {
  top: 0;
}

.update-banner-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.update-banner-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #36a3ff 0%, #2563eb 100%);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3);
}

.update-banner-text {
  flex: 1;
  min-width: 0;
}

.update-banner-text h6 {
  margin: 0 0 2px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.update-banner-text p {
  margin: 0;
  color: rgba(203, 213, 225, 0.76);
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 500;
}

.update-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.update-banner-actions .btn {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.update-banner-actions .btn-light {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 185, 230, 0.18);
}

.update-banner-actions .btn-light:hover {
  background: rgba(30, 41, 59, 0.8);
}

.update-banner-actions .btn-primary {
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #36a3ff 0%, #2563eb 100%);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.update-banner-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.34);
}

.update-banner-close {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid #0f172a;
  color: #ffffff;
  background: #ef4444;
  font-size: 0.7rem;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

.update-banner-close:hover {
  transform: scale(1.06);
  background: #dc2626;
}

@media (max-width: 720px) {
  .update-banner {
    width: calc(100vw - 24px);
    padding: 12px;
    border-radius: 0 0 18px 18px;
  }

  .update-banner-content {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .update-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .update-banner-text {
    flex: 1 1 calc(100% - 58px);
  }

  .update-banner-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 10px;
  }
}