/* ═══════════════════════════════════════════════════════
   RUST RENEW — CHANGELOG
   Industrial terminal-style update log
   ═══════════════════════════════════════════════════════ */

/* ─── FOUNDATION ─────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body {
    background: #0a0a0a;
    color: #d4d4d4;
    font-family: 'Chakra Petch', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ─── HERO ───────────────────────────────────────────── */
.cl-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 56px;
    text-align: center;
    overflow: hidden;
}
.cl-hero-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(34,211,238,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cl-hero-content {
    position: relative;
    z-index: 1;
}
.cl-hero-icon {
    font-size: 36px;
    color: #22d3ee;
    margin-bottom: 16px;
    text-shadow: 0 0 24px rgba(34,211,238,0.4);
    animation: heroIconPulse 3s ease-in-out infinite;
}
@keyframes heroIconPulse {
    0%,100% { opacity: 1; text-shadow: 0 0 24px rgba(34,211,238,0.4); }
    50% { opacity: 0.7; text-shadow: 0 0 12px rgba(34,211,238,0.2); }
}
.cl-hero-title {
    font-family: 'Black Ops One', cursive;
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: 4px;
    color: #e5e5e5;
    line-height: 1.1;
}
.cl-hero-title span {
    color: #22d3ee;
    text-shadow: 0 0 20px rgba(34,211,238,0.3);
}
.cl-hero-sub {
    margin-top: 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #525252;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ─── MAIN ───────────────────────────────────────────── */
.cl-main {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* ─── TIMELINE ───────────────────────────────────────── */
.cl-timeline {
    position: relative;
    padding-left: 40px;
}
/* Vertical line */
.cl-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #22d3ee 0%, #164e63 40%, #1a1a1a 100%);
    opacity: 0.5;
}

/* ─── ENTRY ──────────────────────────────────────────── */
.cl-entry {
    position: relative;
    margin-bottom: 48px;
}

/* Dot on timeline */
.cl-entry-line {
    position: absolute;
    left: -40px;
    top: 24px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cl-entry-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22d3ee;
    border: 2px solid #0a0a0a;
    box-shadow: 0 0 10px rgba(34,211,238,0.5), 0 0 20px rgba(34,211,238,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.cl-entry:hover .cl-entry-dot {
    transform: scale(1.3);
    box-shadow: 0 0 16px rgba(34,211,238,0.7), 0 0 32px rgba(34,211,238,0.3);
}

/* Card */
.cl-entry-card {
    background: rgba(20,20,20,0.85);
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 28px 32px;
    transition: border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(8px);
}
.cl-entry:hover .cl-entry-card {
    border-color: rgba(34,211,238,0.2);
    box-shadow: 0 0 30px rgba(34,211,238,0.04), inset 0 1px 0 rgba(34,211,238,0.08);
}

/* Header row */
.cl-entry-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.cl-version-badge {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #22d3ee;
    background: rgba(34,211,238,0.08);
    border: 1px solid rgba(34,211,238,0.2);
    border-radius: 4px;
    padding: 3px 10px;
}
.cl-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #525252;
    letter-spacing: 1px;
}
.cl-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}
.cl-tag-feature {
    color: #22c55e;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.2);
}
.cl-tag-data {
    color: #f59e0b;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
}
.cl-tag-overhaul {
    color: #ef4444;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
}

.cl-entry-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #e5e5e5;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #1a1a1a;
}

/* ─── SECTIONS INSIDE CARD ───────────────────────────── */
.cl-section {
    margin-bottom: 18px;
}
.cl-section:last-child { margin-bottom: 0; }

.cl-section h3 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    color: #737373;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cl-section h3 i {
    font-size: 10px;
    color: #525252;
}

.cl-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cl-section li {
    font-size: 13px;
    color: #a3a3a3;
    line-height: 1.6;
    padding-left: 4px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.cl-section li strong {
    color: #d4d4d4;
    font-weight: 600;
}
.cl-section li code {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #22d3ee;
    background: rgba(34,211,238,0.06);
    padding: 1px 6px;
    border-radius: 3px;
}

/* Change type indicators */
.cl-plus, .cl-minus, .cl-edit {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    width: 16px;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.6;
}
.cl-plus  { color: #22c55e; }
.cl-minus { color: #ef4444; }
.cl-edit  { color: #f59e0b; }

/* ─── TIMELINE END ────────────────────────────────────── */
.cl-timeline-end {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}
.cl-timeline-end-dot {
    position: absolute;
    left: -40px;
    top: 8px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cl-timeline-end-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #262626;
    border: 2px solid #1a1a1a;
}
.cl-timeline-end-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: #2a2a2a;
    letter-spacing: 3px;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.cl-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 20px 40px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: #262626;
    letter-spacing: 3px;
    border-top: 1px solid #141414;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 640px) {
    .cl-hero { padding: 64px 16px 40px; }
    .cl-timeline { padding-left: 32px; }
    .cl-timeline::before { left: 11px; }
    .cl-entry-line { left: -32px; width: 24px; }
    .cl-entry-dot { width: 10px; height: 10px; }
    .cl-entry-card { padding: 20px; }
    .cl-entry-title { font-size: 16px; }
    .cl-section li { font-size: 12px; }
    .cl-version-badge { font-size: 11px; }
    .cl-timeline-end-dot { left: -32px; width: 24px; }
}
