/* updates.css — Стили для страницы обновлений (улучшенная версия) */

.updates-page .container {
  max-width: 800px;
}

.page-header h1 {
  font-size: 2.8rem;
  background: linear-gradient(135deg, #f0e6d0, #c8b8a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.page-header .subtitle {
  color: #6c7b9c;
  font-size: 1.1rem;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin: 2rem 0;
}

.update-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2rem;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: fadeInUp 0.6s ease-out both;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.update-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(107, 143, 201, 0.02), transparent 60%);
  pointer-events: none;
}

.update-item:hover {
  transform: translateY(-6px) scale(1.01);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 235, 200, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.update-item .update-date {
  color: #6b8fc9;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}

.update-item .update-date i {
  font-size: 0.9rem;
  opacity: 0.7;
}

.update-item .update-title {
  color: #f0e6d0;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.update-item .update-description {
  color: #a4b3d1;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.update-item .update-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 3rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(107, 143, 201, 0.12);
  color: #6b8fc9;
  border: 1px solid rgba(107, 143, 201, 0.06);
  margin-top: 0.3rem;
}

.update-item .update-tag.major {
  background: rgba(245, 184, 74, 0.12);
  color: #f5b84a;
  border-color: rgba(245, 184, 74, 0.08);
}

.update-item .update-tag.feature {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.08);
}

.update-item .update-tag.fix {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.08);
}

/* Анимация появления */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.update-item:nth-child(1) { animation-delay: 0.05s; }
.update-item:nth-child(2) { animation-delay: 0.10s; }
.update-item:nth-child(3) { animation-delay: 0.15s; }
.update-item:nth-child(4) { animation-delay: 0.20s; }
.update-item:nth-child(5) { animation-delay: 0.25s; }

/* Адаптив */
@media (max-width: 600px) {
  .update-item {
    padding: 1.5rem 1.2rem;
    border-radius: 1.5rem;
  }
  .update-item .update-title {
    font-size: 1.2rem;
  }
  .update-item .update-description {
    font-size: 0.9rem;
  }
  .page-header h1 {
    font-size: 2rem;
  }
}
