.news-filters {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.news-filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(94, 234, 212, 0.12);
  background: rgba(10, 42, 38, 0.4);
  color: #9cc9c4;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Vazir", "Tahoma", sans-serif;
}
.news-filter-btn:hover {
  border-color: rgba(94, 234, 212, 0.25);
  color: #e5f1ef;
}
.news-filter-btn.active {
  background: rgba(94, 234, 212, 0.12);
  border-color: #5eead4;
  color: #5eead4;
}

/* 3-circle rotating loader */
.hz-circles-loader {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 3rem auto;
}
.hz-circles-loader .hz-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: hzSpin 1.5s linear infinite;
}
.hz-circle.hz-c1 {
  border-top-color: #5eead4;
  animation-duration: 1.5s;
}
.hz-circle.hz-c2 {
  width: 65%;
  height: 65%;
  top: 17.5%;
  left: 17.5%;
  border-right-color: rgba(255, 255, 255, 0.5);
  animation-duration: 2s;
  animation-direction: reverse;
}
.hz-circle.hz-c3 {
  width: 35%;
  height: 35%;
  top: 32.5%;
  left: 32.5%;
  border-bottom-color: #ef4444;
  animation-duration: 1s;
}
@keyframes hzSpin {
  to {
    transform: rotate(360deg);
  }
}

/* News item staggered fade-in */
.news-item {
  opacity: 0;
  transform: translateY(16px);
  animation: newsSlideIn 0.4s ease forwards;
}
@keyframes newsSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-item {
  background: rgba(10, 42, 38, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(94, 234, 212, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.news-item:hover {
  border-color: rgba(94, 234, 212, 0.18);
  transform: translateY(-2px);
}
.news-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.news-item.server::before {
  background: linear-gradient(90deg, #5eead4, #14b8a6);
}
.news-item.launcher::before {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.news-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.news-item h3 {
  color: #e5f1ef;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
}
.news-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.news-item-badge.server {
  background: rgba(94, 234, 212, 0.1);
  color: #5eead4;
}
.news-item-badge.launcher {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.news-item-body {
  color: #9cc9c4;
  font-size: 0.88rem;
  line-height: 1.85;
  white-space: pre-line;
}
.news-item-date {
  color: #6b8c88;
  font-size: 0.75rem;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b8c88;
  font-size: 0.95rem;
}
