/* Styly stránky changelog.php — dřív inline v <style>, teď soubor s dlouhou cache. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #ffffff; --bg-2: #f5f9fd; --bg-card: #ffffff;
    --border: #e3eaf3; --border2: #d0dcea;
    --accent: #00a2e8; --text: #0d1b2a;
    --text-2: #5a6b85; --text-m: #9aa8bf;
    --green: #00c85a; --gold: #ffaf00; --red: #ff5050; --purple: #9055ff;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0f4f9; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 5px; }

/* Navigace: css/nav.css (sdílená, lib/nav.php). */

.page-header {
    padding: 5rem 1.5rem 3.5rem; text-align: center;
    background: var(--bg); position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 600px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .3;
}
.page-header-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.025em; margin-bottom: .7rem; }
.page-header p { color: var(--text-2); font-size: 1rem; }

.container { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.changelog-wrap { padding: 3rem 0 6rem; }

.cl-version {
    display: grid; grid-template-columns: 180px 1fr;
    gap: 0 2.5rem; margin-bottom: 3rem;
    padding-bottom: 3rem; border-bottom: 1px solid var(--border);
}
.cl-version:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.cl-meta { padding-top: .35rem; }
.cl-ver-num { font-size: 1.25rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cl-ver-date { font-size: .78rem; color: var(--text-m); margin-top: .2rem; margin-bottom: .6rem; }
.cl-badge { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 5px; }
.badge-beta   { background: rgba(0,180,255,.12); color: var(--accent); border: 1px solid rgba(0,180,255,.2); }
.badge-fix    { background: rgba(255,175,0,.12); color: var(--gold); border: 1px solid rgba(255,175,0,.2); }
.badge-next   { background: rgba(144,85,255,.12); color: var(--purple); border: 1px solid rgba(144,85,255,.2); }
.badge-launch { background: rgba(0,200,90,.12); color: var(--green); border: 1px solid rgba(0,200,90,.2); }

.cl-content h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.1rem; letter-spacing: -.01em; }
.cl-items { display: flex; flex-direction: column; gap: .5rem; }
.cl-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; color: var(--text-2); padding: .5rem .75rem; background: rgba(0,40,90,.025); border-radius: 9px; }
.cl-item-type { font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 4px; flex-shrink: 0; margin-top: .15rem; }
.ct-feature     { background: rgba(0,180,255,.1); color: var(--accent); }
.ct-fix         { background: rgba(255,175,0,.1); color: var(--gold); }
.ct-improvement { background: rgba(0,200,90,.1); color: var(--green); }
.ct-breaking    { background: rgba(255,80,80,.1); color: var(--red); }

footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3rem 1.5rem 2rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-product { font-size: 1rem; font-weight: 900; }
.footer-company { font-size: .62rem; font-weight: 500; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; margin-top: .1rem; text-align: center; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; list-style: none; }
.footer-links a { color: var(--text-m); text-decoration: none; font-size: .81rem; transition: color .15s; }
.footer-links a:hover { color: var(--text-2); }
.footer-copy { color: var(--text-m); font-size: .77rem; }

@media (max-width: 640px) {
    .cl-version { grid-template-columns: 1fr; }
    .cl-meta { margin-bottom: .8rem; }
}
