/* TunnelTransfer — Release Notes Styles */

.release-notes-page {
  padding-bottom: 60px;
}

.release-notes-hero {
  padding: 36px 0 28px;
  max-width: 820px;
}

.release-notes-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
  background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.release-notes-desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  background: rgba(138, 43, 226, 0.18);
  border-color: rgba(138, 43, 226, 0.6);
  color: #ffffff;
  transform: translateX(-2px);
}

.releases-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 10px;
}

/* Release Card */
.release-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.release-card:hover {
  border-color: rgba(138, 43, 226, 0.4);
}

.release-card.latest-release {
  border-color: rgba(138, 43, 226, 0.5);
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.07) 0%, rgba(20, 25, 40, 0.85) 100%);
  box-shadow: 0 16px 48px rgba(138, 43, 226, 0.12);
}

.release-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.release-badges {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.release-version {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.release-badge-latest {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #8a2be2, #6366f1);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(138, 43, 226, 0.4);
}

.release-date {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

.release-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.release-summary {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px 0;
}

/* Category Groups */
.release-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.release-category-block {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 18px;
}

.release-category-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-added {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.category-improved {
  color: #818cf8;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.category-security {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.category-fixed {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.release-item-list {
  margin: 0;
  padding-inline-start: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.release-item-list li {
  color: #d1d5db;
  font-size: 0.93rem;
  line-height: 1.6;
}

.release-item-list li strong {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 760px) {
  .release-card {
    padding: 20px 16px;
  }

  .release-category-block {
    padding: 12px 14px;
  }

  .release-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
