/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
}
.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
.popup-img {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
}

/* Scrollbar Hiding Utility */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Header Padding adjustment for non-home pages */
main:not(.is-home) {
  padding-top: 85px; /* Prevent header overlap */
}

/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}
.avatar-wrapper {
  width: 48px; height: 48px; margin-right: 8px;
}
.avatar-tooltip {
  display: none;
}
.avatar-wrapper:hover .avatar-tooltip {
  display: block;
}

/* Font Display utility class */
.font-display {
  font-family: var(--font-display);
}
