/* updates.html — Platform Updates page */
html { scroll-behavior: smooth; }

.page-header { padding: 56px 5% 40px; text-align: center; }
.page-header h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-header p { color: var(--muted); font-size: 16px; max-width: 520px; margin: 0 auto; }

.updates-wrap { max-width: 860px; margin: 0 auto; padding: 0 5% 80px; }

.updates-intro { border-left: 3px solid var(--accent); padding: 14px 18px; margin-bottom: 48px; background: var(--bg2); border-radius: 0 var(--r) var(--r) 0; }
.updates-intro p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Month navigation */
.updates-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; margin-bottom: 40px; font-size: 13px; }
.updates-nav a { color: var(--muted); text-decoration: none; padding: 2px 4px; border-radius: 3px; transition: color 0.15s; }
.updates-nav a:hover { color: var(--text); }
.updates-nav a.updates-nav-current { color: var(--text); font-weight: 700; }
.updates-nav-sep { color: var(--border); padding: 0 6px; user-select: none; }

/* Month block */
.update-month { margin-bottom: 64px; }
.month-heading { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }

/* Group (Security / Hosting / Portal / Reliability) */
.update-group { margin-bottom: 36px; }
.update-group-label { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; margin-bottom: 16px; }
.update-group-label.security  { background: rgba(224,64,64,.15);  color: #e06060; }
.update-group-label.hosting   { background: rgba(61,190,94,.12);  color: #3dbe5e; }
.update-group-label.portal    { background: rgba(224,123,57,.15); color: var(--accent); }
.update-group-label.reliability { background: rgba(100,160,255,.12); color: #7ab4ff; }

/* Entry list */
.update-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.update-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.update-list li:last-child { border-bottom: none; }

/* Badge */
.update-badge { flex-shrink: 0; margin-top: 3px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; line-height: 18px; }
.update-badge.new         { background: rgba(61,190,94,.15);  color: #3dbe5e; }
.update-badge.improvement { background: rgba(100,160,255,.12); color: #7ab4ff; }
.update-badge.fix         { background: rgba(240,180,41,.12);  color: var(--warn); }

/* Body */
.update-body { flex: 1; font-size: 14px; line-height: 1.7; color: var(--muted); }
.update-body strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.update-body a { color: var(--accent); text-decoration: none; }
.update-body a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 600px) {
  .update-list li { flex-direction: column; gap: 6px; }
  .update-badge { align-self: flex-start; }
}
