/* Classic Britannia — Changelog (imports base.css via HTML) */

/* Hero — parchment map */
.changelog-hero {
    position: relative;
    padding: 7rem 1.5rem 3rem;
    text-align: center;
    overflow: hidden;
    background: var(--bg);
}
.changelog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/uo-art/backgrounds/bg-map-britannia.png') center/cover no-repeat;
    opacity: 0.18;
    filter: saturate(0.9) contrast(1.05);
}
.changelog-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 85%);
}
.changelog-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.changelog-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    color: var(--text-bright);
}
.changelog-hero p { color: var(--text-dim); margin-top: .5rem; }

/* Timeline — gump spine */
.changelog-timeline {
    position: relative;
    max-width: 860px;
    margin: 2rem auto 0;
    padding-left: 60px;
    list-style: none;
}
.changelog-timeline::before {
    content: '';
    position: absolute;
    top: .5rem; bottom: .5rem; left: 22px; width: 2px;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--border) 70%);
    opacity: .6;
}
.changelog-entry {
    position: relative;
    margin-bottom: 1.5rem;
}
.changelog-marker {
    position: absolute;
    left: -44px; top: .9rem;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--gump-border);
    display: grid; place-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.changelog-marker img { width: 18px; height: 18px; image-rendering: pixelated; }
.changelog-card {
    background: linear-gradient(180deg, var(--bg-card), var(--stone));
    border: 2px solid var(--gump-border);
    border-top-color: var(--gump-highlight);
    border-left-color: var(--gump-highlight);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 16px rgba(0,0,0,.4);
}
.changelog-card header {
    display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: .5rem;
}
.changelog-version {
    font-family: 'Cinzel', serif; font-weight: 700; font-size: .85rem;
    color: var(--gold); background: var(--surface); padding: .15rem .5rem; border-radius: var(--radius-pill);
    border: 1px solid var(--gump-border);
}
.changelog-date { font-size: .8rem; color: var(--text-dim); }
.changelog-category {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--accent-light); border: 1px solid var(--border); padding: .15rem .4rem; border-radius: 4px;
}
.changelog-card h3 { font-size: 1.15rem; margin: .25rem 0 .5rem; }
.changelog-card ul { list-style: none; padding: 0; margin: 0; }
.changelog-card li {
    position: relative; padding-left: 1.1rem; margin: .25rem 0;
    color: var(--text-dim); font-size: .9rem;
}
.changelog-card li::before {
    content: '›'; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.changelog-empty { text-align: center; color: var(--text-dim); padding: 2rem; }

@media (max-width: 640px) {
    .changelog-timeline { padding-left: 44px; }
    .changelog-timeline::before { left: 14px; }
    .changelog-marker { left: -30px; width: 26px; height: 26px; }
}
