/* Resource Watcher header branding: animated globe mark + Orbitron wordmark */

.rw-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;     /* 48px (mobile) */
  height: 3rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .rw-mark {       /* 56px (desktop) — as large as the bar allows with py-2 */
    width: 3.5rem;
    height: 3.5rem;
  }
}
.rw-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Light header (white): darken the pale globe so it reads with good contrast.
     brightness(0.5) deepens the gradient to a navy-blue; saturate keeps it blue. */
  filter: brightness(0.5) saturate(1.25);
}
.dark .rw-mark img {
  filter: none;  /* Dark header: the original pale globe already pops */
}

/* a small glowing dot that orbits the globe (matches the ring motif) */
.rw-orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 9999px;
  background: #2f7fb0;                                   /* light header: mid-blue, reads on white */
  box-shadow: 0 0 5px 1px rgba(60, 140, 210, 0.65);
  animation: rw-orbit 7s linear infinite;
}
.dark .rw-orbit-dot {
  background: #cdeeff;                                   /* dark header: bright dot */
  box-shadow: 0 0 6px 1px rgba(120, 200, 255, 0.85);
}
@keyframes rw-orbit {
  from { transform: rotate(0deg)   translateX(21px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(21px) rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .rw-orbit-dot { animation: none; }
}

.rw-wordmark {
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  font-family: 'Orbitron', sans-serif;
  user-select: none;
}
.rw-word-resource {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #1f6fb2 0%, #4bb4e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rw-word-watcher {
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 2px;
  background: linear-gradient(90deg, #2f7fb0 0%, #5aa9d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dark .rw-word-watcher {
  background: linear-gradient(90deg, #4aa9dd 0%, #8fd4f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
