/* Timeline Styles - Main timeline, profiles, and era sections */

.era-section {
    margin-bottom: 80px;
}

.era-content {
    max-width: 500px;
}

.era-title {
    font-size: 3.5rem;
    font-style: italic;
    margin-bottom: 20px;
    border-left: 4px solid #0066FF;
    padding-left: 20px;
}

.era-description {
    font-size: 1.2rem;
    color: #8b9dc3;
    line-height: 1.8;
    margin-bottom: 20px;
}

.era-years {
    font-size: 1rem;
    color: #0066FF;
    font-weight: 600;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;
    min-height: 400px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 100px;
    right: 100px;
    height: 2px;
    background: linear-gradient(90deg, #0066FF 0%, #4a90e2 50%, #0066FF 100%);
    z-index: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1;
}

.year {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8b9dc3;
    margin-bottom: 10px;
}

.profile {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0066FF;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #0a0e1a;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.profile:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.6);
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 1rem;
    color: white;
    text-align: center;
    font-weight: 500;
}

/* Timeline Scrubber - Bottom navigation bar */

.timeline-scrubber {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 50px;
}

.scrubber-years {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.year-mark {
    font-size: 0.9rem;
    color: #8b9dc3;
    font-weight: 500;
}

.year-mark.active {
    color: #0066FF;
}

.scrubber-bar {
    position: relative;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.scrubber-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, #1e3a8a, #0066FF);
    border-radius: 8px;
}

.scrubber-handle {
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #0066FF;
    border: 3px solid #0a0e1a;
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.scrubber-handle:hover {
    background: #0052cc;
}
