.changelog-page {
    position: relative;
    overflow: hidden;
    padding: 44px 0 72px;
}

.changelog-page::before {
    content: "";
    position: absolute;
    inset: -20% 20% auto;
    height: 420px;
    background: radial-gradient(circle, rgba(54, 209, 220, 0.16), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}

.changelog-intro {
    position: relative;
    max-width: 900px;
    margin: 0 auto 24px;
    text-align: center;
}

.changelog-intro h1 {
    margin: 6px 0 10px;
    background: linear-gradient(90deg, #7fe3ea, #ffab87);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.changelog-intro p {
    margin: 0;
    color: var(--muted);
}

.changelog-list {
    position: relative;
    display: grid;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.changelog-list::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(180deg, rgba(54, 209, 220, 0.5), rgba(255, 255, 255, 0.06));
}

.changelog-card {
    position: relative;
    margin-left: 26px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.changelog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(54, 209, 220, 0.3);
}

.changelog-card.is-current {
    border-color: rgba(54, 209, 220, 0.5);
    background: linear-gradient(150deg, rgba(54, 209, 220, 0.12), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 0 0 1px rgba(54, 209, 220, 0.12), 0 24px 55px rgba(0, 0, 0, 0.32);
}

.changelog-card::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 27px;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: #1b2434;
}

.changelog-card.is-current::before {
    background: #36d1dc;
    border-color: #7fe3ea;
    box-shadow: 0 0 0 4px rgba(54, 209, 220, 0.14), 0 0 18px rgba(54, 209, 220, 0.5);
}

.changelog-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
}

.changelog-version {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
}

.changelog-badge {
    padding: 2px 9px;
    border: 1px solid rgba(54, 209, 220, 0.35);
    border-radius: 999px;
    background: rgba(54, 209, 220, 0.14);
    color: #b7f4f8;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.changelog-date {
    color: var(--muted);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.changelog-title {
    margin: 10px 0 0;
    color: var(--text);
    font-weight: 700;
}

.changelog-items {
    display: grid;
    gap: 7px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.6;
}

.changelog-items li {
    position: relative;
    padding-left: 20px;
}

.changelog-items li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(54, 209, 220, 0.65);
}

@media (max-width: 720px) {
    .changelog-page {
        padding: 28px 0 48px;
    }

    .changelog-intro {
        text-align: left;
    }

    .changelog-list::before {
        display: none;
    }

    .changelog-card {
        margin-left: 0;
        padding: 16px 16px 18px;
    }

    .changelog-card::before {
        display: none;
    }

    .changelog-card-header {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .changelog-card {
        transition: none;
    }

    .changelog-card:hover {
        transform: none;
    }
}
