/* ═══════════════════════════════════════════════════════════════
   REALITY FRACTURE — Lore Timeline / Fracture Events
   Vertical timeline with glowing markers and event logs
   ═══════════════════════════════════════════════════════════════ */

.timeline__track {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: var(--sp-8);
}

/* ── Central Line ──────────────────────────────────────────── */
.timeline__line {
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-ghost);
}

.timeline__line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--electric-blue), var(--neon-violet));
    box-shadow: 0 0 8px var(--electric-blue-glow);
    transition: height 0.1s linear;
}

/* ── Event ─────────────────────────────────────────────────── */
.timeline__event {
    position: relative;
    padding-bottom: var(--sp-8);
}

.timeline__event:last-child {
    padding-bottom: 0;
}

/* ── Marker ────────────────────────────────────────────────── */
.timeline__marker {
    position: absolute;
    left: calc(-1 * var(--sp-8) + 0px);
    top: 4px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline__marker-ring {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--electric-blue);
    opacity: 0.4;
}

.timeline__marker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--electric-blue);
    box-shadow: 0 0 8px var(--electric-blue-glow);
    z-index: 2;
}

/* Active state when scrolled into view */
.timeline__event.active .timeline__marker-ring {
    opacity: 1;
    animation: marker-ring-expand 2s ease-out infinite;
}

.timeline__event.active .timeline__marker-dot {
    box-shadow: 0 0 12px var(--electric-blue),
                0 0 24px rgba(0, 212, 255, 0.3);
}

/* ── Event Content ─────────────────────────────────────────── */
.timeline__event-content {
    padding-left: var(--sp-4);
    padding-top: 0;
}

.timeline__event-date {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--electric-blue);
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--sp-1);
    opacity: 0.7;
}

.timeline__event-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--sp-1);
    transition: color var(--duration-normal) ease;
}

.timeline__event.active .timeline__event-title {
    color: var(--electric-blue);
}

.timeline__event-desc {
    font-size: var(--text-sm);
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 500px;
    font-weight: 300;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .timeline__track {
        padding-left: var(--sp-6);
    }

    .timeline__marker {
        left: calc(-1 * var(--sp-6) + 0px);
    }

    .timeline__event-title {
        font-size: var(--text-lg);
    }
}
