.news-bar {
  position: relative;
  background: linear-gradient(270deg, #2ca4fc, #56b9ff, #2ca4fc);
  background-size: 400% 400%;
  color: white;
  text-align: center;
  padding: 8px 0;
  animation: shine 6s ease infinite;
  font-family: 'Minecraftia', sans-serif;
  z-index: 1000;
  overflow: hidden;
}

.news-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, transparent 80%);
  animation: shimmer 3s infinite;
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}

.news-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-content code {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 6px;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
}

.news-button {
  background: white;
  color: #2ca4fc;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: 0.2s;
}

.news-button:hover {
  background: #f6d8e8;
  color: #2ca4fc;
  transform: scale(1.05);
}
