.robot-timeline-page {
    min-height: 100vh;
    background: #080b0a;
}

.robot-timeline-page .background-blur {
    position: fixed;
    top: -160px;
    width: 560px;
    height: 560px;
    opacity: 0.34;
}

.robot-archive {
    padding-bottom: clamp(5rem, 10vw, 9rem);
}

.archive-header {
    min-height: min(52vh, 520px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 900px;
    padding: clamp(5rem, 10vh, 8rem) 0;
}

.archive-eyebrow,
.season-label {
    color: #34d399;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em !important;
}

.archive-header h1 {
    margin-top: 0.85rem;
    color: #f8fafc;
    font-size: clamp(3.2rem, 8vw, 7rem);
    line-height: 0.95;
}

.archive-header > p:last-child {
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.season-timeline {
    --line-left: 84px;
    list-style: none;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 0 0 170px;
    position: relative;
}

.season-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: var(--line-left);
    width: 1px;
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.18), #34d399 88%, transparent);
}

.season-item {
    min-height: 230px;
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(28px);
    animation: season-enter 700ms cubic-bezier(.16, 1, .3, 1) forwards;
}

.season-item:nth-child(2) { animation-delay: 100ms; }
.season-item:nth-child(3) { animation-delay: 200ms; }
.season-item:nth-child(4) { animation-delay: 300ms; }

.current-item {
    margin-top: 12px;
}

.season-marker {
    position: absolute;
    left: calc(-170px + var(--line-left) - 34px);
    width: 68px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 10px;
    background: #101412;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
}

.current-marker {
    border-color: rgba(52, 211, 153, 0.7);
    color: #34d399;
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.14);
}

.season-card {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(24, 29, 27, 0.72);
    overflow: hidden;
}

.history-card {
    max-width: 620px;
    padding: clamp(1.6rem, 4vw, 2.5rem);
}

.season-card h2 {
    margin: 0.3rem 0;
    color: #f8fafc;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 1;
}

.season-card > p,
.current-copy > p:last-of-type {
    color: #94a3b8;
}

.history-card {
    opacity: 0.62;
}

.archive-card {
    max-width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: inherit;
    opacity: 0.86;
    transition: transform 300ms ease, border-color 300ms ease, opacity 300ms ease;
}

.archive-card:hover {
    opacity: 1;
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.5);
}

.current-card {
    min-height: 320px;
    display: flex;
    color: inherit;
    border-color: rgba(52, 211, 153, 0.38);
    background: linear-gradient(135deg, rgba(18, 30, 25, 0.98), rgba(10, 13, 12, 0.98));
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.current-card:hover {
    transform: translateY(-6px);
    border-color: rgba(52, 211, 153, 0.78);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.reserved-card:hover {
    transform: none;
    border-color: rgba(52, 211, 153, 0.38);
    box-shadow: none;
}

.season-photo-card {
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(10, 13, 12, 0.9) 0%, rgba(10, 13, 12, 0.48) 6%, rgba(10, 13, 12, 0) 18%, rgba(10, 13, 12, 0) 80%, rgba(10, 13, 12, 0.52) 94%, rgba(10, 13, 12, 0.92) 100%),
        linear-gradient(90deg, rgba(10, 13, 12, 0.98) 0%, rgba(10, 13, 12, 0.9) 38%, rgba(10, 13, 12, 0.3) 72%, rgba(10, 13, 12, 0.08) 100%),
        var(--season-photo);
    background-position: center, center, var(--season-photo-position, center);
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: padding-box;
}

.current-copy {
    width: 100%;
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.enter-link {
    width: fit-content;
    margin-top: 2rem;
    padding: 0.8rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 10px;
    background: #34d399;
    color: #08100d;
    font-size: 0.9rem;
    font-weight: 700;
}

.enter-link .hud-icon {
    width: 16px;
    height: 16px;
}

.archive-card .enter-link {
    margin-top: 1.4rem;
}

@keyframes season-enter {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px) {
    .archive-header {
        min-height: 45vh;
    }

    .archive-header h1 {
        font-size: clamp(2.55rem, 11.5vw, 3.1rem);
        line-height: 1.04;
    }

    .season-timeline {
        --line-left: 20px;
        padding-left: 58px;
    }

    .season-marker {
        left: -58px;
        width: 40px;
        overflow: hidden;
    }

    .season-marker span {
        writing-mode: vertical-rl;
        font-size: 0.58rem;
        letter-spacing: 0.06em;
    }

    .season-item {
        min-height: 190px;
    }

    .season-photo-card {
        background-image:
            linear-gradient(180deg, rgba(10, 13, 12, 0.92) 0%, rgba(10, 13, 12, 0.5) 7%, rgba(10, 13, 12, 0) 20%, rgba(10, 13, 12, 0) 78%, rgba(10, 13, 12, 0.56) 93%, rgba(10, 13, 12, 0.94) 100%),
            linear-gradient(90deg, rgba(10, 13, 12, 0.96) 0%, rgba(10, 13, 12, 0.84) 58%, rgba(10, 13, 12, 0.32) 100%),
            var(--season-photo);
    }

}

@media (prefers-reduced-motion: reduce) {
    .season-item {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .current-card,
    .archive-card {
        transition: none;
    }
}
