.announcement-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  position: relative;
  transform: translateY(-100%);
  animation: announcementSlideDown 0.4s ease forwards;
  line-height: 1.4;
}

@keyframes announcementSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.announcement-bar.closing {
  animation: announcementSlideUp 0.3s ease forwards;
}

@keyframes announcementSlideUp {
  from { transform: translateY(0);     opacity: 1; max-height: 60px; }
  to   { transform: translateY(-100%); opacity: 0; max-height: 0; padding: 0; }
}

.announcement-bar__text {
  flex: 0 1 auto;
}

.announcement-bar__cta {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,0.2);
  color: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}

.announcement-bar__cta:hover {
  background: rgba(255,255,255,0.35);
}

.announcement-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 4px 8px;
  line-height: 1;
}

.announcement-bar__close:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .announcement-bar {
    font-size: 12px;
    padding: 8px 36px 8px 12px;
    gap: 8px;
  }
  .announcement-bar__cta {
    font-size: 11px;
    padding: 3px 10px;
  }
}
