/* banner-top.css — Styles the top glass banner header across all pages */

/* Styles the fixed, full-width header bar at the top of the page */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 20px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  overflow: hidden;
  z-index: 1000;
  text-align: center;
}

/* Adds an animated, drifting blurred overlay behind the top bar */
.top-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  z-index: -1;
  background: inherit;
  backdrop-filter: blur(30px) saturate(250%);
  -webkit-backdrop-filter: blur(30px) saturate(250%);
  animation: longDrift 20s ease-in-out infinite;
}

/* Styles the large white title text in the top bar */
.top-bar h1 {
  font-size: 20px;
  margin: 0;
  color: #ffffffee;
}

/* Styles the subtitle text below the title in the top bar */
.top-bar p {
  font-size: 13px;
  margin-top: 6px;
  color: #cccccc;
}

/* Animation for the blurred overlay drift effect */
@keyframes longDrift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-25%); }
  100% { transform: translateX(0); }
}
