/* ═══════════════════════════════════════════════════════════════
   CYBERPUNK TIMELINE TREE - Side-by-Side Layout
   ═══════════════════════════════════════════════════════════════ */

.timeline-tree {
    position: relative;
    width: 280px;
    min-height: 600px;
    border: 2px solid var(--accent-primary);
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    overflow: visible;
}

.timeline-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.main-stem {
    stroke: url(#neonGradient);
    stroke-width: 3;
    fill: none;
    filter: drop-shadow(0 0 10px #00F0FF);
}

.timeline-branch {
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}

.timeline-nodes {
    position: relative;
    height: 100%;
    overflow: visible;
    padding-right: 10px;
}

.timeline-nodes::-webkit-scrollbar {
    width: 4px;
}

.timeline-nodes::-webkit-scrollbar-thumb {
    background: #00F0FF;
    box-shadow: 0 0 10px #00F0FF;
}

.timeline-node {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    overflow: visible;
}

.node-dot {
    position: absolute;
    left: 17px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 80%;
    z-index: 0;
}

/* Color cycling dots */
.timeline-node:nth-child(3n+1) .node-dot {
    background: #00F0FF;
    box-shadow: 0 0 10px #00F0FF, 0 0 20px #00F0FF;
}

.timeline-node:nth-child(3n+2) .node-dot {
    background: #FF1493;
    box-shadow: 0 0 10px #FF1493, 0 0 20px #FF1493;
}

.timeline-node:nth-child(3n) .node-dot {
    background: #FF6B35;
    box-shadow: 0 0 10px #FF6B35, 0 0 20px #FF6B35;
}

.experience-card {
    position: relative;
    left: 20px;
    max-width: 220px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #00F0FF;
    padding: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-node:nth-child(3n+1) .experience-card {
    border-color: #00F0FF;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.timeline-node:nth-child(3n+2) .experience-card {
    border-color: #FF1493;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.2);
}

.timeline-node:nth-child(3n) .experience-card {
    border-color: #FF6B35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
}

.experience-card:hover {
    transform: translateX(5px);
    filter: brightness(1.3);
}

.exp-year {
    color: #FFD700;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 0 10px #FFD700;
}

.exp-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
}

.timeline-node:nth-child(3n+1) .exp-title {
    color: #00F0FF;
}

.timeline-node:nth-child(3n+2) .exp-title {
    color: #FF1493;
}

.timeline-node:nth-child(3n) .exp-title {
    color: #FF6B35;
}

.exp-description {
    color: #A0A0A0;
    font-size: 11px;
    line-height: 1.5;
}

/* Side-by-side layout container */
.section-about .section-container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: none;
    padding: 0;
}

.section-about .content-grid {
    flex: 1;
    margin-left: 0;
    max-width: none;
    border: 2px solid var(--accent-primary);
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 1400px) {
    .section-about .section-container {
        flex-direction: column;
    }

    .timeline-tree {
        width: 100%;
    }

    .section-about .content-grid {
        width: 100%;
    }
}

/* Section header spacing */
.section-about .section-header {
    width: 100%;
    margin-bottom: 32px;
}