/* ==========================================
   Changelog Page — Redesigned
   ========================================== */

.cl-hero {
            padding: 100px 32px 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cl-hero-bg {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse at 30% 0%, rgba(230,0,35,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 100%, rgba(230,0,35,0.05) 0%, transparent 40%);
            pointer-events: none;
        }
        .cl-hero-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
            background-size: 48px 48px;
            mask-image: radial-gradient(ellipse at center, black 35%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 70%);
            pointer-events: none;
        }
        .cl-hero-glow {
            position: absolute;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(230,0,35,0.1) 0%, transparent 70%);
            top: -150px;
            left: 50%;
            transform: translateX(-50%);
            filter: blur(60px);
            pointer-events: none;
        }
        .cl-hero h1 {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 900;
            line-height: 1.1;
            letter-spacing: -1.5px;
            margin-bottom: 16px;
            position: relative;
        }
        .cl-hero p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 580px;
            margin: 0 auto;
            line-height: 1.7;
            position: relative;
        }
        .cl-hero-stats {
            display: flex;
            justify-content: center;
            gap: 32px;
            margin-top: 28px;
            position: relative;
        }
        .cl-hero-stat {
            text-align: center;
        }
        .cl-hero-stat-num {
            display: block;
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--accent);
        }
        .cl-hero-stat-label {
            font-size: 0.78rem;
            color: var(--text-muted);
        }

        .cl-list {
            max-width: 800px;
            margin: 0 auto;
            padding: 60px 32px 80px;
        }

        .cl-entry {
            position: relative;
            padding-left: 48px;
            margin-bottom: 40px;
        }

        .cl-entry::before {
            content: '';
            position: absolute;
            left: 15px;
            top: 36px;
            bottom: -40px;
            width: 2px;
            background: var(--border-subtle);
        }
        .cl-entry:last-child::before {
            display: none;
        }

        .cl-entry-dot {
            position: absolute;
            left: 0;
            top: 4px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 0.75rem;
            box-shadow: 0 0 0 4px var(--bg-main), 0 0 0 6px var(--border-subtle);
            z-index: 1;
        }

        .cl-entry-card {
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .cl-entry-card:hover {
            border-color: rgba(var(--accent-rgb), 0.2);
            box-shadow: 0 4px 24px rgba(0,0,0,0.06);
        }

        .cl-entry-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            cursor: pointer;
            user-select: none;
            gap: 12px;
        }
        .cl-entry-header-left {
            display: flex;
            align-items: center;
            gap: 14px;
            min-width: 0;
        }
        .cl-entry-version {
            font-size: 1.15rem;
            font-weight: 800;
            white-space: nowrap;
        }
        .cl-entry-date {
            font-size: 0.82rem;
            color: var(--text-muted);
            font-weight: 400;
            white-space: nowrap;
        }
        .cl-entry-chevron {
            color: var(--text-muted);
            transition: transform 0.3s;
            font-size: 0.85rem;
            flex-shrink: 0;
        }
        .cl-entry.open .cl-entry-chevron {
            transform: rotate(180deg);
        }

        .cl-entry-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.25s ease;
            padding: 0 24px;
        }
        .cl-entry.open .cl-entry-body {
            max-height: 800px;
            padding: 0 24px 20px;
        }

        .cl-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 8px 0;
            font-size: 0.92rem;
            color: var(--text-secondary);
            line-height: 1.6;
            border-bottom: 1px solid var(--border-subtle);
        }
        .cl-item:last-child {
            border-bottom: none;
        }
        .cl-dot {
            flex-shrink: 0;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-top: 9px;
            box-shadow: 0 0 0 2px transparent;
        }
        .cl-dot-new { background: #22c55e; box-shadow: 0 0 0 2px rgba(34,197,94,0.2); }
        .cl-dot-change { background: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }
        .cl-dot-fix { background: #eab308; box-shadow: 0 0 0 2px rgba(234,179,8,0.2); }
        .cl-dot-remove { background: #ef4444; box-shadow: 0 0 0 2px rgba(239,68,68,0.2); }

        .cl-tag {
            display: inline-block;
            padding: 2px 9px;
            border-radius: 100px;
            font-size: 0.62rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            vertical-align: middle;
            margin-right: 6px;
        }
        .cl-tag-new { background: rgba(34,197,94,0.12); color: #22c55e; }
        .cl-tag-change { background: rgba(59,130,246,0.12); color: #3b82f6; }
        .cl-tag-fix { background: rgba(234,179,8,0.12); color: #eab308; }
        .cl-tag-remove { background: rgba(239,68,68,0.12); color: #ef4444; }

        .cl-empty {
            text-align: center;
            padding: 64px 24px;
            color: var(--text-muted);
        }
        .cl-empty-icon {
            font-size: 3rem;
            margin-bottom: 16px;
            opacity: 0.3;
        }
        .cl-empty h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 8px;
        }
        .cl-empty p {
            font-size: 0.92rem;
            max-width: 400px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .cl-cta {
            text-align: center;
            padding: 48px 24px 0;
        }
        .cl-cta p {
            font-size: 0.92rem;
            color: var(--text-muted);
            margin-bottom: 16px;
        }

        @media (max-width: 768px) {
            .cl-hero {
                padding: 70px 20px 50px;
            }
        }

        @media (max-width: 600px) {
            .cl-hero {
                padding: 50px 16px 40px;
            }

            .cl-entry {
                padding-left: 36px;
            }
            .cl-entry::before {
                left: 11px;
            }
            .cl-entry-dot {
                width: 24px;
                height: 24px;
                font-size: 0.6rem;
                box-shadow: 0 0 0 3px var(--bg-main), 0 0 0 5px var(--border-subtle);
            }
            .cl-entry-header {
                padding: 16px 18px;
            }
            .cl-entry-body {
                padding: 0 18px;
            }
            .cl-entry.open .cl-entry-body {
                padding: 0 18px 16px;
            }
        }