:root {
    --bg: linear-gradient(160deg, #10192f 0%, #060913 52%, #020307 100%);
    --surface: rgba(10, 15, 27, 0.9);
    --surface-border: rgba(173, 216, 255, 0.18);
    --text: #eff5ff;
    --muted: #b2bfd9;
    --accent: #7bd9ff;
    --accent-soft: rgba(123, 217, 255, 0.22);
    --accent-warm: #ffbf7e;
    --accent-lime: #d8ff7f;
    --entry-bg: rgba(123, 217, 255, 0.08);
    --entry-border: rgba(123, 217, 255, 0.16);
}

* {
    box-sizing: border-box;
    font-family: "Zalando Sans Expanded", sans-serif;
    user-select: none;
}

html {
    min-height: 100%;
    background: var(--bg);
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: var(--text);
}

.changelog-layout {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2.25rem 1.25rem 3.5rem;
    overflow: hidden;
}

.changelog-layout::before,
.changelog-layout::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(18px);
    opacity: 0.72;
}

.changelog-layout::before {
    width: 18rem;
    height: 18rem;
    top: 2rem;
    left: max(-5rem, calc(50% - 42rem));
    background: radial-gradient(circle, rgba(123, 217, 255, 0.18), transparent 72%);
    animation: drift-glow 14s ease-in-out infinite;
}

.changelog-layout::after {
    width: 16rem;
    height: 16rem;
    right: max(-4rem, calc(50% - 40rem));
    bottom: 1rem;
    background: radial-gradient(circle, rgba(255, 191, 126, 0.14), transparent 72%);
    animation: drift-glow 16s ease-in-out infinite reverse;
}

.changelog-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(1180px, 100%);
    padding: 2.65rem 2.8rem;
    border: 1px solid var(--surface-border);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(123, 217, 255, 0.14), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 191, 126, 0.08), transparent 28%),
        linear-gradient(160deg, rgba(13, 19, 34, 0.95), rgba(5, 8, 16, 0.94));
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

.changelog-card::before,
.changelog-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.changelog-card::before {
    width: 22rem;
    height: 22rem;
    top: -12rem;
    right: -10rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.65;
    animation: slow-spin 24s linear infinite;
}

.changelog-card::after {
    inset: auto -4rem -7rem auto;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 217, 255, 0.12), transparent 70%);
    filter: blur(10px);
    animation: breathe-glow 10s ease-in-out infinite;
}

.changelog-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.changelog-copy {
    min-width: 0;
}

.eyebrow {
    width: fit-content;
    margin: 0 0 0.9rem;
    padding: 0.45rem 0.75rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    border: 1px solid rgba(123, 217, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.04;
}

.intro {
    margin: 1rem 0 0;
    max-width: 56ch;
    color: var(--muted);
    line-height: 1.7;
}

.changelog-pulse {
    position: relative;
    min-height: 245px;
}

.changelog-orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    overflow: hidden;
}

.changelog-orbit::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(from 90deg,
            rgba(123, 217, 255, 0.95) 0deg,
            rgba(123, 217, 255, 0.95) 36deg,
            rgba(123, 217, 255, 0.08) 36deg,
            rgba(123, 217, 255, 0.08) 170deg,
            rgba(255, 191, 126, 0.82) 170deg,
            rgba(255, 191, 126, 0.82) 218deg,
            rgba(255, 255, 255, 0.08) 218deg,
            rgba(255, 255, 255, 0.08) 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}

.changelog-orbit--one {
    width: 220px;
    height: 220px;
    top: 6px;
    left: 22px;
    animation: slow-spin 20s linear infinite;
}

.changelog-orbit--two {
    width: 138px;
    height: 138px;
    right: 6px;
    bottom: 12px;
    animation: slow-spin-reverse 18s linear infinite;
}

.changelog-orbit--two::before {
    background: conic-gradient(from 180deg,
            rgba(255, 255, 255, 0.04) 0deg,
            rgba(255, 255, 255, 0.04) 36deg,
            rgba(123, 217, 255, 0.82) 36deg,
            rgba(123, 217, 255, 0.82) 82deg,
            rgba(255, 255, 255, 0.04) 82deg,
            rgba(255, 255, 255, 0.04) 198deg,
            rgba(216, 255, 127, 0.88) 198deg,
            rgba(216, 255, 127, 0.88) 238deg,
            rgba(255, 255, 255, 0.04) 238deg,
            rgba(255, 255, 255, 0.04) 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}

.changelog-pulse-card,
.changelog-sticker {
    position: absolute;
    backdrop-filter: blur(12px);
}

.changelog-pulse-card {
    display: grid;
    gap: 0.45rem;
    width: min(100%, 220px);
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(150deg, rgba(20, 28, 48, 0.9), rgba(8, 13, 24, 0.88)),
        radial-gradient(circle at top right, rgba(123, 217, 255, 0.12), transparent 38%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.changelog-pulse-card strong {
    font-size: 0.98rem;
    line-height: 1.35;
}

.changelog-pulse-card--top {
    top: 0;
    right: 16px;
    animation: float-card-right 4.9s ease-in-out infinite;
}

.changelog-pulse-card--bottom {
    left: 8px;
    bottom: 10px;
    animation: float-card-left 5.5s ease-in-out infinite;
}

.changelog-pulse-tag,
.changelog-pulse-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.changelog-pulse-tag {
    color: var(--accent);
}

.changelog-pulse-label {
    color: var(--muted);
}

.changelog-pulse-metric {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fbff;
}

.changelog-pulse-line {
    display: block;
    width: 100%;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.changelog-pulse-line--short {
    width: 72%;
    background: linear-gradient(90deg, rgba(123, 217, 255, 0.55), rgba(255, 255, 255, 0.12));
}

.changelog-sticker {
    left: 122px;
    top: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent-lime), rgba(255, 255, 255, 0.92));
    color: #05111d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    animation: float-sticker-tilt 4.8s ease-in-out infinite;
}

.changelog-marquee {
    position: relative;
    z-index: 1;
    margin-top: 1.75rem;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.changelog-marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    color: #eef3ff;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-slide 18s linear infinite;
}

.changelog-marquee-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
    padding: 0.85rem 1rem;
}

.changelog-marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.changelog-marquee-track span::after {
    content: "*";
    color: var(--accent-warm);
}

.change-log-list {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    display: grid;
    gap: 1.15rem;
    padding-left: 1.45rem;
}

.change-log-list::before {
    content: "";
    position: absolute;
    left: 0.34rem;
    top: 0.9rem;
    bottom: 0.9rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(123, 217, 255, 0.55), rgba(123, 217, 255, 0.06));
    box-shadow: 0 0 18px rgba(123, 217, 255, 0.18);
    animation: timeline-flow 25s linear infinite;
}

.change-log-entry {
    --entry-delay: 0ms;
    position: relative;
    padding: 1.15rem 1.2rem 1.2rem 1.35rem;
    border: 1px solid var(--entry-border);
    border-radius: 1rem;
    background:
        linear-gradient(160deg, rgba(123, 217, 255, 0.08), rgba(123, 217, 255, 0.04)),
        rgba(6, 11, 20, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    animation: entry-rise 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) both;
    animation-delay: var(--entry-delay);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.change-log-entry::before {
    content: "";
    position: absolute;
    left: -1.56rem;
    top: 1.3rem;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 22%, rgba(123, 217, 255, 0.95) 24% 50%, rgba(123, 217, 255, 0.18) 52% 100%);
    box-shadow: 0 0 0 0 rgba(123, 217, 255, 0.22);
    animation: pulse-dot 3.4s ease-in-out infinite;
}

.change-log-entry:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 217, 255, 0.32);
    background:
        linear-gradient(160deg, rgba(123, 217, 255, 0.12), rgba(123, 217, 255, 0.06)),
        rgba(7, 13, 24, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 24px 44px rgba(0, 0, 0, 0.28);
}

.change-log-entry--featured {
    border-color: rgba(123, 217, 255, 0.28);
    background:
        radial-gradient(circle at top right, rgba(123, 217, 255, 0.12), transparent 34%),
        linear-gradient(160deg, rgba(123, 217, 255, 0.12), rgba(123, 217, 255, 0.05)),
        rgba(6, 11, 20, 0.76);
}

.change-log-entry--featured::after {
    content: "";
    position: absolute;
    inset: auto -1rem -3rem auto;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 217, 255, 0.13), transparent 68%);
    pointer-events: none;
}

.change-log-entry-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.55rem;
}

.change-log-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fbff;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.change-log-date {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.change-log-entry-head .change-log-date {
    margin-bottom: 0;
}

.change-log-entry h2 {
    margin: 0 0 0.8rem;
    font-size: 1.15rem;
}

.change-log-entry p {
    margin: 0;
    display: grid;
    grid-template-columns: 0.95rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    line-height: 1.7;
}

.change-log-entry p::before {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    margin-top: 0.32rem;
    background: url("/Assets/%5B%20%5D_transparent.png") center / contain no-repeat;
    opacity: 0.95;
    transition: transform 0.24s ease, filter 0.24s ease;
}

.change-log-entry:hover p::before {
    transform: translateX(2px) rotate(8deg);
    filter: drop-shadow(0 0 0.4rem rgba(123, 217, 255, 0.28));
}

.change-log-entry p+p {
    margin-top: 0.28rem;
}

.change-log-entry p b {
    color: #f4d79a;
    display: contents;
}

.change-log-entry p .muted {
    color: rgb(109, 109, 109);
    display: contents;
}

a {
    color: #7bd9ff;
}

.change-log-entry p a {
    display: contents;
}

.change-log-entry-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 55%;
    margin: 0.95rem 0 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.85rem;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(123, 217, 255, 0.05)),
        rgba(3, 7, 14, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 16px 34px rgba(0, 0, 0, 0.24);
}

.change-log-entry-image img,
img.change-log-entry-image {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.change-log-entry-image--contain img,
img.change-log-entry-image--contain {
    object-fit: contain;
    background: rgba(2, 5, 10, 0.72);
}

.change-log-entry-image figcaption {
    padding: 0.7rem 0.85rem;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
}

.change-log-entry-image+p {
    margin-top: 0.85rem;
}

.change-log-entry p+.change-log-entry-image {
    margin-top: 1rem;
}

.change-log-entry:nth-child(1) {
    --entry-delay: 80ms;
}

.change-log-entry:nth-child(2) {
    --entry-delay: 140ms;
}

.change-log-entry:nth-child(3) {
    --entry-delay: 200ms;
}

.change-log-entry:nth-child(4) {
    --entry-delay: 260ms;
}

.change-log-entry:nth-child(5) {
    --entry-delay: 320ms;
}

.change-log-entry:nth-child(6) {
    --entry-delay: 380ms;
}

.change-log-entry:nth-child(7) {
    --entry-delay: 440ms;
}

.change-log-entry:nth-child(8) {
    --entry-delay: 500ms;
}

.change-log-entry:nth-child(9) {
    --entry-delay: 560ms;
}

.change-log-entry:nth-child(10) {
    --entry-delay: 620ms;
}

footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
}

@keyframes marquee-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes float-card-right {

    0%,
    100% {
        transform: translateY(0) rotate(7deg);
    }

    50% {
        transform: translateY(-12px) rotate(10deg);
    }
}

@keyframes float-card-left {

    0%,
    100% {
        transform: translateY(0) rotate(-6deg);
    }

    50% {
        transform: translateY(-14px) rotate(-10deg);
    }
}

@keyframes float-sticker-tilt {

    0%,
    100% {
        transform: translateY(0) rotate(-11deg);
    }

    50% {
        transform: translateY(-10px) rotate(-6deg);
    }
}

@keyframes slow-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes slow-spin-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(123, 217, 255, 0.18);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 0.5rem rgba(123, 217, 255, 0);
        transform: scale(1.12);
    }
}

@keyframes entry-rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drift-glow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(0.8rem, -1rem) scale(1.05);
    }
}

@keyframes breathe-glow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.96);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.06);
    }
}

@keyframes timeline-flow {
    0% {
        opacity: 0.45;
        background-position: 0 0;
    }

    50% {
        opacity: 1;
        background-position: 0 80rem;
    }

    100% {
        opacity: 0.45;
        background-position: 0 160rem;
    }
}

@media (max-width: 900px) {
    .changelog-hero {
        grid-template-columns: 1fr;
    }

    .changelog-pulse {
        width: min(100%, 320px);
        margin: 0 auto;
    }

    .eyebrow {
        margin-inline: auto;
    }

    .changelog-copy {
        text-align: center;
    }

    .intro {
        margin-inline: auto;
    }
}

@media (max-width: 700px) {
    .changelog-layout {
        padding: 1rem 0.85rem 2rem;
    }

    .changelog-card {
        padding: 1.5rem 1.15rem;
        border-radius: 1.2rem;
    }

    .change-log-list {
        padding-left: 1.2rem;
    }

    .change-log-entry {
        padding: 1rem 0.95rem 1.05rem 1.05rem;
    }

    .change-log-entry-image {
        margin: 0.85rem 0 0.9rem;
        border-radius: 0.75rem;
    }

    .change-log-entry-image img,
    img.change-log-entry-image {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 560px) {
    .changelog-pulse {
        min-height: 215px;
    }

    .changelog-pulse-card {
        width: min(100%, 180px);
        padding: 0.85rem;
    }

    .changelog-pulse-card strong {
        font-size: 0.9rem;
    }

    .changelog-pulse-metric {
        font-size: 1.2rem;
    }

    .changelog-orbit--one {
        width: 170px;
        height: 170px;
        left: 20px;
        top: 10px;
    }

    .changelog-orbit--two {
        width: 110px;
        height: 110px;
        right: 10px;
        bottom: 18px;
    }

    .changelog-pulse-card--top {
        right: 10px;
    }

    .changelog-pulse-card--bottom {
        left: 6px;
    }

    .changelog-sticker {
        left: 92px;
        top: 96px;
        padding: 0.65rem 0.82rem;
        font-size: 0.68rem;
    }

    .changelog-marquee-track {
        font-size: 0.68rem;
        animation-duration: 15s;
    }

    .change-log-entry::before {
        left: -1.32rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .changelog-layout::before,
    .changelog-layout::after {
        animation-duration: 20s;
    }

    .changelog-card::before,
    .changelog-card::after,
    .changelog-orbit,
    .changelog-pulse-card,
    .changelog-sticker {
        animation-duration: 9s !important;
    }

    .changelog-marquee-track {
        animation-duration: 28s !important;
    }

    .change-log-entry {
        animation: entry-rise 0.35s ease-out both;
    }

    .change-log-entry:hover {
        transform: none;
    }
}